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 = y0 + k1*u1 + k2*u2
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| Real | y0 | 0 | Initial value |
| Real | k1 | 0 | Gain of u1 |
| Real | k2 | 0 | Gain of u2 |
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 |