Buildings.BoundaryConditions.Validation

Collection of validation models Validation

Information

This package contains models for validation of weather data models.

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

Package Content

Name Description
Buildings.BoundaryConditions.Validation.UsersGuide UsersGuide User's Guide
Buildings.BoundaryConditions.Validation.IsotropicAndPerezDiffuseRadiation IsotropicAndPerezDiffuseRadiation Partial model to run BESTEST validation case studies for weather data processing
Buildings.BoundaryConditions.Validation.BESTEST BESTEST Boundary conditions validation according to BESTEST specifications

Buildings.BoundaryConditions.Validation.IsotropicAndPerezDiffuseRadiation Buildings.BoundaryConditions.Validation.IsotropicAndPerezDiffuseRadiation

Partial model to run BESTEST validation case studies for weather data processing

Buildings.BoundaryConditions.Validation.IsotropicAndPerezDiffuseRadiation

Information

This model outputs the global radiation with a certain inclination and orientation using the isotropic sky model and the Perez sky model. The variable H is the global radiation calculated using the isotropic sky model, while HPer is the global radiation calculated using the Perez sky model.

Extends from Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.PartialSolarIrradiation (Partial model that is used to compute the direct and diffuse solar irradiation).

Parameters

TypeNameDefaultDescription
Angletil Surface tilt [rad]
Anglelat Latitude angle [rad]
Angleazi Azimuth angle [rad]
Realrho0.2Ground reflectance

Connectors

TypeNameDescription
output RealOutputHRadiation per unit area [W/m2]
BusweaBusBus with weather data
output RealOutputHPerRadiation per unit area using Perez Model [W/m2]

Modelica definition

model IsotropicAndPerezDiffuseRadiation "Partial model to run BESTEST validation case studies for weather data processing" extends Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.PartialSolarIrradiation; Modelica.Blocks.Interfaces.RealOutput HPer( final quantity="RadiantEnergyFluenceRate", final unit="W/m2") "Radiation per unit area using Perez Model"; parameter Modelica.SIunits.Angle til( displayUnit="deg") "Surface tilt angle"; parameter Modelica.SIunits.Angle lat( displayUnit="deg") "Latitude angle"; parameter Modelica.SIunits.Angle azi( displayUnit="deg") "Azimuth angle"; parameter Real rho=0.2 "Ground reflectance"; SolarIrradiation.DirectTiltedSurface HDir( til=til, lat=lat, azi=azi) "Direct Irradiation on tilted surface"; SolarIrradiation.DiffuseIsotropic HDiffIso( til=til, rho=rho, outSkyCon=true, outGroCon=true) "Isoentropic diffuse radiation"; SolarIrradiation.DiffusePerez HDiffPer( til=til, rho=rho, lat=lat, azi=azi, outSkyCon=true, outGroCon=true) "Diffused radiation using Perez"; protected Modelica.Blocks.Math.Add addHDirHDiffIso "Sum of Direct radiation and Isoentropic radiation"; Modelica.Blocks.Math.Add addHDirHDiffPer "Sum of Direct radiation and Perez radiation"; equation connect(weaBus,HDiffIso.weaBus); connect(HDir.weaBus,HDiffIso.weaBus); connect(HDiffPer.weaBus,HDiffIso.weaBus); connect(HDir.H,addHDirHDiffPer.u1); connect(HDiffPer.H,addHDirHDiffPer.u2); connect(HDiffIso.H,addHDirHDiffIso.u1); connect(HDir.H,addHDirHDiffIso.u2); connect(addHDirHDiffIso.y,H); connect(addHDirHDiffPer.y,HPer); end IsotropicAndPerezDiffuseRadiation;