blockTimeControl
Counts seconds a device is turned on and returns true if the time is inside given boundaries
Extends from Modelica.Blocks.Interfaces.BooleanSISO (Single Input Single Output control block with signals of type Boolean), AixLib.Obsolete.BaseClasses.ObsoleteModel (Icon for classes that are obsolete and will be removed in later versions).
Information
When the input is true, a timer thats counting seconds until it is false again. As long as the counted time is smaller than a given minimal time, the block yields false.
This block is used to check the mimimal run- or loctime of a device.
-
November 26, 2018 by Fabian Wüllhorst:
First implementation (see issue #577)
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.Units.SI.Time | minRunTime | Minimal time the device is turned on or off |
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.Timer | runTim | Counts the seconds the heat pump is locked still | |
| Modelica.Blocks.Logical.GreaterEqualThreshold | runTimGreaterMin | Checks if the runtime is greater than the minimal runtime |