Buildings.BoundaryConditions.Validation.BESTEST

Boundary conditions validation according to BESTEST specifications

Information

This package contains the validation models used to read extract the weather data required by the BESTEST cases.

More details in the Buildings.BoundaryConditions.Validation.UsersGuide

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

Package Content

Name Description
Buildings.BoundaryConditions.Validation.BESTEST.WD100 WD100 Test model for BESTEST weather data: base case
Buildings.BoundaryConditions.Validation.BESTEST.WD200 WD200 Test model for BESTEST weather data: Low Elevation, Hot and Humid Case
Buildings.BoundaryConditions.Validation.BESTEST.WD300 WD300 Test model for BESTEST weather data: Southern hemisphere case
Buildings.BoundaryConditions.Validation.BESTEST.WD400 WD400 Test model for BESTEST weather data: high latitude case
Buildings.BoundaryConditions.Validation.BESTEST.WD500 WD500 Test model for BESTEST weather data: time zone case
Buildings.BoundaryConditions.Validation.BESTEST.WD600 WD600 Test model for BESTEST weather data: ground reflectance

Buildings.BoundaryConditions.Validation.BESTEST.WD100 Buildings.BoundaryConditions.Validation.BESTEST.WD100

Test model for BESTEST weather data: base case

Buildings.BoundaryConditions.Validation.BESTEST.WD100

Information

WD100: Base Case

Weather data file : 725650.epw

Table 1: Site Data for Weather file 725650.epw

Latitude

39.833° north

Longitude

104.65° west

Altitude

1650 m

Time Zone

7

This model is a template for all the other test cases. It allows to extrapolate all the weather data from the Reader TMY3 for a specific location, incliation and azimuth. The model Buildings.BoundaryConditions.Validation.IsotropicAndPerezDiffuseRadiation outputs radiation data using the available Isotropic and Perez methodlogies. The sky temperature is calculated using both the Horizontal radiation model, from data reader weaBusHorRad and the dew point temperature plus sky cover model from the datareader weaBusSkyCovDewTem.

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

Parameters

TypeNameDefaultDescription
Anglelat0.6952170009469Latitude angle [rad]
Realrho0Ground reflectance
Lengthalt1650Altitude [m]

Connectors

TypeNameDescription
BusweaBusHHorIRweather bus to read all weather data and Tsky using horizontal radiation
BusweaBusTDryBulTDewPoiOpaWeather bus to read Tsky using dew point temperature and sky cover

Modelica definition

