Add - MapleSim Help
For the best experience, we recommend viewing online help using Google Chrome or Microsoft Edge.

Online Help

All Products    Maple    MapleSim


Complex Add

Output the sum of the two inputs

 

Description

Equations

Connections

Parameters

Modelica Standard Library

Description

The Complex Add (or Add) component computes the scaled sum of the two complex inputs u1 and u2.

To use the complex conjugate of u1 or u2, set Use Conjugate Input 1 or Use Conjugate Input 2 to 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=k1u1+k2u2

Connections

Name

Description

Modelica ID

u1

Complex input signal 1

u1

u2

Complex input signal 2

u2

y

Complex output signal

y

Parameters

Name

Default

Units

Description

Modelica ID

Use Conjugate Input 1

false

 

If true, use the complex conjugate of input 1

useConjugateInput1

Use Conjugate Input 2

false

 

If true, use the complex conjugate of input 2

useConjugateInput2

k1

1

 

Gain of upper input

k1

k2

1

 

Gain of lower input

k2

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.

See Also

Complex Math