functionramp

Ramp response plot

Extends from Modelica_LinearSystems2.Internal.PartialPlotFunction (Interface of a plot function).

Information

Syntax

ZerosAndPoles.Plot.ramp(zp)
   or
ZerosAndPoles.Plot.ramp(
  zp,
  dt,
  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

  ZerosAndPoles p = Modelica_LinearSystems2.ZerosAndPoles.p();
  Modelica_LinearSystems2.ZerosAndPoles zp =(2*p^2 + 7*p + 13)/(p + 1)/(p^2 + 5*p + 12);

algorithm
  Modelica_LinearSystems2.ZerosAndPoles.Plot.ramp(zp)
//  gives:

See also

impulse, step, initialResponse

Inputs

TypeNameDefaultDescription
Modelica_LinearSystems2.ZerosAndPoleszp
Realdt0Sample time [s]
RealtSpan0Simulation time span [s]
Modelica_LinearSystems2.Utilities.Types.TimeResponseresponseModelica_LinearSystems2.Utilities.Types.TimeResponse.Ramptype of time response
Real[ZerosAndPoles.Analysis.denominatorDegree(zp)]x0zeros(ZerosAndPoles.Analysis.denominatorDegree(zp))Initial state vector
Plot.Records.DiagramdefaultDiagram (from PartialPlotFunction)Default diagram layout
Plot.Records.Devicedevice (from PartialPlotFunction)Modelica_LinearSystems2.Utilities.Plot.Records.Device()Properties of device where figure is shown