Buildings.Utilities.Time.Validation

Collection of models that validate the time models

Information

This package contains models that validate the time models. The examples plot various outputs. These model outputs are stored as reference data to allow continuous validation whenever models in the library change.

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

Package Content

Name Description
Buildings.Utilities.Time.Validation.CalendarTimeMonths CalendarTimeMonths Validation model for the calendar time model
Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus CalendarTimeMonthsMinus Validation model for the calendar time model with start time slightly below the full hour
Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus CalendarTimeMonthsPlus Validation model for the calendar time model with start time slightly higher than the full hour

Buildings.Utilities.Time.Validation.CalendarTimeMonths Buildings.Utilities.Time.Validation.CalendarTimeMonths

Validation model for the calendar time model

Buildings.Utilities.Time.Validation.CalendarTimeMonths

Information

This model validates the use of the Buildings.Utilities.Time.CalendarTime block for a period of a couple of months. This shorter simulation time has been selected to store the reference results that are used in the regression tests at a resulation that makes sense for the minute and hour outputs.

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

Modelica definition

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

Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus

Validation model for the calendar time model with start time slightly below the full hour

Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus

Information

This model validates the use of the Buildings.Utilities.Time.CalendarTime. It is identical to Buildings.Utilities.Time.Validation.CalendarTimeMonths except that the start and end time are different.

Extends from Buildings.Utilities.Time.Validation.CalendarTimeMonths (Validation model for the calendar time model).

Modelica definition

model CalendarTimeMonthsMinus "Validation model for the calendar time model with start time slightly below the full hour" extends Buildings.Utilities.Time.Validation.CalendarTimeMonths; end CalendarTimeMonthsMinus;

Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus

Validation model for the calendar time model with start time slightly higher than the full hour

Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus

Information

This model validates the use of the Buildings.Utilities.Time.CalendarTime. It is identical to Buildings.Utilities.Time.Validation.CalendarTimeMonths except that the start and end time are different.

Extends from Buildings.Utilities.Time.Validation.CalendarTimeMonths (Validation model for the calendar time model).

Modelica definition

model CalendarTimeMonthsPlus "Validation model for the calendar time model with start time slightly higher than the full hour" extends Buildings.Utilities.Time.Validation.CalendarTimeMonths; end CalendarTimeMonthsPlus;