Assembling a power system model and simulating it
This package brings information on how to assemble the building blocks of a power system model: the network and the generation unit.
The modeling process is divided into different steps, showing how network and generation units can be assembled systematically, using the models available in OpenIPSL.
In addition, this package also presents a Modelica function that allows the user to identify the motives for instability that is observed in the simulation.
Extends from Modelica.Icons.ExamplesPackage (Icon for packages containing runnable examples).
Name | Description |
---|---|
Example_1 | Fully assembled single-machine-infinite-bus (SMIB) example system |
Generator | Set of steps illustrating how to assemble a generation unit using OpenIPSL |
Network | Set of steps illustrating how to assemble a network model using the OpenIPSL |
modal_analysis | Function for executing the eigenanalysis of the test system assembled in Example 1 |
Fully assembled single-machine-infinite-bus (SMIB) example system
This example system represents the resulting model after one has followed the steps to assemble the generation unit and the network. The system must be simulated during 10 seconds.
Variables of interest are:
B1.v
B2.v
G1.machine.delta
Note that these curves have oscillations that grow with time, indicating a clear case of instability. This issue is addressed on Example 2.
Also note that validation against PSAT can be performed by loading the file Tutorial/Additional_Material/PSAT_dyn.csv
. The correspondent curves are:
PSAT_dyn.v
corresponds to G1.machine.v
PSAT_dyn.vf
corresponds to G1.avr.vf
PSAT_dyn.w
corresponds to G1.machine.w
Extends from Modelica.Icons.Example (Icon for runnable examples).
Function for executing the eigenanalysis of the test system assembled in Example 1
This function linearizes the equations of the example system and extracts the eigenvalues from the state matrix A.
The main goal of this function is to identify the unstable eigenvalues, or modes, which are going to be the focus of the next text system, in Example 2.
Extends from Modelica.Icons.Function (Icon for functions).
Name | Description |
---|---|
pathToPlantModel | Model to be linearized |
Name | Description |
---|---|
ss | Object with ABCD matrices of linearized model |