modelDiscretizationSeries
Demonstrates the discretization methods for a series connection
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
| Type | Name | Default | Description |
|---|---|---|---|
| Types.BlockType | blockType | Modelica_LinearSystems2.Controller.Types.BlockType.Continuous | Type of Sampled blocks (Continuous or Discrete) |
| Modelica.Units.SI.Time | sampleTime | 0.1 | Base sample time for discrete blocks |
| Modelica.Units.SI.Time | T1 | 0.2 | Time constant of first PT1 block |
| Modelica.Units.SI.Time | T2 | 0.15 | Time constant of second PT1 block |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| Components.SeriesConnection | continuous | ||
| Components.SeriesConnection | trapezoidal | ||
| Components.SeriesConnection | rampExact | ||
| Components.SeriesConnection | stepExact |