Hi,
I'm trying to manuplate cape-open distillation inlet via python. For example, I'm changing inlet flow rate and get condenser/reboiler heat duty for calculating utility demand.
I tried t101.Calculate, fsheet.SolveFlowsheet2() to update outlets. When I used DWSim GUI my column works well. How can I get new calculated outlet properties with in one script run.
I'm using DWSim 6.5.6 with python 3.8.11/python.NET 2.5.2 on Windows 10 x64.
Thanks
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
In my flowsheet, I have one splitter connected 2 distillation sequence. I'm tring to select one of these sequences. In python code, I tried to deactivate (with t102.GraphicObject.Active = False) for saving solving time. But I couldn't success, finally I am solving whole flowsheet and there is no problem.
Additionally, In same flowsheet, I have cooler attached energy flow shows positive energy value. But another heater (temperature increases) also shows positive energy flow. Sign of energy flow how is determined?
Thanks.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi,
I'm trying to manuplate cape-open distillation inlet via python. For example, I'm changing inlet flow rate and get condenser/reboiler heat duty for calculating utility demand.
I tried t101.Calculate, fsheet.SolveFlowsheet2() to update outlets. When I used DWSim GUI my column works well. How can I get new calculated outlet properties with in one script run.
I'm using DWSim 6.5.6 with python 3.8.11/python.NET 2.5.2 on Windows 10 x64.
Thanks
fsheet.SolveFlowsheet2() should work, what exactly is hapenning?
In my flowsheet, I have one splitter connected 2 distillation sequence. I'm tring to select one of these sequences. In python code, I tried to deactivate (with t102.GraphicObject.Active = False) for saving solving time. But I couldn't success, finally I am solving whole flowsheet and there is no problem.
Additionally, In same flowsheet, I have cooler attached energy flow shows positive energy value. But another heater (temperature increases) also shows positive energy flow. Sign of energy flow how is determined?
Thanks.