This code is to help build location specific parameters in OSeMOSYS to a text file to run in GNU MathProg.
Parameters that are built for each location are:
- SpecifiedAnnualDemand
- VariableCost
- OperationalCost
- FixedCost
- Emissionactivity
- TotalTechnologyAnnualActivity
- InputActivity
- OutputActivity
- SpecifiedDemandProfile
- CapitalCost which is dynamic for renewable technologies based on Capacity Factor
- CaptialCost which is static over time
- CapacitytoActivity
- CapacityFactor
The run_datafile.py calls the functions in build_data_file.py the OSeMOSYS file for your locations with a base OSeMOSYS file which contains all parameters (osemosys_shell_param.txt).
The file should be run from the command prompt. You need to specify which folder your "Folder containing CSV data files", "Path to the OSeMOSYS template" and "Name and path of the output file"
The data file structure needs to follow the same naminig and structure as in test/data. However you don't need to run all parameters, the code will check what files are present and only run those parameters.