OpenIPSL.Examples.Tutorial.Example_2

Designing a controller and stabilizing the power system

Information

This package brings information on how to use the simulation results from Example 1 in order to perform the control design of a Power System Stabilizer (PSS) for the system in Example 1.

Note that this package shows, step-by-step, how the generator can be connected to the PSS and it also presents a Modelica function that can be used to tune the controller gain using Root Locus technique.

Extends from Modelica.Icons.ExamplesPackage (Icon for packages containing runnable examples).

Package Content

Name Description
OpenIPSL.Examples.Tutorial.Example_2.Example_2 Example_2 Fully assembled single-machine-infinite-bus (SMIB) example system with a Power System Stabilizer
OpenIPSL.Examples.Tutorial.Example_2.Generator Generator Set of steps illustrating how to assemble a generation unit with stabilizer using OpenIPSL
OpenIPSL.Examples.Tutorial.Example_2.root_locus root_locus Function for executing the root locus analysis for tuning the AVR gain in Example 1

OpenIPSL.Examples.Tutorial.Example_2.Example_2 OpenIPSL.Examples.Tutorial.Example_2.Example_2

Fully assembled single-machine-infinite-bus (SMIB) example system with a Power System Stabilizer

Information

This example system represents the resulting model after one has followed the steps to assemble the generation unit with the tuned Power System Stabilizer for improving the system's transient stability condition. The system must be simulated during 10 seconds.

Variables of interest are:

Compare these curvess with the ones obtained in Example 1. Note that with a properly tuned stabilizer, the before unstable behavior is now fixed and the growing oscillations have now a proper damping.

Extends from Modelica.Icons.Example (Icon for runnable examples).

OpenIPSL.Examples.Tutorial.Example_2.root_locus OpenIPSL.Examples.Tutorial.Example_2.root_locus

Function for executing the root locus analysis for tuning the AVR gain in Example 1

Information

This function varies the AVR gain and, for each value, it linearizes the equations of the example system and extracts the eigenvalues from the state matrix A. By doing so, it stores all the poles of the system and how their loci change with the parametric variation corresponding to AVR gain.

The main goal of this function is to identify for what values of the AVR gain, the system is stable and the poles have adequate damping.

Extends from Modelica.Icons.Function (Icon for functions).

Inputs

NameDescription
pathToPlantModelModel in which root locus will be performed

Outputs

NameDescription
ssObject with ABCD matrices of linearized model
Automatically generated Thu Oct 6 17:41:43 2022.