Performance Evaluation of a Cloud-Native Open-Source Power System Digital Twin for Real-Time Simulation
Abstract
1. Introduction
2. Real-Time Power System Simulation
2.1. Power System Real-Time Simulation Applications
2.2. Power System Open-Source Software
3. Cloud Based Real-Time Simulation Strategy
3.1. Bare-Metal Server
3.2. Real-Time Operating System
3.2.1. Real-Time Operating System Setting
3.2.2. Isolating Interrupts and Setting Process Affinity
3.3. Host Operating System
3.4. Hypervisor
3.4.1. VMs Configurations
3.4.2. Guest OS Real-Time Kernel
3.5. Containers and Images
3.6. Cloud Performance Results
$ while true; do /bin/dd if=/dev/zero of=bigfile \| \\ > bs=1024000 count=1024; done & \|\\ > cd ltp-20210524; while true; do ./runalltests.sh -x 40; done|
$ cyclictest --mlockall --priority=99 --interval=100 \|\\ > --histogram=100 --duration=2h -q > output|
4. Test Case—Cloud Computing
5. Results and Discussion of Possible Applications
6. Conclusions
Author Contributions
Funding
Data Availability Statement
Acknowledgments
Conflicts of Interest
References
- Coy, D.; Malekpour, S.; Saeri, A.K.; Dargaville, R. Rethinking community empowerment in the energy transformation: A critical review of the definitions, drivers and outcomes. Energy Res. Soc. Sci. 2021, 72, 101871. [Google Scholar] [CrossRef]
- Gielen, D.; Gorini, R.; Wagner, N.; Leme, R.; Gutierrez, L.; Prakash, G.; Asmelash, E.; Janeiro, L.; Gallina, G.; Vale, G.; et al. Global Energy Transformation: A Roadmap to 2050; IRENA; Hydrogen Knowledge Centre: Abu Dhabi, UAE, 2019. [Google Scholar]
- Manuela, T.; Slusarczyk, B. Energy Transformation towards Sustainability; Elsevier: Amsterdam, The Netherlands, 2019. [Google Scholar]
- Uslar, M.; Rohjans, S.; Neureiter, C.; Andrén, F.P.; Velasquez, J.; Steinbrink, C.; Efthymiou, V.; Migliavacca, G.; Horsmanheimo, S.; Brunner, H.; et al. Applying the smart grid architecture model for designing and validating system-of-systems in the power and energy domain: A European perspective. Energies 2019, 12, 258. [Google Scholar] [CrossRef]
- Li, J.; Yang, S.X. Digital twins to embodied artificial intelligence: Review and perspective. Intell. Robot. 2025, 5, 202–227. [Google Scholar] [CrossRef]
- Crespo-Aguado, M.; Lozano, R.; Hernandez-Gobertti, F.; Molner, N.; Gomez-Barquero, D. Flexible Hyper-Distributed IoT–Edge–Cloud Platform for Real-Time Digital Twin Applications on 6G-Intended Testbeds for Logistics and Industry. Future Internet 2024, 16, 431. [Google Scholar] [CrossRef]
- Afshari, A.; Lee, J.; Besenski, D. A Digital Twin Platform for Real-Time Intersection Traffic Monitoring, Performance Evaluation, and Calibration. Infrastructures 2025, 10, 204. [Google Scholar] [CrossRef]
- Yassin, M.A.M.; Shrestha, A.; Rabie, S. Digital Twin in Power System Research and Development. Sustain. Energy Grids Netw. 2023, 35, 101086. [Google Scholar] [CrossRef]
- Thwe, M.M.; Ştefanov, A.; Rajkumar, V.S.; Palensky, P. Digital Twins for Power Systems: Review of Current Practices, Requirements, Enabling Technologies, Data Federation, and Challenges. IEEE Access 2025, 13, 105517–105540. [Google Scholar] [CrossRef]
- Xu, J.; Li, Y.; Zhang, X.; Guan, P.; Zhang, S.; Li, T. Digital Twin for Smart Grid: A Survey. In Proceedings of the 2024 Second International Conference on Cyber-Energy Systems and Intelligent Energy (ICCSIE), Shenyang, China, 17–19 May 2024. [Google Scholar] [CrossRef]
- Fuller, A.; Fan, Z.; Day, C.; Barlow, C. Digital Twin: Enabling Technologies, Challenges and Open Research. IEEE Access 2020, 8, 108952–108971. [Google Scholar] [CrossRef]
- Barreto, N.E.M.; Aoki, A.R. Cyber-Physical Power System Digital Twins—A Study on the State of the Art. Energies 2025, 18, 5960. [Google Scholar] [CrossRef]
- TwinEU. TwinEU Developing a Concept of Pan-European Digital Twin of the Electricity System; TwinEU; Available online: https://twineu.net/ (accessed on 15 March 2026).
- Ruhe, S.; Schaefer, K.; Branz, S.; Nicolai, S.; Bretschneider, P.; Westermann, D. Design and Implementation of a Hierarchical Digital Twin for Power Systems Using Real-Time Simulation. Electronics 2023, 12, 2747. [Google Scholar] [CrossRef]
- Cheng, Y.; Fan, L.; Rose, J.; Huang, S.H.; Schmall, J.; Wang, X.; Xie, X.; Shair, J.; Ramamurthy, J.R.; Modi, N.; et al. Real-World Subsynchronous Oscillation Events in Power Grids With High Penetrations of Inverter-Based Resources. IEEE Trans. Power Syst. 2023, 38, 316–330. [Google Scholar] [CrossRef]
- CIGRE. Electromagnetic Transient Simulation Models for Large-Scale System Impact Studies in Power Systems Having a High Penetration of Inverter-Connected Generation; Technical Brochure 881; CIGRE: Paris, France, 2022. [Google Scholar]
- NERC. Reliability Guideline Electromagnetic Transient Modeling for BPS-Connected Inverter-Based Resources-Recommended Model Requirements and Verification Practices; Technical Report; NERC: Washington, DC, USA, 2023. [Google Scholar]
- Dennetiere, S.; Saad, H.; Vernay, Y.; Rault, P.; Martin, C.; Clerc, B. Supporting Energy Transition in Transmission Systems: An Operator’s Experience Using Electromagnetic Transient Simulation. IEEE Power Energy Mag. 2019, 17, 48–60. [Google Scholar] [CrossRef]
- Ndreko, M.; Geraerds, T.; Almenta, M.M.; Saad, H.; Hennig, T.; Theologitis, I.; Gonzalez, A.; Lopez, J.B.; Campion, J.C.P.; Premm, D.; et al. Expert Group Interaction Studies and Simulation Models (EG ISSM); Technical Report; ENTSO-E: Bruxelles, Belgium, 2021. [Google Scholar]
- Omar Faruque, M.D.; Strasser, T.; Lauss, G.; Jalili-Marandi, V.; Forsyth, P.; Dufour, C.; Dinavahi, V.; Monti, A.; Kotsampopoulos, P.; Martinez, J.A.; et al. Real-Time Simulation Technologies for Power Systems Design, Testing, and Analysis. IEEE Power Energy Technol. Syst. J. 2015, 2, 63–73. [Google Scholar] [CrossRef]
- Guillaud, X.; Faruque, M.O.; Teninge, A.; Hariri, A.H.; Vanfretti, L.; Paolone, M.; Dinavahi, V.; Mitra, P.; Lauss, G.; Dufour, C.; et al. Applications of Real-Time Simulation Technologies in Power and Energy Systems. IEEE Power Energy Technol. Syst. J. 2015, 2, 103–115. [Google Scholar] [CrossRef]
- Bélanger, J.; Venne, P. The What, Where and Why of Real-Time Simulation. Planet RT 2010, 1, 25–29. [Google Scholar]
- Luna, E.G.; Becerra, J.E.C.; Sáenz, E.M. Current Status and Future Trends in Protection, Control and Communications Testing in Electrical Grids using Real-time Simulation. J. Eng. Sci. Technol. Rev. 2018, 11, 204–214. [Google Scholar] [CrossRef]
- Benigni, A.; Strasser, T.; De Carne, G.; Liserre, M.; Cupelli, M.; Monti, A. Real-Time Simulation-Based Testing of Modern Energy Systems: A Review and Discussion. IEEE Ind. Electron. Mag. 2020, 14, 28–39. [Google Scholar] [CrossRef]
- Perez, E.; de la Ree, J. Development of a real time simulator based on ATP-EMTP and sampled values of IEC61850-9-2. Int. J. Electr. Power Energy Syst. 2016, 83, 594–600. [Google Scholar] [CrossRef]
- Espinoza, R.G.F.; Molina, Y.; Tavares, M. PC Implementation of a Real-Time Simulator Using ATP Foreign Models and a Sound Card. Energies 2018, 11, 2140. [Google Scholar] [CrossRef]
- Mirz, M.; Vogel, S.; Reinke, G.; Monti, A. DPsim—A dynamic phasor real-time simulator for power systems. SoftwareX 2019, 10, 100253. [Google Scholar] [CrossRef]
- Nakti, G.; Dinkelbach, J.; Mirz, M.; Monti, A. Comparative Assessment of Shifted Frequency Modeling in Transient Stability Analysis using the Open Source Simulator DPsim. In Proceedings of the 2022 Open Source Modelling and Simulation of Energy Systems (OSMSES), Aachen, Germany, 4–5 April 2022; pp. 1–6. [Google Scholar] [CrossRef]
- Mehmi, S.; Verma, H.K.; Sangal, A.L. Simulation modeling of cloud computing for smart grid using CloudSim. J. Electr. Syst. Inf. Technol. 2017, 4, 159–172. [Google Scholar] [CrossRef]
- Lu, Y.; Guo, H.; Zhao, Y.; Huang, L.; Hu, B.; Luo, H.; Zhang, J. Design and Implementation of Power System Simulation Platform Based on Cloud Computing. In Proceedings of the 2024 4th International Conference on Energy, Power and Electrical Engineering (EPEE), Wuhan, China, 20–22 September 2024; pp. 925–928. [Google Scholar] [CrossRef]
- Abeni, L.; Faggioli, D. Using Xen and KVM as real-time hypervisors. J. Syst. Archit. 2020, 106, 101709. [Google Scholar] [CrossRef]
- Struhár, V.; Behnam, M.; Ashjaei, M.; Papadopoulos, A.V. Real-Time Containers: A Survey; Open Access Series in Informatics (OASIcs); Schloss Dagstuhl–Leibniz-Zentrum für Informatik: Wadern, Germany, 2020; Volume 80, pp. 1–7. [Google Scholar] [CrossRef]
- Mchirgui, N.; Quadar, N.; Kraiem, H.; Lakhssassi, A. The Applications and Challenges of Digital Twin Technology in Smart Grids: A Comprehensive Review. Appl. Sci. 2024, 14, 933. [Google Scholar] [CrossRef]
- Abo-Khalil, A.G. Digital twin real-time hybrid simulation platform for power system stability. Case Stud. Therm. Eng. 2023, 49, 103237. [Google Scholar] [CrossRef]
- Zimmerman, R.D.; Murillo-Sanchez, C.E.; Thomas, R.J. MATPOWER: Steady-State Operations, Planning and Analysis Tools for Power Systems Research and Education. IEEE Trans. Power Syst. 2011, 26, 12–19. [Google Scholar] [CrossRef]
- Brown, T.; Hörsch, J.; Schlachtberger, D. PyPSA: Python for Power System Analysis. J. Open Res. Softw. 2018, 6, 4. [Google Scholar] [CrossRef]
- Xiong, M.; Wang, B.; Vaidhynathan, D.; Maack, J.; Reynolds, M.J.; Hoke, A.; Sun, K.; Ramasubramanian, D.; Verma, V.; Tan, J. An open-source parallel EMT simulation framework. Electr. Power Syst. Res. 2024, 235, 110734. [Google Scholar] [CrossRef]
- Mirz, M.; Vogel, S.; Schäfer, B.; Monti, A. Distributed real-time co-simulation as a service. In Proceedings of the 2018 IEEE International Conference on Industrial Electronics for Sustainable Energy Systems (IESES), Hamilton, New Zealand, 31 January–2 February 2018; pp. 534–539. [Google Scholar] [CrossRef]
- Stevic, M.; Vogel, S.; Monti, A. From Monolithic to Geographically Distributed Simulation of HVdc Systems. In Proceedings of the 2018 IEEE 19th Workshop on Control and Modeling for Power Electronics (COMPEL), Padua, Italy, 25–28 June 2018; pp. 1–5. [Google Scholar] [CrossRef]
- Mirz, M.; Dinkelbach, J.; Monti, A. DPsim—Advancements in power electronics modelling using shifted frequency analysis and in real-time simulation capability by parallelization. Energies 2020, 13, 3879. [Google Scholar] [CrossRef]
- IEC 61970-552:2016; Energy Management System Application Program Interface (EMS-API)—Part 552: CIMXML Model Exchange Format. IEC: Geneva, Switzerland, 2016.
- IACPS-RWTH-Aachen. VILLASframework; IACPS-RWTH-Aachen: Aachen, Germany, 2023. [Google Scholar]
- Monti, A.; Stevic, M.; Vogel, S.; De Doncker, R.W.; Bompard, E.; Estebsari, A.; Profumo, F.; Hovsapian, R.; Mohanpurkar, M.; Flicker, J.D.; et al. A Global Real-Time Superlab: Enabling High Penetration of Power Electronics in the Electric Grid. IEEE Power Electron. Mag. 2018, 5, 35–44. [Google Scholar] [CrossRef]
- Azeem, S.A.; Sharma, S.K. Study of Converged Infrastructure & Hyper Converge Infrastructre As Future of Data Centre. Int. J. Adv. Res. Comput. Sci. 2017, 8, 900–903. [Google Scholar] [CrossRef]
- Shah, J.; Dubaria, D. Building Modern Clouds: Using Docker, Kubernetes & Google Cloud Platform. In Proceedings of the 2019 IEEE 9th Annual Computing and Communication Workshop and Conference (CCWC), Las Vegas, NV, USA, 7–9 January 2019; pp. 184–189. [Google Scholar] [CrossRef]
- Tigera. About Calico | Calico Documentation; Tigera: San Jose, CA, USA, 2023; Available online: https://docs.tigera.io (accessed on 1 January 2026).
- Netlify. MetalLB, Bare Metal Load-Balancer for Kubernetes; Netlify: San Francisco, CA, USA, 2023; Available online: https://metallb.io/ (accessed on 1 January 2026).
- Bootlin. Understanding Linux Real-Time with PREEMPT_RT Training; Bootlin: Oullins-Pierre-Bénite, France, 2023; Available online: https://bootlin.com/doc/training/preempt-rt/ (accessed on 1 January 2026).
- Lim, G. Worst Case Latency Test ScenariosWiki; Linux Foundation: San Francisco, CA, USA, 2018; Available online: https://wiki.linuxfoundation.org/realtime/documentation/howto/tools/cyclictest/start (accessed on 1 January 2026).
- Mirz, M. A Dynamic Phasor Real-Time Simulation Based Digital Twin for Power Systems. Ph.D Thesis, RWTH Aachen, Aachen, Germany, 2020. [Google Scholar]
- Koop, M. Bare Metal Performance with the AWS Nitro System; Amazon Web Services, Inc.: Seattle, WA, USA, 2021. [Google Scholar]
- 1588-2019; IEEE Standard for a Precision Clock Synchronization Protocol for Networked Measurement and Control Systems. IEEE: New York, NY, USA, 2019. [CrossRef]
- Mehlmann, G.; Kühnapfel, U.; Wege, F.; Winkens, A.; Scheibe, C.; Vogel, S.; Noglik, P.; Gratza, M.; Richter, J.; Weber, M.; et al. The Kopernikus ENSURE Co-Demonstration Platform. IEEE Open J. Power Electron. 2023, 4, 987–1002. [Google Scholar] [CrossRef]
- Charyyev, B.; Arslan, E.; Gunes, M.H. Latency Comparison of Cloud Datacenters and Edge Servers. In Proceedings of the GLOBECOM 2020—2020 IEEE Global Communications Conference, Taipei, Taiwan, 7–11 December 2020; pp. 1–6. [Google Scholar] [CrossRef]








