blockTimeInputConverted

Clock to provide time-signal in a different time base

Extends from Icons.InformationSourceIndicator (Icon used to indicate external information), Icons.Clockface_white (Face of a clock), Icons.ConverterName (Icon for converter elements).

Information

This information is part of the Business Simulation Library (BSL). Please support this work and ► donate.

The output y is a time signal (e.g., a clock) → Modelica.Blocks.Sources.ContinuousClock. The units for the output will here be a non-SIunit (e.g., min, h, d, wk, ...).

Notes

  • To make components and models compatible with each other, time should always be in the SIunit s, while displayUnit is used to enter and present values in a different unit of time.

  • This component can be used to provide an output with a different `unit` of time instead of merely a different `displayUnit` of time. It should be used sparsely and with care.

  • This component will not be supported by Modelica tools in general, but has been tested to work with Wolfram System Modeler 14.

See also

TimeInputTimeBases

Parameters

TypeNameDefaultDescription
TimeoffsetmodelSettings.modelStartTimeOffset of output signal y given in seconds (default = modelStartTime)
TimestartTimemodelSettings.modelStartTimeOutput y = offset for time <= startTime (default = modelStartTime)
Structural Parameters
TimeBasesclockTimeBaseTimeBases.secondsTimeBase for the output signal

Connectors

TypeNameDefaultDescription
Interfaces.Connectors.RealOutputy

Components

TypeNameDefaultDescription
ModelSettingsmodelSettings

Revisions

  • Class adapted to be compliant with MSL 4.0.0 in v2.2.

  • Icon modified and will show component name in v2.2.