@ConfigurableInstance public class EvSocialClass extends AbstractCustomer
allCustomerInfos, customerInfos, name, rs1, service| Constructor and Description |
|---|
EvSocialClass()
Default constructor, requires manual setting of name
|
EvSocialClass(String name) |
| Modifier and Type | Method and Description |
|---|---|
void |
evaluateTariffs(List<Tariff> tariffs)
This is the basic evaluation function, taking into consideration the
minimum cost without shifting the appliances' load but the tariff chosen
is picked up randomly by using a possibility pattern.
|
void |
initialize()
Hooks up data structures, creates EvCustomers and corresponding
CustomerInfo instances.
|
void |
saveBootstrapState()
Saves state of EvCustomer instances
|
void |
step()
Called to run the model forward one step.
|
String |
toString() |
addCustomerInfo, changeSubscription, getCurrentSubscriptions, getCurrentSubscriptions, getCustId, getCustomerInfo, getCustomerInfoList, getCustomerInfos, getId, getName, getPopulation, lastSunday, nextStartOfDay, setName, setServiceAccessor, setTariffMarket, startOfDaypublic EvSocialClass()
public EvSocialClass(String name)
public void initialize()
initialize in class AbstractCustomerpublic void saveBootstrapState()
saveBootstrapState in class AbstractCustomerpublic void evaluateTariffs(List<Tariff> tariffs)
evaluateTariffs in class AbstractCustomerpublic void step()
AbstractCustomerstep in class AbstractCustomerpublic String toString()
toString in class AbstractCustomerCopyright © 2017 Power TAC. All rights reserved.