|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectgridiq.poweranalysis.PSATSolver
public class PSATSolver
This class enables GridIQ to interact with the PSAT power simulation tool using Gnu Octave. System commands are issued to Octave to run power flow analyses as an external process.
Constructor Summary | |
---|---|
PSATSolver()
|
Method Summary | |
---|---|
Network |
load(java.io.File networkFile)
Loads an initial network file for a simulation. |
void |
setApplicationPath(java.lang.String appPath)
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PSATSolver()
Method Detail |
---|
public SimResults solve(Network network) throws java.lang.Exception
solve
in interface PowerFlowSolver
network
- The network to perform the analysis on.
java.lang.Exception
public Network load(java.io.File networkFile) throws java.io.IOException
load
in interface PowerFlowSolver
networkFile
- The file to load the network from.
java.io.IOException
public void setApplicationPath(java.lang.String appPath)
setApplicationPath
in interface PowerFlowSolver
appPath
- The application path to set.public void setExecutablePath(java.lang.String octavePath)
setExecutablePath
in interface PowerFlowSolver
octavePath
- The path to the octave executable.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |