public class RegulationCapacity extends Object
| Modifier and Type | Field and Description |
|---|---|
protected static org.apache.log4j.Logger |
log |
| Constructor and Description |
|---|
RegulationCapacity(double upRegulationCapacity,
double downRegulationCapacity)
Creates a new RegulationCapacity instance specifying the amounts of
regulating capacity available for up-regulation and down-regulation.
|
| Modifier and Type | Method and Description |
|---|---|
void |
add(RegulationCapacity rc)
Adds the capacities in the given RegulationCapacity 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 RegulationCapacity(double upRegulationCapacity,
double downRegulationCapacity)
public long getId()
public double getUpRegulationCapacity()
public void setUpRegulationCapacity(double value)
public double getDownRegulationCapacity()
public void setDownRegulationCapacity(double value)
public void add(RegulationCapacity rc)
public void addUpRegulation(double amount)
public void addDownRegulation(double amount)
Copyright © 2014 Power TAC. All Rights Reserved.