Buildings.Occupants.Office.Blinds.Validation

Package with examples to validate models in the Blinds package

Information

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

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

Package Content

Name Description
Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn Haldi2008BlindsTIn Validating the model for blind behaviors
Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut Haldi2008BlindsTOut Validating the model for blind behaviors
Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity Inkarojrit2008BlindsSolarIntensity Validating the model for blind behaviors
Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity Newsham1994BlindsSolarIntensity Validating the model for blind behaviors
Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude Zhang2012BlindsSolarAltitude Validating the model for blind behaviors
Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity Zhang2012BlindsSolarIntensity Validating the model for blind behaviors

Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn

Validating the model for blind behaviors

Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn

Information

This example validates Buildings.Occupants.Office.Blinds.Haldi2008BlindsTIn by examing how the blinds state corresponds to the indoor temperature.

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

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

Modelica definition

model Haldi2008BlindsTIn "Validating the model for blind behaviors" extends Modelica.Icons.Example; Modelica.Blocks.Sources.BooleanStep occ(startTime=1800) "True for occupied"; Modelica.Blocks.Sources.Sine TIn( amplitude=15, offset=293, freqHz=0.001, y(unit="K", displayUnit="degC")) "Indoor temperature"; Buildings.Occupants.Office.Blinds.Haldi2008BlindsTIn bli "Tested blinds model"; equation connect(occ.y, bli.occ); connect(TIn.y, bli.TIn); end Haldi2008BlindsTIn;

Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut

Validating the model for blind behaviors

Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut

Information

This example validates Buildings.Occupants.Office.Blinds.Haldi2008BlindsTOut by examing how the blinds state corresponds to the outdoor temperature.

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

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

Modelica definition

model Haldi2008BlindsTOut "Validating the model for blind behaviors" extends Modelica.Icons.Example; Modelica.Blocks.Sources.BooleanStep occ(startTime=1800) "True for occupied"; Modelica.Blocks.Sources.Sine TOut( amplitude=15, offset=293, freqHz=0.001, y(unit="K", displayUnit="degC")) "Outdoor temperature"; Buildings.Occupants.Office.Blinds.Haldi2008BlindsTOut bli "Tested blinds model"; equation connect(occ.y, bli.occ); connect(TOut.y, bli.TOut); end Haldi2008BlindsTOut;

Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity

Validating the model for blind behaviors

Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity

Information

This example validates Buildings.Occupants.Office.Blinds.Inkarojrit2008BlindsSolarIntensity by examing how the blinds state corresponds to the solar intensity.

A solar intensity variation was simulated by a sine function. The output is how the blind state changes with the Intensity variation.

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

Modelica definition

model Inkarojrit2008BlindsSolarIntensity "Validating the model for blind behaviors" extends Modelica.Icons.Example; Modelica.Blocks.Sources.BooleanStep occ(startTime=1800) "True for occupied"; Modelica.Blocks.Sources.Sine H( amplitude=250, offset=300, freqHz=0.001, y(unit="W/m2")) "Solar intensity at the window"; Buildings.Occupants.Office.Blinds.Inkarojrit2008BlindsSolarIntensity bli(LSen= 1) "Tested blinds model"; equation connect(occ.y, bli.occ); connect(H.y, bli.H); end Inkarojrit2008BlindsSolarIntensity;

Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity

Validating the model for blind behaviors

Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity

Information

This example validates Buildings.Occupants.Office.Blinds.Newsham1994BlindsSolarIntensity by examing how the blinds state corresponds to the solar intensity.

A solar intensity variation was simulated by a sine function. The output is how the blind state changes with the Intensity variation.

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

Modelica definition

model Newsham1994BlindsSolarIntensity "Validating the model for blind behaviors" extends Modelica.Icons.Example; Modelica.Blocks.Sources.BooleanStep occ(startTime=1800) "True for occupied"; Modelica.Blocks.Sources.Sine H( amplitude=250, offset=300, freqHz=0.001, y(unit="W/m2")) "Solar intensity at the window"; Buildings.Occupants.Office.Blinds.Newsham1994BlindsSolarIntensity bli "Tested blinds model"; equation connect(occ.y, bli.occ); connect(H.y, bli.H); end Newsham1994BlindsSolarIntensity;

Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude

Validating the model for blind behaviors

Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude

Information

This example validates Buildings.Occupants.Office.Blinds.Zhang2012BlindsSolarAltitude by examing how the blinds state corresponds to the solar altitude.

A solar altitude variation was simulated by a sine function. The output is how the blind state changes with the Altitude variation.

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

Modelica definition

model Zhang2012BlindsSolarAltitude "Validating the model for blind behaviors" extends Modelica.Icons.Example; Modelica.Blocks.Sources.BooleanStep occ(startTime=1800) "True for occupied"; Modelica.Blocks.Sources.Sine SA( amplitude=30*3.14159/180, offset=35*3.14159/180, freqHz=0.001, y(unit="1")) "Solar altitude"; Buildings.Occupants.Office.Blinds.Zhang2012BlindsSolarAltitude bli "Tested blinds model"; equation connect(occ.y, bli.occ); connect(SA.y, bli.solarAltitude); end Zhang2012BlindsSolarAltitude;

Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity

Validating the model for blind behaviors

Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity

Information

This example validates Buildings.Occupants.Office.Blinds.Zhang2012BlindsSolarIntensity by examing how the blinds state corresponds to the solar intensity.

A solar intensity variation was simulated by a sine function. The output is how the blind state changes with the Intensity variation.

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

Modelica definition

model Zhang2012BlindsSolarIntensity "Validating the model for blind behaviors" extends Modelica.Icons.Example; Modelica.Blocks.Sources.BooleanStep occ(startTime=1800) "True for occupied"; Modelica.Blocks.Sources.Sine H( amplitude=250, offset=300, freqHz=0.001, y(unit="W/m2")) "Solar intensity at the window"; Buildings.Occupants.Office.Blinds.Zhang2012BlindsSolarIntensity bli "Tested blinds model"; equation connect(occ.y, bli.occ); connect(H.y, bli.H); end Zhang2012BlindsSolarIntensity;