encapsulated function initialResponse import Modelica; import Modelica_LinearSystems2; import Modelica_LinearSystems2.DiscreteTransferFunction; import Modelica_LinearSystems2.Utilities.Types.TimeResponse; input DiscreteTransferFunction dtf; input Real tSpan = 0 "Simulation time span [s]"; input TimeResponse response = TimeResponse.Initial "type of time response"; input Real y0 "Initial output (for initial condition plot)"; extends Modelica_LinearSystems2.Internal.PartialPlotFunction(defaultDiagram = Modelica_LinearSystems2.Internal.DefaultDiagramTimeResponse(heading = "Initial response of dtf = " + String(dtf) + " with y0 = " + String(y0))); end initialResponse;