blockCycleRateBoundary

Checks if the cycle rate is in boundary

Extends from Modelica.Blocks.Interfaces.BooleanSISO (Single Input Single Output control block with signals of type Boolean).

Information

The block counts the number of times the device is turned on in a given time interval by tracking the rising edge of the boolean input signal. If this number is higher than a set value, the block indicates an error.

Parameters

TypeNameDefaultDescription
IntegermaxCycRatMaximal cycle rate
Modelica.Units.SI.TimedelTim3600Delay time of output with respect to input signal

Connectors

TypeNameDefaultDescription
BooleanInputu (from BooleanSISO)Connector of Boolean input signal
BooleanOutputy (from BooleanSISO)Connector of Boolean output signal

Components

TypeNameDefaultDescription
Modelica.Blocks.Logical.LessThresholdrunCouLesMaxChecks if the count of total runs is lower than the maximal value
Modelica.Blocks.MathInteger.TriggeredAddtriAddCount number of starts
Modelica.Blocks.Sources.IntegerConstantintConPluOneValue for counting
Modelica.Blocks.Math.IntegerToRealintToReaConvert to real in order to compare and delay
Modelica.Blocks.Math.AddsubDifference of current and delayed starts
Modelica.Blocks.Nonlinear.FixedDelayfixDelApply delay to enable starts per delay time

Revisions

  • October 2, 2022 by Fabian Wuellhorst:
    Renaming according to Buildings guideline (see issue #1576)
  • November 26, 2018 by Fabian Wuellhorst:
    First implementation (see issue AixLib #577)