blockDmnlInput
Input u will be stated as dimensionless fraction with regard to a reference value
Extends from Interfaces.PartialConverters.SO (Generic converter for signals).
Information
This information is part of the Business Simulation Library (BSL). Please support this work and ► donate.
The output y is obtained by guarded division of the input u by some reference value. The reference value can either be a constant (referenceValue) or a variable input (u_reference). If the reference value is zero the output will be zero also.
Notes
Since there is just regular division, care has to be taken in case of negative values for either input or reference value.
Units
As the reference value should have the same dimension as the input, the output will effectively be a dimensionless ratio.
See also
Revision History
- Replaceable type for constant introduced in v2.0.0
- Redeclared
OutputTypeasRatiowith prefixfinalin v2.2.
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| BaseType | referenceValue | 1 | Reference value, so that input is represented as a dimensionless fraction thereof |
| Structural Parameters | |||
| Boolean | hasConstantReference | false | If true, the constant reference value will be used |
Connectors
| Type | Name | Default | Description |
|---|---|---|---|
| Interfaces.Connectors.RealInput | u | Input to be normalized | |
| Interfaces.Connectors.RealInput | u_reference | Input of reference value |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| RealOutput | y (from SO) |
Contents
| Name | Description |
|---|---|
| BaseType |