functionplotBodeSISO

Constructs a zeros-and-poles transfer function from state space representation and plots the Bode diagram with automatic determination of the frequency range to plot

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

Information

This example demonstrates the construnction of a zeros-and-poles-transfer-function from a SISO state space representation and plots the Bode diagrams with automatic determination of the frequency range to plot.

Inputs

TypeNameDefaultDescription
BooleansystemOnFilefalseTrue, if state space system is defined on file
StringfileName"NoName"file where matrix [A, B; C, D] is stored
Real[:,size(A, 1)]A[-1.0, 0.0, 0.0; 0.0, -2.0, 0.0; 0.0, 0.0, -3.0]
Real[size(A, 2),:]B[0.0, 1.0; 1.0, 1.0; -1.0, 0.0]
Real[:,size(A, 1)]C[0.0, 1.0, 1.0; 1.0, 1.0, 1.0]
Real[size(C, 1),size(B, 2)]D[1.0, 0.0; 0.0, 1.0]
Integeriu1Index of input
Integeriy1Index of output

Outputs

TypeNameDefaultDescription
Booleanok