Menu

Cape-Open Column

2021-08-19
2021-08-20
  • emre hurturk

    emre hurturk - 2021-08-19

    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

     
  • Daniel Medeiros

    Daniel Medeiros - 2021-08-19

    fsheet.SolveFlowsheet2() should work, what exactly is hapenning?

     
  • emre hurturk

    emre hurturk - 2021-08-20

    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.

     
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.