Skip to content
/ PP-MTB Public
forked from Energinet-AIG/MTB

Energinets Powerplant and model testbench. Automate gridcompliance studies in PSCAD and Powerfactory.

Notifications You must be signed in to change notification settings

ZRPedro/PP-MTB

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PP-MTB

Connecting new electricity generation & demand facilities to the public transmission and distribution systems in Denmark requires grid compliance studies with both RMS/PDT and EMT plant level models. The danish TSO Energinet requires RMS/PDT models in DIgSILENT Powerfactory and EMT models in PSCAD.

Energinets PP-MTB (PowerPlant and Model Test Bench) is a test bench for automation of studycase setup and simulation in both PowerFactory and PSCAD with external visualizing of results. The PP-MTB is meant as a tool to help guide in checking simulation and plant performance of RMS/PDT- and EMT-models in regards to the danish grid code and the requirements for simulation models. A set of predefined cases are available with the option to add custom cases or remove exisiting ones. The PP-MTB, originally an internal Energinet tool, has been open-sourced as an strategic initiative to support the grid connecting parties.

Latest release notes can be found under Releases.

Read more about the regulations for grid connection of new facilities here: danish or english.

Getting Started

To get started, follow the Quickstart Guides on the PP-MTB wiki Home page of the PP-MTB GitHub. Here you will find guides for the Excel-Sheet, PowerFactory, PSCAD and the plotter.

Requirements

Dependencies are installed by running pip install -r requirements.txt. Each tool subfolder contains a requirements.txt file.

Tested PowerFactory environments

The Powerfactory tool has been tested in the following environments and dependency versions as listed in requirements.txt:

  • 2021 SP6   with   Python 3.8.81)
  • 2022     with   Python 3.8.8
  • 2022 SP1   with   Python 3.8.8
  • 2022 SP3   with   Python 3.8.8
  • 2022 SP4   with   Python 3.8.8
  • 2023     with   Python 3.8.82)
  • 2023     with   Python 3.11.12)

1) The PQ measurement object (StPqmea) does not support measurement of negative-sequence active and reactive power and are therefore not plotted.

2) Exporting results as .png sometimes plots graphs with unavailable signals, however the .csv file is still exported correctly and results can be plotted with the Plotter tool.

Tested PSCAD environments

The PSCAD tool has been tested with in following environments and dependency versions as listed in requirements.txt:

  • 5.0.1.0 with Python 3.7.2 (embedded python)

Tested Fortran Compilers

Intel(R) Visual Fortran Compiler XE:

  • 12.1.7.371
  • 15.0.1.148
  • 15.0.1.148 (64-bit)
  • 15.0.5.280
  • 15.0.5.280 (64-bit)

Tested python environments for Plotter

The Plotter tool has been tested with the following python versions and dependency versions as listed in requirements.txt:

  • 3.7.16 (in anaconda environment)
  • 3.8.8
  • 3.9.16 (in anaconda environment)
  • 3.11.0 (in anaconda environment)
  • 3.11.1

Contribution

If you are interested in contributing, please feel free to file an issue. This is done by using the PP-MTB Issues tab. Here you can report bugs, feature requests or improvements, but please check for known issues beforehand.

When you file an issue, please try making it as specific and independent of other issues as possible. Make use of the Labels to hightlight what problem or tool the issue revolves arround. We encourage you to contribute with any bug, improvement or idea you might come across to help make this tool as useful and user-friendly as possible.

Help

For further questions or help, please check if the rest of the README or the Quickstart Guides contains the answer, otherwise please contact either:

About

Energinets Powerplant and model testbench. Automate gridcompliance studies in PSCAD and Powerfactory.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages

  • Python 100.0%