In order to start and run the eGo-tool a few steps needs to be done.
Steps to run eGo¶
- Are you registered on the OpenEnergy Platform? The registration for the public accessible API can be found on openenergy-platform.org/login.
- You have Python 3 installed? Install for example the Python distribution of https://www.anaconda.com/download.
- Install and use a virtual environment for your installation (optional).
- Install the eGo tool
pip3 install eGo --process-dependency-links.
- Create mid and low voltage distribution grids with ding0. Learn more about Ding0 on https://dingo.readthedocs.io/en/dev/index.html.
- Check and prepare your eGo setting in
ego/scenario_setting.json. Add your local paths and prepare your parameters.
- Start your calculation and run the tool for example under
>>> python3 appl.py. You can also use any other Python Terminal, Jupyter Notebook or Editor.
How to use eGo?¶
Start and use eGo from the terminal.
>>> python3 appl.py >>> ... >>> INFO:ego:Start calculation >>> ...
Inside the appl.py
# import the eGo tool from ego.tools.io import eGo # Run your scenario ego = eGo(jsonpath='scenario_setting.json') # Analyse your results on extra high voltage level (etrago) ego.etrago_line_loading()
Tutorials as Jupyter Notebook¶
Learn more about Jupyter Notebook and how to install and use it on jupyter.org.