public class DefaultCapacityBundle extends Object implements CapacityBundle, StructureInstance
| Modifier and Type | Field and Description |
|---|---|
protected boolean |
canNegotiate |
protected List<CapacityOriginator> |
capacityOriginators |
protected double |
controllableKW |
protected int |
count |
protected String |
customerSize |
protected double |
downRegulationKW |
protected boolean |
isAdaptive |
protected boolean |
multiContracting |
protected String |
name |
protected int |
population |
protected FactoredCustomerService |
service |
protected double |
storageCapacity |
protected String |
type |
protected double |
upRegulationKW |
| Constructor and Description |
|---|
DefaultCapacityBundle(String name) |
| Modifier and Type | Method and Description |
|---|---|
protected CapacityOriginator |
createCapacityOriginator(CapacityStructure capacityStructure) |
List<CapacityOriginator> |
getCapacityOriginators() |
CustomerInfo |
getCustomerInfo() |
String |
getName() |
ProfileOptimizerStructure |
getOptimizerStructure() |
int |
getPopulation() |
org.powertac.common.enumerations.PowerType |
getPowerType() |
TariffSubscriberStructure |
getSubscriberStructure() |
void |
initialize(FactoredCustomerService service,
CustomerStructure customerStructure) |
boolean |
isAllIndividual()
True just in case all CapacityOriginators in this bundle are INDIVIDUAL
|
protected FactoredCustomerService service
protected String name
@ConfigurableValue(description="Number of capacity structures expected", valueType="Integer", dump=false) protected int count
@ConfigurableValue(valueType="Integer") protected int population
@ConfigurableValue(description="PowerType for this bundle", valueType="String", dump=false) protected String type
@ConfigurableValue(valueType="String", dump=false) protected String customerSize
@ConfigurableValue(description="If true, then this bundle can divide itself among multiple tariffs", valueType="Boolean", dump=false) protected boolean multiContracting
@ConfigurableValue(description="Unsupported, value ignored", valueType="Boolean", dump=false) protected boolean canNegotiate
@ConfigurableValue(description="Maximum curtailment per timeslot", valueType="Double", dump=false) protected double controllableKW
@ConfigurableValue(description="Maximum storage discharge per timeslot", valueType="Double", dump=false) protected double upRegulationKW
@ConfigurableValue(description="Maximum down-regulation (energy absorbed) per timeslot", valueType="Double", dump=false) protected double downRegulationKW
@ConfigurableValue(description="", valueType="Double", dump=false) protected double storageCapacity
@ConfigurableValue(valueType="Boolean", dump=false) protected boolean isAdaptive
protected List<CapacityOriginator> capacityOriginators
public DefaultCapacityBundle(String name)
public void initialize(FactoredCustomerService service, CustomerStructure customerStructure)
initialize in interface CapacityBundleprotected CapacityOriginator createCapacityOriginator(CapacityStructure capacityStructure)
public String getName()
getName in interface CapacityBundlegetName in interface StructureInstancepublic int getPopulation()
getPopulation in interface CapacityBundlepublic org.powertac.common.enumerations.PowerType getPowerType()
getPowerType in interface CapacityBundlepublic CustomerInfo getCustomerInfo()
getCustomerInfo in interface CapacityBundlepublic TariffSubscriberStructure getSubscriberStructure()
getSubscriberStructure in interface CapacityBundlepublic ProfileOptimizerStructure getOptimizerStructure()
getOptimizerStructure in interface CapacityBundlepublic List<CapacityOriginator> getCapacityOriginators()
getCapacityOriginators in interface CapacityBundlepublic boolean isAllIndividual()
CapacityBundleisAllIndividual in interface CapacityBundleCopyright © 2018 Power TAC. All rights reserved.