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

TypeNameDefaultDescription
Types.BlockTypeblockTypeModelica_LinearSystems2.Controllers.Types.BlockType.ContinuousType of Sampled blocks
Modelica_LinearSystems2.Utilities.Types.MethodmethodTypeModelica_LinearSystems2.Utilities.Types.Method.TrapezoidalDiscretization method for discrete blocks
Modelica.Units.SI.TimesampleTime1Base sample time for discrete blocks
Types.InitinitTypeModelica_LinearSystems2.Controllers.Types.Init.SteadyStateType of initialization of Sampled blocks

Components

TypeNameDefaultDescription
BooleansampleTriggerTrigger that is true at every sampleTime