blockLinear
Linear function
Information
This is a linear function, as it is frequently used in System Dynamics to represent linear regression models.Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| Real | m | 1 | Gradient |
| Real | b | 0 | Offset |
Connectors
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.Blocks.Interfaces.RealInput | u | Input variable | |
| Modelica.Blocks.Interfaces.RealOutput | y | Output variable |