|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--hvac
Describes the characteristics of a HVAC system, and provides related mtehods.
Constructor Summary | |
hvac(double hcop,
double ccop,
double th,
double tc,
Utility heating_util,
Utility cooling_util)
Creates an instance of the hvac class, given the COP of the heating system, the COP of the cooling system, the heating set temperature, the cooling set temperature, a Utility object representing the source of heating energy, a Utility object representing the source of cooling energy. |
Method Summary | |
double |
getCoolingCOP()
Returns the current Coefficient of Performance for cooling. |
double |
getCoolingCost(double kwh)
Returns the cost (in dollars) of energy used in cooling, based on costs in the current Utility object and the current type of heat, given the heating requirement, in kilowatt hours. |
double |
getCoolingTemp()
Gets the current thermostat setting (in C) for cooling. |
Utility |
getCoolingUtil()
Returns the current cooling Utility object. |
double |
getHeatingCOP()
Returns the current Coefficient of Performance for heating. |
double |
getHeatingCost(double kwh)
Returns the cost (in dollars) of energy used in heating, based on costs in the current Utility object and the current type of heat, given the heating requirement, in kilowatt hours. |
double |
getHeatingTemp()
Gets the current thermostat setting (in C) for heating. |
Utility |
getHeatingUtil()
Returns the current heating Utility object. |
void |
setCoolingCOP(double cop)
Sets the current Coefficient of Performance for cooling. |
void |
setCoolingTemp(int tc)
Sets the current thermostat for cooling. |
void |
setCoolingUtil(Utility util)
Sets the current cooling Utility object. |
void |
setHeatingCOP(double cop)
Sets the current Coefficient of Performance for Heating. |
void |
setHeatingTemp(int th)
Sets the current thermostat for heating. |
void |
setHeatingUtil(Utility util)
Sets the current heating Utility object. |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
Constructor Detail |
public hvac(double hcop, double ccop, double th, double tc, Utility heating_util, Utility cooling_util)
Creates an instance of the hvac class, given
Method Detail |
public double getHeatingCOP()
public void setHeatingCOP(double cop)
public double getCoolingCOP()
public void setCoolingCOP(double cop)
public double getHeatingTemp()
public void setHeatingTemp(int th)
public double getCoolingTemp()
public void setCoolingTemp(int tc)
public Utility getHeatingUtil()
public Utility getCoolingUtil()
public void setHeatingUtil(Utility util)
public void setCoolingUtil(Utility util)
public double getHeatingCost(double kwh)
public double getCoolingCost(double kwh)
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |