Class SOLorientation

java.lang.Object
  |
  +--SOLorientation

public class SOLorientation
extends java.lang.Object

This class represents the orientation of a surface exposed to sunlight. Its class variables define the surface's position on Earth (a SOLlocation object) and orientation. Its methods calculate the angle of incidence of sunlight falling on it.

Multiple surfaces with this orientation can be defined by SOLsurface objects. All of these are contained in the "surfaces" linked list attached to this SOLorientation object.

The defining parameters of this object can be set using the SOLorientationControl object, which provides a graphical interface.


Field Summary
 SOLlocation location
          The SOLlocation object that defines the location of this orientation.
 java.lang.String name
          Name of the orientation.
 double surface_azimuth
          Azimuth of the surface, in degrees, measured from true south (East is negative, West is positive).
 double surface_tilt
          Tilt angle of the surface, in degrees.
 java.util.Vector surfaces
          Linked List of surfaces with this orientation.
 
Constructor Summary
SOLorientation(SOLlocation location, double surface_azimuth, double surface_tilt, java.lang.String name)
          Create an SOLorientation object, which represents the orientation of a surface exposed to sunlight.
SOLorientation(TMYdata tmystuff, double surface_azimuth, double surface_tilt, java.lang.String name)
          Create an SOLorientation object, which represents the orientation of a surface exposed to sunlight.
 
Method Summary
 double getCosTheta(int daynum, int solar_time)
          Returns cosine of angle between solar radiation and normal to surface, given solar time, in seconds, and day number.
 double getTheta(int daynum, int solar_time)
          Returns angle between solar radiation and normal to surface, given solar time, in seconds, and day number.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

location

public SOLlocation location
The SOLlocation object that defines the location of this orientation.

surface_azimuth

public double surface_azimuth
Azimuth of the surface, in degrees, measured from true south (East is negative, West is positive).

surface_tilt

public double surface_tilt
Tilt angle of the surface, in degrees. Vertical surface is 90.

name

public java.lang.String name
Name of the orientation. For user interface purposes only.

surfaces

public java.util.Vector surfaces
Linked List of surfaces with this orientation.
Constructor Detail

SOLorientation

public SOLorientation(SOLlocation location,
                      double surface_azimuth,
                      double surface_tilt,
                      java.lang.String name)

Create an SOLorientation object, which represents the orientation of a surface exposed to sunlight. The parameters defining the orientation are:


SOLorientation

public SOLorientation(TMYdata tmystuff,
                      double surface_azimuth,
                      double surface_tilt,
                      java.lang.String name)

Create an SOLorientation object, which represents the orientation of a surface exposed to sunlight. The parameters defining the orientation are:

Method Detail

getCosTheta

public double getCosTheta(int daynum,
                          int solar_time)
Returns cosine of angle between solar radiation and normal to surface, given solar time, in seconds, and day number.

getTheta

public double getTheta(int daynum,
                       int solar_time)
Returns angle between solar radiation and normal to surface, given solar time, in seconds, and day number.