.Modelica_LinearSystems2.DiscreteTransferFunction.'constructor'.fromTransferFunction

Information

Generate a DiscreteTransferFunction data record from a continuous Transfer function

Interface

function fromTransferFunction
  import Modelica;
  import Modelica_LinearSystems2;
  import Modelica_LinearSystems2.DiscreteTransferFunction;
  import Modelica_LinearSystems2.TransferFunction;
  import Modelica_LinearSystems2.StateSpace;
  import Modelica_LinearSystems2.DiscreteStateSpace;
  input TransferFunction tf "continuous transfer function";
  input Modelica.Units.SI.Time Ts "Sample time" annotation(
    Dialog(group = "Data used to construct discrete from continuous system"));
  input Modelica_LinearSystems2.Utilities.Types.Method method = Modelica_LinearSystems2.Utilities.Types.Method.Trapezoidal "Discretization method" annotation(
    Dialog(group = "Data used to construct discrete from continuous system"));
  output DiscreteTransferFunction dtf;
end fromTransferFunction;

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