Buildings.Occupants.Office.Windows.Validation

Package with examples to validate models in Windows package

Information

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

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

Package Content

Name Description
Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn Haldi2008WindowsTIn Validating the model for window behaviors
Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut Haldi2008WindowsTOut Validating the model for window behaviors
Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout Haldi2009WindowsTInTout Validating the model for window behaviors
Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen Herkel2008WindowsCompletelyOpen Validating the model for window behaviors
Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall Herkel2008WindowsSmall Validating the model for window behaviors
Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen Herkel2008WindowsTiltedOpen Validating the model for window behaviors
Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf Rijal2007WindowsTInTOutTComf Validating the model for window behaviors
Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn Yun2008WindowsTIn Validating the model for window behaviors
Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut Yun2008WindowsTOut Validating the model for window behaviors
Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll Zhang2012WindowsAll Validating the model for window behaviors
Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast Zhang2012WindowsEast Validating the model for window behaviors
Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth Zhang2012WindowsNorth Validating the model for window behaviors
Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth Zhang2012WindowsSouth Validating the model for window behaviors
Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest Zhang2012WindowsWest Validating the model for window behaviors

Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn

Validating the model for window behaviors

Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn

Information

This example validates Buildings.Occupants.Office.Windows.Haldi2008WindowsTIn by examing how the window state corresponds to the indoor temperature.

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

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

Modelica definition

model Haldi2008WindowsTIn "Validating the model for window behaviors" extends Modelica.Icons.Example; Modelica.Blocks.Sources.BooleanStep occ(startTime=1800) "True for occupied"; Modelica.Blocks.Sources.Sine TIn( amplitude=15, offset=288, freqHz=0.001, y(unit="K", displayUnit="degC")) "Indoor air temperature"; Buildings.Occupants.Office.Windows.Haldi2008WindowsTIn win; equation connect(occ.y, win.occ); connect(TIn.y, win.TIn); end Haldi2008WindowsTIn;

Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut

Validating the model for window behaviors

Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut

Information

This example validates Buildings.Occupants.Office.Windows.Haldi2008WindowsTOut 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 Haldi2008WindowsTOut "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, freqHz=0.001, y(unit="K", displayUnit="degC")) "Outdoor air temperature"; Buildings.Occupants.Office.Windows.Haldi2008WindowsTOut win "Tested windows model"; equation connect(win.occ, occ.y); connect(win.TOut, TOut.y); end Haldi2008WindowsTOut;

Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout

Validating the model for window behaviors

Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout

Information

This example validates Buildings.Occupants.Office.Windows.Haldi2009WindowsTInTout by examing how the window state corresponds to the indoor, outdoor temperature.

The indoor, outdoor temperature variation was simulated by sine functions. The output is how the window state changes with the indoor, outdoor temperature.

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

Modelica definition

model Haldi2009WindowsTInTout "Validating the model for window behaviors" extends Modelica.Icons.Example; Modelica.Blocks.Sources.BooleanStep occ(startTime=900) "True for occupied"; Modelica.Blocks.Sources.Sine TIn( amplitude=10, freqHz=0.0007, y(unit="K", displayUnit="degC"), offset=298) "Indoor air temperature"; Modelica.Blocks.Sources.Sine TOut( freqHz=0.001, y(unit="K", displayUnit="degC"), offset=298, amplitude=12) "Outdoor air temperature"; Buildings.Occupants.Office.Windows.Haldi2009WindowsTInTout win "Tested windows model"; equation connect(win.occ, occ.y); connect(win.TOut, TOut.y); connect(win.TIn, TIn.y); end Haldi2009WindowsTInTout;

Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen

Validating the model for window behaviors

Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen

Information

This example validates Buildings.Occupants.Office.Windows.Herkel2008WindowsCompletelyOpen 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 Herkel2008WindowsCompletelyOpen "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, freqHz=0.001, y(unit="K", displayUnit="degC")) "Outdoor air temperature"; Buildings.Occupants.Office.Windows.Herkel2008WindowsCompletelyOpen win "Tested windows model"; equation connect(win.occ, occ.y); connect(win.TOut, TOut.y); end Herkel2008WindowsCompletelyOpen;

Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall

Validating the model for window behaviors

Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall

Information

This example validates Buildings.Occupants.Office.Windows.Herkel2008WindowsSmall 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 Herkel2008WindowsSmall "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, freqHz=0.001, y(unit="K", displayUnit="degC")) "Outdoor air temperature"; Buildings.Occupants.Office.Windows.Herkel2008WindowsSmall win "Tested windows model"; equation connect(win.occ, occ.y); connect(win.TOut, TOut.y); end Herkel2008WindowsSmall;

Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen

Validating the model for window behaviors

Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen

Information

This example validates Buildings.Occupants.Office.Windows.Herkel2008WindowsTiltedOpen 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 Herkel2008WindowsTiltedOpen "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, freqHz=0.001, y(unit="K", displayUnit="degC")) "Outdoor air temperature"; Buildings.Occupants.Office.Windows.Herkel2008WindowsTiltedOpen win "Tested windows model"; equation connect(win.occ, occ.y); connect(win.TOut, TOut.y); end Herkel2008WindowsTiltedOpen;

Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf

