CN106356859A - Matlab-based rectangular coordinate newton power flow calculation method - Google Patents

Matlab-based rectangular coordinate newton power flow calculation method Download PDF

Info

Publication number
CN106356859A
CN106356859A CN201610864281.4A CN201610864281A CN106356859A CN 106356859 A CN106356859 A CN 106356859A CN 201610864281 A CN201610864281 A CN 201610864281A CN 106356859 A CN106356859 A CN 106356859A
Authority
CN
China
Prior art keywords
node
voltage
matrix
power
formula
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201610864281.4A
Other languages
Chinese (zh)
Other versions
CN106356859B (en
Inventor
姚玉斌
王增光
吴志良
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Dalian Maritime University
Original Assignee
Dalian Maritime University
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Dalian Maritime University filed Critical Dalian Maritime University
Priority to CN201610864281.4A priority Critical patent/CN106356859B/en
Publication of CN106356859A publication Critical patent/CN106356859A/en
Application granted granted Critical
Publication of CN106356859B publication Critical patent/CN106356859B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JCIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J3/00Circuit arrangements for ac mains or ac distribution networks
    • H02J3/04Circuit arrangements for ac mains or ac distribution networks for connecting networks of the same frequency but supplied from different sources
    • H02J3/06Controlling transfer of power between connected networks; Controlling sharing of load between connected networks

Landscapes

  • Engineering & Computer Science (AREA)
  • Power Engineering (AREA)
  • Supply And Distribution Of Alternating Current (AREA)

Abstract

The invention discloses a Matlab-based rectangular coordinate newton power flow calculation method. Matrix operation and complex operation are adopted, a Jacobi matrix is formed according to the programming characteristic of Matlab, and the power of a node is calculated. The method comprises the following steps: calculating an initial Jacobi calculation matrix; calculating the complex power and the injection current phasor of the node; calculating partitioned sub-matrixes of the initial Jacobi matrix; correcting diagonal elements of the sub-matrixes of the Jacobi matrix by virtue of the injection current phasor of the node and a partial derivative of a voltage deviation to a voltage; forming the Jacobi matrix by virtue of the sub-matrixes of the Jacobi matrix, and performing regulation. The method is implemented on a Matlab platform, so that a researcher can conveniently test and analyze a calculation result by virtue of various tools and functions provided by Matlab. Practices show that convenience is brought to program compiling, modification and debugging of the researcher, the calculation speed is substantially approximate to the speed achieved on a C language platform and an excellent analysis tool is provided for the researcher.

Description

A kind of rectangular coordinate Newton load flow calculation method based on matlab
Technical field
The present invention relates to a kind of power system Newton load flow calculation method, particularly a kind of suitable research purpose use Rectangular coordinate Newton load flow calculation method.
Background technology
It is the basic calculating that research power system mesomeric state runs that electric power system tide calculates, and it is according to given operation Condition and network structure determine the running status of whole network.Load flow calculation is also the basis of other analyses of power system, such as pacifies Complete analysis, transient stability analysis etc. will use Load flow calculation.Rectangular coordinate Newton load flow calculation method is a kind of the most frequently used Tidal current computing method, scientific research personnel often by rectangular coordinate Newton Power Flow calculating based on further studied.Real Business software adopts the advanced techniques such as sparse matrix technology and node optimizing code.Although these technology can increase substantially The speed of Load flow calculation, reduction EMS memory occupation amount, but programming bothers and is difficult to change and safeguards very much, is difficult to increase new work( Can, thus be not suitable for scientific research personnel and use for research purposes.
Matlab software, with matrix for most basic data unit, can easily process various matrixes and vector operation, Easily can also naturally process complex data type, its instruction expression formula and conventional form in mathematics are very close to also in a large number Common practical function, brings convenience to programming.Matlab software is easy to use, code is short and small easy to operate it is easy to program And debugging, computing function is powerful, also has very powerful visualized graphs simultaneously and processes and Interactive function, is scientific research And engineer applied provides a kind of efficient programming tool, have become as basic tool and the first-selection of many scientific domains at present Platform, is widely used in various science and engineering calculation field.In order to adapt to increasing scientific research personnel's needs The demand further studied based on the calculating of rectangular coordinate Newton Power Flow on matlab platform, in the urgent need to one Plant the rectangular coordinate Newton load flow calculation method being easily programmed, change and debugging based on matlab software.
According to the feature of power system node, Load flow calculation is divided into 3 classes: node active power and nothing power system node Work(power is known, node voltage amplitude and the unknown node of voltage phase angle are referred to as pq node;Node active power and voltage magnitude Known, node reactive power and the unknown node of voltage phase angle are referred to as pv node;Node voltage amplitude and voltage phase angle are it is known that save Point active power and the unknown node of reactive power are referred to as balance nodes.
Newton Power Flow calculates and is divided into two classes: Newton Power Flow calculates interior joint voltage and adopts polar coordinate Computational methods during expression, referred to as polar coordinate Newton load flow calculation method;Newton Power Flow calculates interior joint voltage using straight Angular coordinateComputational methods during expression, referred to as rectangular coordinate Newton load flow calculation method.Rectangular coordinate newton The main equation of method Load flow calculation is as follows:
Bus admittance matrix is:
In formula, yikFor bus admittance matrix element, as subscript i ≠ k, it is node i and the transadmittance of node k, when subscript i During=k, it is the self-admittance of node i;N is nodes.
Node power equation is:
p i = e i σ k = 1 n ( g i k e k - b i k f k ) + f i σ k = 1 n ( g i k f k + b i k e k ) i = 1 , ... , n q i = f i σ k = 1 n ( g i k e k - b i k f k ) - e i σ k = 1 n ( g i k f k + b i k e k ) i = 1 , ... , n - - - ( 2 )
In formula, pi、qiIt is respectively node active power and the reactive power of node i;ei、ekIt is respectively node i and node k Node voltage phasor real part;fiAnd fkIt is respectively node i and the node voltage phasor imaginary part of node k;gik、bikIt is respectively node Admittance matrix element yikReal part and imaginary part.
Power deviation and voltage deviation equation are:
δp i = p i s - p i = p i s - e i σ k = 1 n ( g i k e k - b i k f k ) - f i σ k = 1 n ( g i k f k + b i k e k ) i = 1 , ... , n - 1 δq i = q i s - q i = q i s - f i σ k = 1 n ( g i k e k - b i k f k ) + e i σ k = 1 n ( g i k f k + b i k e k ) i = 1 , ... , m δu i 2 = u i s 2 - ( e i 2 + f i 2 ) i = m + 1 , ... , n - 1 - - - ( 3 )
In formula, δ pi、δqiIt is respectively node active power deviation and the reactive power deviation of node i;δui 2For node i Node voltage amplitude deviation;pis、qisIt is respectively node injection active power and the injection reactive power that node i gives;uisFor The node voltage amplitude that node i gives;M is pq nodes.
Power deviation and voltage deviation equation can also be expressed as:
δp i = p i s - e i a i - f i b i δq i = q i s - f i a i + e i b i δu i 2 = u i s 2 - ( e i 2 + f i 2 ) - - - ( 4 )
In formula, ai、biIt is respectively the real part of injection current phasor and the imaginary part of node i, be
a i = σ k = 1 n ( g i k e k - b i k f k ) b i = σ k = 1 n ( g i k f k + b i k e k ) - - - ( 5 )
Update equation group is:
δ p δ q δ u 2 = j δ e δ f = h n m l r k δ e δ f - - - ( 6 )
In formula, j is Jacobian matrix, and h, n, m, l, r, k are the piecemeal submatrix of Jacobian matrix.The each unit of Jacobian matrix Plain computing formula is:
As j ≠ i
hij=-gijei-bijfi(7)
nij=bijei-gijfi(8)
mij=bijei-gijfi(9)
lij=gijei+bijfi(10)
rij=0 (11)
kij=0 (12)
As j=i
hii=-giiei-biifi-ai(13)
nii=biiei-giifi-bi(14)
mii=biiei-giifi+bi(15)
lii=giiei+biifi-ai(16)
rii=-2ei(17)
kii=-2fi(18)
As shown in Figure 1-2, existing rectangular coordinate Newton load flow calculation method, mainly comprises the steps that
A, initial data input and voltage initialization;
Raw data packets vinculum road and transformer branch data, node injection active power and reactive power, node voltage Amplitude, node reactive-load compensation data, and convergence precision, maximum iteration time.
Voltage initialization is started using flat, and that is, the node voltage real part of pv node and balance nodes draws definite value, pq node Node voltage real part take 1.0;The imaginary part of all node voltages all takes 0.0.Here unit adopts perunit value.
B, formation bus admittance matrix;
Circuit according to input and transformer branch data form the bus admittance matrix as shown in formula (1).
C, formation Jacobian matrix;
Calculate each element of Jacobian matrix by formula (7)~formula (18) and formula (5).
D, calculate node power and power deviation and voltage deviation;
By formula (2) calculate node power, by formula (3) calculate node power deviation and node voltage deviation.
E, solve equation and revise node voltage real part e and imaginary part f;
Solution update equation group (6), obtains voltage real part correction column vector δ e and voltage imaginary part correction column vector δ f.
Voltage correction formula is:
e i ( t + 1 ) = e i ( t ) - δe i ( t ) i = 1 , ... , n - 1 - - - ( 19 )
f i ( t + 1 ) = f i ( t ) - δf i ( t ) i = 1 , ... , n - 1 - - - ( 20 )
In formula, subscript (t) represents the value of the t time iteration;δeiWith δ fiIt is respectively the node voltage real part correction of node i Amount and node voltage imaginary part correction.
F, maximum amount of unbalance | the δ p | of judgementmax、|δq|maxWith | δ u2|maxWhether it is both less than convergence precision ε;If all Less than convergence precision ε, carry out step g, otherwise return to step c carries out next iteration;
The reactive power of g, the active power of calculated equilibrium node and reactive power and pv node, calculates each branch road wattful power Rate and reactive power, terminate.
Directly adopt the rectangular coordinate Newton Power Flow software for calculation calculating speed that above-mentioned principle is realized slower, commercially use Rectangular coordinate Newton Power Flow software for calculation adopt sparse matrix technology and node optimizing code technology, more complicated, uncomfortable Close scientific research personnel and carry out scientific research based on this further.Therefore, Chinese patent zl201010509556.5 proposes one Plant the Newton load flow calculation method that suitable research purpose uses, be to be carried out into one based on the calculating of polar coordinate Newton Power Flow The scientific research personnel of step research provides a Newton load flow calculation method being easy to change and safeguard, its feature is as follows:
(1) sparse matrix technology and node optimizing code are not adopted, greatly reduce algorithm realizes difficulty;
(2) judge to avoid unnecessary computing by simple logic, improve the calculating speed of Load flow calculation.
Chinese patent zl201010509556.5 proposed method is to be carried out based on the calculating of polar coordinate Newton Power Flow The scientific research personnel studying further provides a polar coordinate Newton load flow calculation method being easy to change and safeguard.The method When being realized using the compiled programming language such as c language speed quickly, but when being realized using matlab this kind of explanation type programming language Calculating speed is then very slow, and this patent does not make full use of the feature that matlab is good at matrix operationss and complex operation yet simultaneously.Cause This needs a feature making full use of matlab and the quick rectangular coordinate Newton load flow calculation method of calculating supplies The scientific research personnel carrying out scientific research on matlab platform uses.
Content of the invention
For solving the problems referred to above that prior art exists, the present invention will propose a kind of rectangular coordinate newton based on matlab Method tidal current computing method, can make full use of the distinctive feature being good at matrix operationss and complex operation of matlab, have simultaneously again The rectangular coordinate Newton load flow calculation method of very fast calculating speed.
To achieve these goals, technical scheme is as follows: a kind of rectangular coordinate Newton method based on matlab Tidal current computing method, using matrix operationss and complex operation.Comprise the following steps:
A, initial data input and voltage initialization;
B, formation bus admittance matrix;
C, formation Jacobian matrix and calculate node power;
Matlab is good at matrix operationss and complex operation, therefore using matlab programming it should derive based on matrix fortune Calculate the Jacobian matrix computational methods with complex operation.
Jacobian matrix element is relevant with node type, wants decision node type during conventional formation Jacobian matrix, according to Node type determines which node needs to form Jacobian matrix element.So process for the algorithm to be realized by circulation, It is easily processed, but do not fit through the method that matrix integral operation forms Jacobian matrix.Therefore, the present invention forms Jacobean matrix During battle array, not decision node type, Jacobian matrix element is all formed to all nodes, removes unwanted row and column afterwards again.
Derive below and calculate the formula of Jacobian matrix element and node power using matrix operationss.
Analysis to formula (7)~formula (10), can obtain
mij=nij(21)
lij=-hij(22)
Therefore, first seek hijAnd nij, obtain hijAnd nijAfterwards, m can naturally just be obtainedijAnd lij.
Derive before calculating the formula of Jacobian matrix by matrix operationss, first look at Jacobian matrix each element how with again Number or phasor representation.
From formula (7) and formula (8), Jacobian matrix each element should be by yijWithConjugationProduct, that is, Obtain.Therefore hij、nij、mij、lijCan be generated by following formula:
j i j 0 = y i j u ^ i - - - ( 23 )
In formula, subscript (^) represents the conjugation of plural number.
Formula (23) can regard the matrix j being obtained with following formula correspondence position element multiplication by bus admittance matrix as0The i-th row The element of jth row:
Formula (24) then can use a matrix fill-in function repmat of matlab to realize, the therefore sub- square of Jacobian matrix piecemeal Battle array can be obtained by following formula:
j 0 = r e p m a t ( u ^ , 1 , n ) . * y - - - ( 25 )
In formula, j0For Jacobi's initial calculation matrix;Repmat is the matrix fill-in function of matlab, 1 expression in function During fillingRow be repeated 1 times, when in function, n represents fillingRow repeat n time;.* represent the element of the corresponding ranks of two matrixes It is multiplied.
By j0Obtaining initial Jacobian matrix piecemeal submatrix is:
h0=-re (j0) (26)
n0=im (j0) (27)
m0=im (j0) (28)
l0=re (j0) (29)
In formula, h0、n0、m0、l0Piecemeal submatrix for initial Jacobian matrix;Re represents the real part taking matrix element;im Represent the imaginary part taking matrix element.
The nondiagonal element of the initial Jacobian matrix piecemeal submatrix being obtained by formula (26)~formula (29) has been Jacobi Matrix element, diagonal element also needs to revise.
The the 1st and the 2nd on the right side of equation in formula (13)~formula (16) is exactly h0、n0、m0、l0Diagonal element, it is right therefore only to need The h obtaining0、n0、m0、l0Use aiAnd biRevise, just can obtain Jacobian matrix piecemeal submatrix diagonal element.
The control variable of summation in node power equation (2) is changed into j, and is rearranged as:
p i = σ j = 1 n ( e i g i j + f i b i j ) e j - σ j = 1 n ( e i b i j - f i g i j ) f j i = 1 , ... , n q i = - σ j = 1 n ( e i b i j - f i g i j ) e j - σ j = 1 n ( e i g i j + f i b i j ) f j i = 1 , ... , n - - - ( 30 )
Formula (23) expands into:
j i j 0 = ( e i g i j + f i b i j ) + j ( e i b i j - f i g i j ) - - - ( 31 )
Observation type (30) and formula (31), can obtain complex power:
s ~ = p + j q = j ^ 0 u ^ - - - ( 32 )
In formula,For complex power column vector.
Injection current phasor is:
i · = y u · - - - ( 33 )
In formula,For injection current phasor column vector;For node voltage column vector.
Due to ai、biIt is respectively the real part of injection current phasor and the imaginary part of node i, therefore
a i = re ( i · i ) i = 1 , ... , n - - - ( 34 )
b i = im ( i · i ) i = 1 , ... , n - - - ( 35 )
In formula,Injection current phasor for node i.
With injection current phasor, Jacobian matrix piecemeal submatrix diagonal element is modified as follows:
h i i = h i i 0 - re ( i i ) i = 1 , ... , n - 1 - - - ( 36 )
n i i = n i i 0 - im ( i i ) i = 1 , ... , n - 1 - - - ( 37 )
m i i = m i i 0 + im ( i i ) i = 1 , ... , m - - - ( 38 )
l i i = l i i 0 - re ( i i ) i = 1 , ... , m - - - ( 39 )
Voltage deviation is 0 to the nondiagonal element of voltage local derviation, and diagonal element is:
rii=-2eiI=m+1 ..., n-1 (40)
kii=-2fiI=m+1 ..., n-1 (41)
The element of r, k m+1 row to n-1 row can be put into the corresponding row of m, l, formation m ', l ':
mij=mijI=1 ..., m j=1 ..., n-1 (42)
lij=lijI=1 ..., m j=1 ..., n-1 (43)
mij=rijI=m+1 ..., n-1 j=1 ..., n-1 (44)
lij=kijI=m+1 ..., n-1 j=1 ..., n-1 (45)
Form Jacobian matrix and calculate node power, comprise the following steps:
C1, calculating Jacobi initial calculation matrix j0
C2, calculate node complex power;
C3, by j0Calculate initial Jacobian matrix piecemeal submatrix;
C4, calculating injection current phasor;
C5, with injection current phasor, Jacobian matrix piecemeal submatrix diagonal element is modified;
C6, calculating r, k, form m ', l ';
C7, Jacobian matrix is formed by Jacobian matrix piecemeal submatrix;
j = h n m ′ l ′ - - - ( 46 )
C8, Jacobian matrix is adjusted, removes balance nodes active power deviation and reactive power deviation is corresponding OK;Remove balance nodes voltage real part correction and the corresponding row of voltage imaginary part correction, terminate.
D, calculate node power deviation and node voltage deviation;
Formula (4) calculate node power deviation and voltage deviation equation are write as being formed as of matrix operationss:
δ p = p s - re ( s ~ ) δ q = q s im ( s ~ ) δu 2 = u s 2 - | u · | 2 - - - ( 47 )
In formula, δ p, δ q are respectively node active power deviation column vector and reactive power deviation column vector;δu2For section Point voltage amplitude deviation column vector;ps、qsBe respectively node give injection active power column vector and injection reactive power arrange to Amount;usFor node voltage set-point column vector;For node voltage column vector.
Remove pv node reactive power deviation and balance nodes in calculated node power bias vector δ p and δ q Active power deviation and reactive power deviation;Node voltage amplitude deviation column vector removes the node electricity of pq node and balance nodes Pressure amplitude value deviation.
E, solve equation and revise voltage real part e and imaginary part f;
Directly invoke solution system of linear equations algorithm solution update equation group (6) of matlab software, obtain node voltage real part Correction column vector δ e and node voltage imaginary part correction column vector δ f.
The formula (19) that voltage is modified and formula (20) are rewritten into matrix form and are:
e(t+1)=e(t)-δe(t)(48)
f(t+1)=f(t)-δf(t)(49)
In formula, subscript (t) represents the value of the t time iteration;δ e and δ f is respectively node voltage real part correction column vector With node voltage imaginary part correction column vector.
F, maximum amount of unbalance | the δ p | of judgementmax、|δq|maxWith | δ u2|maxWhether it is both less than convergence precision ε;If all Less than convergence precision ε, carry out step g, otherwise return to step c carries out next iteration.
The reactive power of g, the active power of calculated equilibrium node and reactive power and pv node, calculates each branch road wattful power Rate and reactive power, terminate.
Compared with prior art, the method have the advantages that
1st, method proposed by the present invention is realized in matlab platform, is easy to the various works that scientific research personnel uses matlab to provide Tool and function pair result of calculation are tested and are analyzed.
2nd, method proposed by the present invention adopts matrix operationss and complex operation, decreases program code, simplifies programming, makes Calling program becomes apparent from, and is easy to scientific research personnel's modification program, program is debugged and is improved, adds New function.
3rd, optimize because matlab carries out to matrix operationss, using matrix operationss than by the programming of matrix element loop computation Faster, directly invoke the equation solution algorithm of matlab simultaneously, also substantially increase calculating speed.It was verified that the present invention Method both facilitated scientific research personnel and program write, changed and is debugged, calculating speed is also substantially close in c language simultaneously The speed realized on speech platform, is that the research work of scientific research personnel provides an outstanding analytical tool.
Brief description
The present invention has 4, accompanying drawing.Wherein:
Fig. 1 is the flow chart that existing rectangular coordinate Newton Power Flow calculates.
Fig. 2 is the flow chart that existing rectangular coordinate Newton method forms Jacobian matrix.
Fig. 3 is the flow chart that rectangular coordinate Newton Power Flow of the present invention calculates.
Fig. 4 is the flow chart that the present invention forms Jacobian matrix and calculate node power.
Specific embodiment
Below in conjunction with the accompanying drawings the present invention is described further, amended to one according to flow process shown in Fig. 3-4 445 node real system examples are calculated.
The actual large-scale power system of 445 nodes has 445 nodes, and 544 branch roads, containing substantial amounts of small impedance branches.For Various methods are compared, these small impedance branches are changed to normal impedance branch road to meet the requirement of various methods.
Using the present invention and several control methods, 445 node real system examples are calculated, during calculating, restrained essence Spend for 0.00001.Several Load flow calculation algorithms are respectively as follows:
Method 1: Chinese patent zl201010509556.5 method is changed to Cartesian form, real using matlab language Existing.
Method 2: Chinese patent zl201010509556.5 method is changed to Cartesian form, real using matlab language Existing, but solve equation the equation solving algorithm directly invoking matlab.
Method 3: Chinese patent zl201010509556.5 method is changed to Cartesian form, real using matlab language Existing, but solve equation the equation solving algorithm directly invoking matlab, dimension is predefined to matrix variables simultaneously.
Method 4: the inventive method.
The calculating time of several method is shown in Table 1, the calculating time do not include data read in and output and branch power calculate Time.
Several rectangular coordinate Newton Power Flow of table 1 calculating calculating time compares
Tidal current computing method Calculating time (s)
Method 1 20.167
Method 2 4.730
Method 3 1.027
Method 4 0.562
As seen from Table 1, Chinese patent zl201010509556.5 method is changed to directly adopt during Cartesian form Matlab realizes, and calculates the time very long;Patent zl201010509556.5 method is changed to Cartesian form and directly adopts When matlab realizes, if directly invoking the method that solves equation of matlab, calculating speed just can greatly improve, the solution side of matlab Cheng Fangfa comparative maturity is stable, is conducive to algorithm stability, matlab solves equation calling also very simply of method, simplifies Programming, makes program become apparent from;If dimension is predefined to matrix variables, it is to avoid program constantly expands in the process of implementation simultaneously The size of matrix, can greatly improve calculating speed.The result of calculation of the present invention shows to adopt matrix when forming Jacobian matrix Computing can greatly improve calculating speed further, and program also simplifies further.
The inventive method can be realized in the matlab programming language of any version, but suggestion is using more recent version Matlab language.
The present invention is not limited to the present embodiment, any equivalent concepts in the technical scope of present disclosure or change Become, be all classified as protection scope of the present invention.

Claims (1)

1. a kind of rectangular coordinate Newton load flow calculation method based on matlab, comprises the following steps:
A, initial data input and voltage initialization;
Raw data packets vinculum road and transformer branch data, node injection active power and reactive power, node voltage amplitude, Node reactive-load compensation data, and convergence precision and maximum iteration time;
Voltage initialization is started using flat, and that is, the node voltage real part of pv node and balance nodes draws definite value, the section of pq node Point voltage real part takes 1.0;The imaginary part of all node voltages all takes 0.0;Here unit adopts perunit value;
Described pq node is that active power and reactive power be known, voltage magnitude and the unknown node of voltage phase angle, described Pv node is that active power and voltage magnitude be known, reactive power and the unknown node of voltage phase angle, and described balance nodes are Voltage magnitude and voltage phase angle are it is known that the active power of node and the unknown node of reactive power;
B, formation bus admittance matrix;
Circuit according to input and transformer branch data form the bus admittance matrix as shown in formula (1);
In formula, yikFor bus admittance matrix element, as subscript i ≠ k, it is node i and the transadmittance of node k, when subscript i=k When, it is the self-admittance of node i;N is nodes;
It is characterized in that:
C, formation Jacobian matrix and calculate node power;
C1, calculating Jacobi initial calculation matrix j0
j 0 = r e p m a t ( u ^ , 1 , n ) . * y - - - ( 2 )
In formula, j0For Jacobi's initial calculation matrix;Column vector for node voltage conjugation;Repmat is the matrix of matlab Stuffing function, in function during 1 expression fillingRow be repeated 1 times, when in function, n represents fillingRow repeat n time;.* represent The element multiplication of the corresponding ranks of two matrixes;
C2, calculate node complex power;
The node complex power column vector being made up of each node complex power is:
s ~ = j ^ 0 u ^ - - - ( 3 )
In formula,For node complex power column vector;Subscript (^) represents the conjugation of plural number;
C3, initial Jacobian matrix piecemeal submatrix is calculated by j0;
By j0Obtaining initial Jacobian matrix piecemeal submatrix is:
h0=-re (j0) (4)
n0=im (j0) (5)
m0=im (j0) (6)
l0=re (j0) (7)
In formula, h0、n0、m0、l0Piecemeal submatrix for initial Jacobian matrix;Re represents the real part taking matrix element;Im represents Take the imaginary part of matrix element;
C4, calculating injection current phasor;
i · = y u · - - - ( 8 )
In formula,For injection current phasor column vector;
C5, with injection current phasor, Jacobian matrix piecemeal submatrix diagonal element is modified as follows:
h i i = h i i 0 - re ( i i ) , i = 1 , ... , n - 1 - - - ( 9 )
n i i = n i i 0 - im ( i i ) , i = 1 , ... , n - 1 - - - ( 10 )
m i i = m i i 0 + im ( i i ) , i = 1 , ... , m - - - ( 11 )
l i i = l i i 0 - re ( i i ) , i = 1 , ... , m - - - ( 12 )
In formula,Injection current phasor for node i;M is pq nodes;
C6, calculating r, k, form m ', l ';
Voltage deviation is 0 to the nondiagonal element of voltage local derviation, and diagonal element is:
rii=-2eiI=m+1 ..., n-1 (13)
kii=-2fiI=m+1 ..., n-1 (14)
Replace the corresponding row of m with the element of r m+1 row to n-1 row, form m ';Replace l with the element of k m+1 row to n-1 row Corresponding row, formed l ';
C7, Jacobian matrix is formed by Jacobian matrix piecemeal submatrix;
j = h n m ′ l ′ - - - ( 15 )
In formula, j is Jacobian matrix, and h, n, m ', l ' are the piecemeal submatrix of Jacobian matrix;
C8, Jacobian matrix is adjusted, removes balance nodes active power deviation and the corresponding row of reactive power deviation;Go Fall balance nodes voltage real part correction and the corresponding row of voltage imaginary part correction, terminate;
D, calculate node power deviation and node voltage deviation;
It is calculated as follows node power deviation and node voltage deviation:
δ p = p s - re ( s ~ ) δ q = q s - im ( s ~ ) δu 2 = u s 2 - | u · | 2 - - - ( 16 )
In formula, δ p, δ q are respectively node active power deviation column vector and reactive power deviation column vector;δu2For node electricity Pressure amplitude value deviation column vector;ps、qsIt is respectively injection active power column vector and the injection reactive power column vector that node gives; usFor node voltage set-point column vector;For node voltage column vector;
Remove pv node reactive power deviation in calculated node power bias vector δ p and δ q and balance nodes are active Power deviation and reactive power deviation;Node voltage amplitude deviation column vector removes the node voltage width of pq node and balance nodes Value deviation;
E, solve equation and revise voltage real part e and imaginary part f;
Jacobian matrix j is obtained by step c and step d obtains node power bias vector δ p and δ q and node voltage amplitude is inclined Difference vector δ u2, the update equation being configured to Load flow calculation is as follows:
δ p δ q δ u 2 = j δ e δ f - - - ( 17 )
Directly invoke solution system of linear equations algorithm solution update equation group (17) of matlab software, obtain voltage real part correction to Amount δ e and voltage imaginary part correction vector δ f;
As the following formula node voltage real part and imaginary part are modified:
e(t+1)=e(t)-δe(t)(18)
f(t+1)=f(t)-δf(t)(19)
In formula, subscript (t) represents the value of the t time iteration;
F, maximum amount of unbalance | the δ p | of judgementmax、|δq|maxWith | δ u2|maxWhether it is both less than convergence precision ε;If both less than Convergence precision ε, carries out step g, and otherwise return to step c carries out next iteration;
The reactive power of g, the active power of calculated equilibrium node and reactive power and pv node, calculate each branch road active power and Reactive power, terminates.
CN201610864281.4A 2016-09-29 2016-09-29 A kind of rectangular coordinate Newton load flow calculation method based on Matlab Expired - Fee Related CN106356859B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610864281.4A CN106356859B (en) 2016-09-29 2016-09-29 A kind of rectangular coordinate Newton load flow calculation method based on Matlab

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610864281.4A CN106356859B (en) 2016-09-29 2016-09-29 A kind of rectangular coordinate Newton load flow calculation method based on Matlab

Publications (2)

Publication Number Publication Date
CN106356859A true CN106356859A (en) 2017-01-25
CN106356859B CN106356859B (en) 2018-12-18

Family

ID=57865794

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610864281.4A Expired - Fee Related CN106356859B (en) 2016-09-29 2016-09-29 A kind of rectangular coordinate Newton load flow calculation method based on Matlab

Country Status (1)

Country Link
CN (1) CN106356859B (en)

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106856327A (en) * 2017-02-28 2017-06-16 大连海事大学 A kind of compensation of line series containing small impedance branches algorithm quicksort tidal current computing method
CN107181260A (en) * 2017-07-10 2017-09-19 大连海事大学 Based on Matlab sparse matrix rectangular coordinate Newton load flow calculation methods
CN107196306A (en) * 2017-07-10 2017-09-22 大连海事大学 Algorithm quicksort tidal current computing method based on Matlab sparse matrixes
CN108233382A (en) * 2017-11-29 2018-06-29 广西大学 A kind of method for extracting rectangular co-ordinate power flow equation Jacobian matrix
CN108427497A (en) * 2017-02-15 2018-08-21 联想企业解决方案(新加坡)有限公司 Method and system for calculating power loss exponent
CN109494748A (en) * 2018-12-28 2019-03-19 大连海事大学 Newton load flow calculation method based on node type and modified Jacobian matrix
CN109617080A (en) * 2018-12-28 2019-04-12 大连海事大学 Rectangular coordinate Newton load flow calculation method based on improved Jacobian matrix
CN110336287A (en) * 2019-07-30 2019-10-15 大连海事大学 A kind of distribution system Three Phase Power Flow based on Jacobi's element extraction
CN110336288A (en) * 2019-07-30 2019-10-15 大连海事大学 The power distribution network Three Phase Power Flow of Jacobi's element is extracted based on matrix operation
CN110417022A (en) * 2019-07-30 2019-11-05 大连海事大学 The power distribution network Three Phase Power Flow of matrix multiplication operation extraction Jacobi's element
CN110417021A (en) * 2019-07-30 2019-11-05 大连海事大学 A kind of power distribution network Three Phase Power Flow based on Jacobi's element rapidly extracting
CN113158126A (en) * 2021-04-27 2021-07-23 广西大学 Calculation method for extracting polar coordinate node complex power equation hessian matrix

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101621200A (en) * 2009-08-04 2010-01-06 大连海事大学 Rectangular coordinate Newton load flow calculation method
CN101976838A (en) * 2010-10-15 2011-02-16 大连海事大学 Newton-process power flow calculation method for study purpose
CN103441496A (en) * 2013-09-04 2013-12-11 博爱县电业公司 MATLAB-based electric-power-system load-flow calculation method
WO2014186187A1 (en) * 2013-05-14 2014-11-20 Rensselaer Polytechnic Institute Methods of computing steady-state voltage stability margins of power systems

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101621200A (en) * 2009-08-04 2010-01-06 大连海事大学 Rectangular coordinate Newton load flow calculation method
CN101976838A (en) * 2010-10-15 2011-02-16 大连海事大学 Newton-process power flow calculation method for study purpose
WO2014186187A1 (en) * 2013-05-14 2014-11-20 Rensselaer Polytechnic Institute Methods of computing steady-state voltage stability margins of power systems
CN103441496A (en) * 2013-09-04 2013-12-11 博爱县电业公司 MATLAB-based electric-power-system load-flow calculation method

Cited By (19)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108427497A (en) * 2017-02-15 2018-08-21 联想企业解决方案(新加坡)有限公司 Method and system for calculating power loss exponent
CN106856327A (en) * 2017-02-28 2017-06-16 大连海事大学 A kind of compensation of line series containing small impedance branches algorithm quicksort tidal current computing method
CN106856327B (en) * 2017-02-28 2019-03-12 大连海事大学 A kind of compensation of line series containing small impedance branches algorithm quicksort tidal current computing method
CN107196306B (en) * 2017-07-10 2019-10-01 大连海事大学 Algorithm quicksort tidal current computing method based on Matlab sparse matrix
CN107181260B (en) * 2017-07-10 2019-10-29 大连海事大学 Based on Matlab sparse matrix rectangular coordinate Newton load flow calculation method
CN107196306A (en) * 2017-07-10 2017-09-22 大连海事大学 Algorithm quicksort tidal current computing method based on Matlab sparse matrixes
CN107181260A (en) * 2017-07-10 2017-09-19 大连海事大学 Based on Matlab sparse matrix rectangular coordinate Newton load flow calculation methods
CN108233382A (en) * 2017-11-29 2018-06-29 广西大学 A kind of method for extracting rectangular co-ordinate power flow equation Jacobian matrix
CN109494748A (en) * 2018-12-28 2019-03-19 大连海事大学 Newton load flow calculation method based on node type and modified Jacobian matrix
CN109617080A (en) * 2018-12-28 2019-04-12 大连海事大学 Rectangular coordinate Newton load flow calculation method based on improved Jacobian matrix
CN109494748B (en) * 2018-12-28 2021-10-26 大连海事大学 Newton method load flow calculation method based on node type and modified Jacobian matrix
CN110336288A (en) * 2019-07-30 2019-10-15 大连海事大学 The power distribution network Three Phase Power Flow of Jacobi's element is extracted based on matrix operation
CN110417022A (en) * 2019-07-30 2019-11-05 大连海事大学 The power distribution network Three Phase Power Flow of matrix multiplication operation extraction Jacobi's element
CN110417021A (en) * 2019-07-30 2019-11-05 大连海事大学 A kind of power distribution network Three Phase Power Flow based on Jacobi's element rapidly extracting
CN110336287A (en) * 2019-07-30 2019-10-15 大连海事大学 A kind of distribution system Three Phase Power Flow based on Jacobi's element extraction
CN110336287B (en) * 2019-07-30 2022-08-12 大连海事大学 Three-phase load flow calculation method of power distribution system based on Jacobian element extraction
CN110336288B (en) * 2019-07-30 2022-08-16 大连海事大学 Three-phase power flow calculation method for power distribution network based on extraction of Jacobian elements through matrix operation
CN113158126A (en) * 2021-04-27 2021-07-23 广西大学 Calculation method for extracting polar coordinate node complex power equation hessian matrix
CN113158126B (en) * 2021-04-27 2023-05-05 广西大学 Calculation method for extracting complex power equation hessian matrix of polar coordinate node

Also Published As

Publication number Publication date
CN106356859B (en) 2018-12-18

Similar Documents

Publication Publication Date Title
CN106356859A (en) Matlab-based rectangular coordinate newton power flow calculation method
Ghatak et al. A fast and efficient load flow technique for unbalanced distribution system
CN102013680B (en) Fast decoupled flow calculation method for power systems
CN106602570B (en) A kind of algorithm quicksort tidal current computing method based on Matlab
CN104037764B (en) The rectangular coordinate Newton load flow calculation method that a kind of Jacobian matrix changes
CN103810646B (en) Improved projection integral algorithm based active power distribution system dynamic simulation method
CN106229988A (en) A kind of polar coordinate Newton load flow calculation method based on Matlab
CN107196306B (en) Algorithm quicksort tidal current computing method based on Matlab sparse matrix
CN103700036A (en) Transient stability projection integral method suitable for multi-time scale of electrical power system
CN101976838B (en) Newton-process power flow calculation method for study purpose
CN104037763A (en) Rapid decomposing method load flow calculating method suitable for branch system comprising small impedance
CN107194131B (en) Polar coordinates Newton load flow calculation method based on Matlab sparse matrix
CN104156542A (en) Implicit-projection-based method for simulating stability of active power distribution system
CN104734148A (en) Three-phrase power-distributing network continuation power flow analysis of distributed power supply
CN101621200B (en) Rectangular coordinate Newton load flow calculation method
CN104022507A (en) Load flow calculation method of rectangular coordinate newton method
CN106410811B (en) Iteration small impedance branches endpoint changes the tidal current computing method of Jacobian matrix for the first time
CN107181260B (en) Based on Matlab sparse matrix rectangular coordinate Newton load flow calculation method
CN104979840A (en) Three-phase reactive power optimization method of active power distribution network
CN108123434B (en) Method for calculating slope of PV curve to obtain operating point of PV curve
CN110417022A (en) The power distribution network Three Phase Power Flow of matrix multiplication operation extraction Jacobi's element
CN110336287B (en) Three-phase load flow calculation method of power distribution system based on Jacobian element extraction
CN110336288B (en) Three-phase power flow calculation method for power distribution network based on extraction of Jacobian elements through matrix operation
CN107658880B (en) The algorithm quicksort coefficient matrix calculation method of operation based on correlation matrix
CN107944682A (en) Load flow calculation admittance matrix computational methods based on Matlab matrix operations

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20181218

Termination date: 20190929