I am trying to solve a flowsheet by using an external python script. I created a base-flowsheet structure with internal Scrpits and a Spreadsheet. My goal ist to use this flowsheet as base for multiple case-studies.
So far everything works fine except from the spreadsheet.
After running the calculation and saving the Flowsheet to a new file-path the Spreadsheet is completely empty.
This is how I run and save my Flowsheet:
Is there any way to take over the complete Spreadsheet from current flowsheet with updated flowsheet object properties ?
I tried the folowwing code but got the AttributeError "'IFlowsheet' object has no attribute 'FormSpreadsheet'":
Hello everybody,
I am trying to solve a flowsheet by using an external python script. I created a base-flowsheet structure with internal Scrpits and a Spreadsheet. My goal ist to use this flowsheet as base for multiple case-studies.
So far everything works fine except from the spreadsheet.
After running the calculation and saving the Flowsheet to a new file-path the Spreadsheet is completely empty.
This is how I run and save my Flowsheet:
Is there any way to take over the complete Spreadsheet from current flowsheet with updated flowsheet object properties ?
I tried the folowwing code but got the AttributeError "'IFlowsheet' object has no attribute 'FormSpreadsheet'":
My current flowsheet is defined like this:
Are you using DWSIM v8.8.3 and Automation3()?
I am using DWSIM v8.8.2 and Automation3().
Last edit: Oliver Sacher 2024-12-28
Is there any way ?