.Modelica_LinearSystems2.Examples.ZerosAndPoles.conversionToStateSpace

Transform a transfer function from zeros and poles representation into a StateSpace description

Information

Transform a transfer function from zeros and poles representation zpi into a state space description by means of a) an explicit conversion toStateSpace and b) a short conversion using overloading. Show also an explicit conversion from the state space description back to the zeros and poles representation zpo1.

Interface

function conversionToStateSpace
  extends Modelica.Icons.Function;
  import Modelica_LinearSystems2.StateSpace;
  import Modelica_LinearSystems2.ZerosAndPoles;
  input ZerosAndPoles zpi = ZerosAndPoles(k = 1, n1 = {1}, n2 = fill(0, 0, 2), d1 = fill(0, 0), d2 = [1, 1]) "ZerosAndPoles transfer function of a system";
  output Boolean ok;
end conversionToStateSpace;

Generated at 2025-12-09T19:14:04Z by OpenModelicaOpenModelica 1.25.7 using GenerateDoc.mos