ConstantConverterRate

A list of constant rates is turned into a vector of rate signals

Diagram

Information

This information is part of the Business Simulation Library (BSL). Please support this work and ► donate.

The parameter value (a vector) is used to set the continous output y making it a vector of constant-valued signals. The output will always give rates per second, but rates can be entered in non-SI-units of time using the parameter timeBaseString.

Notes

  • In the default setting OutputType = Rate the entered rates will be fractional rates (1 per unit of time).

  • Wolfram System Modeler 12.2 currently does not allow to use displayUnit for entering vectors. Nevessary conversions have thus to be made before: Any value entered should have unit = y.unit * s/time base, so that the converted values will have unit = y.unit.

Examples

Given OutputType = Units.VolumeFlowRate, value = {1,2,3}, timeBase = "minute" will result in the output y = {0.0166 [m3/s], 0.0333 [m3/s], 0.05 [m3/s]}, thus the input wil be interpreted as base units ofr Volume per minute.

See also

ConstantConverterConstantConverterTime

Parameters (1)

value

Value: {0}

Type: Real[:]

Description: Vector of constant rates given in the unit pertaining to OutputType [y.unit * s] per time base

Connectors (1)

y

Type: RealMultiOutput[nout]

Description: Output signal

Components (2)

convertRate

Type: RateConversion[nout]

Description: Convert the rate input to a rate per seconds

ratesInTimeBase

Type: ConstantConverter

Description: A list of constant values is turned into a constant vector of signals

Revisions

  • OutputType changed to default Rate in v2.2 as documented.