Real-time electromagnetic transient simulations are suitable tools to study system stability with the increasing penetration of inverter-based resources. On a regional or national scale, these models require a lot of input data, which is often saved in databases and manually uploaded into the models. This paper presents an application programming interface (API) to automatise the data exchange between the database and the simulation tool. By integrating a structured query language (SQL) database containing network topology and parameters with the real-time simulation software RSCAD, our framework avoids multiple data transfers into both database and simulation tool and thus reduces the risk of human-based errors. The application of the framework is shown by changing transmission line parameters in the SQL database, which are then automatically updated in the RSCAD software. Moreover, adjusting an active power setpoint of the simulation model is performed directly in the API. Furthermore, a geographical representation of the network model for monitoring is demonstrated for the voltage magnitudes following a short-circuit fault.

Python-based API for real-time control and monitoring of RSCAD models

Pomarico, Andrea;Berizzi, Alberto;
2024-01-01

Abstract

Real-time electromagnetic transient simulations are suitable tools to study system stability with the increasing penetration of inverter-based resources. On a regional or national scale, these models require a lot of input data, which is often saved in databases and manually uploaded into the models. This paper presents an application programming interface (API) to automatise the data exchange between the database and the simulation tool. By integrating a structured query language (SQL) database containing network topology and parameters with the real-time simulation software RSCAD, our framework avoids multiple data transfers into both database and simulation tool and thus reduces the risk of human-based errors. The application of the framework is shown by changing transmission line parameters in the SQL database, which are then automatically updated in the RSCAD software. Moreover, adjusting an active power setpoint of the simulation model is performed directly in the API. Furthermore, a geographical representation of the network model for monitoring is demonstrated for the voltage magnitudes following a short-circuit fault.
2024
2024 Open Source Modelling and Simulation of Energy Systems, OSMSES 2024 - Proceedings
API
HTML
Python
real-time simulation
RSCAD
File in questo prodotto:
File Dimensione Formato  
2024_OSMSES_API_Python_RSCAD.pdf

Accesso riservato

Dimensione 2.68 MB
Formato Adobe PDF
2.68 MB Adobe PDF   Visualizza/Apri

I documenti in IRIS sono protetti da copyright e tutti i diritti sono riservati, salvo diversa indicazione.

Utilizza questo identificativo per citare o creare un link a questo documento: https://hdl.handle.net/11311/1280440
Citazioni
  • ???jsp.display-item.citation.pmc??? ND
  • Scopus 1
  • ???jsp.display-item.citation.isi??? 1
social impact