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

Division_Guarded

Revision History

  • Replaceable type for constant introduced in v2.0.0

  • Redeclared OutputType as Ratio with prefix final in v2.2.

Parameters

TypeNameDefaultDescription
BaseTypereferenceValue1Reference value, so that input is represented as a dimensionless fraction thereof
Structural Parameters
BooleanhasConstantReferencefalseIf true, the constant reference value will be used

Connectors

TypeNameDefaultDescription
Interfaces.Connectors.RealInputuInput to be normalized
Interfaces.Connectors.RealInputu_referenceInput of reference value

Components

TypeNameDefaultDescription
RealOutputy (from SO)

Contents

NameDescription
BaseType