snl.ccss.jpowerflow.ac
Class DecoupledNewton

java.lang.Object
  extended by snl.ccss.jpowerflow.AbstractPFSolver
      extended by snl.ccss.jpowerflow.ac.FullNewton
          extended by 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

Field Summary
 
Fields inherited from class snl.ccss.jpowerflow.AbstractPFSolver
DEBUG
 
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 snl.ccss.jpowerflow.ac.FullNewton
getIterations, setAdjustError, setConvergeError, setEnforceGenMvarLimits, setMaxIterations
 
Methods inherited from class snl.ccss.jpowerflow.AbstractPFSolver
run, setPowerSystem
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

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 perform
adjustError - Value of power mismatch that determines when generator reactive power limits should be examined
convergeError - Value of power mismatch that determines the system has converged
enforceGenMvarLimits - Set to true if reactive power limits of generators should be enforced
Method Detail

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