.Modelica_LinearSystems2.DiscreteZerosAndPoles.Plot.ramp

Information

DiscreteZerosAndPoles.Plot.ramp(dzp)
   or
DiscreteZerosAndPoles.Plot.ramp(
  dzp,
  tSpan,
  x0,
  columnLabels,
  defaultDiagram=Modelica_LinearSystems2.Internal.DefaultDiagramTimeResponse(),
  device=Modelica_LinearSystems2.Utilities.Plot.Records.Device())

Description

This function plots the ramp response of a zeros-and-poles transfer function. It is based on timeResponse.

Example

  DiscreteZerosAndPoles p = Modelica_LinearSystems2.DiscreteZerosAndPoles.q();
  DiscreteZerosAndPoles dzp=(q^2 - 1.5*q + 0.6)/( (q - 0.8)*(q - 0.75) )
  dzp.Ts = 0.1;

algorithm
  Modelica_LinearSystems2.DiscreteZerosAndPoles.Plot.ramp(dzp)
  //  gives:

See also

impulse, step, initialResponse

Interface

encapsulated function ramp
  import Modelica;
  import Modelica_LinearSystems2;
  import Modelica_LinearSystems2.DiscreteZerosAndPoles;
  import Modelica_LinearSystems2.Utilities.Types.TimeResponse;
  import Modelica_LinearSystems2.Utilities.Plot;
  input DiscreteZerosAndPoles dzp;
  input Real tSpan = 0 "Simulation time span [s]";
  extends Modelica_LinearSystems2.Internal.PartialPlotFunction(defaultDiagram = Modelica_LinearSystems2.Internal.DefaultDiagramTimeResponse(heading = "Ramp response of  dzp = " + String(dzp)));
end ramp;

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