A Python library to read and manipulate RSCAD® draft files, used for power system modeling and simulation on RTDS simulators.
To install this project, perform the following steps:
cd into the cloned directory
pip install poetry
Before the first use of the project, the classes for the components in the RSCAD master library need to be generated.
Copy the files from the
COMPONENTS directory into
poetry run python ./pyapi_rts/class_extractor/main.py
Other options for the class generation:
! The progress bar is not accurate due to optimizations applied during generation.
poetry run pytest
M. Weber, J. Enzinger, H. K. Çakmak, U. Kühnapfel and V. Hagenmeyer, "PyAPI-RTS: A Python-API for RSCAD Modeling," 2023 Open Source Modelling and Simulation of Energy Systems (OSMSES), Aachen, Germany, 2023, pp. 1-7, doi: 10.1109/OSMSES58477.2023.10089671.