Buildings.Occupants.Residential.AirConditioning.Validation

Package with examples to validate models in AC package

Information

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

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

Package Content

Name Description
Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom Ren2014ACBedroom Validating the model for AC behaviors
Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom Ren2014ACLivingroom Validating the model for AC behaviors

Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom

Validating the model for AC behaviors

Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom

Information

This example validates Buildings.Occupants.Residential.AirConditioning.Ren2014ACBedroom by examing how the AC state corresponds to the indoor temperature.

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

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

Modelica definition

model Ren2014ACBedroom "Validating the model for AC behaviors" extends Modelica.Icons.Example; Modelica.Blocks.Sources.BooleanStep occ(startTime=600) "True for occupied"; Modelica.Blocks.Sources.Sine Tin( amplitude=10, offset=303, freqHz=0.001, y(unit="K", displayUnit="degC")) "Indoor air temperature"; Buildings.Occupants.Residential.AirConditioning.Ren2014ACBedroom ac "Tested AC model"; equation connect(occ.y, ac.occ); connect(Tin.y, ac.TIn); end Ren2014ACBedroom;

Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom

Validating the model for AC behaviors

Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom

Information

This example validates Buildings.Occupants.Residential.AirConditioning.Ren2014ACLivingroom by examing how the AC state corresponds to the indoor temperature.

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

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

Modelica definition

model Ren2014ACLivingroom "Validating the model for AC behaviors" extends Modelica.Icons.Example; Modelica.Blocks.Sources.BooleanStep occ(startTime=1800) "True for occupied"; Modelica.Blocks.Sources.Sine Tin( amplitude=10, offset=303, freqHz=0.001, y(unit="K", displayUnit="degC")) "Indoor air temperature"; Buildings.Occupants.Residential.AirConditioning.Ren2014ACLivingroom ac "Tested AC model"; equation connect(occ.y, ac.occ); connect(Tin.y, ac.TIn); end Ren2014ACLivingroom;