I am good with progamming in python and I wanted to get started with DWSIM. However, I was unsuccessful and I do not know how to use the python scripting feature in DWSIM 5.2.
If anyone could post their scripts that would be nice.
All I am looking for is:
* the ability to create streams and fill in their propeties
* add eqipment and spec them
* run the flowsheet solver
* export some of the properties to a txt file
If anyone can share their python scripts that would be nice.
thank you!
Last edit: Ahmed Elsayed 2018-05-18
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
There are some samples which includes python scripts (Membrane, Hydrocyclone, Natural Gas Saturator, Simple LNG Exchanger) that are based on python scripts.
I am good with progamming in python and I wanted to get started with DWSIM. However, I was unsuccessful and I do not know how to use the python scripting feature in DWSIM 5.2.
If anyone could post their scripts that would be nice.
All I am looking for is:
* the ability to create streams and fill in their propeties
* add eqipment and spec them
* run the flowsheet solver
* export some of the properties to a txt file
If anyone can share their python scripts that would be nice.
thank you!
Last edit: Ahmed Elsayed 2018-05-18
Here are some resources:
http://dwsim.inforside.com.br/wiki/index.php?title=Using_the_IronPython_Script_Manager
There are some samples which includes python scripts (Membrane, Hydrocyclone, Natural Gas Saturator, Simple LNG Exchanger) that are based on python scripts.
For a more advanced sample, see
http://dwsim.inforside.com.br/wiki/index.php?title=Dynamic_Simulation_Tutorial_with_DWSIM_and_Python,_Part_1:_Concepts_and_Steady-State_Model
Regards
Daniel