modelIntegralErrorDualBounds

Integral error with dual bounds by sign for both positive and negative errors

Extends from AixLib.Utilities.KPIs.BaseClasses.PartialIntegralErrorDualReference (Partial model for integral error with dual reference values), Modelica.Blocks.Icons.Block (Basic graphical layout of input/output block).

Information

This model is an error integrator for dual boundaries, where errors exceeding the upper limit or falling below the lower limit are integrated seperately. The boolean outputs represent the state of whether the value is outside the boundaries.

Parameters

TypeNameDefaultDescription
Booleanuse_itgAct_in (from PartialIntegratorBase)false= true, enable activation connector; = false, disable connector, integrator continuously activated
Booleanuse_itgRes_in (from PartialIntegratorBase)false= true, enable reset connector

Connectors

TypeNameDefaultDescription
Modelica.Blocks.Interfaces.RealOutputy (from PartialIntegratorBase)Integral error output
Modelica.Blocks.Interfaces.BooleanInputitgAct_in (from PartialIntegratorBase)Conditional connector to activate integrator
Modelica.Blocks.Interfaces.BooleanInputitgRes_in (from PartialIntegratorBase)Conditional connector to reset integrator
Modelica.Blocks.Interfaces.RealInputu (from PartialIntegralErrorDualReference)Value input
Modelica.Blocks.Interfaces.RealInputrefUpp (from PartialIntegralErrorDualReference)Upper reference value input
Modelica.Blocks.Interfaces.RealInputrefLow (from PartialIntegralErrorDualReference)Lower reference value input
Modelica.Blocks.Interfaces.RealOutputyPos (from PartialIntegralErrorDualReference)Positive integral error greater than upper reference
Modelica.Blocks.Interfaces.RealOutputyNeg (from PartialIntegralErrorDualReference)Negative integral error less than lower reference
Modelica.Blocks.Interfaces.BooleanOutputisItgActPosIf the positie integrator is activated
Modelica.Blocks.Interfaces.BooleanOutputisItgActNegIf the negative integrator is activated
Modelica.Blocks.Interfaces.BooleanOutputisItgActIf one of both integrators is activated

Components

TypeNameDefaultDescription
Modelica.Blocks.Sources.BooleanExpressionbooExpItgAct (from PartialIntegratorBase)Output for itgAct_internal
AixLib.Utilities.KPIs.IntegralErrorSingleReference.IntegralErrorBySignitgPosIntegrator positive
AixLib.Utilities.KPIs.IntegralErrorSingleReference.IntegralErrorBySignitgNegIntegrator negative
Modelica.Blocks.Math.AddaddItgErrAdd integral errors
Modelica.Blocks.Logical.OrorItgActOr logic for integrator activations

Revisions

  • December 17, 2024, by Jun Jiang:
    First implementation (see issue 1534)