public class CopyMachine extends Appliance
applianceOf, cycleDuration, log, name, overallPower, power, randomSeedRepo, saturation| Constructor and Description |
|---|
CopyMachine() |
| Modifier and Type | Method and Description |
|---|---|
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,
org.joda.time.Instant start)
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.
|
createWeeklyPossibilityOperationVector, fillWeeklyOperation, getApplianceOf, getDuration, getOperationDaysVector, getOverallPower, getPower, getSaturation, getWeeklyLoadVector, getWeeklyOperation, setApplianceOf, setOperationDays, showStatus, toString, weatherDailyFunctionpublic void initialize(String office, Properties conf, int seed)
Applianceinitialize in class Appliancepublic void fillDailyOperation(int weekday)
AppliancefillDailyOperation in class Appliancepublic double[] dailyShifting(org.powertac.common.Tariff tariff,
double[] nonDominantUsage,
org.powertac.common.TariffEvaluationHelper tariffEvalHelper,
int day,
org.joda.time.Instant start)
AppliancedailyShifting in class Appliancepublic void calculateOverallPower()
AppliancecalculateOverallPower in class ApplianceCopyright © 2016 Power TAC. All Rights Reserved.