modelShapeFactor
Return output array by shaping a scaler input
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| Integer | n | 1 | Output array size |
| Real[n] | SF_start | fill(1/n, n) | Initial shape function, sum(SF) = 1 |
Connectors
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.Blocks.Interfaces.RealInput | u | Scalar input | |
| Modelica.Blocks.Interfaces.RealOutput[n] | y | Shaped array output |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| Real[n] | dSF | fill(0, n) | Change in shape function |
| Real[n] | SF | SF_start + dSF | Shape function |