blockBooleanDelay

Zero order hold for boolean variable

Extends from Modelica.Blocks.Interfaces.BooleanSISO, Modelica.Blocks.Interfaces.DiscreteBlock.

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).

Parameters

TypeNameDefaultDescription
Initialization
BooleanfirstTrigger_startfalseStart value for rising edge signals first sample instant

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.