Package org.powertac.common.interfaces
Interface CustomerModelAccessor
- 
 public interface CustomerModelAccessorDefines an interface for access to customer model details that support tariff evaluation. This includes generation of per-tariff customer usage/production profiles. Required byTariffEvaluationHelper. 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.- Author:
- John Collins
 
- 
- 
Method SummaryAll Methods Instance Methods Abstract Methods Modifier and Type Method Description doublegetBrokerSwitchFactor(boolean isSuperseding)Returns a [0,1] value representing the inconvenience of switching brokers.CapacityProfilegetCapacityProfile(Tariff tariff)Returns a capacity profile for the given tariff.CustomerInfogetCustomerInfo()Returns the CustomerInfo instance for this customer model.doublegetInertiaSample()Returns a [0,1] random value used to choose whether individual customers evaluate tariffs or not.doublegetShiftingInconvenienceFactor(Tariff tariff)Returns a [0,1] value representing the inconvenience of dealing with curtailment in exchange for a lower price.doublegetTariffChoiceSample()Returns a [0,1] random value used to make choices using the logit choice model.
 
- 
- 
- 
Method Detail- 
getCustomerInfoCustomerInfo getCustomerInfo() Returns the CustomerInfo instance for this customer model.
 - 
getCapacityProfileCapacityProfile getCapacityProfile(Tariff tariff) Returns a capacity profile for the given tariff. This must represent the usage of a single individual in a population model over some model-specific time period.
 - 
getBrokerSwitchFactordouble getBrokerSwitchFactor(boolean isSuperseding) Returns a [0,1] value representing the inconvenience of switching brokers. The value may depend on whether the current subscription is being switched to a superseding tariff as a result of revocation.
 - 
getTariffChoiceSampledouble getTariffChoiceSample() Returns a [0,1] random value used to make choices using the logit choice model.
 - 
getInertiaSampledouble getInertiaSample() Returns a [0,1] random value used to choose whether individual customers evaluate tariffs or not.
 - 
getShiftingInconvenienceFactordouble getShiftingInconvenienceFactor(Tariff tariff) Returns a [0,1] value representing the inconvenience of dealing with curtailment in exchange for a lower price.
 
- 
 
-