Package org.powertac.factoredcustomer
Class CapacityStructure
- java.lang.Object
-
- org.powertac.factoredcustomer.CapacityStructure
-
- All Implemented Interfaces:
StructureInstance
public final class CapacityStructure extends Object implements StructureInstance
Data-holder class for parsed configuration elements of one capacity.- Author:
- Prashant Reddy, Govert Buijs
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
CapacityStructure.BaseCapacityType
static class
CapacityStructure.ElasticityModelType
static class
CapacityStructure.InfluenceKind
-
Constructor Summary
Constructors Constructor Description CapacityStructure(String name)
-
Method Summary
-
-
-
Constructor Detail
-
CapacityStructure
public CapacityStructure(String name)
-
-
Method Detail
-
initialize
public void initialize(FactoredCustomerService service)
-
getName
public String getName()
- Specified by:
getName
in interfaceStructureInstance
-
getBaseCapacityType
public CapacityStructure.BaseCapacityType getBaseCapacityType()
-
isIndividual
public boolean isIndividual()
True just in case the baseCapacityType is INDIVIDUAL
-
getBasePopulationCapacity
public ProbabilityDistribution getBasePopulationCapacity()
-
getBaseIndividualCapacity
public ProbabilityDistribution getBaseIndividualCapacity()
-
getUpRegulationLimit
public double getUpRegulationLimit()
-
getDownRegulationLimit
public double getDownRegulationLimit()
-
getPeriodicSkew
public double getPeriodicSkew(int day, int hour)
-
getTemperatureInfluence
public CapacityStructure.InfluenceKind getTemperatureInfluence()
-
getTemperatureFactor
public double getTemperatureFactor(int temperature)
-
getTemperatureReference
public double getTemperatureReference()
-
getWindSpeedInfluence
public CapacityStructure.InfluenceKind getWindSpeedInfluence()
-
getWindspeedFactor
public double getWindspeedFactor(int windspeed)
-
getWindDirectionInfluence
public CapacityStructure.InfluenceKind getWindDirectionInfluence()
-
getWindDirectionFactor
public double getWindDirectionFactor(int windDirection)
-
getCloudCoverInfluence
public CapacityStructure.InfluenceKind getCloudCoverInfluence()
-
getCloudCoverFactor
public double getCloudCoverFactor(int cloudCover)
-
getBenchmarkRate
public double getBenchmarkRate(int hour)
-
getElasticityModelType
public CapacityStructure.ElasticityModelType getElasticityModelType()
-
determineContinuousElasticityFactor
public double determineContinuousElasticityFactor(double rateRatio)
-
getElasticity
public double[][] getElasticity()
-
-