Hi Daniel, Thank you for your reply! Now I can set the events. But I still not sure which command to use for the "run schedule" of dynamic mode. I read the API documentation and thought the the function "CalculateFlowsheet()" did not fit the task. Could you please give me some clues about this? I want to run the dynamic mode and save the data of monitored variables at each steps. I really appreciate your help! Wei
Hi Daniel, May I ask if the dynamic API is ready for use now? There is a sample called" Heat Exchanger" in DWSIM, and I'm trying to run the dynamic model with python. Another question is, I'm going to set the events with python, but the EventSetList which I read from the flowsheet is a interface: manager = Automation3() filepath = "D:\Windows\Heat-Exchanger.dwxmz" myflowsheet = manager.LoadFlowsheet(filepath) dymanager = myflowsheet.DynamicsManager for key, value in dymanager.EventSetList.items():...
Hi Daniel, May I ask if the API is ready for use now? There is a sample called" Heat Exchanger" in DWSIM, and I'm trying to run the dynamic model. Another question is, I'm going to set the events with python, but the EventSetList which i read from the flowsheet is a interface: manager = Automation3() filepath = "D:\Windows\Heat-Exchanger.dwxmz" myflowsheet = manager.LoadFlowsheet(filepath) dymanager = myflowsheet.DynamicsManager for key, value in dymanager.EventSetList.items(): event_set = value#<class...