Skip to content

Team-Nando/Tutorial-DERHostingCapacity-0-dss_python

Tutorial on DER Hosting Capacity - Part 0: Using dss_python

Tutorial on DER Hosting Capacity

This multi-part Tutorial on Distributed Energy Resource (DER) Hosting Capacity will guide you, using interactive code via Jupyter Notebook and Python, through the different steps to run advanced, detailed time-series simulations to properly assess the technical impacts of DERs (such as solar photovoltaics ☀️🏡) on realistic three-phase unbalanced distribution networks.

This Tutorial is designed for power engineering students (undergraduate and postgraduate), power engineers, researchers, consultants, etc. It requires some knowledge of coding (of course! 🤓) but not too advanced. If you are a decent coder, you will manage 😉.

Part 0: Using dss_python

The objectives of this tutorial are:

  1. To familiarise with advanced tools useful to run distribution network studies involving DERs. You will be using the programming language Python and the advanced distribution network analysis tool OpenDSS via the dss_python module. And, to guide you, all will be done using a notebook on Jupyter Notebook.

  2. To interact with the dss_python module and show how it replaces using OpenDSS via the COM interface. This module makes simulations and the handling of data/results much faster as everything will be native to Python.

New to OpenDSS, Distribution Networks and DERs?

Pre-Requisites for Part 0

  • OpenDSS. Download link https://sourceforge.net/projects/electricdss/.
  • Python (Anaconda) and Jupyter Notebook (comes with Anaconda). Download links and more info: https://www.anaconda.com/download. Note that you must install the Anaconda that is compatible with your operating system (e.g., Windows, Mac). Also note that this repository is meant to be used by individuals (who can get free access to Anaconda).
  • dss_python module. To install, run pip install dss_python in the Anaconda Prompt.
  • To guarantee that you have all the necessary packages you can also run the requirements.txt file using pip install -r requirements.txt in the Anaconda prompt.
  • Remember to always install using full admin rights.
  • More info about these software packages: https://sites.google.com/view/luisfochoa/research-tools.

Run Part 0

Make sure you have installed Anaconda, the dss_python module, etc. as specified above. Otherwise, you will not be able to go through the tutorial.

  1. Download all the files using the green <> Code button at the top right.
    • You will get a ZIP file with a folder that contains all the files.
    • Unzip the file and place the folder somewhere on your computer/laptop.
  2. To open the Jupyter Notebook file (extension ipynb) you need to:
    • Open Anaconda Navigator
    • Click on Launch Jupyter Notebook (it will open in your browser)
    • Upload the unzipped folder (with all the corresponding files) to Jupyter Notebook (the location is up to you)
    • Go inside the folder and open the ipynb file

All the tutorial instructions will be in the ipynb file.

Enjoy! 🤓

Credits

Michael Liu ([email protected])
Eshan Karunarathne ([email protected])
Arthur Goncalves Givisiez ([email protected])
Nando Ochoa ([email protected] ; https://sites.google.com/view/luisfochoa)

Acknowledgement

The content of this repository has been produced with direct and/or indirect inputs from multiple members (past and present) of Prof Nando Ochoa’s Research Team. So, special thanks to all of them (many of whom are now in different corners of the world).

Licenses

Since this repository uses dss_python which is based on OpenDSS, both licenses have been included. This repository uses the BSD 3-Clause "New" or "Revised" license. Check all corresponding files (LICENSE-OpenDSS, LICENSE-dss_python, LICENSE).

About

No description, website, or topics provided.

Resources

License

BSD-3-Clause and 2 other licenses found

Licenses found

BSD-3-Clause
LICENSE
Unknown
LICENSE-OpenDSS
BSD-3-Clause
LICENSE-dss_python

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •