blockSC_closing_value
Timer measuring the time from the time instant where the Boolean input became true
Extends from Modelica.Blocks.Icons.PartialBooleanBlock (Basic graphical layout of logical block).
Information
When the Boolean input "u" becomes true, the timer is started and the output "y" is the time from the time instant where u became true. The timer is stopped and the output is reset to zero, once the input becomes false.
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| Boolean | warmDay | true | True if warm day, False if cold day |
| Boolean | opening | true | True if opening, False if closing |
Connectors
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.Blocks.Interfaces.BooleanInput | u | Connector of Boolean input signal | |
| Modelica.Blocks.Interfaces.RealOutput | y | Connector of Real output signal |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| Utilities.SC_opening_closing | SC_value |