blockXor

Logical 'xor': y = u1 xor u2

Information

Block that outputs true if exactly one input is true. Otherwise the output is false.

Connectors

TypeNameDefaultDescription
Buildings.Controls.OBC.CDL.Interfaces.BooleanInputu1Input for logical 'xor'
Buildings.Controls.OBC.CDL.Interfaces.BooleanInputu2Input for logical 'xor'
Buildings.Controls.OBC.CDL.Interfaces.BooleanOutputyOutput with u1 xor u2

Revisions

  • January 3, 2017, by Michael Wetter:
    First implementation, based on the implementation of the Modelica Standard Library.