public class balancedLoadSetPoints
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private double |
demand |
private int |
nr_of_gen |
private double[] |
up_limit |
private double[] |
w_max |
Constructor and Description |
---|
balancedLoadSetPoints(double[] w_max,
double[] up_limit)
Constructor that sets the variables
|
Modifier and Type | Method and Description |
---|---|
double[] |
calculateOptimalLoad()
interface to the optimal load algorithm
|
double[] |
getW_max()
Returns the maximum power for each generator
|
double[] |
OptimalLoad()
Contains the optimal load algorithm
|
void |
setDemand(double demand)
Sets the power demand
|
private int nr_of_gen
private double[] w_max
private double[] up_limit
private double demand
public balancedLoadSetPoints(double[] w_max, double[] up_limit)
w_max
- Contains the maximum power for each generatorpublic double[] getW_max()
public void setDemand(double demand)
demand
- Power demandpublic double[] calculateOptimalLoad()
public double[] OptimalLoad()