public class TariffEvaluationHelper extends Object
| Constructor and Description |
|---|
TariffEvaluationHelper()
Default constructor
|
| Modifier and Type | Method and Description |
|---|---|
double |
estimateCost(Tariff tariff,
double[] usage)
Returns aggregate estimated cost, including periodic charges
|
double |
estimateCost(Tariff tariff,
double[] usage,
boolean includePeriodicCharge)
Estimate the total cost of buying the given amounts of power
from the given tariff, starting in the following timeslot.
|
double[] |
estimateCostArray(Tariff tariff,
double[] usage)
Returns a cost estimate in array form, including periodic charges.
|
double[] |
estimateCostArray(Tariff tariff,
double[] usage,
boolean includePeriodicCharge)
Returns the cost estimate in the form of an array of the same shape
as the usage vector.
|
double |
getExpectedCurtailment()
Returns the expected-curtailment-per-timeslot quantity
|
double |
getExpectedDischarge()
Returns the expected-discharge-per-timeslot quantity
|
double |
getExpectedDownRegulation()
Returns the expected-down-regulation-per-timeslot quantity
|
double |
getNormWtExpected() |
double |
getNormWtMax() |
double |
getSoldThreshold() |
double |
getWtExpected()
Parameter access
|
double |
getWtMax() |
double |
getWtRealized() |
void |
init()
Initializes, without changing parameter settings
|
void |
init(double wtExpected,
double wtMax,
double wtRealized,
double soldThreshold)
Initializes, setting parameters, then normalize the weights for
expectedMean and maxValue.
|
void |
initializeCostFactors(double wtExpected,
double wtMax,
double wtRealized,
double soldThreshold)
Initializes cost factors and normalizes
|
void |
initializeRegulationFactors(double expectedCurtailment,
double expectedDischarge,
double expectedDownReg)
Initializes regulation factors.
|
void |
setSoldThreshold(double st) |
void |
setWtExpected(double wt) |
void |
setWtMax(double wt) |
void |
setWtRealized(double wt) |
public void init(double wtExpected,
double wtMax,
double wtRealized,
double soldThreshold)
public void init()
public void initializeCostFactors(double wtExpected,
double wtMax,
double wtRealized,
double soldThreshold)
public void initializeRegulationFactors(double expectedCurtailment,
double expectedDischarge,
double expectedDownReg)
public double estimateCost(Tariff tariff, double[] usage, boolean includePeriodicCharge)
includePeriodicCharge is true. They do not
include signup or withdrawal charges.
Note that there is a strong assumption that the projected usage
is for a single customer, not the total population in some model.
This assumption is embedded in the structure of usage tiers in the
tariff.public double estimateCost(Tariff tariff, double[] usage)
public double[] estimateCostArray(Tariff tariff, double[] usage, boolean includePeriodicCharge)
includePeriodicCharge is true.public double[] estimateCostArray(Tariff tariff, double[] usage)
public double getWtExpected()
public double getNormWtExpected()
public void setWtExpected(double wt)
public double getWtMax()
public double getNormWtMax()
public void setWtMax(double wt)
public double getWtRealized()
public void setWtRealized(double wt)
public double getSoldThreshold()
public void setSoldThreshold(double st)
public double getExpectedCurtailment()
public double getExpectedDischarge()
public double getExpectedDownRegulation()
Copyright © 2014. All Rights Reserved.