blockHoldReal

Hold value of real signal based on timer and Boolean signal

Information

Holds input value fixed at its last value while the Boolean signal u1 is true, and for at least the hold time dtHol.

Parameters

TypeNameDefaultDescription
RealdtHol0Hold time

Connectors

TypeNameDefaultDescription
Buildings.Controls.OBC.CDL.Interfaces.BooleanInputu1Boolean signal that triggers fixed output value
Buildings.Controls.OBC.CDL.Interfaces.RealInputuInput signal
Buildings.Controls.OBC.CDL.Interfaces.RealOutputyOutput signal

Components

TypeNameDefaultDescription
Buildings.Controls.OBC.CDL.Discrete.TriggeredSamplertriSamSample signal when the Boolean input switches to true
Buildings.Controls.OBC.CDL.Reals.SwitchswiSwitch between actual and fixed value
Buildings.Controls.OBC.CDL.Logical.TrueFalseHoldtruHolHold true value of input signal for given time

Revisions

  • June 26, 2024, by Antoine Gautier:
    Removed unnecessary conditional pass-through block following the refactoring of the hold block.
    This is for #3787.
  • March 29, 2024, by Antoine Gautier:
    First implementation.