Gain
Output the product of a gain value with the input signal
Library
Modelica/Blocks/Math
Description
This block computes output y as product of gain k with the input u:
y = k * u;
Parameters
Name | Label | Description | Data Type | Valid Values |
---|---|---|---|---|
mo_k | k | Gain value multiplied with input signal | Scalar |
Name | Label | Description | Data Type | Valid Values |
---|---|---|---|---|
mo_u | u | u | Structure | |
mo_u/fixed | fixed | Cell of scalars | true | |
mo_u/start | start | Cell of scalars | ||
mo_y | y | y | Structure | |
mo_y/fixed | fixed | Cell of scalars | true | |
mo_y/start | start | Cell of scalars |
Ports
Name | Type | Description | IO Type | Number |
---|---|---|---|---|
u | implicit | Input signal connector | input | 1 |
y | implicit | Output signal connector | output | 1 |