functionbodeMIMO_old

Plot bode plot of all transfer functions, corresponding to the state space system

Extends from Modelica_LinearSystems2.Internal.PartialPlotFunction (Interface of a plot function).

Information

Syntax

StateSpace.Plot.bodeMIMO(ss)
   or
StateSpace.Plot.bodeMIMO(
  ss,
  nPoints,
  autoRange,
  f_min,
  f_max,
  magnitude=true,
  phase=true,
  defaultDiagram=Modelica_LinearSystems2.Internal.DefaultDiagramBodePlot(),
  device=Modelica_LinearSystems2.Utilities.Plot.Records.Device())

Example

  Modelica_LinearSystems2.StateSpace ss=Modelica_LinearSystems2.StateSpace(
    A=[-1.0,0.0,0.0; 0.0,-2.0,0.0; 0.0,0.0,-3.0],
    B=[0.0,1.0; 1.0,1.0; -1.0,0.0],
    C=[0.0,1.0,1.0],
    D=[1.0,0.0])

algorithm
   Modelica_LinearSystems2.StateSpace.Plot.plotBodeMIMO(ss)
//  gives:



Inputs

TypeNameDefaultDescription
StateSpacessState space system
IntegernPoints200Number of points
Boolean[:,:]autoRangefill(true, size(ss.C, 1), size(ss.B, 2))True, if abszissa range is automatically determined
Modelica.Units.SI.Frequency[:,:]f_minfill(0.1, size(ss.C, 1), size(ss.B, 2))Minimum frequency value, if autoRange = false
Modelica.Units.SI.Frequency[:,:]f_maxfill(10, size(ss.C, 1), size(ss.B, 2))Maximum frequency value, if autoRange = false
Booleanmagnitudetrue= true, to plot magnitude
Booleanphasetrue= true, to plot phase
Realtol1e-10Tolerance of reduction procedure, default tol = 1e-10
Plot.Records.DiagramdefaultDiagram (from PartialPlotFunction)Default diagram layout
Plot.Records.Devicedevice (from PartialPlotFunction)Modelica_LinearSystems2.Utilities.Plot.Records.Device()Properties of device where figure is shown
BooleanHztrue= true, to plot abszissa in [Hz], otherwise in [rad/s] (= 2*pi*Hz)
BooleandBfalse= true, to plot magnitude in [], otherwise in [dB] (=20*log10(value))