Next: External circuit elements
Up: Solving the electrical equations
Previous: Solving the electrical equations
Newton's method will always give an update vector in the direction of the solution. However, often the update vector is nonoptimal for convergence. Very often the update is too large and will jump over the solution, leading the solver far away from the desired answer. More often than not if this happens the solver will crash, as it will find it's self in an unphysical space. There have been many method proposed, to help Newton's take an optimal step towards the solution. Once is back tracking (see numerical recipes in C) which in general has a computational overhead to implement, and another faster possibility is numerical clamping. In gpvdm, we use clamping, updates to the solution variables are clamped by the following scheme.

(52) 

(53) 

(54) 

(55) 

(56) 

(57) 
The variable
is defined in the math.inp input file.
Next: External circuit elements
Up: Solving the electrical equations
Previous: Solving the electrical equations
rod
20171208