modelTrueFalseHold
Validation model for the TrueFalseHold block
Information
Validation test for the block Buildings.Controls.OBC.CDL.Logical.TrueFalseHold.
The validation uses different instances to validate different hold trueHoldDurations, different lengths of the input pulse, and different initial values for the input signal.
Components
| Type | Name | Default | Description |
|---|---|---|---|
| Buildings.Controls.OBC.CDL.Logical.Sources.Pulse | booPul | Boolean pulse input signal | |
| Buildings.Controls.OBC.CDL.Logical.TrueFalseHold | truFalHol | The block introduces a minimal offset between the input signal rising and falling edge | |
| Buildings.Controls.OBC.CDL.Logical.Sources.Pulse | booPul1 | Boolean pulse input signal | |
| Buildings.Controls.OBC.CDL.Logical.TrueFalseHold | truFalHol1 | The block introduces a minimal offset between the input signal rising and falling edge | |
| Buildings.Controls.OBC.CDL.Logical.Sources.Pulse | booPul2 | Boolean pulse input signal | |
| Buildings.Controls.OBC.CDL.Logical.TrueFalseHold | truFalHol2 | The block introduces a minimal offset between the input signal rising and falling edge | |
| Buildings.Controls.OBC.CDL.Logical.Sources.Pulse | booPul3 | Boolean pulse input signal | |
| Buildings.Controls.OBC.CDL.Logical.TrueFalseHold | truFalHol3 | The block introduces a minimal offset between the input signal rising and falling edge | |
| Buildings.Controls.OBC.CDL.Logical.Not | not1 | Negation of input signal | |
| Buildings.Controls.OBC.CDL.Logical.Not | not3 | Negation of input signal | |
| Buildings.Controls.OBC.CDL.Logical.Sources.Pulse | booPul4 | Boolean pulse input signal | |
| Buildings.Controls.OBC.CDL.Logical.TrueFalseHold | truFalHol4 | The block introduces a minimal offset between the input signal rising and falling edge | |
| Buildings.Controls.OBC.CDL.Logical.Sources.Pulse | booPul5 | Boolean pulse input signal | |
| Buildings.Controls.OBC.CDL.Logical.TrueFalseHold | truFalHol5 | The block introduces a minimal offset between the input signal rising and falling edge | |
| Buildings.Controls.OBC.CDL.Logical.Sources.Pulse | booPul6 | Boolean pulse input signal | |
| Buildings.Controls.OBC.CDL.Logical.TrueFalseHold | truFalHol6 | The block introduces a minimal offset between the input signal rising and falling edge | |
| Buildings.Controls.OBC.CDL.Logical.Sources.Pulse | booPul7 | Boolean pulse input signal | |
| Buildings.Controls.OBC.CDL.Logical.TrueFalseHold | truFalHol7 | The block introduces a minimal offset between the input signal rising and falling edge | |
| Buildings.Controls.OBC.CDL.Logical.Not | not2 | Negation of input signal | |
| Buildings.Controls.OBC.CDL.Logical.Not | not4 | Negation of input signal | |
| Buildings.Controls.OBC.CDL.Logical.TrueFalseHold | truFalHol8 | Hold only false value of unit impulse signal | |
| Buildings.Controls.OBC.CDL.Logical.Edge | edg | Generate unit impulse signal |
Revisions
-
August 26, 2024, by Antoine Gautier:
Added a case with a unit impulse signal.
This is for Buildings, issue 3966. -
June 14, 2017, by Michael Wetter:
Added more tests for different initial signals and different hold values. -
May 24, 2017, by Milica Grahovac:
First implementation.