Skip to content

Commit

Permalink
Update readme with better instructions on how to use simplicity with …
Browse files Browse the repository at this point in the history
…otoole
  • Loading branch information
willu47 committed Sep 21, 2020
1 parent fd17640 commit 876051a
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,10 @@ You can use **otoole** to generate a GNU MathProg data file from the dataset wit
```bash
# 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
# Download the dataset and build a GNU MathProg datafile (on Linux or OSX use curl, otherwise download manually and unzip)
wget https://zenodo.org/record/3707794/files/OSeMOSYS/simplicity-v0.2.1.zip
unzip simplicity-v0.2.1.zip -d simplicity
otoole convert datapackage datafile simplicity/OSeMOSYS-simplicity-11a3a26/datapackage.json ./simplicity.txt
# Solve the model
glpsol -m OSeMOSYS.txt -d simplicity.txt
```

0 comments on commit 876051a

Please sign in to comment.