OSeMOSYS / osemosys_global

A global power system model generator for OSeMOSYS
https://osemosys-global.readthedocs.io/
GNU Affero General Public License v3.0
27 stars 14 forks source link

Added target for generating input data only #145

Closed trevorb1 closed 1 year ago

trevorb1 commented 1 year ago

Description

Added a new rule in the snakefile to generate only the input CSV data. This is useful for when users are wanting to add in their own data, as previously they would have to manually stop the workflow. An example of this functionality is:

1. Generate Template Data

Instead of running the full workflow, you will only run the workflow up to the generation of the input CSV files through the command:

snakemake generate_input_data -c

2. Modify Parameter Data

At this point, there will be a folder called results/<scenario>/data/ that holds all template data for the scenario. Find the parameter of interest and change the values in the VALUE column.

3. Run the Remainder of the Workflow

Restart the workflow, which will build and solve the model, through the command:

snakemake -c

Issue Ticket Number

na

Documentation

Added under the Advanced Functionality section of readthedocs