|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface CustomerModelAccessor
Defines an interface for access to customer model details
that support tariff evaluation. This includes generation of per-tariff
customer usage/production profiles.
Required by TariffEvaluationHelper.
Profiles can be for a full day, a full week,
or whatever time period makes sense for the customer. Usage may be for
a single individual customer or for the entire population.
Results are normalized by the tariff evaluation process, so the
only requirement is that all profiles for a given customer use the
same time period (and the same weather), and the same population.
| Method Summary | |
|---|---|
double |
getBrokerSwitchFactor(boolean isSuperseding)
Returns the inconvenience of switching brokers. |
double[] |
getCapacityProfile(org.powertac.common.Tariff tariff)
Returns a capacity profile for the given tariff. |
org.powertac.common.CustomerInfo |
getCustomerInfo()
Returns the CustomerInfo instance for this customer model. |
double |
getInertiaSample()
Returns a [0,1] random value used to choose whether individual customers evaluate tariffs or not. |
double |
getTariffChoiceSample()
Returns a [0,1] random value used to make choices using the logit choice model. |
| Method Detail |
|---|
org.powertac.common.CustomerInfo getCustomerInfo()
double[] getCapacityProfile(org.powertac.common.Tariff tariff)
double getBrokerSwitchFactor(boolean isSuperseding)
double getTariffChoiceSample()
double getInertiaSample()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||