public class RegulationAccumulator extends Object
| Modifier and Type | Field and Description |
|---|---|
protected static org.apache.logging.log4j.Logger |
log |
| Constructor and Description |
|---|
RegulationAccumulator(double upRegulationCapacity,
double downRegulationCapacity)
Creates a new RegulationAccumulator instance specifying the amounts of
regulating capacity available for up-regulation and down-regulation.
|
RegulationAccumulator(RegulationCapacity rc)
Creates a new RegulationAccumulator from an immutable
RegulationCapacity instance.
|
| Modifier and Type | Method and Description |
|---|---|
void |
add(RegulationAccumulator rc)
Adds the capacities in the given RegulationAccumulator instance to this
instance.
|
void |
addDownRegulation(double amount)
Adds the given amount of down-regulation capacity.
|
void |
addUpRegulation(double amount)
Adds the given amount of up-regulation capacity.
|
double |
getDownRegulationCapacity()
Returns the available down-regulation capacity in kWh.
|
long |
getId() |
double |
getUpRegulationCapacity()
Returns the available up-regulation capacity in kWh.
|
void |
setDownRegulationCapacity(double value)
Sets the down-regulation value.
|
void |
setUpRegulationCapacity(double value)
Sets the up-regulation value.
|
public RegulationAccumulator(double upRegulationCapacity,
double downRegulationCapacity)
public RegulationAccumulator(RegulationCapacity rc)
public long getId()
public double getUpRegulationCapacity()
public void setUpRegulationCapacity(double value)
public double getDownRegulationCapacity()
public void setDownRegulationCapacity(double value)
public void add(RegulationAccumulator rc)
public void addUpRegulation(double amount)
public void addDownRegulation(double amount)
Copyright © 2016 Power TAC. All Rights Reserved.