Installation¶
Warning
Warning! The installation has only been tested using Python 3.7.6 (64 bit)! Python 3.8 is currently not supported.
Windows¶
- Install Python (version 3.5 or higher)
Note
Make sure to select “Add pyton to PATH” at the beginning of the Python installation.
- go to the Python download page
- chose a Python version (e.g., “Python 3.7.6”) and click “download”
- download an installer (e.g., “Windows x86-64 executable installer”)
- execute the installer on your computer
- Download the Spreadsheet Energy System Model Generator from GIT as .zip folder.
- Extract the .zip folder into any directory on the computer.
- Download the CBC-solver from here
- Extract the CBC solver into the folder of the Spreadsheet Energy System Model Generator
- Install “Graphviz”
- go to Graphviz download page
- select and download the graphviz version for your device (e.g. graphviz-2.38.msi for Windows)
Note
Make sure to select the correct installation location for Graphviz!!
- Execute the installation manager you just downloaded. Choose the following directory for the installation: “C:\Program Files (x86)\Graphviz2.38" (should be the default settings)
- Execute the “Windows_installation.cmd” file.
Note
If you receive a “Your computer has been protected by Windows” error message, click “More Information,” and then “Run Anyway”.
- The Spreadsheet Energy System Model Generator has been installed.
MacOS¶
- Install Python (version 3.5 or higher)
Note
Make sure to select “Add pyton to PATH” at the beginning of the Python installation.
- go to the Python download page
- chose a Python version (e.g., “Python 3.7.6”) and click “download”
- download an installer (e.g., “Python 3.7.6 macOS 64-bit installer”)
- execute the installer on your computer
- Download the Spreadsheet Energy System Model Generator from GIT as .zip folder.
- Extract the .zip folder into any directory on the computer.
- Excecute the “MacOS_installation.command” file.
- The Spreadsheet Energy System Model Generator has been installed.
Linux¶
- Install Python (version 3.5 or higher)
- go to https://phoenixnap.com/kb/how-to-install-python-3-ubuntu/
- use Python3.7 instead of Python3.8
Note
Make sure that the alias python3 is set to Python3.7.x. If not use update-alternatives to change it.
- Download the Spreadsheet Energy System Model Generator from GIT as .zip folder.
- Extract the .zip folder into any directory on the computer.
- Install PIP
$ sudo apt-get install python3-pip
- Install tkinter
$ sudo apt-get install python3.7-tk
- Install Graphviz
$ sudo apt-get install graphviz
- Install the CBC-Solver
$ sudo apt-get install coinor-cbc
- Execute the “Linux_installtion.sh” file.
- The Spreadsheet Energy System Model Generator has been installed.