modelIntegralErrorSingleReference

Comparison of different models for integral errors with single reference

Extends from Modelica.Icons.Example (Icon for runnable examples).

Information

This example checks the models of error integrators with a single reference.

The results represent the differences of IAE, ISE, by sign, and timer. The integrators are configured differntly in terms of their activation and reset functions.

Components

TypeNameDefaultDescription
Modelica.Blocks.Sources.PulsepulPulse as input value
Modelica.Blocks.Sources.ConstantconZeroRefConstant zero as reference value
Modelica.Blocks.Sources.BooleanStepbooSteItgActBoolean source to activate integrators
Modelica.Blocks.Sources.BooleanStepbooSteItgResBoolean source to reset integrators
AixLib.Utilities.KPIs.IntegralErrorSingleReference.IntegralAbsoluteErroriaeIAE simple
AixLib.Utilities.KPIs.IntegralErrorSingleReference.IntegralAbsoluteErroriaeActIAE with activation connector
AixLib.Utilities.KPIs.IntegralErrorSingleReference.IntegralAbsoluteErroriaeActResIAE with activation and reset connectors
AixLib.Utilities.KPIs.IntegralErrorSingleReference.IntegralSquareErroriseISE smiple
AixLib.Utilities.KPIs.IntegralErrorSingleReference.IntegralTimeritgTimIntegral timer simple
AixLib.Utilities.KPIs.IntegralErrorSingleReference.IntegralTimeritgTimResIntegral timer with reset connector
AixLib.Utilities.KPIs.IntegralErrorSingleReference.IntegralErrorBySignitgErrPosIntegral positive errors simple
AixLib.Utilities.KPIs.IntegralErrorSingleReference.IntegralErrorBySignitgErrNegIntegral negative errors simple
AixLib.Utilities.KPIs.IntegralErrorSingleReference.IntegralErrorBySignitgErrPosActIntegral positive errors with activation connector
AixLib.Utilities.KPIs.IntegralErrorSingleReference.IntegralErrorBySignitgErrPosActResIntegral positive errors with activation and reset connectors
Modelica.Blocks.Logical.Notnot1Not logic

Revisions

  • January 9, 2025, by Jun Jiang:
    First implementation (see issue 1534)