model WD100 "Test model for BESTEST weather data: base case" extends Modelica.Icons.Example; parameter Modelica.SIunits.Angle lat=0.6952170009469 "Latitude angle"; parameter Real rho=0 "Ground reflectance"; parameter Modelica.SIunits.Length alt=1650 "Altitude"; WeatherData.ReaderTMY3 weaDatHHorIR( pAtmSou=Buildings.BoundaryConditions.Types.DataSource.File, ceiHeiSou=Buildings.BoundaryConditions.Types.DataSource.Parameter, ceiHei=alt, filNam=Modelica.Utilities.Files.loadResource( "modelica://Buildings/Resources/Data/BoundaryConditions/Validation/BESTEST/725650.mos"), calTSky=Buildings.BoundaryConditions.Types.SkyTemperatureCalculation.HorizontalRadiation) "Reads all weather data and Tsky using horizontal radiation"; WeatherData.Bus weaBusHHorIR "weather bus to read all weather data and Tsky using horizontal radiation"; IsotropicAndPerezDiffuseRadiation azi000til00( til=Buildings.Types.Tilt.Ceiling, lat=lat, azi=Buildings.Types.Azimuth.S, rho=rho) "Azimuth = Horizontal, Tilt = 0 °"; IsotropicAndPerezDiffuseRadiation azi000til90( til=Buildings.Types.Tilt.Wall, lat=lat, azi=Buildings.Types.Azimuth.S, rho=rho) "Azimuth = South, Tilt = 90 °"; IsotropicAndPerezDiffuseRadiation azi270til90( til=Buildings.Types.Tilt.Wall, lat=lat, azi=Buildings.Types.Azimuth.E, rho=rho) "Azimuth = East, Tilt = 90 °"; IsotropicAndPerezDiffuseRadiation azi180til90( til=Buildings.Types.Tilt.Wall, lat=lat, azi=Buildings.Types.Azimuth.N, rho=rho) "Azimuth = North, Tilt = 90 °"; IsotropicAndPerezDiffuseRadiation azi090til90( til=Buildings.Types.Tilt.Wall, lat=lat, azi=Buildings.Types.Azimuth.W, rho=rho) "Azimuth = West, Tilt = 90 °"; IsotropicAndPerezDiffuseRadiation azi315til90( til=Buildings.Types.Tilt.Wall, lat=lat, azi=Buildings.Types.Azimuth.SE, rho=rho) "Azimuth = 45 ° SE, Tilt = 0 °"; IsotropicAndPerezDiffuseRadiation azi045til90( til=Buildings.Types.Tilt.Wall, lat=lat, azi=Buildings.Types.Azimuth.SW, rho=rho) "Azimuth = 45 SW, Tilt = 90 °"; IsotropicAndPerezDiffuseRadiation azi270til30( til=0.5235987755983, lat=lat, azi=Buildings.Types.Azimuth.E, rho=rho) "Azimuth = East, Tilt = 30 °"; IsotropicAndPerezDiffuseRadiation azi000til30( til=0.5235987755983, lat=lat, azi=Buildings.Types.Azimuth.S, rho=rho) "Azimuth = South, Tilt = 0 °"; IsotropicAndPerezDiffuseRadiation azi090til30( til=0.5235987755983, lat=lat, azi=Buildings.Types.Azimuth.W, rho=rho) "Azimuth = West, Tilt = 0 °"; Utilities.Psychrometrics.X_pTphi x_pTphi; Utilities.Psychrometrics.ToDryAir toDryAir; WeatherData.ReaderTMY3 weaDatTDryBulTDewPoinOpa( pAtmSou=Buildings.BoundaryConditions.Types.DataSource.File, ceiHeiSou=Buildings.BoundaryConditions.Types.DataSource.Parameter, ceiHei=alt, filNam=Modelica.Utilities.Files.loadResource( "modelica://Buildings/Resources/Data/BoundaryConditions/Validation/BESTEST/725650.mos"), calTSky=Buildings.BoundaryConditions.Types.SkyTemperatureCalculation.TemperaturesAndSkyCover) "Reads all weather data and Tsky using dry bulb temperature, dew point temperature and sky cover"; WeatherData.Bus weaBusTDryBulTDewPoiOpa "Weather bus to read Tsky using dew point temperature and sky cover"; equation connect(weaDatHHorIR.weaBus,weaBusHHorIR); connect(weaBusHHorIR.pAtm,x_pTphi.p_in); connect(weaBusHHorIR.TDryBul,x_pTphi.T); connect(weaBusHHorIR.relHum,x_pTphi.phi); connect(x_pTphi.X[1],toDryAir.XiTotalAir); connect(weaDatTDryBulTDewPoinOpa.weaBus,weaBusTDryBulTDewPoiOpa); connect(weaBusHHorIR,azi090til90.weaBus); connect(weaBusHHorIR,azi090til30.weaBus); connect(weaBusHHorIR,azi000til30.weaBus); connect(weaBusHHorIR,azi180til90.weaBus); connect(weaBusHHorIR,azi270til30.weaBus); connect(weaBusHHorIR,azi270til90.weaBus); connect(weaBusHHorIR,azi045til90.weaBus); connect(weaBusHHorIR,azi000til90.weaBus); connect(weaBusHHorIR,azi315til90.weaBus); connect(weaBusHHorIR,azi000til00.weaBus); end WD100;

