Buildings.Occupants.Residential.Windows.Validation

Package with examples to validate models in Windows package

Information

This package contains examples to validate models in the Windows package.

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

Package Content

Name Description
Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU Nicol2001WindowsEU Validating the model for window behaviors
Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan Nicol2001WindowsPakistan Validating the model for window behaviors
Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK Nicol2001WindowsUK Validating the model for window behaviors

Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU

Validating the model for window behaviors

Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU

Information

This example validates Buildings.Occupants.Residential.Windows.Nicol2001WindowsEU by examing how the window state corresponds to the outdoor temperature.

An outdoor temperature variation was simulated by a sine function. The output is how the window state changes with the outdoor temperature.

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

Modelica definition

model Nicol2001WindowsEU "Validating the model for window behaviors" extends Modelica.Icons.Example; Modelica.Blocks.Sources.BooleanStep occ(startTime=1800) "True for occupied"; Modelica.Blocks.Sources.Sine TOut( amplitude=15, offset=288, f=0.001, y(unit="K", displayUnit="degC")) "Outdoor air temperature"; Buildings.Occupants.Residential.Windows.Nicol2001WindowsEU win "Tested windows model"; equation connect(win.occ, occ.y); connect(win.TOut, TOut.y); end Nicol2001WindowsEU;

Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan

Validating the model for window behaviors

Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan

Information

This example validates Buildings.Occupants.Residential.Windows.Nicol2001WindowsPakistan by examing how the window state corresponds to the outdoor temperature.

An outdoor temperature variation was simulated by a sine function. The output is how the window state changes with the outdoor temperature.

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

Modelica definition

model Nicol2001WindowsPakistan "Validating the model for window behaviors" extends Modelica.Icons.Example; Modelica.Blocks.Sources.BooleanStep occ(startTime=1800) "True for occupied"; Modelica.Blocks.Sources.Sine TOut( amplitude=15, offset=288, f=0.001, y(unit="K", displayUnit="degC")) "Outdoor air temperature"; Buildings.Occupants.Residential.Windows.Nicol2001WindowsPakistan win "Tested windows model"; equation connect(win.occ, occ.y); connect(win.TOut, TOut.y); end Nicol2001WindowsPakistan;

Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK

Validating the model for window behaviors

Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK

Information

This example validates Buildings.Occupants.Residential.Windows.Nicol2001WindowsUK by examing how the window state corresponds to the outdoor temperature.

An outdoor temperature variation was simulated by a sine function. The output is how the window state changes with the outdoor temperature.

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

Modelica definition

model Nicol2001WindowsUK "Validating the model for window behaviors" extends Modelica.Icons.Example; Modelica.Blocks.Sources.BooleanStep occ(startTime=1800) "True for occupied"; Modelica.Blocks.Sources.Sine TOut( amplitude=15, offset=288, f=0.001, y(unit="K", displayUnit="degC")) "Outdoor air temperature"; Buildings.Occupants.Residential.Windows.Nicol2001WindowsUK win "Tested windows model"; equation connect(win.occ, occ.y); connect(win.TOut, TOut.y); end Nicol2001WindowsUK;