Dynamic Phasor simulation library in C++


DPsim is a real-time capable solver and operates in the dynamic phasor (DP) and EMT domains. This solver primarily targets co-simulation and large-scale scenarios since dynamic phasor variables do not require sampling rates as high as in the case of EMT simulations. Due to the frequency shift introduced by the DP approach, the sampling rate and rate of data exchange between simulators can be reduced. The DP approach is combined with modified nodal analysis, which facilitates the representation of the system in a system matrix that can be directly processed by a linear equation system solver. DPsim supports the CIM format as native input for the description of electrical network topologies, component parameters and load flow data, which is used for initialization. For this purpose, CIM++ is integrated in DPsim. Users interact with the simulation kernel via Python bindings, which can be used to script the execution, schedule events, change parameters and retrieve results. Supported by the availability of existing Python frameworks like Numpy, Pandas and Matplotlib, Python scripts have been proven as an easy and flexible way to codify the complete workflow of a simulation from modelling to analysis and plotting, for example in Jupyter notebooks. The DPsim simulation kernel is implemented in C++ and uses the Eigen linear algebra library. By using a system programming language like C++ and a highly optimized math library, optimal performance and real-time execution can be guaranteed. The integration into the VILLASframework allows DPsim to be used in large-scale co-simulations.


Will be available soon.


For further question please consider joining our Slack channel: FEIN e.V. Slack.


DPsim is presented and/or used by the following publications:

2017, Institute for Automation of Complex Power Systems, EONERC


GPLv3 logo

DPsim is released as open source software under the GPLv3 license.

Other licensing options available upon request. Please contact Prof. Antonello Monti for further details.



Institute for Automation of Complex Power Systems (ACS) EON Energy Research Center (EONERC) RWTH University Aachen, Germany