.Modelica_LinearSystems2.TransferFunction.Analysis.isDetectable

Information

Syntax

detectable = TransferFunction.Analysis.isDetectable(tf, method)

Description

Function TransferFunction.Analysis.isDetectable checks the Detectability of a 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

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

  Boolean detectable;

algorithm
  detectable := Modelica_LinearSystems2.TransferFunction.Analysis.isDetectable(tf);
// detectable = false

Interface

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

Generated at 2024-11-22T19:25:38Z by OpenModelicaOpenModelica 1.24.2 using GenerateDoc.mos