LBL logo

Buildings.BoundaryConditions.SolarGeometry

Package with models to compute solar geometry

Information

This package contains models to compute the solar geometry and incidence angles on tilted surfaces.

Extends from Modelica.Icons.VariantsPackage (Icon for package containing variants).

Package Content

NameDescription
Buildings.BoundaryConditions.SolarGeometry.IncidenceAngle IncidenceAngle Solar incidence angle on a tilted surface
Buildings.BoundaryConditions.SolarGeometry.ZenithAngle ZenithAngle Zenith angle
Buildings.BoundaryConditions.SolarGeometry.Examples Examples Collection of models that illustrate model use and test models
Buildings.BoundaryConditions.SolarGeometry.BaseClasses BaseClasses Package with base classes for Buildings.BoundaryConditions.SolarGeometry


Buildings.BoundaryConditions.SolarGeometry.IncidenceAngle Buildings.BoundaryConditions.SolarGeometry.IncidenceAngle

Solar incidence angle on a tilted surface

Buildings.BoundaryConditions.SolarGeometry.IncidenceAngle

Information

This component computes the solar incidence angle on a tilted surface. For a definition of the parameters, see the User's Guide Buildings.BoundaryConditions.UsersGuide.

Extends from Modelica.Blocks.Interfaces.BlockIcon (Basic graphical layout of input/output block).

Parameters

TypeNameDefaultDescription
Anglelat Latitude [rad]
Angleazi Surface azimuth [rad]
Angletil Surface tilt [rad]

Connectors

TypeNameDescription
output RealOutputyIncidence angle [rad]
BusweaBus 

Modelica definition

block IncidenceAngle "Solar incidence angle on a tilted surface"
  extends Modelica.Blocks.Interfaces.BlockIcon;
public 
  parameter Modelica.SIunits.Angle lat "Latitude";
  parameter Modelica.SIunits.Angle azi "Surface azimuth";
  parameter Modelica.SIunits.Angle til "Surface tilt";

  Modelica.Blocks.Interfaces.RealOutput y(
    final quantity="Angle",
    final unit="rad",
    displayUnit="deg") "Incidence angle";
protected 
  Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Declination decAng 
    "Declination angle";
  Buildings.BoundaryConditions.SolarGeometry.BaseClasses.SolarHourAngle
    solHouAng "Solar hour angle";
  Buildings.BoundaryConditions.SolarGeometry.BaseClasses.IncidenceAngle incAng(
    final lat=lat,
    final azi=azi,
    final til=til) "Incidence angle";
public 
  WeatherData.Bus weaBus;
equation 
  connect(incAng.incAng, y);
  connect(decAng.decAng, incAng.decAng);
  connect(solHouAng.solHouAng, incAng.solHouAng);
  connect(weaBus.cloTim, decAng.nDay);
  connect(weaBus.solTim, solHouAng.solTim);
end IncidenceAngle;

Buildings.BoundaryConditions.SolarGeometry.ZenithAngle Buildings.BoundaryConditions.SolarGeometry.ZenithAngle

Zenith angle

Buildings.BoundaryConditions.SolarGeometry.ZenithAngle

Information

This component computes the zenith angle, which is the angle between the earth surface normal and the sun beam. For a definition of the parameters, see the User's Guide Buildings.BoundaryConditions.UsersGuide.

Extends from Modelica.Blocks.Interfaces.BlockIcon (Basic graphical layout of input/output block).

Parameters

TypeNameDefaultDescription
Anglelat Latitude [rad]

Connectors

TypeNameDescription
output RealOutputyZenith angle [rad]
BusweaBus 

Modelica definition

block ZenithAngle "Zenith angle"
  extends Modelica.Blocks.Interfaces.BlockIcon;
public 
  parameter Modelica.SIunits.Angle lat "Latitude";
  Modelica.Blocks.Interfaces.RealOutput y(
    final quantity="Angle",
    final unit="rad",
    displayUnit="deg") "Zenith angle";
protected 
   Buildings.BoundaryConditions.SolarGeometry.BaseClasses.ZenithAngle zen(final lat=lat);
public 
  WeatherData.Bus weaBus;
equation 
  connect(zen.zen, y);
  connect(weaBus.sol.dec, zen.decAng);
  connect(weaBus.sol.solHouAng, zen.solHouAng);
end ZenithAngle;

Automatically generated Thu Jul 26 10:19:44 2012.