| Virtual Node | vCPUs | Memory | Description |
|---|---|---|---|
| Infrastructure node | 2 vCPUs | 8 GiB | Provisioner and controller |
| Cloud control plane | 2 vCPUs | 4 GiB | Control plane node |
| Cloud node 0 | 8 vCPUs | 16 GiB | Real-time simulator node |
| Cloud node 1 | 8 vCPUs | 16 GiB | Real-time simulator node |
| Cloud node 2 | 4 vCPUs | 8 GiB | Data streaming node |
| Storage node 0 | 2 vCPUs | 4 GiB | RADOS storage node |
| Storage node 1 | 2 vCPUs | 4 GiB | RADOS storage node |
| Storage node 2 | 2 vCPUs | 4 GiB | RADOS storage node |
| VLAN name | CIDR | MTU | Usage description |
| oam-space | 192.168.10.0/24 | 1500 | Operation and management |
| storage-access | 192.168.12.0/24 | 9000 | Ceph storage access |
| storage-replication | 192.168.14.0/24 | 9000 | Ceph storage replication |
| internal-space | 192.168.11.0/24 | 1500 | Nodes, APIs and services |
| network-provider | 168.176.124.0/23 | 1500 | Network with Internet access |
| QTY | Hardware | Reference |
|---|---|---|
| 2 | CPU | Intel(R) Xeon(R) Gold 6242R CPU @ 3.10 GHz |
| 40 | CORES | 80 total threads HT, and VT-x and VT-d |
| 4 | MEMORY | 32 GiB DDR4 RAM |
| 2 | NIC | Broadcom(R) BCM57416 NetXtreme-E Dual-Media 10Gbps |
| 1 | IPMI | iLO HPE |
| Case | OS Host | KVM | lxc | Container |
|---|---|---|---|---|
| 1 | non-rt | - | - | - |
| 2 | rt | - | - | - |
| 3 | rt | rt | - | - |
| 4 | rt | rt | rt | - |
| 5 | rt | rt | - | rt |
| Layers | Kernel | Worst-Case | |||
|---|---|---|---|---|---|
| No Stress | Stress | ||||
| bare-metal | non-rt | 789 s | 2303 s | 1 s | 13 ns |
| bare-metal | rt | 64 s | 344 s | 1 s | 10 s |
| bare-metal/kvm vm | rt/rt | 87 s | 465 s | 6 s | 498 ns |
| bare-metal/kvm vm/lxc | rt/rt/rt | 129 s | 2980 s | 7 s | 187 ns |
| bare-metal/kvm vm/containerd | rt/rt/rt | 142 s | 3049 s | 7 s | 372 ns |
| Copies | Buses | Generators | Transformers | Transmission Lines | Loads |
|---|---|---|---|---|---|
| 1 | 9 | 3 | 3 | 6 | 3 |
| 25 | 225 | 75 | 75 | 225 | 75 |
| 50 | 450 | 150 | 150 | 480 | 150 |
| 75 | 675 | 225 | 225 | 675 | 225 |
| 90 | 810 | 270 | 270 | 810 | 270 |
| Layers | Kernel | System Copies | System Buses |
|---|---|---|---|
| bare-metal | non-rt | 0 | 0 |
| bare-metal | rt | 57 | 513 |
| bare-metal/kvm vm | rt/rt | 41 | 369 |
| bare-metal/kvm vm/lxc | rt/rt/rt | 40 | 360 |
| bare-metal/kvm vm/containerd | rt/rt/rt | 37 | 333 |
| aws nitro system/aws instance | non-rt/rt | 5 | 45 |
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content. |
© 2026 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license.
Share and Cite
Noreña, J.-P.; Perez, E. Performance Evaluation of a Cloud-Native Open-Source Power System Digital Twin for Real-Time Simulation. Energies 2026, 19, 1982. https://doi.org/10.3390/en19081982
Noreña J-P, Perez E. Performance Evaluation of a Cloud-Native Open-Source Power System Digital Twin for Real-Time Simulation. Energies. 2026; 19(8):1982. https://doi.org/10.3390/en19081982
Chicago/Turabian StyleNoreña, Juan-Pablo, and Ernesto Perez. 2026. "Performance Evaluation of a Cloud-Native Open-Source Power System Digital Twin for Real-Time Simulation" Energies 19, no. 8: 1982. https://doi.org/10.3390/en19081982
APA StyleNoreña, J.-P., & Perez, E. (2026). Performance Evaluation of a Cloud-Native Open-Source Power System Digital Twin for Real-Time Simulation. Energies, 19(8), 1982. https://doi.org/10.3390/en19081982

