snl.ccss.jpowerflow.ac
Class DecoupledNewton
java.lang.Object
snl.ccss.jpowerflow.AbstractPFSolver
snl.ccss.jpowerflow.ac.FullNewton
snl.ccss.jpowerflow.ac.DecoupledNewton
- All Implemented Interfaces:
- java.lang.Runnable, PFSolver
public class DecoupledNewton
- extends FullNewton
This class extends FullNewton and performs a faster but less
accurate steady-state power flow analysis.
This class uses the Decoupled Newton-Raphson iterative
technique for solving the unknowns in the power system.
- Author:
- Bryan T. Richardson - Sandia National Laboratories
Constructor Summary |
DecoupledNewton()
Default constructor for DecoupledNewton class. |
DecoupledNewton(int maxIterations,
double adjustError,
double convergeError,
boolean enforceGenMvarLimits)
Argument-accepting constructor for DecoupledNewton class. |
Method Summary |
boolean |
solve(PFPowerSystem powerSystem)
Main method for performing an AC power flow analysis. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DecoupledNewton
public DecoupledNewton()
- Default constructor for DecoupledNewton class.
Required parameters will need to be set using the get/set
methods if this constructor is used.
DecoupledNewton
public DecoupledNewton(int maxIterations,
double adjustError,
double convergeError,
boolean enforceGenMvarLimits)
- Argument-accepting constructor for DecoupledNewton class.
- Parameters:
maxIterations
- Maximum number of iterations to performadjustError
- Value of power mismatch that determines when generator reactive power limits should be examinedconvergeError
- Value of power mismatch that determines the system has convergedenforceGenMvarLimits
- Set to true if reactive power limits of generators should be enforced
solve
public boolean solve(PFPowerSystem powerSystem)
- Main method for performing an AC power flow analysis.
This method builds the yBus for the system and performs
the Decoupled Newton-Raphson iterative technique to solve for the
unknown values.
- Specified by:
solve
in interface PFSolver
- Overrides:
solve
in class FullNewton
- Parameters:
powerSystem
- PFPowerSystem that implements the required getBusList and getEnergizedBranchList methods
- Returns:
- true if simulation converged within maximum number of iterations