modelSwitch

Validation model for the Switch block

Information

Validation test for the block Buildings.Controls.OBC.CDL.Integers.Switch.

The input u2 is the switch input: If u2 = true, then output y = u1; else output y = u3.

Components

TypeNameDefaultDescription
Buildings.Controls.OBC.CDL.Integers.SwitchintegerSwitchInteger switch
Buildings.Controls.OBC.CDL.Logical.Sources.PulsebooPul1Block that outputs cyclic on and off
Buildings.Controls.OBC.CDL.Logical.Sources.PulsebooPul2Block that outputs cyclic on and off: switch between u1 and u3
Buildings.Controls.OBC.CDL.Logical.Sources.PulsebooPul3Block that outputs cyclic on and off
Buildings.Controls.OBC.CDL.Integers.Sources.ConstantconIntInteger constant
Buildings.Controls.OBC.CDL.Integers.Sources.ConstantconInt1Integer constant

Revisions

  • July 10, 2019, by Milica Grahovac:
    First implementation.