Buildings.BoundaryConditions.Validation.BESTEST.WD200 Buildings.BoundaryConditions.Validation.BESTEST.WD200

Test model for BESTEST weather data: Low Elevation, Hot and Humid Case

Buildings.BoundaryConditions.Validation.BESTEST.WD200

Information

WD200: Low Elevation, Hot and Humid Case.

Weather data file : 722190.epw

Table 1: Site Data for Weather file 722190.epw

Latitude

33.633° north

Longitude

84.433° west

Altitude

308 m

Time Zone

5

Extends from WD100 (Test model for BESTEST weather data: base case).

Parameters

TypeNameDefaultDescription
Anglelat0.58700658732325Latitude angle [rad]
Realrho0Ground reflectance
Lengthalt308Altitude [m]

Connectors

TypeNameDescription
BusweaBusHHorIRweather bus to read all weather data and Tsky using horizontal radiation
BusweaBusTDryBulTDewPoiOpaWeather bus to read Tsky using dew point temperature and sky cover

Modelica definition

model WD200 "Test model for BESTEST weather data: Low Elevation, Hot and Humid Case" extends WD100( lat=0.58700658732325, rho=0, alt=308, weaDatHHorIR( filNam=Modelica.Utilities.Files.loadResource( "modelica://Buildings/Resources/Data/BoundaryConditions/Validation/BESTEST/722190.mos")), weaDatTDryBulTDewPoinOpa( filNam=Modelica.Utilities.Files.loadResource( "modelica://Buildings/Resources/Data/BoundaryConditions/Validation/BESTEST/722190.mos"))); end WD200;

Buildings.BoundaryConditions.Validation.BESTEST.WD300 Buildings.BoundaryConditions.Validation.BESTEST.WD300

Test model for BESTEST weather data: Southern hemisphere case

Buildings.BoundaryConditions.Validation.BESTEST.WD300

Information

WD300: Southern Hemisphere Case

Weather data file : 855740.epw

Table 1: Site Data for Weather file 855740.epw

Latitude

33.393° south

Longitude

70.786° west

Altitude

474 m

Time Zone

4

Extends from WD100 (Test model for BESTEST weather data: base case).

Parameters

TypeNameDefaultDescription
Anglelat-0.58281779711847Latitude angle [rad]
Realrho0Ground reflectance
Lengthalt474Altitude [m]

Connectors

TypeNameDescription
BusweaBusHHorIRweather bus to read all weather data and Tsky using horizontal radiation
BusweaBusTDryBulTDewPoiOpaWeather bus to read Tsky using dew point temperature and sky cover

Modelica definition

model WD300 "Test model for BESTEST weather data: Southern hemisphere case" extends WD100( lat=-0.58281779711847, rho=0, alt=474, weaDatHHorIR( filNam=Modelica.Utilities.Files.loadResource( "modelica://Buildings/Resources/Data/BoundaryConditions/Validation/BESTEST/855740.mos")), weaDatTDryBulTDewPoinOpa( filNam=Modelica.Utilities.Files.loadResource( "modelica://Buildings/Resources/Data/BoundaryConditions/Validation/BESTEST/855740.mos"))); end WD300;

Buildings.BoundaryConditions.Validation.BESTEST.WD400 Buildings.BoundaryConditions.Validation.BESTEST.WD400

Test model for BESTEST weather data: high latitude case

Buildings.BoundaryConditions.Validation.BESTEST.WD400

Information

WD400: High Latitude Case

Weather data file : 700260.epw

Table 1: Site Data for Weather file 700260.epw

Latitude

71.286° north

Longitude

156.767° west

Altitude

10 m

Time Zone

9

Extends from WD100 (Test model for BESTEST weather data: base case).

Parameters

TypeNameDefaultDescription
Anglelat1.2441754105767Latitude angle [rad]
Realrho0Ground reflectance
Lengthalt10Altitude [m]

