"DPsim is a real-time capable power system simulator that operates in the dynamic phasor (DP) and EMT domain. This solver primarily targets co-simulation and large-scale scenarios since dynamic phasor variables do not require sampling rates as high as 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. Thus, it is also possible to simulate high frequencies introduced by power electronics with lower sampling rates than in EMT simulations.\n",

"DPsim is a real-time capable power system simulator that supports dynamic phasor and electromagnetic transient simulation as well as continuous powerflow. It primarily targets large-scale scenarios on commercial off-the-sheld hardware that require deterministic time steps in the range of micro- to milliseconds.\n",

"\n",

"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.\n",

"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 C++ 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.\n",

"\n",

"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.\n",

"The integration into the [VILLASframework](http://fein-aachen.org/projects/villas-framework/) allows DPsim to be used in large-scale co-simulations.\n",

"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.\n",

"\n",

"## Examples\n",

"\n",

"Welcome to the examples collection of DPsim. These examples are a good way to start using DPsim.\n",

"\n",

"They cover DPsim's feature from [simple circuits](./Notebooks/Circuits/CS_R2CL.ipynb) and to more complex benchmarks models like the [IEEE/WSCC 9-bus system](./Notebooks/Grids/WSCC_9-bus_dyn_switch_python.ipynb).\n",

"\n",

"Welcome to the examples collection of DPsim. These examples are a good way to start using DPsim. \\\n",

"They cover DPsim's feature from [simple circuits](./Notebooks/Circuits/CS_R2CL.ipynb) and to more complex benchmarks models like the [IEEE/WSCC 9-bus system](./Notebooks/Grids/WSCC_9-bus_dyn_switch_python.ipynb). \\\n",

"A good place to start is the [Quickstart Guide](./Notebooks/Quickstart%20Guide.ipynb).\n",

"On our [project website](https://fein-aachen.org/projects/dpsim) you find links to the source code, published papers, licensing information and more.\n",

"DPsim is presented and/or used by the following publications:\n",

"\n",

"- M. Mirz, S. Vogel, G. Reinke, A. Monti, \"[DPsim—A dynamic phasor real-time simulator for power systems](https://www.sciencedirect.com/science/article/pii/S2352711018302760),\" _SoftwareX_, Volume 10, July–December 2019, 100253.\n",

"- M. Mirz, A. Estebsari, F. Arrigo, E. Bompard and A. Monti, \"[Dynamic phasors to enable distributed real-time simulation](http://ieeexplore.ieee.org/document/8004805/),\" _2017 6th International Conference on Clean Electrical Power (ICCEP)_, Santa Margherita Ligure, 2017, pp. 139-144.\n",

"- M. Mirz, A. Monti, A. Estebsari, F. Arrigo, E. Bompard, \"[Functionality of the releases of the real time solver V1](http://re-serve.eu/files/reserve/Content/Deliverables/D4.2.pdf),\" _RESERVE Library_, 2017.\n",

"- M. Mirz, S. Vogel, A. Monti, \"[First Interconnection test of the nodes in pan-European simulation platform](http://re-serve.eu/files/reserve/Content/Deliverables/D4.4.pdf),\" _RESERVE Library_, 2017.\n",

"- S. Vogel, M. Mirz, L. Razik, A. Monti, \"[An Open Solution for Next-generation Real-time Power System Simulation](https://ieeexplore.ieee.org/document/8245739),\" _1st IEEE Conference on Energy Internet and Energy System Integration (IEEE-EI^2)_, Beijing, 2017.\n",

"\n",

"## Copyright\n",

"\n",

"2017-2019, Institute for Automation of Complex Power Systems, EONERC\n",

"- Markus Mirz (<mmirz@eonerc.rwth-aachen.de>)\n",

"- Jan Dinkelbach (<jdinkelbach@eonerc.rwth-aachen.de>)\n",

"\n",

"[Institute for Automation of Complex Power Systems (ACS)](http://www.acs.eonerc.rwth-aachen.de) \n",

"[EON Energy Research Center (EONERC)](http://www.eonerc.rwth-aachen.de) \n",

"[RWTH University Aachen, Germany](http://www.rwth-aachen.de) \n"

