|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.powertac.householdcustomer.appliances.Appliance
org.powertac.householdcustomer.appliances.WeatherSensitiveAppliance
org.powertac.householdcustomer.appliances.SpaceHeater
public class SpaceHeater
Space Heater is a electric appliance utilized to keep the rooms of a household warm when needed. These devices can work automatically in order to save as much energy as possible, knowing when the room must be warm. So this is a fully shifting appliance.
| Field Summary |
|---|
| Fields inherited from class org.powertac.householdcustomer.appliances.Appliance |
|---|
applianceOf, cycleDuration, log, name, overallPower, power, randomSeedRepo, saturation |
| Constructor Summary | |
|---|---|
SpaceHeater()
|
|
| Method Summary | |
|---|---|
void |
fillDailyOperation(int weekday)
This function fills out all the quarters of the appliance functions for a single day of the week. |
void |
initialize(String household,
Properties conf,
int seed)
This is the initialization function. |
void |
refresh()
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 |
weatherDailyOperation(int day,
int hour,
double temp)
This function fills out the daily function of an appliance for the day. |
| Methods inherited from class org.powertac.householdcustomer.appliances.Appliance |
|---|
calculateOverallPower, createWeeklyPossibilityOperationVector, dailyShifting, fillWeeklyOperation, getApplianceOf, getDuration, getOperationDaysVector, getOverallPower, getPower, getSaturation, getTimes, 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 SpaceHeater()
| Method Detail |
|---|
public void initialize(String household,
Properties conf,
int seed)
Appliance
initialize in class Appliancepublic void fillDailyOperation(int weekday)
Appliance
fillDailyOperation in class Appliance
public void weatherDailyOperation(int day,
int hour,
double temp)
Appliance
weatherDailyOperation in class Appliancepublic void showStatus()
Appliance
showStatus in class Appliancepublic void refresh()
Appliance
refresh in class Appliance
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||