LBL logo

Buildings.Utilities.Time

Package with models for time

Information

This package contains models for time.

Extends from Modelica.Icons.Package (Icon for standard packages).

Package Content

Name Description
Buildings.Utilities.Time.ModelTime ModelTime Model time
Buildings.Utilities.Time.Examples Examples Collection of models that illustrate model use and test models

Buildings.Utilities.Time.ModelTime Buildings.Utilities.Time.ModelTime

Model time

Buildings.Utilities.Time.ModelTime

Information

This component outputs the model time, which starts at the value at which the simulation starts. For example, if a simulation starts at t=-1, then this block outputs first t=-1, and its output is advanced at the same rate as the simulation time.

The model is used to allow the simulation to start from any time without having to set the parameters for the clock, as would be necessary for the model Modelica.Blocks.Sources.Clock.

Extends from Modelica.Blocks.Interfaces.SO (Single Output continuous control block).

Connectors

TypeNameDescription
output RealOutputyConnector of Real output signal

Modelica definition

block ModelTime "Model time" extends Modelica.Blocks.Interfaces.SO; equation y = time; end ModelTime;

http://simulationresearch.lbl.gov/modelica