ConstantConverterRateA list of constant rates is turned into a vector of rate signals |
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
.
OutputType = Rate
the entered rates will be fractional rates (1 per unit of time
).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
.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.
value |
Value: {0} Type: Real[:] Description: Vector of constant rates given in the unit pertaining to OutputType [y.unit * s] per time base |
---|
y |
Type: RealMultiOutput[nout] Description: Output signal |
---|
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 |
OutputType
changed to default Rate
in v2.2 as documented.