DPsim is a solver library for dynamic power system simulation.

- It supports both the electromagnetic transient (EMT) and dynamic phasor (DP) domain for dynamic simulation.
- A powerflow solver is included for standalone usage or to initialize dynamic simulations.
- It provides a Python module which can be embedded in any Python 3 application / scripts.
- The simulation core is implemented in highly-efficient C++ code.
- It supports real-time execution with time-steps down to 50 uS.
- It can load models in the IEC61970 Common Information Model (CIM) / Common Grid Model Exchange Standard (CGMES) XML format.
- It can be interfaced to a variety of protocols and interfaces via VILLASnode.

## Connect

Using or want to use DPsim? Find out more here:

LF Energy Slack - Chat with other users and get help in the **#sogno** channel

You can also send a direct message to

- Markus Mirz
- Jan Dinkelbach
- Steffen Vogel

## Contribute

If you want to get more involved by contributing to DPsim, please send us a Pull Request on GitHub.

## Publications

If you are using DPsim for your research, please cite the following paper in your publications:

- M. Mirz, S. Vogel, G. Reinke, A. Monti, “DPsim — A dynamic phasor real-time simulator for power systems,”
*SoftwareX*, Volume 10, July–December 2019, 100253.

Other publications related to DPsim:

- J. Dinkelbach, L. Razik, M. Mirz, A. Benigni, and A. Monti, “Template-based generation of programming language specific code for smart grid modelling compliant with CIM and CGMES,”
*The Journal of Engineering*, 2022. - G. Nakti, J. Dinkelbach, M. Mirz, and A. Monti, “Comparative Assessment of Shifted Frequency Modeling in Transient Stability Analysis using the Open Source Simulator DPsim,” in
*2022 Open Source Modelling and Simulation of Energy Systems (OSMSES)*, 2022. - J. Dinkelbach, L. Schumacher, L. Razik, A. Benigni, and A. Monti, “Factorisation Path Based Refactorisation for High-Performance LU Decomposition in Real-Time Power System Simulation,”
*Energies*, 2021. - J. Dinkelbach, G. Nakti, M. Mirz, A. Monti, “Simulation of Low Inertia Power Systems Based on Shifted Frequency Analysis,”
*Energies*, 2021. - M. Mirz, A. Monti, and A. Benigni, “A Dynamic Phasor Real-Time Simulation Based Digital Twin for Power Systems,” E.ON Energy Research Center, RWTH Aachen University, 2020.
- M. Mirz, J. Dinkelbach, A. Monti, “DPsim — Advancements in Power Electronics Modelling Using Shifted Frequency Analysis and in Real-Time Simulation Capability by Parallelization,”
*Energies*, 2020. - M. Mirz, A. Estebsari, F. Arrigo, E. Bompard and A. Monti, “Dynamic phasors to enable distributed real-time simulation,”
*2017 6th International Conference on Clean Electrical Power (ICCEP)*, Santa Margherita Ligure, 2017. - S. Vogel, M. Mirz, L. Razik, A. Monti, “An Open Solution for Next-generation Real-time Power System Simulation,”
*1st IEEE Conference on Energy Internet and Energy System Integration (IEEE-EI^2)*, Beijing, 2017. - M. Mirz, A. Monti, A. Estebsari, F. Arrigo, E. Bompard, “Functionality of the releases of the real time solver V1,”
*RESERVE Library*, 2017. - M. Mirz, S. Vogel, A. Monti, “First Interconnection test of the nodes in pan-European simulation platform,”
*RESERVE Library*, 2017.