GMLC-TDC / pesgm-2019-helics-tutorial

PESGM 2019 HELICS tutorial
https://beta.mybinder.org/v2/gh/gmlc-tdc/pesgm-2019-helics-tutorial/master?urlpath=lab/tree/notebooks/Introduction.ipynb
BSD 3-Clause "New" or "Revised" License
5 stars 1 forks source link

pesgm-2019-helics-tutorial badge

Click the following link to get started.

https://beta.mybinder.org/v2/gh/gmlc-tdc/pesgm-2019-helics-tutorial/master?urlpath=lab/tree/notebooks/Introduction.ipynb

This is a online remote demonstration. So there's no installation required.

The tutorial has 3 parts:

  1. An introduction to jupyter notebooks
  2. A simple value exchange that sends pi (i.e. 3.14...) back and forth between two federates. To run it start both the notebooks in that folder simultaneously and go back and forth.
  3. An example transmission-distribution exchange between PyPower and OpenDSS via OpenDSSdirect. Similar to piexchange, this requires starting two notebooks simultaneously that each setup a federate and then interact via HELICS.

Notes:

If you are interested in running this demonstration on your computer, you can follow the installation steps below.

Tutorial Installation (optional)

git clone https://github.com/GMLC-TDC/pesgm-2019-helics-tutorial
cd pesgm-2019-helics-tutorial
conda install jupyter
conda install nb_conda
conda env create
conda init bash # use your appropriate shell here
conda activate helics-environment
jupyter notebook

You can check if everything has been installed correctly by running the following to start Python:

conda activate helics-environment
python

When Python has started you can run the following:

>>> import helics as h
>>> h.helicsGetVersion()

Release

pesgm-2019-helics-tutorial is distributed under the terms of the BSD-3 clause license. All new contributions must be made under this license. LICENSE

SPDX-License-Identifier: BSD-3-Clause