-
MATLAB
一、 牛顿-拉夫逊法概要
首先对一般的牛顿-拉夫逊法作一简单说明。已知一个变量X的函数
(4-6)
解此方程式时,由适当的近似值X(0)出发,根据 (4-7)
反复进行计算,当X(n)满足适当的收敛判定条件时就是(4-6)式的根。这样的方法就是所谓的牛顿-拉夫逊法。
式(4-7)就是取第n次近似解X(n)在曲线 上的点 处的切线与X轴的交点作下一次X(n+1)值的方法。参考图4-2(a)。在这一方法中为了能收敛于真解,初值X(0)的选取及函数f(X)必须满足适当的条件,如图4-2(b)所示的那种情况就不能收敛或收敛到别的根上去。
这一方法还可以做下面的解释,设第n次迭代得到的解与真值之差,即 的误差为 时,则
(4-8)
把 在 附近对 用泰勒级数展开
(4-9)
上式略去 以下的项
(4-10)
的误差可近似由上式计算出来
图4-2
(4-11)
比较式(4-7)和(4-11),可以看出牛顿-拉夫逊法的修正量和 的误差的一次项相等。
用同样的方法考虑,给出对n个变量 (:Because of the importance and complexity of power system, better algorithm and programme language
is very important . An interior point method based on the perturbed Karush2Kuhn2Tucker (KKT) condition is pre2
sented in this paper , where the method and process for the optimal power flow is treated through the Matlab’s
symbolic math toolbox and Mfunction is also presented. Using the symbolic code , it can improve the adaptability
of the programme dramatically. The advantage is that , what we need to do is change the model expression. We
can make use of the symbolic programme to check our programme while we write the Mfunctions. Using the Mat2
lab , we find the optimal solutions and calculate quickly and efficiently. It has proposed the powerful and unique
functions of Matlab in the optimization and calculation for power system.
Key words :power system symbolic calculation optimal power flow interior point method)
- 2020-07-08 16:38:56下载
- 积分:1
-
IEEE
these document are papers which talk about the benefict of the use of the fft for localisation
- 2014-11-12 05:07:43下载
- 积分:1
-
tsp_ga
a program about Traveling Salesman Problem (TSP) Genetic Algorithm
- 2009-04-23 03:38:22下载
- 积分:1
-
CONTROL-OF-POWER-INVERTERS
Good for smart grid research
- 2014-11-04 19:35:02下载
- 积分:1
-
manual_stprtool
stprtool的使用文档,非常好的模式识别工具包,里面有关于核的以及贝叶斯的相关程序,以及PCA,EM,SVM等方法。 (stprtool the use of the document, very good pattern recognition tool kit, which has nuclear as well as Bayes procedures, as well as PCA, EM, SVM and other methods.)
- 2010-05-27 07:33:44下载
- 积分:1
-
gaussian_gen
This is the file that included gaussian function which generate a gassian variables.
- 2012-06-26 00:00:30下载
- 积分:1
-
Dynamic-Voltage-Restorer
simulation of Dynamic Voltage Restorer in MATLAB simulink software.
- 2015-10-04 01:20:34下载
- 积分:1
-
Hermite_Spline
进行分段三次Hermite插值和分段三次Spline插值,比较F-C取导数方法所得到期收益率曲线逼近中债结算公司的到期收益率曲线的效果的程序(Hermite interpolation for sub-three and three sub-Spline interpolation, comparing FC take derivative curve approximation method, due in settlement of debts due the company s procedures for the effect of yield curve)
- 2008-01-02 16:02:14下载
- 积分:1
-
Patton_copula_toolbox_4jun06
大名鼎鼎的Patton的copula工具箱,不知道各位有没有(The famous Patton of the copula toolbox, do not know if you have any)
- 2009-10-28 08:16:25下载
- 积分:1
-
parks_McAlgo
parks maclean algorithm for low pass filtering
- 2009-11-10 04:15:07下载
- 积分:1