blockEdge
Output y is true, if the input u has a rising edge (y = edge(u))
Information
Block that outputs true if the Boolean input has a rising edge
from false to true.
Otherwise the output is false.
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| Boolean | pre_u_start | false | Start value of pre(u) at initial time |
Connectors
| Type | Name | Default | Description |
|---|---|---|---|
| Buildings.Controls.OBC.CDL.Interfaces.BooleanInput | u | Input to be monitored | |
| Buildings.Controls.OBC.CDL.Interfaces.BooleanOutput | y | Outputs true when the input switches to true |
Revisions
-
July 17, 2026, by Antoine Gautier:
Replaced initial equation with start attribute on input. This is for IBPSA, #2136. -
January 3, 2017, by Michael Wetter:
First implementation, based on the implementation of the Modelica Standard Library.