@Domain(fields={"tariffId","response","upRegulationPayment","downRegulationPayment"}) public class RegulationRate extends RateCore
Modifier and Type | Class and Description |
---|---|
static class |
RegulationRate.ResponseTime |
Constructor and Description |
---|
RegulationRate()
Default constructor only.
|
Modifier and Type | Method and Description |
---|---|
double |
getDownRegulationPayment() |
RegulationRate.ResponseTime |
getResponse() |
double |
getUpRegulationPayment() |
boolean |
isValid(TariffSpecification spec)
Returns true just in case this Rate is internally valid, and valid
with respect to the given TariffSpecification.
|
String |
toString() |
RegulationRate |
withDownRegulationPayment(double payment)
Sets the payment for down-regulation
|
RegulationRate |
withResponse(RegulationRate.ResponseTime time)
Sets the response time
|
RegulationRate |
withUpRegulationPayment(double payment)
Sets the payment for up-regulation
|
getId, getTariffId, setTariffId
readResolve
public RegulationRate()
@StateChange public RegulationRate withResponse(RegulationRate.ResponseTime time)
public RegulationRate.ResponseTime getResponse()
@StateChange public RegulationRate withUpRegulationPayment(double payment)
public double getUpRegulationPayment()
@StateChange public RegulationRate withDownRegulationPayment(double payment)
public double getDownRegulationPayment()
public boolean isValid(TariffSpecification spec)
Copyright © 2019 Power TAC. All rights reserved.