public class SFOCVector
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private double[][] |
vec |
Constructor and Description |
---|
SFOCVector(double[][] SFOC_meas)
Constructor that creates the SFOC vector from 12 points.
|
Modifier and Type | Method and Description |
---|---|
double |
getValueOfIndex(double index,
int gen)
Returns the SFOC of a given load.
|
double[][] |
getVec()
Returns the SFOC vector
|
public SFOCVector(double[][] SFOC_meas)
SFOC_meas
- Input vector containing 12 SFOC points for each generatorpublic double[][] getVec()
public double getValueOfIndex(double index, int gen)
index
- The load of the generatorgen
- Number representing the generator