modelTrueFalseHold

Validation model for the TrueFalseHold block

Information

Validation test for the block AixLib.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

TypeNameDefaultDescription
AixLib.Controls.OBC.CDL.Logical.Sources.PulsebooPulBoolean pulse input signal
AixLib.Controls.OBC.CDL.Logical.TrueFalseHoldtruFalHolThe block introduces a minimal offset between the input signal rising and falling edge
AixLib.Controls.OBC.CDL.Logical.Sources.PulsebooPul1Boolean pulse input signal
AixLib.Controls.OBC.CDL.Logical.TrueFalseHoldtruFalHol1The block introduces a minimal offset between the input signal rising and falling edge
AixLib.Controls.OBC.CDL.Logical.Sources.PulsebooPul2Boolean pulse input signal
AixLib.Controls.OBC.CDL.Logical.TrueFalseHoldtruFalHol2The block introduces a minimal offset between the input signal rising and falling edge
AixLib.Controls.OBC.CDL.Logical.Sources.PulsebooPul3Boolean pulse input signal
AixLib.Controls.OBC.CDL.Logical.TrueFalseHoldtruFalHol3The block introduces a minimal offset between the input signal rising and falling edge
AixLib.Controls.OBC.CDL.Logical.Notnot1Negation of input signal
AixLib.Controls.OBC.CDL.Logical.Notnot3Negation of input signal
AixLib.Controls.OBC.CDL.Logical.Sources.PulsebooPul4Boolean pulse input signal
AixLib.Controls.OBC.CDL.Logical.TrueFalseHoldtruFalHol4The block introduces a minimal offset between the input signal rising and falling edge
AixLib.Controls.OBC.CDL.Logical.Sources.PulsebooPul5Boolean pulse input signal
AixLib.Controls.OBC.CDL.Logical.TrueFalseHoldtruFalHol5The block introduces a minimal offset between the input signal rising and falling edge
AixLib.Controls.OBC.CDL.Logical.Sources.PulsebooPul6Boolean pulse input signal
AixLib.Controls.OBC.CDL.Logical.TrueFalseHoldtruFalHol6The block introduces a minimal offset between the input signal rising and falling edge
AixLib.Controls.OBC.CDL.Logical.Sources.PulsebooPul7Boolean pulse input signal
AixLib.Controls.OBC.CDL.Logical.TrueFalseHoldtruFalHol7The block introduces a minimal offset between the input signal rising and falling edge
AixLib.Controls.OBC.CDL.Logical.Notnot2Negation of input signal
AixLib.Controls.OBC.CDL.Logical.Notnot4Negation of input signal
AixLib.Controls.OBC.CDL.Logical.TrueFalseHoldtruFalHol8Hold only false value of unit impulse signal
AixLib.Controls.OBC.CDL.Logical.EdgeedgGenerate 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.