blockLimIntegrator

Output is the integral limited to upper or lower limit (continiuous or discrete)

Extends from Interfaces.PartialSampledBlock (Partial block of Sampled library (icon + default parameters)).

Information

This blocks defines the transfer function between the input u and the output y as integrator:

          k
     y = --- * u
          s

The block can be continuous or discrete (with continuous parameterization).

It is not possible to initialize a continuous integrator in steady state. For this reason, option "initType = SteadyState" is ignored for a continuous integrator block and interpreted as "initType = InitialState".

Parameters

TypeNameDefaultDescription
Booleancontinuous (from PartialSampledBlock)blockType == Types.BlockTypeWithGlobalDefault.Continuous or blockType == Types.BlockTypeWithGlobalDefault.UseSampleClockOption and sampleClock.blockType == Types.BlockType.ContinuousTrue, if continuous block, otherwise discrete block
Types.Initinit (from PartialSampledBlock)Modelica_LinearSystems2.Controllers.Internal.convertToInit(initType, sampleClock.initType)Type of initialization (no init/steady state/initial state/initial output)
Realk1Integrator gain
BooleanwithDelayfalseTrue, if the output is delayed by one sample period (only if discrete)
BooleanlimitsAtInittrue= false, if limits are ignored during initialization (i.e., y=u)
Advanced options
Types.BlockTypeWithGlobalDefaultblockType (from PartialSampledBlock)Modelica_LinearSystems2.Controllers.Types.BlockTypeWithGlobalDefault.UseSampleClockOptionType of block
Types.InitWithGlobalDefaultinitType (from PartialSampledBlock)Types.InitWithGlobalDefault.UseSampleClockOptionType of initialization (no init/steady state/initial state/initial output)
Realy_start0Initial or guess value of output (=state)
Advanced options › Discrete block parameters
Types.MethodWithGlobalDefaultmethodType (from PartialSampledBlock)Types.MethodWithGlobalDefault.UseSampleClockOptionType of discretization if discrete block
IntegersampleFactor (from PartialSampledBlock)1Sample factor (Ts = sampleFactor * sampleClock.sampleTime)

Connectors

TypeNameDefaultDescription
Modelica.Blocks.Interfaces.RealInputlimit1Connector of Real input signal used as maximum of input u
Modelica.Blocks.Interfaces.RealInputlimit2Connector of Real input signal used as minimum of input u
Modelica.Blocks.Interfaces.RealInputuContinuous or discrete input signals of block
Modelica.Blocks.Interfaces.RealOutputyContinuous or discrete output signals of block

Components

TypeNameDefaultDescription
Modelica_LinearSystems2.WorkInProgress.Controller.Integratorintegrator
Modelica.Blocks.Nonlinear.VariableLimitervariableLimiter
Modelica.Blocks.Math.AddaddSat
Modelica_LinearSystems2.Controllers.Internal.Addadd
Modelica_LinearSystems2.Controllers.Samplersampler1
Modelica_LinearSystems2.Controllers.Samplersampler2
Modelica_LinearSystems2.Controllers.Samplersampler3
Modelica.Blocks.Math.Gaingain
Modelica_LinearSystems2.Controllers.UnitDelayunitDelay
Modelica.Blocks.Math.Absabs1
Modelica.Blocks.Logical.GreaterThresholdgreaterThreshold
Modelica.Blocks.Logical.Switchswitch1
Modelica.Blocks.Sources.Constantconst