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
| Type | Name | Default | Description |
|---|---|---|---|
| RealInput | u1 (from SI2SO) | Connector of Real input signal 1 | |
| RealInput | u2 (from SI2SO) | Connector of Real input signal 2 | |
| RealOutput | y (from SI2SO) | Connector of Real output signal |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| Real | k0 | 1 | Scale |
| Real | k1 | 1 | u1 dependency |
| Real | k2 | 1 | u2 dependency |
| Real | k1u1 | k1*u1 | |
| Real | k2u2 | k2*u2 |