blockXor
Logical 'xor': y = u1 xor u2
Information
Block that outputs true if exactly one input is true.
Otherwise the output is false.
Connectors
| Type | Name | Default | Description |
|---|---|---|---|
| Buildings.Controls.OBC.CDL.Interfaces.BooleanInput | u1 | Input for logical 'xor' | |
| Buildings.Controls.OBC.CDL.Interfaces.BooleanInput | u2 | Input for logical 'xor' | |
| Buildings.Controls.OBC.CDL.Interfaces.BooleanOutput | y | Output with u1 xor u2 |
Revisions
-
January 3, 2017, by Michael Wetter:
First implementation, based on the implementation of the Modelica Standard Library.