Connectors

TypeNameDescription
BusweaBusHHorIRweather bus to read all weather data and Tsky using horizontal radiation
BusweaBusTDryBulTDewPoiOpaWeather bus to read Tsky using dew point temperature and sky cover

Modelica definition

model WD400 "Test model for BESTEST weather data: high latitude case" extends WD100( lat=1.2441754105767, rho=0, alt=10, weaDatHHorIR( filNam=Modelica.Utilities.Files.loadResource( "modelica://Buildings/Resources/Data/BoundaryConditions/Validation/BESTEST/700260.mos")), weaDatTDryBulTDewPoinOpa( filNam=Modelica.Utilities.Files.loadResource( "modelica://Buildings/Resources/Data/BoundaryConditions/Validation/BESTEST/700260.mos"))); end WD400;

Buildings.BoundaryConditions.Validation.BESTEST.WD500 Buildings.BoundaryConditions.Validation.BESTEST.WD500

Test model for BESTEST weather data: time zone case

Buildings.BoundaryConditions.Validation.BESTEST.WD500

Information

WD500: Time Zone Case

Weather data file : 421810.epw

Table 1: Site Data for Weather file 421810epw

Latitude

28.567° north

Longitude

77.103° west

Altitude

236.9 m

Time Zone

-5.5

Extends from WD100 (Test model for BESTEST weather data: base case).

Parameters

TypeNameDefaultDescription
Anglelat0.49858820742Latitude angle [rad]
Realrho0Ground reflectance
Lengthalt236.8Altitude [m]

Connectors

TypeNameDescription
BusweaBusHHorIRweather bus to read all weather data and Tsky using horizontal radiation
BusweaBusTDryBulTDewPoiOpaWeather bus to read Tsky using dew point temperature and sky cover

Modelica definition

model WD500 "Test model for BESTEST weather data: time zone case" extends WD100( lat=0.49858820742, rho=0, alt=236.8, weaDatHHorIR( filNam=Modelica.Utilities.Files.loadResource( "modelica://Buildings/Resources/Data/BoundaryConditions/Validation/BESTEST/421810.mos")), weaDatTDryBulTDewPoinOpa( filNam=Modelica.Utilities.Files.loadResource( "modelica://Buildings/Resources/Data/BoundaryConditions/Validation/BESTEST/421810.mos"))); end WD500;

Buildings.BoundaryConditions.Validation.BESTEST.WD600 Buildings.BoundaryConditions.Validation.BESTEST.WD600

Test model for BESTEST weather data: ground reflectance

Buildings.BoundaryConditions.Validation.BESTEST.WD600

Information

WD600: Ground Reflactance

Weather data file : WD600.epw

Table 1: Site Data for Weather file WD600.epw

Latitude

39.833° north

Longitude

104.65° west

Altitude

1650 m

Time Zone

7

Extends from WD100 (Test model for BESTEST weather data: base case).

Parameters

TypeNameDefaultDescription
Anglelat0.6952170009469Latitude angle [rad]
Realrho0.2Ground reflectance
Lengthalt1650Altitude [m]

Connectors

TypeNameDescription
BusweaBusHHorIRweather bus to read all weather data and Tsky using horizontal radiation
BusweaBusTDryBulTDewPoiOpaWeather bus to read Tsky using dew point temperature and sky cover

Modelica definition

model WD600 "Test model for BESTEST weather data: ground reflectance" extends WD100( lat=0.6952170009469, rho=0.2, alt=1650, weaDatHHorIR( filNam=Modelica.Utilities.Files.loadResource( "modelica://Buildings/Resources/Data/BoundaryConditions/Validation/BESTEST/WD600.mos")), weaDatTDryBulTDewPoinOpa( filNam=Modelica.Utilities.Files.loadResource( "modelica://Buildings/Resources/Data/BoundaryConditions/Validation/BESTEST/WD600.mos"))); end WD600;