Skip to content

Latest commit

 

History

History
20 lines (15 loc) · 1.07 KB

README.md

File metadata and controls

20 lines (15 loc) · 1.07 KB

OSeMOSYS Example Model: Simplicity

DOI goodtables.io

This is an example OSeMOSYS model published as a Frictionless Data Tabular Data Package.

The Data Package was constructed with the help of the Python otoole package available on PyPI and Github.

Simplicity v0.2 requires v0.5.4 or later of otoole. You can use otoole to generate a GNU MathProg data file from the dataset with the following commands and then run OSeMOSYS.

# Install the OSeMOSYS toolkit
pip install otoole>=0.5.4
# Download the dataset and build a GNU MathProg datafile
otoole convert datapackage datafile https://zenodo.org/record/3479823/files/OSeMOSYS/simplicity-v0.2.zip ./simplicity.txt
# Solve the model
glpsol -m OSeMOSYS.txt -d simplicity.txt