IEA EBC Annex 60 EBC logo

Annex60.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 Annex60.Utilities.Time.

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

Package Content

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

Annex60.Utilities.Time.Examples.CalendarTime Annex60.Utilities.Time.Examples.CalendarTime

Example for the calendar time model

Annex60.Utilities.Time.Examples.CalendarTime

Information

This model demonstrates the use of the Annex60.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; Annex60.Utilities.Time.CalendarTime calendarTime2016( zerTim=Annex60.Utilities.Time.Types.ZeroTime.NY2016) "Computes date and time assuming time=0 corresponds to new year 2016"; equation end CalendarTime;

Annex60.Utilities.Time.Examples.ModelTime Annex60.Utilities.Time.Examples.ModelTime

Test model for the ModelTime block

Annex60.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; Annex60.Utilities.Time.ModelTime modTim "Model time"; equation end ModelTime;

http://iea-annex60.org