Example1.Analysis.RedesignedControllerVerification

Controller verification simulation examples.

Information

This package is configured to simulate the response to an 8-cycle load disturbance and to compare the default PSS control design with the two redesigned controllers presented in [2].


To compare the different control designs the following function is provided: C012_simulate_plot_compare

Executing this function results in a plot of the terminal voltage and speed similar to that in Fig. 10 of [2], with the main difference being that the random load has been removed to speed up the simulations. Note that the all three cases above are simulated, so if a change is made in one of them, it should be also applied to the others so that running the function gives a plot for useful comparisons.

Package Content

Name Description
Example1.Analysis.RedesignedControllerVerification.C012_simulate_plot_compare C012_simulate_plot_compare Simulates and plots the response of three models with different control designs.
Example1.Analysis.RedesignedControllerVerification.C0_8cycles C0_8cycles Default controller with kw=9.5 and tw=1.41.
Example1.Analysis.RedesignedControllerVerification.C1_8cycles C1_8cycles Re-designed controller 1 with k2=22.4455 and tw=0.5217.
Example1.Analysis.RedesignedControllerVerification.C2_8cycles C2_8cycles Re-designed controller 2 with kw=12.6924 and tw=0.5602.

Example1.Analysis.RedesignedControllerVerification.C012_simulate_plot_compare Example1.Analysis.RedesignedControllerVerification.C012_simulate_plot_compare

Simulates and plots the response of three models with different control designs.

Information

Usage

  1. In the Package Browser, right click on the function and select "Call function...". This will open the function's window.
  2. Leave the default model names without change, these correspond to the three models within the package.
  3. Go to the bottom of the window and click on "Execute".
  4. Go back to the function's own window and click on "Close".


Sample Output

Executing the function will produce the following plot.

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

Inputs

NameDescription
modelname1Model name - default controller
modelname2Model name - controller re-design 1
modelname3Model name - controller re-design 2

Example1.Analysis.RedesignedControllerVerification.C0_8cycles Example1.Analysis.RedesignedControllerVerification.C0_8cycles

Default controller with kw=9.5 and tw=1.41.

Information

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

Connectors

NameDescription
Vt 
Q 
P 
w 
delta 
AVRin 
AVRout 

Example1.Analysis.RedesignedControllerVerification.C1_8cycles Example1.Analysis.RedesignedControllerVerification.C1_8cycles

Re-designed controller 1 with k2=22.4455 and tw=0.5217.

Information

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

Connectors

NameDescription
Vt 
Q 
P 
w 
delta 
AVRin 
AVRout 

Example1.Analysis.RedesignedControllerVerification.C2_8cycles Example1.Analysis.RedesignedControllerVerification.C2_8cycles

Re-designed controller 2 with kw=12.6924 and tw=0.5602.

Information

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

Connectors

NameDescription
Vt 
Q 
P 
w 
delta 
AVRin 
AVRout 
Automatically generated Wed Mar 13 11:30:39 2024.