.Modelica.ComplexBlocks.ComplexMath.Add3

Information

This blocks computes output y as sum of the three input signals u1, u2 and u3. Optionally, inputs u1 and u2 and u3 can be processed conjugate complex, when parameters useConjugateInput1 and useConjugateInput2 and useConjugateInput3 are true, respectively.

y = k1*(if useConjugateInput1 then Modelica.ComplexMath.conj(u1) else u1)
  + k2*(if useConjugateInput2 then Modelica.ComplexMath.conj(u2) else u2)
  + k3*(if useConjugateInput3 then Modelica.ComplexMath.conj(u3) else u3);

Example parameters:

result in the following equation:

y = 2 * Modelica.ComplexMath.conj(u1) - 3 * u2 + u3;

Generated at 2024-12-26T19:25:54Z by OpenModelicaOpenModelica 1.24.3 using GenerateDoc.mos