.Modelica_LinearSystems2.TransferFunction.Analysis.isObservable

Information

Syntax

observable = TransferFunction.Analysis.isObservable(tf, method)

Description

Function TransferFunction.Analysis.isObservable checks the observability of a transfer function. Therefore, the transfer function is converted into a state space representation which is applied to StateSpace.Analysis.isObservable.

Example

  TransferFunction s = Modelica_LinearSystems2.TransferFunction.s();
  Modelica_LinearSystems2.TransferFunction tf=(s+1)/(s^2 + 2*s +1);

  Types.Method method=Modelica_LinearSystems2.Types.StaircaseMethod.SVD

  Boolean controllable;

algorithm
  controllable := Modelica_LinearSystems2.StateSpace.Analysis.isObservable(tf, method);
// controllable = false

Interface

encapsulated function isObservable
  import Modelica_LinearSystems2;
  import Modelica_LinearSystems2.StateSpace;
  import Modelica_LinearSystems2.TransferFunction;
  input TransferFunction tf "transfer function of a system";
  input Modelica_LinearSystems2.Utilities.Types.StaircaseMethod method = Modelica_LinearSystems2.Utilities.Types.StaircaseMethod.SVD;
  output Boolean observable;
end isObservable;

Generated at 2024-04-26T18:16:04Z by OpenModelicaOpenModelica 1.22.3 using GenerateDoc.mos