This repository is for the tutorial on using the Python package Plotly to build beautiful plots for energy system related data, as given in openmod Zurich workshop, June 2018.
Download the Miniconda Python distribution from:
https://conda.io/miniconda.html
If you have Anaconda already installed, that's fine! Miniconda is just a slimmer version. Make sure you download the Python 3 version.
Everything you should need to run this model (except the data) is in this repository. Download or clone it in order to get everything onto your device.
Once Miniconda is installed, create a new conda environment with the required packages, by running the following command in a terminal (Linux or macOS) or a command-line window (Windows), making sure you run this command inside the directory containing this repository's requirements.yml file:
conda env create -f requirements.yml
If you are unfamiliar with the Jupyter Notebook, have a look at this quick start guide, in particular the section on running the notebook. During the tutorial session we will not have time to solve installation problems, so make sure that you are able to run the Jupyter Notebook before you arrive.
If you would like to visualise your spatial plots on a Mapbox base map then you'll need a Mapbox API token. You can get that by creating a mapbox account: https://www.mapbox.com/
We are using data made available from the Open Power System Data project for this tutorial. These datasets can be found in the data subdirectory and are based on the following download links: