Is there any difference between Script Manager and User Model Script Editor?
I assume the User Model Script Editor is linked to a User Model Unit operation by default and you can read inlet ports, write to outlet ports and calculate it!
On the other side the Script Manager lets you freely do calculation on any or all objects in DWSIM simulation and still you can link to a specific object!
So, my question is: Can I use the two environments through Python Bridge (e.g. Python.NET) and do calculation? DWSIM allows me to use Python.NET in both environment but it seems there is limitation in Script Manager, is this true?
Last edit: Mohammad 2021-06-03
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Is there any difference between Script Manager and User Model Script Editor?
I assume the User Model Script Editor is linked to a User Model Unit operation by default and you can read inlet ports, write to outlet ports and calculate it!
On the other side the Script Manager lets you freely do calculation on any or all objects in DWSIM simulation and still you can link to a specific object!
So, my question is: Can I use the two environments through Python Bridge (e.g. Python.NET) and do calculation? DWSIM allows me to use Python.NET in both environment but it seems there is limitation in Script Manager, is this true?
Last edit: Mohammad 2021-06-03
More Inputs
I use Python.NET everywhere
DWSIM 6.5.3
PART i: User Model
If I use the below code in User Model Script Editor
It works like a charm and show the plot!
PART ii
If I use the above code (just copy paste) in Script Manager then I get the below error
Question: Is there any limitation with Script Manager?
Last edit: Mohammad 2021-06-03
this is a bug. I'll investigate.
Hi Daniel,
It would be much appreciated if you notify me when you had any solution for this!
Best wishes