blockRunPerHouBoundary
Checks if a maximal run per hour value is in boundary
Extends from Modelica.Blocks.Interfaces.BooleanSISO, AixLib.Obsolete.BaseClasses.ObsoleteModel.
Information
Everytime the boolean input signal has a rising edge, a counter is triggered and adds 1 to the total sum. This represents an on-turning of a certain device. With a delay this number is being substracted again, as this block counts the number of rising edges in a given amount of time(e.g. 1 hour). If this value is higher than a given maximal value, the output turns to false.
-
November 26, 2018 by Fabian Wüllhorst:
First implementation (see issue #577)
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| Integer | maxRunPer_h | Number of maximal on/off cycles per hour | |
| Modelica.Units.SI.Time | delayTime | 3600 | Delay time of output with respect to input 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 | triggeredAdd | ||
| Modelica.Blocks.Sources.IntegerConstant | intConPluOne | Value for counting | |
| Modelica.Blocks.Math.IntegerToReal | intToReal | ||
| Modelica.Blocks.Math.Add | sub | ||
| Modelica.Blocks.Nonlinear.FixedDelay | fixedDelay |