Description: "Package with models for time"

- Home > Modelica

## 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
--- | ---
ModelTime | Model time
Examples | Collection of models that illustrate model use and test models

## Buildings.Utilities.Time.ModelTime

Model time

### 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

Type | Name | Description
--- | --- | ---
output RealOutput | y | Connector of Real output signal

### Modelica definition

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