blockSubtract

Output the difference of the two inputs

Information

Block that outputs y as the difference of the two input signals u1 and u2,

    y = u1 - u2

Connectors

TypeNameDefaultDescription
Buildings.Controls.OBC.CDL.Interfaces.IntegerInputu1Input u1 for the minuend
Buildings.Controls.OBC.CDL.Interfaces.IntegerInputu2Input u2 for the subtrahend
Buildings.Controls.OBC.CDL.Interfaces.IntegerOutputyOutput with the difference u1-u2

Revisions

  • January 28, 2022, by Jianjun Hu:
    First implementation.