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
| Type | Name | Default | Description |
|---|---|---|---|
| Buildings.Controls.OBC.CDL.Integers.Switch | integerSwitch | Integer switch | |
| Buildings.Controls.OBC.CDL.Logical.Sources.Pulse | booPul1 | Block that outputs cyclic on and off | |
| Buildings.Controls.OBC.CDL.Logical.Sources.Pulse | booPul2 | Block that outputs cyclic on and off: switch between u1 and u3 | |
| Buildings.Controls.OBC.CDL.Logical.Sources.Pulse | booPul3 | Block that outputs cyclic on and off | |
| Buildings.Controls.OBC.CDL.Integers.Sources.Constant | conInt | Integer constant | |
| Buildings.Controls.OBC.CDL.Integers.Sources.Constant | conInt1 | Integer constant |
Revisions
-
July 10, 2019, by Milica Grahovac:
First implementation.