|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object snl.ccss.jpowerflow.util.Utilities
public class Utilities
This class is a place holder for common utilities needed by either the solvers created in this package or by other classes that might use this package. All methods should be static.
Field Summary | |
---|---|
static Matrix |
jacobian
Latest update of the Jacobian matrix, updated by FullNewton or DecoupledNewton class. |
static HashMap |
jacobianMap
Latest update of the Jacobian map, updated by calling createJacobianMap. |
Constructor Summary | |
---|---|
Utilities()
|
Method Summary | |
---|---|
static void |
createJacobianMap(List busList)
This method creates a new Jacobain map with an ACPFBus as the key and its corresponding Jacobian diagonal value as the value. |
static double[] |
getInverseSensitivities(double[] busArray)
|
static double |
getMvarVoltageSensitivity(int position)
|
static void |
printJacobian()
This method prints the Jacobian matrix in a readable matrix-style format. |
static double |
roundDouble(double d,
int places)
This method rounds the double value given to the nth decimal place given. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static Matrix jacobian
public static HashMap jacobianMap
Constructor Detail |
---|
public Utilities()
Method Detail |
---|
public static double[] getInverseSensitivities(double[] busArray)
public static double getMvarVoltageSensitivity(int position)
public static void createJacobianMap(List busList)
busList
- List of bus objects in the power systempublic static void printJacobian()
public static double roundDouble(double d, int places)
d
- Double value to be roundedplaces
- Number of decimal places to round to
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |