blockSampleClock
Global options for blocks of Controller library (in particular sample clock)
Information
Global block that defines options for all components of the Controller library that are on the same or on a lower level as the sampleClock component. In particular it is defined whether the blocks shall be used by default in a continuous or a discrete representation. In the latter case, the default discretization method and the base sample time is defined. The sample time of a block is an integer multiple of the base sample time defined in the SampleClock component.
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| Types.BlockType | blockType | Modelica_LinearSystems2.Controllers.Types.BlockType.Continuous | Type of Sampled blocks |
| Modelica_LinearSystems2.Utilities.Types.Method | methodType | Modelica_LinearSystems2.Utilities.Types.Method.Trapezoidal | Discretization method for discrete blocks |
| Modelica.Units.SI.Time | sampleTime | 1 | Base sample time for discrete blocks |
| Types.Init | initType | Modelica_LinearSystems2.Controllers.Types.Init.SteadyState | Type of initialization of Sampled blocks |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| Boolean | sampleTrigger | Trigger that is true at every sampleTime |