blockLinearDependency

Output a linear combination of the two inputs

Extends from Modelica.Blocks.Interfaces.SI2SO (2 Single Input / 1 Single Output continuous control block).

Information

Determine the linear combination of the two inputs: y = k0*(k1*u1 + k2*u2)

Note, for k0=0 the output is always zero.

Connectors

TypeNameDefaultDescription
RealInputu1 (from SI2SO)Connector of Real input signal 1
RealInputu2 (from SI2SO)Connector of Real input signal 2
RealOutputy (from SI2SO)Connector of Real output signal

Components

TypeNameDefaultDescription
Realk01Scale
Realk11u1 dependency
Realk21u2 dependency
Realk1u1k1*u1
Realk2u2k2*u2