Example1.Analysis.NonlinSimulationsMultipleInputs

Example nonlinear time simulations with different input signals

Information

This package contains different models that show how to provide inputs signals to drive the non-linear model being simulated.

The main model used for the identification and verification experiments as in Figs. 6 and 10 in [2] is:

Example1.Analysis.NonlinSimulationsMultipleInputs.A_randomload_and_lowimpactmultisine

It is configured to simulate the default PSS control design with k_w = 9.5 and t_w = 1.41 sec. To change the control design, click on the "Plant" block and enter a new set of parameters. In [2], the two other PSS designs have parameters:

The other models are variants where inputs are set to zero when compared to the case above. They are useful to compare against the above model, for example, the simulation of model "B_noise_..." can be compared to the one above to understand the impact of the input signal compared to only the random noise of the loads, etc. See the "Package Contents" below for information on each case.


In addition, to perform run any simulation and plot the following function is provided: simulate_and_plot

Package Content

Name Description
Example1.Analysis.NonlinSimulationsMultipleInputs.simulate_and_plot simulate_and_plot Run and plot the simulation used for identification and controller verification.
Example1.Analysis.NonlinSimulationsMultipleInputs.A_randomload_and_lowimpactmultisine A_randomload_and_lowimpactmultisine Main model used for the identification and verification experiments as in Figs. 6 and 10 in [2].
Example1.Analysis.NonlinSimulationsMultipleInputs.B_randomload_and_loaddisturbance B_randomload_and_loaddisturbance Same as "A_" above, but removing the input signal for identification.
Example1.Analysis.NonlinSimulationsMultipleInputs.C_randomload C_randomload Same as "B_" above, but removing the load disturbance.
Example1.Analysis.NonlinSimulationsMultipleInputs.D_loaddisturbance D_loaddisturbance Same as "B_" above, but removing the random load.
Example1.Analysis.NonlinSimulationsMultipleInputs.E_no_noise_no_inputs E_no_noise_no_inputs Used to test the "Plant" block with constant (zero) inputs.

Example1.Analysis.NonlinSimulationsMultipleInputs.simulate_and_plot Example1.Analysis.NonlinSimulationsMultipleInputs.simulate_and_plot

Run and plot the simulation used for identification and controller verification.

Information

Usage

  1. In the Package Browser, right click on the function and select "Call function...". This will open the function's window.
  2. Modify the input string "modelname" by entering any of the other model names within quotes, for example, to simulate the second model in this package, insert the string: "Example1.Analysis.NonlinSimulationsMultipleInputs.B_randomload_and_loaddisturbance", note that the quotes have to be included. Leave the default parameters on first use.
  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 result in the following plots.

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

Inputs

NameDescription
modelnameModel to simulate.

Example1.Analysis.NonlinSimulationsMultipleInputs.A_randomload_and_lowimpactmultisine Example1.Analysis.NonlinSimulationsMultipleInputs.A_randomload_and_lowimpactmultisine

Main model used for the identification and verification experiments as in Figs. 6 and 10 in [2].

Information

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

Connectors

NameDescription
Vt 
Q 
P 
w 
delta 
AVRin 
AVRout 

Example1.Analysis.NonlinSimulationsMultipleInputs.B_randomload_and_loaddisturbance Example1.Analysis.NonlinSimulationsMultipleInputs.B_randomload_and_loaddisturbance

Same as "A_" above, but removing the input signal for identification.

Information

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

Connectors

NameDescription
Vt 
Q 
P 
w 
delta 
AVRin 
AVRout 

Example1.Analysis.NonlinSimulationsMultipleInputs.C_randomload Example1.Analysis.NonlinSimulationsMultipleInputs.C_randomload

Same as "B_" above, but removing the load disturbance.

Information

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

Connectors

NameDescription
Vt 
Q 
P 
w 
delta 
AVRin 
AVRout 

Example1.Analysis.NonlinSimulationsMultipleInputs.D_loaddisturbance Example1.Analysis.NonlinSimulationsMultipleInputs.D_loaddisturbance

Same as "B_" above, but removing the random load.

Information

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

Connectors

NameDescription
Vt 
Q 
P 
w 
delta 
AVRin 
AVRout 

Example1.Analysis.NonlinSimulationsMultipleInputs.E_no_noise_no_inputs Example1.Analysis.NonlinSimulationsMultipleInputs.E_no_noise_no_inputs

Used to test the "Plant" block with constant (zero) inputs.

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:38 2024.