|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectsnl.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 flanagan.math.Matrix |
jacobian
Latest update of the Jacobian matrix, updated by FullNewton or DecoupledNewton class. |
static java.util.HashMap |
jacobianMap
Latest update of the Jacobian map, updated by calling createJacobianMap. |
| Constructor Summary | |
|---|---|
Utilities()
|
|
| Method Summary | |
|---|---|
static void |
createJacobianMap(java.util.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 flanagan.math.Matrix jacobian
public static java.util.HashMap jacobianMap
| Constructor Detail |
|---|
public Utilities()
| Method Detail |
|---|
public static double[] getInverseSensitivities(double[] busArray)
public static double getMvarVoltageSensitivity(int position)
public static void createJacobianMap(java.util.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 | |||||||||