blockAdd2
Output the sum of the two inputs (inputs are on the left and below)
Information
This blocks computes output y as difference of the commanded input u1 and the feedback input u2:
y = u1 - u2;
Example:
parameter: n = 2
results in the following equations:
y = u1 - u2
Connectors
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.Blocks.Interfaces.RealInput | u1 | ||
| Modelica.Blocks.Interfaces.RealInput | u2 | ||
| Modelica.Blocks.Interfaces.RealOutput | y |