modelDiscretizationSeries

Demonstrates the discretization methods for a series connection
Diagram of DiscretizationSeries

Extends from Modelica.Icons.Example (Icon for runnable examples).

Information

Demonstrates the different discretization methods by simulating the step response of a second order system as continuous system and as discrete system with the supported discretization methods. The step starts with an offset at 0.1 s to demonstrate the steady-state initialization.

Parameters

TypeNameDefaultDescription
Types.BlockTypeblockTypeModelica_LinearSystems2.Controller.Types.BlockType.ContinuousType of Sampled blocks (Continuous or Discrete)
Modelica.Units.SI.TimesampleTime0.1Base sample time for discrete blocks
Modelica.Units.SI.TimeT10.2Time constant of first PT1 block
Modelica.Units.SI.TimeT20.15Time constant of second PT1 block

Components

TypeNameDefaultDescription
Components.SeriesConnectioncontinuous
Components.SeriesConnectiontrapezoidal
Components.SeriesConnectionrampExact
Components.SeriesConnectionstepExact