modelIntegralTimer

Integral timer

Extends from AixLib.Utilities.KPIs.BaseClasses.PartialIntegratorBase (Base model of integrator with conditional inputs for activation and reset), Modelica.Blocks.Icons.Block (Basic graphical layout of input/output block).

Information

This model is a timer that counts the duration while it is activated.

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

Components

TypeNameDefaultDescription
Modelica.Blocks.Sources.BooleanExpressionbooExpItgAct (from PartialIntegratorBase)Output for itgAct_internal
Modelica.Blocks.Sources.ConstantconZeroConstant zero
Modelica.Blocks.Sources.ConstantconOneConstant one
Modelica.Blocks.Logical.SwitchswiSwitch for integration
Modelica.Blocks.Continuous.IntegratortimeItgTime integrator

Revisions

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