blockPartialSampledBlock
Partial block of Sampled library (icon + default parameters)
Extends from Icons.PartialBlockIcon (Icon for a discrete/continuous block).
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| Boolean | continuous | blockType == Types.BlockTypeWithGlobalDefault.Continuous or blockType == Types.BlockTypeWithGlobalDefault.UseSampleClockOption and sampleClock.blockType == Types.BlockType.Continuous | True, if continuous block, otherwise discrete block |
| Types.Init | init | Modelica_LinearSystems2.Controllers.Internal.convertToInit(initType, sampleClock.initType) | Type of initialization (no init/steady state/initial state/initial output) |
| Advanced options | |||
| Types.BlockTypeWithGlobalDefault | blockType | Modelica_LinearSystems2.Controllers.Types.BlockTypeWithGlobalDefault.UseSampleClockOption | Type of block |
| Types.InitWithGlobalDefault | initType | Types.InitWithGlobalDefault.UseSampleClockOption | Type of initialization (no init/steady state/initial state/initial output) |
| Advanced options › Discrete block parameters | |||
| Types.MethodWithGlobalDefault | methodType | Types.MethodWithGlobalDefault.UseSampleClockOption | Type of discretization if discrete block |
| Integer | sampleFactor | 1 | Sample factor (Ts = sampleFactor * sampleClock.sampleTime) |