BuildingSystems.Controls.Discrete.BooleanDelay

# .BuildingSystems.Controls.Discrete.BooleanDelay

Zero order hold for boolean variable

## Information

Block that delays the boolean input signal by one sampling interval. For example, if u denotes the input, y denotes the output, and ti and ti+1 denote subsequent sampling instants, then the model outputs

y(ti+1) = u(ti).

## Revisions

- June 6, 2015, by Michael Wetter:
  Set start value and `fixed` attribute for `firstTrigger` to avoid a translation warning in pedantic mode in Dymola 2016. This is for #266.
- November 21, 2011, by Michael Wetter:
  Improved documentation.
- November 26, 2008, by Michael Wetter:
  First implementation.

Generated at 2026-05-09T18:18:56Z by OpenModelicaOpenModelica 1.26.7 using GenerateDoc.mos