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
| Type | Name | Default | Description |
|---|---|---|---|
| Real | dtHol | 0 | Hold time |
Connectors
| Type | Name | Default | Description |
|---|---|---|---|
| Buildings.Controls.OBC.CDL.Interfaces.BooleanInput | u1 | Boolean signal that triggers fixed output value | |
| Buildings.Controls.OBC.CDL.Interfaces.RealInput | u | Input signal | |
| Buildings.Controls.OBC.CDL.Interfaces.RealOutput | y | Output signal |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| Buildings.Controls.OBC.CDL.Discrete.TriggeredSampler | triSam | Sample signal when the Boolean input switches to true | |
| Buildings.Controls.OBC.CDL.Reals.Switch | swi | Switch between actual and fixed value | |
| Buildings.Controls.OBC.CDL.Logical.TrueFalseHold | truHol | Hold 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.