|
||||||||||
| 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.MicrowaveOven
public class MicrowaveOven
MicrowaveOven is the kitchen utility we use for cooking. It is use at least twice a day depending on the number of tenants. The tenants should be present when functioning so this is a not shifting appliance.
| Field Summary |
|---|
| Fields inherited from class org.powertac.officecomplexcustomer.appliances.Appliance |
|---|
applianceOf, cycleDuration, log, name, overallPower, power, randomSeedRepo, saturation |
| Constructor Summary | |
|---|---|
MicrowaveOven()
|
|
| Method Summary | |
|---|---|
void |
calculateOverallPower()
This is an function created to estimate the overall power consumption of a certain appliance in a single operation the vectors of each appliance during the runtime. |
double[] |
dailyShifting(org.powertac.common.Tariff tariff,
double[] nonDominantUsage,
org.powertac.common.TariffEvaluationHelper tariffEvalHelper,
int day)
This is a complex function that changes the appliance's function in order to have the most cost effective operation load in a day schedule. |
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 office,
Properties conf,
int seed)
This is the initialization function. |
void |
refresh()
At the end of each week the appliance models refresh their schedule. |
| Methods inherited from class org.powertac.officecomplexcustomer.appliances.Appliance |
|---|
createWeeklyPossibilityOperationVector, fillWeeklyOperation, getApplianceOf, getDuration, getOperationDaysVector, getOverallPower, getPower, getSaturation, getWeeklyLoadVector, getWeeklyOperation, setApplianceOf, setOperationDays, showStatus, toString, weatherDailyFunction |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public MicrowaveOven()
| Method Detail |
|---|
public void initialize(String office,
Properties conf,
int seed)
Appliance
initialize in class Appliancepublic void fillDailyOperation(int weekday)
Appliance
fillDailyOperation in class Appliance
public double[] dailyShifting(org.powertac.common.Tariff tariff,
double[] nonDominantUsage,
org.powertac.common.TariffEvaluationHelper tariffEvalHelper,
int day)
Appliance
dailyShifting in class Appliancepublic void calculateOverallPower()
Appliance
calculateOverallPower 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 | |||||||||