I have been trying to build a kinetic reaction in python and add it to the flowsheet and although the reaction is added, it does not seem to be active in the flowsheet (does not seem to run, though appears to be added properly). Is there some reason for this?
Thanks,
Vikram
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi All,
I have been trying to build a kinetic reaction in python and add it to the flowsheet and although the reaction is added, it does not seem to be active in the flowsheet (does not seem to run, though appears to be added properly). Is there some reason for this?
Thanks,
Vikram
Here is the file
You must add the reaction to the default reaction set and mark it as active on it.
Thank you Daniel for the reply. Would it be possible to mark it as active directly from python? As in is there an IsActive attribute?
https://github.com/DanWBR/dwsim/blob/windows/DWSIM.UI.Desktop.Editors/Reactions/ReactionsManager.cs#L86