I am writing a script that help me to control the Flowsheet and to run repetitive simulations, I would like to know if there is a way to deactivate an object in the Flowsheet through Python / IronPython scripting.
Thank you for yout time and consideration. Looking forward to hearing from you.
Best regards,
Last edit: Samya 2019-12-06
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hello Daniel,
I am writing a script that help me to control the Flowsheet and to run repetitive simulations, I would like to know if there is a way to deactivate an object in the Flowsheet through Python / IronPython scripting.
Thank you for yout time and consideration. Looking forward to hearing from you.
Best regards,
Last edit: Samya 2019-12-06
The Flowsheet Solver checks if the object is active in the flowsheet by inspecting
https://github.com/DanWBR/dwsim5/blob/windows/DWSIM.FlowsheetSolver/FlowsheetSolver.vb#L360