Skip to content

KTH-dESA/simplicity

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

You can use v0.2 onwards of 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
# Download the dataset and build a GNU MathProg datafile
otoole convert datapackage datafile https://zenodo.org/record/3479823/files/OSeMOSYS/simplicity-v0.1a0.zip ./simplicity.txt
# Solve the model
glpsol -m OSeMOSYS.txt -d simplicity.txt