Exporting a scenario from the web app into Vensim - EnergyInnovation/eps-us GitHub Wiki
Some partners prefer to use the web app to develop reference scenarios. You can export .cin and FoPITY data for a scenario from the web app into Vensim for further development.
-
Export the saved scenario. Copy the cin file to the model repo project directory.
-
Open a
Frac of Pol Impl This Yr.csv
file. Delete the contents of the "Set Schedules Here" tab. -
Open the exported
Frac of Pol Impl This Yr.csv
file in Excel by double-clicking it in Windows Explorer or Mac Finder. This will avoid the Text Import Wizard. -
Copy the entire contents of the file. Paste it into the "Set Schedules Here" tab, retaining the source formatting.
-
You can then proceed as usual to generate FoPITY CSV files and add the reference scenario to
WebAppData.xlsx
in the Reference Scenarios tab.
One thing you may want to look out for is that web app scenarios sometimes have duplicate years in custom policy schedules. You can find and fix this in the "Set Schedules Here" tab before saving the FoPITY CSV files.