"On our [project website](https://dpsim.fein-aachen.org/) you find links to the source code, documentation, published papers, licensing information and more.\n"

DPsim is a real-time capable power system simulator that operates in the dynamic phasor (DP) and EMT domain. This solver primarily targets co-simulation and large-scale scenarios since dynamic phasor variables do not require sampling rates as high as 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. Thus, it is also possible to simulate high frequencies introduced by power electronics with lower sampling rates than in EMT simulations.

DPsim is a real-time capable power system simulator that supports dynamic phasor and electromagnetic transient simulation as well as continuous powerflow. It primarily targets large-scale scenarios on commercial off-the-sheld hardware that require deterministic time steps in the range of micro- to milliseconds.

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.

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 C++ 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](http://fein-aachen.org/projects/villas-framework/) allows DPsim to be used in large-scale co-simulations.

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.

## Examples

Welcome to the examples collection of DPsim. These examples are a good way to start using DPsim.

They cover DPsim's feature from [simple circuits](./Notebooks/Circuits/CS_R2CL.ipynb) and to more complex benchmarks models like the [IEEE/WSCC 9-bus system](./Notebooks/Grids/WSCC_9-bus_dyn_switch_python.ipynb).

Welcome to the examples collection of DPsim. These examples are a good way to start using DPsim. \

They cover DPsim's feature from [simple circuits](./Notebooks/Circuits/CS_R2CL.ipynb) and to more complex benchmarks models like the [IEEE/WSCC 9-bus system](./Notebooks/Grids/WSCC_9-bus_dyn_switch_python.ipynb). \

A good place to start is the [Quickstart Guide](./Notebooks/Quickstart%20Guide.ipynb).

For further question please consider joining our Slack channel: [FEIN e.V. Slack](https://join.slack.com/t/feinev/shared_invite/enQtNTE1NjY5MTg5NTY4LWM4MWI5ZTVkNDgzZTgyNmY5NWY2N2M3MjdjYzQxY2E0MmRlNjBkYTc3ODNlMDliY2M5YzllNjE4YTY3ODBjM2M).

## Publications

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

- M. Mirz, S. Vogel, G. Reinke, A. Monti, "[DPsim—A dynamic phasor real-time simulator for power systems](https://www.sciencedirect.com/science/article/pii/S2352711018302760)," _SoftwareX_, Volume 10, July–December 2019, 100253.

- M. Mirz, A. Estebsari, F. Arrigo, E. Bompard and A. Monti, "[Dynamic phasors to enable distributed real-time simulation](http://ieeexplore.ieee.org/document/8004805/)," _2017 6th International Conference on Clean Electrical Power (ICCEP)_, Santa Margherita Ligure, 2017, pp. 139-144.

- M. Mirz, A. Monti, A. Estebsari, F. Arrigo, E. Bompard, "[Functionality of the releases of the real time solver V1](http://re-serve.eu/files/reserve/Content/Deliverables/D4.2.pdf)," _RESERVE Library_, 2017.

- M. Mirz, S. Vogel, A. Monti, "[First Interconnection test of the nodes in pan-European simulation platform](http://re-serve.eu/files/reserve/Content/Deliverables/D4.4.pdf)," _RESERVE Library_, 2017.

- S. Vogel, M. Mirz, L. Razik, A. Monti, "[An Open Solution for Next-generation Real-time Power System Simulation](https://ieeexplore.ieee.org/document/8245739)," _1st IEEE Conference on Energy Internet and Energy System Integration (IEEE-EI^2)_, Beijing, 2017.

## Copyright

2017-2019, Institute for Automation of Complex Power Systems, EONERC

- Jan Dinkelbach (<jdinkelbach@eonerc.rwth-aachen.de>)

[Institute for Automation of Complex Power Systems (ACS)](http://www.acs.eonerc.rwth-aachen.de)

[EON Energy Research Center (EONERC)](http://www.eonerc.rwth-aachen.de)

[RWTH University Aachen, Germany](http://www.rwth-aachen.de)

On our [project website](https://dpsim.fein-aachen.org/) you find links to the source code, documentation, published papers, licensing information and more.