TGGS Special Block Lecture about Smart Grid Technology
by the Intitute for Automation of Complex Power Systems
Introduction to Modelica with OMNotebook
- Double click on the Home folder icon
- Navigate to the folder
gits/tggs/omnotebook_exercise
- Double click on
rlc - Student.onb
- Now, you can start completing the OMNotebook.
Note: Each model must be initialized by executing each cell with shift+enter
Grid Modeling and Simulation - CIMverter, ModPowerSystems and OMEdit
Note: You can copy the commands with ctrl+C
and paste them in the terminal with ctrl+shift+V
CIMverter usage
Open a new Terminal and enter
cd ~/gits/CIMverter/build/bin
to change into the proper directory of the CIMverter.
Then enter following command for the conversion of a sample grid in CIM to a Modelica system model file called CIGRE.mo
:
./CIMverter -a ../../samples/CIGRE_MV_Rudion_With_LoadFlow_Results/ -o CIGRE
This CIGRE grid can be simulated by OpenModelica based on the ModPowerSystems library:
Simulation with OpenModelica
For simulating the generated CIGRE.mo
grid:
- Double click the
OMEdit
icon on the desktop - Choose
File -> Open Model/Library File(s)
from the menu - Starting from the home directory, choose the file
gits/modpowersystems/ModPowerSystems/package.mo
- Choose
File -> Open Model/Library File(s)
from the menu - Starting from the home directory, choose the generated file
gits/CIMverter/build/bin/CIGRE.mo
- Click on
CIGRÈ
in the left menu of OMEdit - Execute the simulation by choosing
Simulation -> Simulate
from the menu
Further Insights
You can have a look into the CIM data with
cd ~/gits/CIMverter/samples/CIGRE_MV_Rudion_With_LoadFlow_Results/
mousepad Rootnet_FULL_NE_24J13h_EQ.xml
To see the templates which the CIMverter applies to obtain ModPowerSystems compatible models, go to
cd ~/gits/CIMverter/ModPowerSystems_templates/
You can view the system model template with
mousepad modelica.tpl
and a exemplary component model template with
mousepad Transformer.tpl
Last update: 24.08.2021