TimeConversionConverts a time signal from time base A to time base B |
This information is part of the Business Simulation Library (BSL). Please support this work and ► donate.
The output y is derived from converting the input u assumed to be given in units of timeBaseA
to timeBaseB
.
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.
u |
Type: RealInput Description: Input signal |
|
---|---|---|
y |
Type: RealOutput Description: Output signal |
modelSettings |
Type: ModelSettings Description: Setting important global variables within a model |
---|
BusinessSimulation.Converters.Vector A list of constant time values is turned into a vector of constant time signals |
|
BusinessSimulation.InformationSources Clock to provide time-signal in a different time base |
|
BusinessSimulation.Interfaces.PartialConverters Partial SISO converter class with input and output conversions for lookup functions |