Validating the model for window behaviors

Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf

Information

This example validates Buildings.Occupants.Office.Windows.Rijal2007WindowsTInTOutTComf by examing how the window state corresponds to the indoor, outdoor and comfort temperature.

The indoor, outdoor, and comfort temperature variation was simulated by sine functions. The output is how the window state changes with the indoor, outdoor, and comfort temperature.

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

Modelica definition

model Rijal2007WindowsTInTOutTComf "Validating the model for window behaviors" extends Modelica.Icons.Example; Modelica.Blocks.Sources.BooleanStep occ(startTime=900) "True for occupied"; Modelica.Blocks.Sources.Sine TIn( amplitude=10, freqHz=0.0007, y(unit="K", displayUnit="degC"), offset=298) "Indoor air temperature"; Modelica.Blocks.Sources.Sine TOut( freqHz=0.001, y(unit="K", displayUnit="degC"), offset=298, amplitude=12) "Outdoor air temperature"; Modelica.Blocks.Sources.Sine TComf( amplitude=2, offset=298, freqHz=0.0005, y(unit="K", displayUnit="degC")) "Comfort air temperature"; Buildings.Occupants.Office.Windows.Rijal2007WindowsTInTOutTComf win "Tested windows model"; equation connect(win.occ, occ.y); connect(win.TOut, TOut.y); connect(win.TIn, TIn.y); connect(win.TComf, TComf.y); end Rijal2007WindowsTInTOutTComf;

Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn

Validating the model for window behaviors

Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn

Information

This example validates Buildings.Occupants.Office.Windows.Yun2008WindowsTIn by examing how the window state corresponds to the indoor temperature.

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

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

Modelica definition

model Yun2008WindowsTIn "Validating the model for window behaviors" extends Modelica.Icons.Example; Modelica.Blocks.Sources.BooleanStep occ(startTime=1800) "True for occupied"; Modelica.Blocks.Sources.Sine TIn( amplitude=15, offset=288, freqHz=0.001, y(unit="K", displayUnit="degC")) "Indoor air temperature"; Buildings.Occupants.Office.Windows.Yun2008WindowsTIn win; equation connect(occ.y, win.occ); connect(TIn.y, win.TIn); end Yun2008WindowsTIn;

Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut

Validating the model for window behaviors

Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut

Information

This example validates Buildings.Occupants.Office.Windows.Yun2008WindowsTOut 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 Yun2008WindowsTOut "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, freqHz=0.001, y(unit="K", displayUnit="degC")) "Outdoor air temperature"; Buildings.Occupants.Office.Windows.Yun2008WindowsTOut win; equation connect(occ.y, win.occ); connect(TOut.y, win.TOut); end Yun2008WindowsTOut;

Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll

Validating the model for window behaviors

Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll

Information

This example validates Buildings.Occupants.Office.Windows.Zhang2012WindowsAll 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 Zhang2012WindowsAll "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, freqHz=0.001, y(unit="K", displayUnit="degC")) "Outdoor air temperature"; Buildings.Occupants.Office.Windows.Zhang2012WindowsAll win "Tested windows model"; equation connect(win.occ, occ.y); connect(win.TOut, TOut.y); end Zhang2012WindowsAll;

Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast

Validating the model for window behaviors

Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast

Information

This example validates Buildings.Occupants.Office.Windows.Zhang2012WindowsEast 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 Zhang2012WindowsEast "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, freqHz=0.001, y(unit="K", displayUnit="degC")) "Outdoor air temperature"; Buildings.Occupants.Office.Windows.Zhang2012WindowsEast win "Tested windows model"; equation connect(win.occ, occ.y); connect(win.TOut, TOut.y); end Zhang2012WindowsEast;

Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth

Validating the model for window behaviors

Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth

Information

This example validates Buildings.Occupants.Office.Windows.Zhang2012WindowsNorth 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 Zhang2012WindowsNorth "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, freqHz=0.001, y(unit="K", displayUnit="degC")) "Outdoor air temperature"; Buildings.Occupants.Office.Windows.Zhang2012WindowsNorth win "Tested windows model"; equation connect(win.occ, occ.y); connect(win.TOut, TOut.y); end Zhang2012WindowsNorth;

Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth

Validating the model for window behaviors

Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth

Information

This example validates Buildings.Occupants.Office.Windows.Zhang2012WindowsSouth 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 Zhang2012WindowsSouth "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, freqHz=0.001, y(unit="K", displayUnit="degC")) "Outdoor air temperature"; Buildings.Occupants.Office.Windows.Zhang2012WindowsSouth win "Tested windows model"; equation connect(win.occ, occ.y); connect(win.TOut, TOut.y); end Zhang2012WindowsSouth;

Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest

Validating the model for window behaviors

Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest

Information

This example validates Buildings.Occupants.Office.Windows.Zhang2012WindowsWest 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 Zhang2012WindowsWest "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, freqHz=0.001, y(unit="K", displayUnit="degC")) "Outdoor air temperature"; Buildings.Occupants.Office.Windows.Zhang2012WindowsWest win "Tested windows model"; equation connect(win.occ, occ.y); connect(win.TOut, TOut.y); end Zhang2012WindowsWest;