blockAdd
Output the sum of the two inputs
Information
Block that outputs y as the sum of the
two Integer input signals u1 and u2,
y = u1 + u2.
Connectors
| Type | Name | Default | Description |
|---|---|---|---|
| Buildings.Controls.OBC.CDL.Interfaces.IntegerInput | u1 | Input to be added | |
| Buildings.Controls.OBC.CDL.Interfaces.IntegerInput | u2 | Input to be added | |
| Buildings.Controls.OBC.CDL.Interfaces.IntegerOutput | y | Sum of the two inputs |
Revisions
-
January 27, 2022, by Jianjun Hu:
Removed gain factors.
This is for Buildings, issue 2865. -
January 3, 2017, by Michael Wetter:
First implementation, based on the implementation of the Modelica Standard Library.