modelIntegratorSetFreeze

Outputs the integral of the input signal with optional set/reset and optional state freeze
Diagram of IntegratorSetFreeze

Extends from Modelica.Blocks.Interfaces.SISO (Single Input Single Output continuous control block).

Information

This blocks computes output y as integral of the input u multiplied with the gain K:

         K
     y = - u
         s

If the reset port is enabled, then the output y is reset to set or to Y0 (if the set port is not enabled), whenever the reset port has a rising edge.

Extended with Freeze functionality: If boolean input is set to true, the derivative of the state variable is set to zero.

Parameters

TypeNameDefaultDescription
RealK1Integrator gain
BooleanUseResetfalse=true, if reset port enabled
BooleanUseSetfalse=true, if set port enabled and used as reinitialization value when reset
BooleanUseFreezefalse=true, if freeze port enabled
RealY00Initial or guess value of output (= state)

Connectors

TypeNameDefaultDescription
RealInputu (from SISO)Connector of Real input signal
RealOutputy (from SISO)Connector of Real output signal
Modelica.Blocks.Interfaces.BooleanInputresetOptional connector of reset signal
Modelica.Blocks.Interfaces.RealInputsetOptional connector of set signal
Modelica.Blocks.Interfaces.BooleanInputfreezeOptional connector of freeze signal