blockFixedBooleanDelay

Delay block with fixed delay time for boolean input

Extends from Modelica.Blocks.Interfaces.BooleanSISO (Single Input Single Output control block with signals of type Boolean).

Information

The boolean output y is delayed by tDelay compared to the Boolean input u.

The change in boolean output is triggered when the delayed real signal crosses a threshold halfway between the extreme values of 0 and 1.

The use of a when structure ensures that this change is instantaneous i.e. there is a rising or falling edge.

Parameters

TypeNameDefaultDescription
Dynawo.Types.TimetDelayDelay time in s
BooleanY0Initial value of output

Connectors

TypeNameDefaultDescription
BooleanInputu (from BooleanSISO)Connector of Boolean input signal
BooleanOutputy (from BooleanSISO)Connector of Boolean output signal