blockConstantConverterRate
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 = Ratethe entered rates will be fractional rates (1 per unit of time). - Wolfram System Modeler 12.2 currently does not allow to use
displayUnitfor entering vectors. Nevessary conversions have thus to be made before: Any value entered should haveunit = y.unit * s/time base, so that the converted values will haveunit = 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
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| Real | value | {0} | Vector of constant rates given in the unit pertaining to OutputType [y.unit * s] per time base |
| Parameters | |||
| String | timeBaseString | "second" | Time base of the rates entered (default = per second) |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| RealMultiOutput | y |
Revisions
OutputTypechanged to defaultRatein v2.2 as documented.