RateConversion

Converts a rate given per time base A to a rate per time base B

Information

This information is part of the Business Simulation Library (BSL).

The output y is derived from converting the input u assumed to be given as a rate in units of timeBaseA to a rate given in units of timeBaseB

Notes

The best way to work with time in Modelica is to use the SIunit [s] for all internal representations and calculations while making use of displayUnit to convert input and output to and from s to another unit of time preferred by the modeler. That way models will be compatible with models from other domains.

Nevertheless, there may be use cases where within the model working with other timeBases will be necessary. Thus there may be need to convert from one time base to another which this converter fulfills.

See also

TimeConversion

Connectors (2)

u

Type: RealInput

y

Type: RealOutput

Components (1)

modelSettings

Type: ModelSettings

Used in Components (4)

ConstantConverterRate

BusinessSimulation.Converters.Vector

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

ConstantConverterRate

BusinessSimulation.Converters

A constant rate is turned into a constant-valued signal

ConstantInputRate

BusinessSimulation.InformationSources

Input signal with constant rate information

SISO_Conversion

BusinessSimulation.Interfaces.PartialConverters

Partial SISO converter class with input and output conversions for lookup functions

Revisions

  • slightly modified in v2.0.0 to pass unit checking