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
| Type | Name | Default | Description |
|---|---|---|---|
| Integer | maxCycRat | Maximal cycle rate | |
| Modelica.Units.SI.Time | delTim | 3600 | Delay time of output with respect to input signal |
Connectors
| Type | Name | Default | Description |
|---|---|---|---|
| BooleanInput | u (from BooleanSISO) | Connector of Boolean input signal | |
| BooleanOutput | y (from BooleanSISO) | Connector of Boolean output signal |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.Blocks.Logical.LessThreshold | runCouLesMax | Checks if the count of total runs is lower than the maximal value | |
| Modelica.Blocks.MathInteger.TriggeredAdd | triAdd | Count number of starts | |
| Modelica.Blocks.Sources.IntegerConstant | intConPluOne | Value for counting | |
| Modelica.Blocks.Math.IntegerToReal | intToRea | Convert to real in order to compare and delay | |
| Modelica.Blocks.Math.Add | sub | Difference of current and delayed starts | |
| Modelica.Blocks.Nonlinear.FixedDelay | fixDel | Apply 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)