Dynamic tool practical session: Creating an RMS model using VeraGridο
Date: 28-05-2026
Guide contentsο
1. VeraGridο
VeraGrid is an open-source power-system modelling and simulation platform used to build, store, analyse and visualise electrical networks. It combines a graphical user interface with a calculation engine, so the same network model can be used for steady-state studies, grid validation and dynamic studies.
In this practical session, VeraGrid is used as the environment where one can create the network, assign device parameters and launch the RMS simulation.
1.1. VeraGrid dynamic toolο
The VeraGrid dynamic tool is used to study the time-domain response of the network after changes such as faults, set-point changes or controller actions. In this session, it is used in RMS mode, where each device is represented through dynamic blocks, variables, parameters and equations.
2. Objectives of the sessionο
The objective of this practical session is to create a 2-bus system in VeraGrid using RMS models. The session combines static network definition, dynamic model assignment and construction, event configuration and post-processing of simulation results.
At the end of the session, students should be able to:
Create a small network in VeraGrid.
Assign RMS dynamic templates.
Build models in the block editor.
Configure step and ramp events that modify parameters of the simulation.
Run an RMS simulation and identify the expected response.
3. System modelο
The system represents a two-bus system with a generator connected to a load by means of a line.

3.1. Modelling conventions and per-unit basesο
Quantity |
Value |
Comment |
|---|---|---|
System base power, |
100 MVA |
Common base for the exercise |
Nominal frequency, |
50 Hz |
Used for |
AC nominal voltage |
10 kV |
Buses 0 and 1 |
4. Device parametersο
4.1. Static network creation and simulation settingsο
4.1.1. Grid and bus dataο
Object |
Parameter |
Value |
|---|---|---|
Grid |
|
100 MVA |
Grid |
|
50 Hz |
Bus 0 |
|
False |
Bus 0 |
|
True |
Bus 0 |
|
10 kV |
Bus 1 |
|
False |
Bus 1 |
|
False |
Bus 1 |
|
10 kV |
4.1.2. Simulation settingsο
Parameter |
Value |
|---|---|
Integration |
|
Initialization |
Explicit |
Tolerance |
|
Simulation time |
1 s |
Time step |
|
4.2. Static model assignmentο
4.2.1. Generator static dataο
Device |
Parameter |
Value |
|---|---|---|
Generator 1 |
|
1.0 p.u. |
Generator 1 |
|
900 MVA |
Generator 1 |
|
50 Hz |
Generator 1 |
|
0.3 |
Generator 1 |
|
0.86 |
4.2.2. Load static dataο
Device |
Parameter |
Value |
|---|---|---|
Load 1 |
|
9.999999 MVA |
Load 1 |
|
0.999999 MVA |
4.2.3. Line static dataο
Device |
Parameter |
Value |
|---|---|---|
Line 1 |
|
0.029585 p.u. |
Line 1 |
|
0.071005 p.u. |
Line 1 |
|
0.03 p.u. |
Line 1 |
|
900 MVA |
4.3. Dynamic model assignmentο
4.3.1. Generator dynamic model: complete generator RMS templateο
Device |
Component |
Parameter |
Value |
|---|---|---|---|
Generator 1 |
Exciter |
|
0.02 |
Generator 1 |
Exciter |
|
1.50 |
Generator 1 |
Exciter |
|
1.0 |
Generator 1 |
Exciter |
|
15.0 |
Generator 1 |
Exciter |
|
-5.0 |
Generator 1 |
Exciter |
|
0.05 |
Generator 1 |
Exciter |
|
2.5 |
Generator 1 |
Exciter |
|
-2.0 |
Generator 1 |
Exciter |
|
-2.0 |
Generator 1 |
Exciter |
|
5 |
Generator 1 |
Exciter |
|
0.02 |
Generator 1 |
Exciter |
|
0.01 |
Generator 1 |
Exciter |
|
0.05 |
Generator 1 |
Exciter |
|
-5.1 |
Generator 1 |
Exciter |
|
5 |
Generator 1 |
Stabilizer |
|
20 |
Generator 1 |
Stabilizer |
|
1 |
Generator 1 |
Stabilizer |
|
-1 |
Generator 1 |
Stabilizer |
|
1 |
Generator 1 |
GenQec |
|
50 |
Generator 1 |
GenQec |
|
314.159 |
Generator 1 |
GenQec |
|
3.5 |
Generator 1 |
GenQec |
|
10 |
Generator 1 |
GenQec |
|
0.003 |
Generator 1 |
GenQec |
|
0.003 |
Generator 1 |
GenQec |
|
1.8 |
Generator 1 |
GenQec |
|
1.7 |
Generator 1 |
GenQec |
|
0.3 |
Generator 1 |
GenQec |
|
0.55 |
Generator 1 |
GenQec |
|
0.25 |
Generator 1 |
GenQec |
|
0.35 |
Generator 1 |
GenQec |
|
0.15 |
Generator 1 |
GenQec |
|
8 |
Generator 1 |
GenQec |
|
0.4 |
Generator 1 |
GenQec |
|
0.03 |
Generator 1 |
GenQec |
|
0.05 |
Generator 1 |
GenQec |
|
|
Generator 1 |
GenQec |
|
|
Generator 1 |
GenQec |
|
|
Generator 1 |
GenQec |
|
|
Generator 1 |
GenQec |
|
|
Generator 1 |
GenQec |
|
|
Generator 1 |
GenQec |
|
|
Generator 1 |
GenQec |
|
|
Generator 1 |
GenQec |
|
5 |
Generator 1 |
GenQec |
|
1 |
Generator 1 |
Governor |
|
|
Generator 1 |
Governor |
|
-0.01 |
Generator 1 |
Governor |
|
-0.01 |
Generator 1 |
Governor |
|
1 |
Generator 1 |
Governor |
|
0.01 |
Generator 1 |
Governor |
|
1 |
Generator 1 |
Governor |
|
10 |
Generator 1 |
Governor |
|
12 |
Generator 1 |
Governor |
|
-1 |
Generator 1 |
Governor |
|
-0.5 |
Generator 1 |
Governor |
|
0.5 |
Generator 1 |
Governor |
|
0 |
4.3.2. Line dynamic model: line RMS templateο
There are no parameters to change.
4.3.3. Load dynamic model: load RMS templateο
There are no parameters to change.
4.4. RMS eventsο
Event |
Device |
Time interval |
Parameter |
New value |
Transition |
|---|---|---|---|---|---|
Decrease load |
Load |
0.1 s |
|
-0.06 |
Step |
Increase load |
Load |
0.2-0.3 s |
|
-0.1 |
Ramp |
5. RMS model constructionο
5.1. Static model constructionο
This is the built model:

