Sum

Adds two signals.

  • signal
  • Gradara equations
  • 3 ports
BlockSumKindsumLibraryMath

Description

Adds two signals.

Example

Arithmetic Sum, difference, product, quotient, minimum, and maximum of a ramp and a constant.

a = tb = 2a + ba − ba · ba / bmin(a, b)max(a, b)
In Gradara, select a Sum block and press F1, then choose Open example. It opens as a new model in My models, ready to run.

Also in this example:SubtractConstantRampProductDivideMinMax

Ports

Inputs 2

  • +a

    First input, added.

  • +b

    Second input, added.

Outputs 1

  • y

    Output signal, a + b.

Equations

Modelica
y = a + b

Implementation

The block’s Modelica model
y = a + b;

Assumptions and limitations

  • Exactly two inputs, both added. To subtract, use Subtract; for more inputs, chain Sum blocks.

Used in

These larger examples use it too. Open them from Examples in the app.

  • Data center cooling control
  • PMSM · Field-oriented control

See also

Select a block in Gradara and press F1 to open its page offline.