.Modelica_LinearSystems2.ZerosAndPoles.Analysis.isDetectable

Information

Syntax

detectable = ZerosAndPoles.Analysis.isDetectable(zp, method)

Description

Function ZerosAndPoles.Analysis.isDetectable checks the Detectability of a zeros-and-poles transfer function. Therefore, the transfer function is converted into a state space representation which is applied to StateSpace.Analysis.isDetectable.
The transfer function is detectable if all unstable poles are observable.

Example

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

  Boolean detectable;

algorithm
  detectable := Modelica_LinearSystems2.ZerosAndPoles.Analysis.isDetectable(zp);
// detectable = false

Interface

encapsulated function isDetectable
  import Modelica_LinearSystems2;
  import Modelica_LinearSystems2.StateSpace;
  import Modelica_LinearSystems2.ZerosAndPoles;
  input ZerosAndPoles zp "ZerosAndPoles transfer function of a system";
  output Boolean detectable;
end isDetectable;

Generated at 2024-03-27T19:15:56Z by OpenModelicaOpenModelica 1.22.3 using GenerateDoc.mos