|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface PowerFlowSolver
This interface defines operations for any class that interfaces with a power simulation tool. Operations are defined for performing a power flow analysis on a network, loading a network from a file, and for specifying paths to the simulation tool executable.
| Method Summary | |
|---|---|
Network |
load(java.io.File networkFile)
Loads an initial network file for a simulation. |
void |
setApplicationPath(java.lang.String string)
Sets the application path for the power simulation tool. |
void |
setExecutablePath(java.lang.String octavePath)
Sets the executable path for the power simulation tool. |
SimResults |
solve(Network network)
Performs a power flow analysis/simulation on the given network. |
| Method Detail |
|---|
SimResults solve(Network network)
throws java.lang.Exception
network - The network to perform the analysis on.
java.lang.Exceptionvoid setApplicationPath(java.lang.String string)
string - The application path to set.void setExecutablePath(java.lang.String octavePath)
octavePath -
Network load(java.io.File networkFile)
throws java.io.IOException
networkFile - The file to load the network from.
java.io.IOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||