functionplotBodeMIMO

Constructs zeros-and-poles-transfers from state space representation and plots the Bode diagrams 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-matrix from a MIMO 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]

Outputs

TypeNameDefaultDescription
Booleanok