Output the sum of the three inputs

 Description The Complex Add 3 (or Add 3) component computes the scaled sum of three complex input signals ${u}_{1}$, ${u}_{2}$, and ${u}_{3}$. To use the complex conjugate of ${u}_{1}$, ${u}_{2}$, or ${u}_{3}$, set Use Conjugate Input 1, Use Conjugate Input 2, or Use Conjugate Input 3 to $\mathrm{true}$, respectively. A complex parameter value may be entered using the complex constructor, for example, Complex(3,4), or using I for the imaginary unit, 3+4*I. If a purely real value is entered, the real value will be converted to its complex equivalent.
 Equations $y={k}_{1}{u}_{1}+{k}_{2}{u}_{2}+{k}_{3}{u}_{3}$

Connections

 Name Description Modelica ID ${u}_{1}$ Complex input signal u1 ${u}_{2}$ Complex input signal u2 ${u}_{3}$ Complex input signal u3 $y$ Complex output signal y

Parameters

 Name Default Units Description Modelica ID ${k}_{1}$ $1$ Complex value; gain of upper input k1 Use Conjugate Input 1 $\mathrm{false}$ If true, use the complex conjugate of input 1 useConjugateInput1 ${k}_{2}$ $1$ Complex value; gain of middle input k2 Use Conjugate Input 2 $\mathrm{false}$ If true, use the complex conjugate of input 2 useConjugateInput2 ${k}_{3}$ $1$ Complex value; Gain of lower input k3 Use Conjugate Input 3 $\mathrm{false}$ If true, use the complex conjugate of input 3 useConjugateInput3

 Modelica Standard Library The component described in this topic is from the Modelica Standard Library. To view the original documentation, which includes author and copyright information, click here.