blockConstantConverterRate

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

Extends from Icons.ConstantConverter (Icon for constant converter elements), Interfaces.Basics.OutputTypeChoice_Rate (Partial model to set the output type to some kind of rate).

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

ConstantConverter, ConstantConverterTime

Parameters

TypeNameDefaultDescription
Realvalue{0}Vector of constant rates given in the unit pertaining to OutputType [y.unit * s] per time base
Parameters
StringtimeBaseString"second"Time base of the rates entered (default = per second)

Components

TypeNameDefaultDescription
RealMultiOutputy

Revisions

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