.Modelica_LinearSystems2.ZerosAndPoles.Analysis.isObservable

Information

Syntax

observable = ZerosAndPoles.Analysis.isObservable(zp, method)

Description

Function ZerosAndPoles.Analysis.isObservable checks the observability of a zeros-and-poles transfer function. Therefore, the transfer function is converted into a state space representation which is applied to StateSpace.Analysis.isObservable.

Example

  ZerosAndPoles p = Modelica_LinearSystems2.ZerosAndPoles.p();
  Modelica_LinearSystems2.ZerosAndPoles zp=(p+1)/(p^2 + 2*p +1);

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

  Boolean observable;

algorithm
  observable := Modelica_LinearSystems2.StateSpace.Analysis.isObservable(zp, method);
// observable = false

Interface

encapsulated function isObservable
  import Modelica_LinearSystems2;
  import Modelica_LinearSystems2.StateSpace;
  import Modelica_LinearSystems2.ZerosAndPoles;
  input ZerosAndPoles zp "ZerosAndPoles 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-18T18:15:58Z by OpenModelicaOpenModelica 1.22.3 using GenerateDoc.mos