Buses are added by dragging a bus from the Library, located in the left vertical bar, to the centre.
Injections, such as generators and loads, are added by right-clicking on the bus.

Drag a line connecting the buses to create the line.
Add all static parameters in the left vertical bar for all devices. See the parameter values in Section 4.
To check if the static model is correct, run a power flow by clicking on the corresponding icon in the upper bar. The result should be the following:

5.2. Dynamic model constructionο
VeraGrid allows two different dynamic simulation modes: RMS and EMT. The following explanation works for both simulation types. There are two ways of setting dynamic models to a device:
Assigning a
rms_templateoremt_templatefrom the Properties left vertical bar. This way, one cannot edit the dynamic parameters for now, so this mode is not recommended if one wants to correctly parametrise the controls and dynamic parameters. To do this, the default EMT/RMS catalogue must be added from Actions -> Add default catalogue, selecting the templates to be added. The templates can be seen in Database -> Templates -> RMS/EMT Template.Opening the RMS/EMT editor and creating the model from there. This is the option used in this practice and explained below.
To open the RMS/EMT editor, right-click on the device to be edited and click the editor to be used. In this case, select the RMS editor.

For example, for the generator:
The dynamic editor is divided into two main parts: the main page where the model is created by blocks, and the left bar with the library of blocks and devices available.

When opening the RMS editor, some blocks are already in the main page: these are the grid connection blocks. In order to dynamically connect the devices, the simulator needs the voltages and currents of the device. These blocks must be connected to the device to be created.
Add the devices by dragging them from the library into the main page. To inspect the model, select it and then use the left vertical bar:
Variables: all variables of that block are classified here. Their initial value or equation can be seen and edited if needed.
Parameters: all parameters of the block are classified here. The value can be changed to fit the desired model. Here, parameters must be changed according to Section 4.
Equations: all state and algebraic equations of the block can be seen and edited if needed.
This is the final model for the generator:

5.3. Eventsο
Adding events to the dynamic simulations is the way to test different grid scenarios. In this case, the system will be energised and de-energised. In VeraGrid, there are two objects to consider when adding events:
RMS/EMT Events Group: this is the simulation where events are applied. Each event group is one different simulation. One can see and edit all event groups created in Database -> Dynamic -> Rms/Emt Events Group. This is useful to perform different simulations on the same grid, for example one with a short-circuit event and another with a fault.
RMS/EMT Events: this is what exactly happens to the parameter. One must select the parameter where the event is applied, its new value and the time of the event. There are two types of events available: steps and ramps. One can see and edit all events created in Database -> Dynamic -> Rms/Emt Event.
To add an event from the static model, click on the device where the event is configured and go to Events -> Add emt event to selected. Since there is no EmtEventsGroup, it must be created.

Create the EmtEventsGroup by giving it a name, for example simulation1. After that, add the new events and parametrise them according to Section 4.4.

One can see and edit the RMS/EMT EventsGroup and RMS/EMT Events from Database -> Dynamics.
6. Simulation and post-processingο
6.1. Simulationο
To perform an RMS simulation, click the button in the upper bar. The simulation will last a few seconds.

6.2. Dynamic resultsο
To see the results, go to Results -> RMS Dynamic. There, there are two main parts:
Dynamic results: all variables available to be plotted can be found here. By double-clicking on a variable, the plot appears.
Dynamic plots: these are used to create plots with more than one variable. Dynamic plots are added by clicking on the
+sign in the upper-right corner. Variables from the dynamic results can be dragged to the plots and then plotted by double-clicking the plot.

7. Suggestionsο
The eRoots dynamic team is very happy to hear your suggestions. Do not be shy and tell us everything you think can be improved.