Name of compound using "GetCompoundList"

Hi all,

I'm a new user of DWISM. To develop a new component model using "Python script", i need to identfy the compound names of a materialStream (or directly of the flowsheet). The best way seems to be the function "GetCompundList" but i don't find the good expression. For example name = ims1.GetCompoundList("names") returns the error "Error in "Python.Runtime": No method matches given arguments for MaterialStream.GetCompoundList: (<claas 'str'). "

Does anyone have the solution ? Or an other way to access to the names of compound?

Thanks in advance,



DWSIM 08-12-22, 1:17 p.m. FrancoisNepveu

Log-in to answer to this question.