.Buildings.Controls.OBC.CDL.Logical.TrueFalseHold

Block that holds an output signal for at least a specified duration

Information

Block that holds a true or false signal for at least a defined time period.

Whenever the input u switches to true (resp. false), the output y switches and remains true for at least the duration specified by the parameter trueHoldDuration (resp. falseHoldDuration). After this duration has elapsed, the output will be y = u.

This block could for example be used to disable an economizer, and not re-enable it for 10 min, and vice versa.

Simulation results of a typical example with trueHoldDuration = falseHoldDuration = 1000 s.

Input and output of the block

Revisions


Generated at 2025-06-06T18:20:43Z by OpenModelicaOpenModelica 1.25.0 using GenerateDoc.mos