Class SOLwindow

java.lang.Object
  |
  +--SOLsurfaceBase
        |
        +--SOLsurface
              |
              +--SOLwindow

public class SOLwindow
extends SOLsurface

This class represents a surface of specific area exposed to the sun. The SOLorientation object required by the constructor specifies the surface's orientation and location on Earth's surface. It contains methods to calculate solar radiation falling on the surface.


Field Summary
static int CONDUCTIVE_COST
           
static int CONDUCTIVE_GAIN
           
static int DIFFUSE_GAIN
           
static int DIFFUSE_RADIATION
           
static int DIFFUSE_RADIATION_COST
           
static int DIRECT_GAIN
           
static int DIRECT_RADIATION
           
static int DIRECT_RADIATION_COST
           
static int[] field_types
           
static java.lang.String[] fields
           
static int GROUND_REFLECTED_GAIN
           
static int GROUND_REFLECTED_RADIATION
           
static int GROUND_REFLECTED_RADIATION_COST
           
protected  double shgc
           
static int TOTAL_COST
           
static int TOTAL_GAIN
           
static int TOTAL_RADIANT_GAIN
           
static int TOTAL_RADIATION
           
static int TOTAL_RADIATION_COST
           
protected  double uvalue
           
 
Fields inherited from class SOLsurface
base_fields, DIFFUSE_IRRADIANCE, DIFFUSE_IRRADIANCE_SIMPLE, DIFFUSE_RADATION_SIMPLE, DIFFUSE_RADIATION, DIRECT_IRRADIANCE, DIRECT_RADIATION, field_types, GROUND_REFLECTED_IRRADIANCE, GROUND_REFLECTED_RADIATION, tmystuff, TOTAL_RADIATION
 
Fields inherited from class SOLsurfaceBase
area, location, name, orientation, rho
 
Constructor Summary
SOLwindow(TMYdata tmystuff, SOLorientation orientation, double area, double rho, double uvalue, double shgc, hvac hvc, java.lang.String name)
          Create a SOLwindow object, given A SOLorientation object, The area of the surface (m2), The ground reflectance.
 
Method Summary
 double getConductiveCost(int month, int day, int hour)
          Calculate the cost of energy to deal with heat gain through the window due to thermal conduction.
 double getConductiveGain(int month, int day, int hour)
          Calculate the heat gain through the window (in Watts) due to thermal conduction.
 double getDiffuseRadiantGain(int month, int day, int hour)
          Calculate the heat gain through the window (in Watts) due to diffuse solar radiation.
 double getDiffuseRadiationCost(int month, int day, int hour)
          Calculate the cost of energy to deal with heat gain through the window due to diffuse radiation.
 double getDirectRadiantGain(int month, int day, int hour)
          Calculate the heat gain through the window (in Watts) due to direct solar radiation.
 double getDirectRadiationCost(int month, int day, int hour)
          Calculate the cost of energy to deal with heat gain through the window due to direct radiation.
 java.lang.String[] getFields()
          Part of the CWmonitorable interface.
 int[] getFieldTypes()
          Returns the list of types of the monitorable fields.
 double getGroundRadiationCost(int month, int day, int hour)
          Calculate the cost of energy to deal with heat gain through the window due to ground reflected radiation.
 double getGroundReflectedRadiantGain(int month, int day, int hour)
          Calculate the heat gain through the window (in Watts) due to ground reflected solar radiation.
 double getTotalCost(int month, int day, int hour)
           
 double getTotalGain(int month, int day, int hour)
          Calculate the heat gain through the window (in Watts per square meter) due all sources (direct, diffuse, and ground reflected solar radiation, plus thermal conduction).
 double getTotalRadiantGain(int month, int day, int hour)
          Calculate the heat gain through the window (in Watts per square meter) from radiant sources (direct, diffuse, and ground reflected solar radiation).
 double getTotalRadiationCost(int month, int day, int hour)
          Calculate the cost of energy to deal with heat gain through the window due to total solar radiation.
 double getValue(int month, int day, int hour, int fieldnum)
           
 
Methods inherited from class SOLsurface
getDiffuseIrradiance, getDiffuseIrradianceSimple, getDiffuseRadiation, getDiffuseRadiationSimple, getDirectIrradiance, getDirectRadiation, getGroundReflectedIrradiance, getGroundReflectedIrradiance, getGroundReflectedRadiation, getGroundReflectedRadiation, getTotalIncidentRadiation, nextInstanceNumber
 
Methods inherited from class SOLsurfaceBase
getArea, getDiffuseIrradiance, getDiffuseIrradianceSimple, getDiffuseRadiation, getDiffuseRadiationSimple, getDirectIrradiance, getDirectRadiation, getName, getTotalIncidentRadiation, setArea, setRho
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DIFFUSE_RADIATION

public static final int DIFFUSE_RADIATION

GROUND_REFLECTED_RADIATION

public static final int GROUND_REFLECTED_RADIATION

DIRECT_RADIATION

