Buildings.Occupants.Residential.Heating.Validation

Package with examples to validate models in Heating package

Information

This package contains examples to validate models in Heating package.

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

Package Content

Name Description
Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU Nicol2001HeatingEU Validating the model for heating behaviors
Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan Nicol2001HeatingPakistan Validating the model for heating behaviors
Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK Nicol2001HeatingUK Validating the model for heating behaviors

Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU

Validating the model for heating behaviors

Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU

Information

This example validates Buildings.Occupants.Residential.Heating.Nicol2001HeatingEU by examing how the heater state corresponds to the outdoor temperature.

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

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

Modelica definition

model Nicol2001HeatingEU "Validating the model for heating 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.Heating.Nicol2001HeatingEU hea "Occupancy model"; equation connect(hea.occ, occ.y); connect(hea.TOut, TOut.y); end Nicol2001HeatingEU;

Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan

Validating the model for heating behaviors

Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan

Information

This example validates Buildings.Occupants.Residential.Heating.Nicol2001HeatingPakistan by examing how the heater state corresponds to the outdoor temperature.

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

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

Modelica definition

model Nicol2001HeatingPakistan "Validating the model for heating 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.Heating.Nicol2001HeatingPakistan hea "Occupancy model"; equation connect(hea.occ, occ.y); connect(hea.TOut, TOut.y); end Nicol2001HeatingPakistan;

Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK

Validating the model for heating behaviors

Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK

Information

This example validates Buildings.Occupants.Residential.Heating.Nicol2001HeatingUK by examing how the heater state corresponds to the outdoor temperature.

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

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

Modelica definition

model Nicol2001HeatingUK "Validating the model for heating 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.Heating.Nicol2001HeatingUK hea "Tested heating model"; equation connect(hea.occ, occ.y); connect(hea.TOut, TOut.y); end Nicol2001HeatingUK;