Buildings.Controls.OBC.CDL.Psychrometrics.Validation

Collection of models that validate the psychrometrics blocks of the CDL

Information

This package contains models that validate the blocks in Buildings.Controls.OBC.CDL.Psychrometrics.

The examples plot various outputs, which have been verified against analytical solutions. These model outputs are stored as reference data to allow continuous validation whenever models in the library change.

Package Content

Name Description
Buildings.Controls.OBC.CDL.Psychrometrics.Validation.DewPoint_TDryBulPhi DewPoint_TDryBulPhi Model to test the dew point temperature computation
Buildings.Controls.OBC.CDL.Psychrometrics.Validation.SpecificEnthalpy_TDryBulPhi SpecificEnthalpy_TDryBulPhi Model to test the specific enthalpy computation
Buildings.Controls.OBC.CDL.Psychrometrics.Validation.WetBulb_TDryBulPhi WetBulb_TDryBulPhi Model to test the wet bulb temperature computation

Buildings.Controls.OBC.CDL.Psychrometrics.Validation.DewPoint_TDryBulPhi Buildings.Controls.OBC.CDL.Psychrometrics.Validation.DewPoint_TDryBulPhi

Model to test the dew point temperature computation

Buildings.Controls.OBC.CDL.Psychrometrics.Validation.DewPoint_TDryBulPhi

Information

This examples is a unit test for the dew point temperature computation Buildings.Controls.OBC.CDL.Psychrometrics.DewPoint_TDryBulPhi.

Modelica definition

model DewPoint_TDryBulPhi "Model to test the dew point temperature computation" Buildings.Controls.OBC.CDL.Psychrometrics.DewPoint_TDryBulPhi dewBulPhi "Model for dew point temperature"; Buildings.Controls.OBC.CDL.Psychrometrics.DewPoint_TDryBulPhi dewBulPhi1 "Model for dew point temperature"; Buildings.Controls.OBC.CDL.Continuous.Sources.Ramp phi( duration=1, height=1, offset=0.001) "Relative humidity"; Buildings.Controls.OBC.CDL.Continuous.Sources.Constant TDryBul( k=273.15+29.4) "Dry bulb temperature"; Buildings.Controls.OBC.CDL.Continuous.Sources.Ramp TDryBul2( duration=1, height=35, offset=273.15+2.0) "Dry bulb temperature"; Buildings.Controls.OBC.CDL.Continuous.Sources.Constant phi2( k=0.4) "Relative humidity"; equation connect(TDryBul.y,dewBulPhi.TDryBul); connect(phi.y,dewBulPhi.phi); connect(TDryBul2.y,dewBulPhi1.TDryBul); connect(phi2.y,dewBulPhi1.phi); end DewPoint_TDryBulPhi;

Buildings.Controls.OBC.CDL.Psychrometrics.Validation.SpecificEnthalpy_TDryBulPhi Buildings.Controls.OBC.CDL.Psychrometrics.Validation.SpecificEnthalpy_TDryBulPhi

Model to test the specific enthalpy computation

Buildings.Controls.OBC.CDL.Psychrometrics.Validation.SpecificEnthalpy_TDryBulPhi

Information

This examples is a unit test for the specific enthalpy computation Buildings.Controls.OBC.CDL.Psychrometrics.SpecificEnthalpy_TDryBulPhi.

Modelica definition

model SpecificEnthalpy_TDryBulPhi "Model to test the specific enthalpy computation" Buildings.Controls.OBC.CDL.Psychrometrics.SpecificEnthalpy_TDryBulPhi hBulPhi "Model for specific enthalpy computation"; Buildings.Controls.OBC.CDL.Continuous.Sources.Ramp phi( duration=1, height=1, offset=0.001) "Relative humidity"; Buildings.Controls.OBC.CDL.Continuous.Sources.Constant TDryBul( k=273.15+29.4) "Dry bulb temperature"; equation connect(TDryBul.y,hBulPhi.TDryBul); connect(phi.y,hBulPhi.phi); end SpecificEnthalpy_TDryBulPhi;

Buildings.Controls.OBC.CDL.Psychrometrics.Validation.WetBulb_TDryBulPhi Buildings.Controls.OBC.CDL.Psychrometrics.Validation.WetBulb_TDryBulPhi

Model to test the wet bulb temperature computation

Buildings.Controls.OBC.CDL.Psychrometrics.Validation.WetBulb_TDryBulPhi

Information

This examples is a unit test for the dew point temperature computation Buildings.Controls.OBC.CDL.Psychrometrics.WetBulb_TDryBulPhi.

Modelica definition

model WetBulb_TDryBulPhi "Model to test the wet bulb temperature computation" Buildings.Controls.OBC.CDL.Psychrometrics.WetBulb_TDryBulPhi wetBulPhi "Model for wet bulb temperature"; Buildings.Controls.OBC.CDL.Psychrometrics.WetBulb_TDryBulPhi wetBulPhi1 "Model for wet bulb temperature"; Buildings.Controls.OBC.CDL.Continuous.Sources.Ramp phi( duration=1, height=0.95, offset=0.05) "Relative humidity"; Buildings.Controls.OBC.CDL.Continuous.Sources.Constant TDryBul( k=273.15+29.4) "Dry bulb temperature"; Buildings.Controls.OBC.CDL.Continuous.Sources.Ramp TDryBul1( duration=1, height=40, offset=273.15) "Dry bulb temperature"; Buildings.Controls.OBC.CDL.Continuous.Sources.Constant phi2(k=0.6) "Relative humidity"; equation connect(TDryBul.y,wetBulPhi.TDryBul); connect(phi.y,wetBulPhi.phi); connect(TDryBul1.y, wetBulPhi1.TDryBul); connect(phi2.y, wetBulPhi1.phi); end WetBulb_TDryBulPhi;