|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.powertac.officecomplexcustomer.appliances.Appliance
org.powertac.officecomplexcustomer.appliances.WeatherSensitiveAppliance
org.powertac.officecomplexcustomer.appliances.AirCondition
public class AirCondition
Air Condition is the most common used electrical appliance to date that keeps the household environment in the desired temperature. Usually, it can be used either for cooling or for heating.Thus, it is utilized when people are present in the household.
| Field Summary |
|---|
| Fields inherited from class org.powertac.officecomplexcustomer.appliances.Appliance |
|---|
applianceOf, cycleDuration, log, name, power, saturation |
| Constructor Summary | |
|---|---|
AirCondition()
|
|
| Method Summary | |
|---|---|
void |
fillDailyOperation(int weekday,
Random gen)
This function fills out all the quarters of the appliance functions for a single day of the week. |
void |
initialize(String household,
Properties conf,
Random gen)
This is the initialization function. |
void |
refresh(Random gen)
At the end of each week the appliance models refresh their schedule. |
void |
showStatus()
This is the function utilized to show the information regarding the appliance in question, its variables values etc. |
void |
weatherDailyFunction(int day,
int hour,
double temperature)
This function fills out the daily function of an appliance for the day. |
| Methods inherited from class org.powertac.officecomplexcustomer.appliances.Appliance |
|---|
createWeeklyPossibilityOperationVector, dailyShifting, fillWeeklyOperation, getApplianceOf, getDuration, getPower, getSaturation, getWeeklyLoadVector, getWeeklyOperation, setApplianceOf, setOperationDays, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public AirCondition()
| Method Detail |
|---|
public void initialize(String household,
Properties conf,
Random gen)
Appliance
initialize in class Appliance
public void fillDailyOperation(int weekday,
Random gen)
Appliance
fillDailyOperation in class Appliance
public void weatherDailyFunction(int day,
int hour,
double temperature)
Appliance
weatherDailyFunction in class Appliancepublic void showStatus()
Appliance
showStatus in class Appliancepublic void refresh(Random gen)
Appliance
refresh in class Appliance
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||