This information is part of the Business Simulation Library (BSL). Please support this work and ► donate.
The parameter value
is used to set the continous output y making it a constant-valued signal. The output will always give rates per second, but rates can be entered in non-SI-units of time using the parameter timeBaseString
.
ValueType
is chosen to be Types.Reals
so that the entered rate will be a fractional rate (1 per unit of time
). A different choice for ValueType
may give more convenience: Selecting ValueType = Amount
allows to use `displayUnit = "thousand"` and we can enter value = 1
and timeBaseString = "year"
to come up with a rate of 1 thousand per year
nicely converted internally into an equivalent rate per second.ValueType
to select say a basic physical quantity like energy (not EnergyFlowRate!). With value = 1000
, displayUnit = "kW.h"
, and timeBaseString = "year"
we will thus obtain a rate of 1000 kw.H per year
that is internally converted into SI-units of 114.155 J/s
.OutputType
(default = Rate
) and ValueType
. The value
entered will have unit = ValueType.unit/s
and the selected OutputType
should be set to make sure that y.unit
reflects this: In the energy example above, the user should have selected OutputType = EnergyFlowRate
to have units for input and output match.ConstantConverter, ConstantConverterTime
Name | Description |
---|---|
ValueType | Basic type for the quantity that is transported per unit of time |