public static final int DIRECT_RADIATION

TOTAL_RADIATION

public static final int TOTAL_RADIATION

DIFFUSE_GAIN

public static final int DIFFUSE_GAIN

GROUND_REFLECTED_GAIN

public static final int GROUND_REFLECTED_GAIN

DIRECT_GAIN

public static final int DIRECT_GAIN

TOTAL_RADIANT_GAIN

public static final int TOTAL_RADIANT_GAIN

CONDUCTIVE_GAIN

public static final int CONDUCTIVE_GAIN

TOTAL_GAIN

public static final int TOTAL_GAIN

DIFFUSE_RADIATION_COST

public static final int DIFFUSE_RADIATION_COST

GROUND_REFLECTED_RADIATION_COST

public static final int GROUND_REFLECTED_RADIATION_COST

DIRECT_RADIATION_COST

public static final int DIRECT_RADIATION_COST

TOTAL_RADIATION_COST

public static final int TOTAL_RADIATION_COST

CONDUCTIVE_COST

public static final int CONDUCTIVE_COST

TOTAL_COST

public static final int TOTAL_COST

fields

public static java.lang.String[] fields

field_types

public static int[] field_types

shgc

protected double shgc

uvalue

protected double uvalue
Constructor Detail

SOLwindow

public SOLwindow(TMYdata tmystuff,
                 SOLorientation orientation,
                 double area,
                 double rho,
                 double uvalue,
                 double shgc,
                 hvac hvc,
                 java.lang.String name)
Create a SOLwindow object, given
Method Detail

getDirectRadiantGain

public double getDirectRadiantGain(int month,
                                   int day,
                                   int hour)
Calculate the heat gain through the window (in Watts) due to direct solar radiation.

getDiffuseRadiantGain

public double getDiffuseRadiantGain(int month,
                                    int day,
                                    int hour)
Calculate the heat gain through the window (in Watts) due to diffuse solar radiation.

getGroundReflectedRadiantGain

public double getGroundReflectedRadiantGain(int month,
                                            int day,
                                            int hour)
Calculate the heat gain through the window (in Watts) due to ground reflected solar radiation.

getConductiveGain

public double getConductiveGain(int month,
                                int day,
                                int hour)
Calculate the heat gain through the window (in Watts) due to thermal conduction.

getTotalRadiantGain

public double getTotalRadiantGain(int month,
                                  int day,
                                  int hour)
Calculate the heat gain through the window (in Watts per square meter) from radiant sources (direct, diffuse, and ground reflected solar radiation).

getTotalGain

public double getTotalGain(int month,
                           int day,
                           int hour)
Calculate the heat gain through the window (in Watts per square meter) due all sources (direct, diffuse, and ground reflected solar radiation, plus thermal conduction).

getDiffuseRadiationCost

public double getDiffuseRadiationCost(int month,
                                      int day,
                                      int hour)
Calculate the cost of energy to deal with heat gain through the window due to diffuse radiation. If outdoor temperature is less than the heating temperature setpoint, we assume that we are heating, and the radiant gain is beneficial, hence this function returns a negative cost.

getDirectRadiationCost

public double getDirectRadiationCost(int month,
                                     int day,
                                     int hour)
Calculate the cost of energy to deal with heat gain through the window due to direct radiation. If outdoor temperature is less than the heating temperature setpoint, we assume that we are heating, and the radiant gain is beneficial, hence this function returns a negative cost.

getGroundRadiationCost

public double getGroundRadiationCost(int month,
                                     int day,
                                     int hour)
Calculate the cost of energy to deal with heat gain through the window due to ground reflected radiation. If outdoor temperature is less than the heating temperature setpoint, we assume that we are heating, and the radiant gain is beneficial, hence this function returns a negative cost.

getTotalRadiationCost

public double getTotalRadiationCost(int month,
                                    int day,
                                    int hour)
Calculate the cost of energy to deal with heat gain through the window due to total solar radiation. If outdoor temperature is less than the heating temperature setpoint, we assume that we are heating, and the radiant gain is beneficial, hence this function returns a negative cost.

getConductiveCost

public double getConductiveCost(int month,
                                int day,
                                int hour)
Calculate the cost of energy to deal with heat gain through the window due to thermal conduction. If outdoor temperature is less than the heating temperature setpoint, we assume that we are heating. If it is greater than the cooling temperature setpoint, we assume cooling.

getTotalCost

public double getTotalCost(int month,
                           int day,
                           int hour)

getValue

public double getValue(int month,
                       int day,
                       int hour,
                       int fieldnum)
Overrides:
getValue in class SOLsurface

getFields

public java.lang.String[] getFields()
Part of the CWmonitorable interface.
Overrides:
getFields in class SOLsurface

getFieldTypes

public int[] getFieldTypes()
Returns the list of types of the monitorable fields. Part of the CWmonitorable interface. Used for unit conversions. Types are defined in class UnitConverter.
Overrides:
getFieldTypes in class SOLsurface