EnergyInnovation / eps-us

Energy Policy Simulator - United States
GNU General Public License v3.0
22 stars 7 forks source link

Data Logging Script Exporting Different Scenarios to Their Own .tsv Files #96

Open robbieorvis opened 3 years ago

robbieorvis commented 3 years ago

When running the data logging script, Vensim/python is creating a separate .tsv file for each scenario. I think in the past there used to be a single file with all scenario results (if not, this would be a nice feature).

jrissman commented 3 years ago

No, the data logging script has never put all scenarios' results into a single .tsv file. It always has produced one .tsv file for each scenario that is run (each of which is defined by its own .cin file). This way, each .tsv file is associated with its own .cin file, which is probably clearest and easiest for most users to understand. It also facilitates pasting the different scenarios' data into different, identically-formatted tabs of a spreadsheet for easy cross-scenario comparisons. Wouldn't putting them all into one file make things less convenient, rather than more?

jrissman commented 3 years ago

I could, of course, make it a switch you can toggle in the script itself, if we want to support both behaviors.

robbieorvis commented 3 years ago

I think it depends. Generally speaking, when I'm using this tool, I'm comparing multiple scenarios in a single file, so I end up having to copy and paste the data from the separate .tsv files into a single spreadsheet. So for my purposes, it would be easiest of all the data were in a single file and organized by scenario. I don't see a lot of scenarios in which having separate .tsv files makes things easier, provided the scenario name is listed if they are reported out in a single file.

jrissman commented 3 years ago

Okay, got it. This is doable and can be included in the next EPS version.