OSeMOSYS / OSeMOSYS_GNU_MathProg

The GNU MathProg implementation of OSeMOSYS
Apache License 2.0
9 stars 14 forks source link

Updated preprocessing script for compatibility with otoole data format #44

Closed abhishek0208 closed 4 years ago

abhishek0208 commented 4 years ago

The preprocessing script was originally developed for compatibility with data files produced by MoManI (an OSeMOSYS interface). This format differs from that of the datafile produced by otoole (a Python package which provides a command-line interface for users of OSeMOSYS). An example of the differences between the two formats are below:

OutputActivityRatio in MoManI datafile format:

param OutputActivityRatio default 0 :=
[<REGION>,<TECHNOLOGY>,<FUEL>,*,*]:
<YEARS> :=
<MODE_OF_OPERATION> <VALUES>

OutputActivityRatio in otoole datafile format:

param default 0.0 : OutputActivityRatio := 
<REGION> <TECHNOLOGY> <FUEL> <MODE_OF_OPERATION> <YEAR> <VALUE>