Buildings.Utilities.Time.Examples

Collection of models that illustrate model use and test models

Information

This package contains examples for the use of models that can be found in Buildings.Utilities.Time.

Extends from Modelica.Icons.ExamplesPackage (Icon for packages containing runnable examples).

Package Content

Name Description
Buildings.Utilities.Time.Examples.CalendarTime CalendarTime Example for the calendar time model
Buildings.Utilities.Time.Examples.ModelTime ModelTime Test model for the ModelTime block

Buildings.Utilities.Time.Examples.CalendarTime Buildings.Utilities.Time.Examples.CalendarTime

Example for the calendar time model

Buildings.Utilities.Time.Examples.CalendarTime

Information

This model demonstrates the use of the Buildings.Utilities.Time.CalendarTime block.

Extends from Modelica.Icons.Example (Icon for runnable examples).

Modelica definition

model CalendarTime "Example for the calendar time model" extends Modelica.Icons.Example; Buildings.Utilities.Time.CalendarTime calendarTime2016(zerTim=Buildings.Utilities.Time.Types.ZeroTime.NY2016) "Computes date and time assuming time=0 corresponds to new year 2016"; equation end CalendarTime;

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

Test model for the ModelTime block

Buildings.Utilities.Time.Examples.ModelTime

Information

This model tests the implementation of the block that outputs the model time.

Extends from Modelica.Icons.Example (Icon for runnable examples).

Modelica definition

model ModelTime "Test model for the ModelTime block" extends Modelica.Icons.Example; Buildings.Utilities.Time.ModelTime modTim "Model time"; equation end ModelTime;