Overview
The following tutorials illustrate the functionality of powfacpy. You can use the PowerFactory project under *tests_input_tests.pfd* to run the commands in the tutorials locally. You can follow the link to Github on the right to download the tutorials in .qmd format (quarto). If you prefer jupyter notebook format, you can convert them with quarto convert <tutorial_name.qmd>
(assuming quarto is installed).
1 Getting started
Start here with the getting started tutorial. This tutorial gives an overview of the interaction with the PowerFactory database using powfacpy. The methods introduced in this tutorial serve as a basis to do more complex things and to write more readable code using less lines of code.
2 Dynamic Simulation and Plotting
The tutorial shows how to conveniently simulate and plot with a syntax similar to matplotlib. It is also depicted how to export data to pandas and csv formats and use external plotting libraries such as matplotlib.
3 Study Cases
The study cases tutorial illustrates how to automatically create study cases for parameter studies.
4 Network Matrices and Pandapower Interface
This tutorial demonstrates how to export network matrices such as admittance or Jacobian matrix using the Pandapower interface as an intermediate step.
5 Topology and Groupings
The tutorial on topology and groupings focuses on the grouping of network elements into boundaries, zones and areas.
6 CGMES Model Exchange
In the cgmes model exchange tutorial you can learn how to get started with the application.model_exchange tool to export, import or update grid models using CGMES.