CN104036320A - Dynamic economical dispatch method for microgrid system on the basis of improved particle swarm optimization - Google Patents
Dynamic economical dispatch method for microgrid system on the basis of improved particle swarm optimization Download PDFInfo
- Publication number
- CN104036320A CN104036320A CN201410240953.5A CN201410240953A CN104036320A CN 104036320 A CN104036320 A CN 104036320A CN 201410240953 A CN201410240953 A CN 201410240953A CN 104036320 A CN104036320 A CN 104036320A
- Authority
- CN
- China
- Prior art keywords
- particle
- unit
- speed
- formula
- micro
- 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
Links
Landscapes
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
Abstract
The invention relates to a dynamic economical dispatch method for a microgrid system on the basis of an improved particle swarm optimization. The dynamic economical dispatch method for the microgrid system on the basis of the improved particle swarm optimization comprises the following steps: setting a particle swarm optimization; generating an initial particle swarm; setting the upper and lower limit constraint of the speed of particles; determining the adaptive values of the particles; comparing the adaptive values of the particles, finding the local optimal value and the position of each particle, and also finding a particle which achieves a global optimal value and the position of the particle; updating the position and the speed of each particle; judging whether the position and the speed of each particle are out of limit; determining the transmitting power of PCC (point of common coupling) serving as a swing bus; carrying out acceleration processing to the speed of the particles by an adaptive algorithm; and if the speed of the particles achieves iterations, stopping iteration, and obtaining a final result. According to the dynamic economic dispatch method for the microgrid system on the basis of the improved particle swarm optimization, the speed of the particles is regulated, a targeted search can be carried out when a search becomes a local search; meanwhile, the PCC used for connecting a microgrid with a major network is used as the swing bus; and the PCC is used for balancing when on-line load and the power output of a distributed power supply are not matched.
Description
Technical field
The present invention relates to a kind of economic load dispatching method of micro-grid system optimization operation, be specifically related to a kind of micro-grid system dynamic economic dispatch method based on improving particle cluster algorithm.
Background technology
The operation of unit needs cost, and the operation of micro-grid system will be considered performance driving economy, unit difference, and cost function difference, the exert oneself financial cost of scheme of difference is also different.The object of economic load dispatching is to optimize exerting oneself of each unit in some cycles, goes out force level to obtain optimum, makes cost minimization.Exerting oneself of period also relates to the climbing capacity constraint of unit before and after unit, and this is closely related with exerting oneself of unit front and back period, so need to dispatch the dynamic economy of micro-grid system.Meanwhile, because unit capacity in net is limited, microgrid need be connected with major network by PCC point, and in microgrid, distributed power source cannot be supplied with while load, to transmission power in microgrid, to ensure the equilibrium of supply and demand of electric power.Micro-grid system dynamic economic dispatch is a part for power system security economical operation, its objective is the method for operation of determining unit under various security constraints and quality of power supply requirement condition meeting, and the total operating cost of system is minimized.
The variable that dynamic economic dispatch relates to is many, need to consider the constraint condition of equation and inequality simultaneously, and general optimized algorithm is difficult to reach calculation requirement.Problem dimension is higher, constraint condition is strict, causes the corresponding target function value of its each feasible solution comparatively approaching, in the time of the particle cluster algorithm of the standard of use, easily causes search to be absorbed in local optimum, and Premature Convergence, stagnates the search to globally optimal solution.
The introducing of PCC point (common coupling node of user's side and system side), balance node can be regarded as trend calculating time, after distributed power source is exerted oneself and determined in microgrid, by it, microgrid internal loading is carried out the strong constraint problem of the balancing the load in balance solution microgrid economic load dispatching.
The method that solves Premature Convergence is mainly the diversity that ensures particle, avoids the iteration later stage, and population individuality is similar, is absorbed in Local Search.As in conjunction with genetic algorithm to the position of particle intersect, variation etc. to be to ensure the diversity of particle.But because the constraint condition of dynamic economic dispatch is comparatively strict, solution space is limited in very little scope, and this processing ease to particle position is out-of-limit, specific aim is also strong not simultaneously, has some limitations for dynamic economic dispatch problem.
Summary of the invention
For the deficiencies in the prior art, the object of this invention is to provide a kind of micro-grid system dynamic economic dispatch method based on improving particle cluster algorithm, the present invention improves the iterative formula of particle cluster algorithm, add adaptive approach, so that speed is adjusted, and according to constraint condition, particle is adjusted, not out-of-limit to ensure particle.
The present invention adopts the particle cluster algorithm after improvement to solve the dynamic economic dispatch of micro-grid system, to obtain the force level that of each unit day part after optimization.Calculate by trend the power that PCC is ordered simultaneously, realize the equilibrium of supply and demand of microgrid internal loading.
The object of the invention is to adopt following technical proposals to realize:
The invention provides a kind ofly based on improving the micro-grid system dynamic economic dispatch method of particle cluster algorithm, its improvements are, described method comprises the steps:
A, the parameter of particle cluster algorithm is set;
B, generation primary group;
C, the constraint of the speed bound of particle in micro-grid system dynamic economic dispatch is set;
D, determine the adaptive value of particle;
The adaptive value of E, comparison particle, finds out local optimum and the position thereof of each particle, and reaches particle and the position thereof of global optimum;
F, according to local optimum and all optimal value upgrade position and the speed of each particle;
G, according to constraint condition, and the bound of particle rapidity constraint judge the position of particle and speed whether out-of-limit, if out-of-limit, the position of particle and speed are adjusted in restriction range;
H, the method for calculating by trend, calculate the transmission power of ordering as the PCC of balance node;
I, adopt adaptive approach, to the particle rapidity processing of raising speed;
If J reaches iterations, stop iteration, obtain final result.
Further, in described steps A, the required parameters of particle cluster algorithm is set, described parameter comprises weight factor, the study factor, population scale number and iterations, and weight factor is got ω
max=0.9, ω
min=0.4, the study factor is got c
1=c
2=3.05, population scale and iterations, according to actual conditions setting, comprise that being set to population scale counts N=40, iterations C=500.
Further, in described step B, share at random the force level that of each unit according to the load level of day part in the computing interval, repeat this step according to population scale number, obtain primary group; Comprise:
Random generate the random array that line number is unit number, columns hop count while being, the element of this array is positive number, and each column element sum is one; To load the period and be multiplied by corresponding row and can obtain primary, repeat this operation, obtain whole primary group, generate as follows for m particle:
P
i,t=a
i,t·P
D,t (2);
a
1,t+a
2,t+…+a
i,t+…a
M,t=1 (3);
Wherein: T represents the time hop count of economic load dispatching, be one day 24 hours, taking per hour as a section, totally 24 periods, M is the unit number that participates in dynamic economic dispatch; a
i,trepresenting the i platform proportional element of unit t period, is random generation, meets (3) formula, therefore (3) formula represents that for the proportional element sum of all M platforms of t period be 1, P
d,tbe the size of the load of t period, adopt same procedure to generate other particles.
Further, in described step C, determine the speed bound of each particle according to the bound constraint of each unit, the difference that the bound of particle rapidity is exerted oneself according to unit bound is reduced, reduction scope is 1%, be in particle rapidity, be limited to the unit output upper limit deduct the lower limit of exerting oneself difference 1%, under particle rapidity, be limited to unit output lower limit deduct the upper limit of exerting oneself difference 1%.
Further, in described step D, according to the primary group who obtains in step B, determine the adaptive value of particle according to Electrical Power System Dynamic economic load dispatching objective function, micro-grid system dynamic economic dispatch objective function is:
Wherein: P
i,tbe exerting oneself of i platform unit t period, the time hop count that T is dynamic economic dispatch, M is the unit number that participates in dynamic economic dispatch;
Wherein the cost function of diesel engine unit is as follows:
f(P
it)=a
i·P
it 2+b
i·P
it+c
i (5);
In formula, a
i, b
i, c
ifor cost coefficient;
Fuel cell, miniature gas turbine cost function are as follows:
In formula,
be respectively corresponding fuel cost coefficient, maintenance cost coefficient;
Adaptive value adopts target function value,
Using micro-grid system dynamic economic dispatch objective function result of calculation as particle adaptive value, target function value is less, and adaptive value is less, and the fitness of particle is higher.
Further, the constraint of the bound of micro-grid system dynamic economic dispatch comprises power-balance constraint, the constraint of unit output bound and unit ramp loss;
Wherein power-balance constraint represents by following expression formula:
Wherein: P
pCC, tfor the power to microgrid input that PCC is ordered, P
t dbe the payload of t period, P
t lossthe network loss size of t period;
The constraint of unit output bound represents by following expression formula:
P
i min≤P
i,t≤P
i max (9);
Wherein: P
i minand P
i maxrepresent respectively i the platform lower limit of exerting oneself and the upper limit of unit t period;
Unit ramp loss represents by following expression formula:
Wherein:
for downward Ramp Rate, it is negative value;
for Ramp Rate upwards, on the occasion of; Δ t represents two time intervals between scheduling slot.
Further, in described step e, the adaptive value of more each particle, determines the highest particle of particle fitness, finds the historical optimal value of each particle, i.e. local optimum, and particle position, and global optimum and particle position; If iteration for the first time, finds global optimum and corresponding particle position;
In particle cluster algorithm, the population number of population is comprised number of particles, and the each individuality in population the inside is all called a particle; Each feasible solution is all particles in population, and each particle has two attributes, and displacement and speed are all expressed as a matrix-vector, are shown below:
Wherein: P
mbe the displacement of m particle, P
i,tbe exerting oneself of i platform unit t period, i.e. the position of particle; V
mthe speed of m particle, V
i,tit is the correction of exerting oneself of the i platform unit t period of correspondence; T is the time hop count of dynamic economic dispatch; M is the unit number that participates in dynamic economic dispatch; In micro-grid system dynamic economic dispatch, the position of particle represents exerting oneself of each unit day part, and line number represents unit number, hop count when columns represents.
Further, in described step F, the local optimum obtaining according to step e and particle position, and all optimal value and particle position, according to more speed and the position of new particle of following expression formula:
Wherein:
represent respectively the adjustment amount of speed and position;
be the speed in the k generation of m particle,
the speed in the k+1 generation of m particle;
be the k generation of m particle,
for the k+1 generation of m particle;
be the historical optimal value of m particle, gbest
kit is the global optimum of the k time iteration; ω is inertial factor, for weighing global search and the local search ability of particle cluster algorithm; ω value is more greatly more easy to algorithm and increases search space, and the more little local optimal searching of more easily carrying out of value adopts self-adaptation to adjust the mode of inertial factor, that is:
Wherein: ω
maxget 0.9, ω
minget the maximum times that 0.4, C is iteration, k is current iterations; c
1, c
2for the study factor, be respectively and control the maximum step-length of particle to individual optimum and global optimum's locality flight; Get c
1=c
2=3.05;
for adjusting out-of-limit particle, when particle is out-of-limit, according to (9), (10), (11) formula, according to following rule, particle is adjusted:
1) according to speed bound, constraint is adjusted unit output, on unit, in limited time, is exerted oneself and is limited to the upper limit, and unit is more lower in limited time, is exerted oneself and is limited to lower limit;
2) according to climbing constraint, unit output is adjusted, when unit is upwards climbed, if out-of-limit, unit output is limited to the upwards upper limit of climbing; When unit is climbed, if out-of-limit, unit output is limited to the lower limit of downward climbing downwards;
3) according to the unit output after adjusting, carry out trend calculating, obtain the transmission power that PCC is ordered.
Further, for particle rapidity, be limited within the scope of constraint of velocity, constraint of velocity formula is as follows:
Wherein:
for the i of particle rapidity is capable, the element of j row,
for the i of particle rapidity is capable, the maximal value defined in the element of j row,
for the i of particle rapidity is capable, the minimum value defined in the element of j row; The maximum of particle rapidity, minimum value are according to following formula setting:
Wherein:
be respectively the upper and lower bound of corresponding i platform unit speed in particle, will be extended to and the transversal vector of period corresponding length, obtain speed limit and lower limit that particle i is capable.
Further, in described step H, according to not out-of-limit particle position after adjusting in step G, be exerting oneself of each unit day part, obtain after the exerting oneself of each unit day part, the method for calculating by trend is calculated the power input to microgrid of PCC point day part, adopt Niu Lafa, PCC point is considered as to the balance node in trend calculating, calculates exerting oneself of its day part, thereby obtain the active power of PCC point to micro-grid system input.
Further, in described step I, according to obtaining global optimum in step e, the global optimum of twice relatively, adopts adaptive approach, according to the order of magnitude of the difference of twice global optimum, particle rapidity is adjusted, and absolute value is larger, and adjustment degree is larger; Carry out as follows:
In particle cluster algorithm, along with the increase of iterations, can be absorbed in local optimum, now the speed of particle can reduce thereupon, thus particle rapidity is adjusted, that is:
v
1=v
0+Δv (19);
Wherein: v
0, v
1be respectively the particle rapidity before and after adjusting, Δ v is the speed amount of adjusting, and adopts adaptive algorithm when adjustment, and adaptive algorithm formula is as follows:
Wherein: v
inifor initial velocity set in particle cluster algorithm, r
3for-0.1 to 0.1 random number, r
4for-0.01 to 0.01 random number, for random number r
3, r
4need be with setting according to reality, λ calculates according to following formula:
Wherein: f
best kbe the global optimum position of k for particle, f
best k-1twice global optimum difference relative scale before and after k-1 is for the position λ of global optimum of particle.
Further, in described step J, the iterative algorithm of having set according to steps A, judge whether iterations reaches: if reach iterations C=500, stop calculating, obtain particle global optimum and be final particle position, this particle position is each unit exerting oneself at day part, thereby calculate net result, net result comprises going out force level and calculating the unit operation total expenses in economic cycle of each unit day part; If do not reach iterations, turn back to step D, continue to calculate.
Compared with the prior art, the beneficial effect that the present invention reaches is:
Prior art is in search procedure, search one period of stage, when iterative process is easily absorbed in Local Search, the basic vanishing of particle rapidity now, be unfavorable for searching in maximum scope, therefore in the present invention, particle rapidity is raised speed, to jump out Local Search, in speed-raising process, adopt adaptive approach, the adaptive value size calculating according to twice of front and back iteration global optimum, judge whether particle rapidity to raise speed, can jump out Local Search to ensure particle, also can ensure the function of search among a small circle of particle, and adopt the method for regulating the speed can go more targetedly to carry out search, thereby carry out better optimizing.
In prior art, in the time processing balancing the load constraint, mainly adopt the method for penalty function, in the time not meeting balancing the load constraint, add corresponding penalty term in adaptive value, reduce so that do not meet the particle adaptive value of balancing the load, thereby eliminate this part particle, but can cause like this decline of computing velocity, PCC point is not considered as to the technology that the balance node in trend calculating is carried out balancing the load adjustment, and in the present invention, process balancing the load when constraint, balance node using PCC point when trend is calculated, in the definite situation of other unit outputs, the power input of orderring by PCC realizes the balance of microgrid load, be conducive to meet fast the equality constraint of balancing the load, thereby raising computing velocity.
Brief description of the drawings
Fig. 1 is the process flow diagram of the micro-grid system dynamic economic dispatch method based on improvement particle cluster algorithm provided by the invention;
Fig. 2 is three class daily load proportional curves provided by the invention, wherein:
for industrial load,
for Commercial Load,
for resident load;
Fig. 3 is algorithm iteration process comparison diagram provided by the invention.
Embodiment
Below in conjunction with accompanying drawing, the specific embodiment of the present invention is described in further detail.
The process flow diagram of the micro-grid system dynamic economic dispatch method based on improvement particle cluster algorithm provided by the invention as shown in Figure 1, comprises the steps:
A, the required parameters of particle cluster algorithm is set, described parameter comprises weight factor, the study factor, population scale number and iterations, and weight factor is got ω
max=0.9, ω
min=0.4, the study factor is got c
1=c
2=3.05, population scale and iterations, according to actual conditions setting, comprise that being set to population scale counts N=40, iterations C=500.
B, share at random the force level that of each unit according to the load level of day part in the computing interval, repeat this step according to population scale number, obtain primary group; Comprise:
Random generate the random array that line number is unit number, columns hop count while being, the element of this array is positive number, and each column element sum is one; To load the period and be multiplied by corresponding row and can obtain primary, repeat this operation, obtain whole primary group, generate as follows for m particle:
P
i,t=a
i,t·P
D,t (2);
a
1,t+a
2,t+…+a
i,t+…a
M,t=1 (3);
Wherein: T represents the time hop count of economic load dispatching, be one day 24 hours, taking per hour as a section, totally 24 periods, M is the unit number that participates in dynamic economic dispatch; a
i,trepresenting the i platform proportional element of unit t period, is random generation, meets (3) formula, therefore (3) formula represents that for the proportional element sum of all M platforms of t period be 1, P
d,tbe the size of the load of t period, adopt same procedure to generate other particles.
C, the constraint of the speed bound of particle in micro-grid system dynamic economic dispatch is set; Determine the speed bound of each particle according to the bound constraint of each unit, the difference that the bound of particle rapidity is exerted oneself according to unit bound is reduced, reduction scope is 1%, be in particle rapidity, be limited to the unit output upper limit deduct the lower limit of exerting oneself difference 1%, under particle rapidity, be limited to unit output lower limit deduct the upper limit of exerting oneself difference 1%.
D, determine the adaptive value of particle: according to the primary group who obtains in step B, determine the adaptive value of particle according to Electrical Power System Dynamic economic load dispatching objective function, micro-grid system dynamic economic dispatch objective function is:
Wherein: P
i,tbe exerting oneself of i platform unit t period, the time hop count that T is dynamic economic dispatch, M is the unit number that participates in dynamic economic dispatch;
Wherein the cost function of diesel engine unit is as follows:
f(P
it)=a
i·P
it 2+b
i·P
it+c
i (5);
In formula, a
i, b
i, c
ifor cost coefficient;
Fuel cell, miniature gas turbine cost function are as follows:
In formula,
be respectively corresponding fuel cost coefficient, maintenance cost coefficient;
Using target function value as adaptive value, corresponding adaptive value is:
Using micro-grid system dynamic economic dispatch objective function result of calculation as particle adaptive value, target function value is less, and adaptive value is less, and the fitness of particle is higher.
The bound constraint of micro-grid system dynamic economic dispatch comprises power-balance constraint, the constraint of unit output bound and unit ramp loss;
Wherein power-balance constraint represents by following expression formula:
Wherein: P
pCC, trepresent the power input of PCC point t period, P
t dbe the payload of t period, P
t lossthe network loss size of t period;
The constraint of unit output bound represents by following expression formula:
P
i min≤P
i,t≤P
i max (9);
Wherein: P
i minand P
i maxrepresent respectively i the platform lower limit of exerting oneself and the upper limit of unit t period;
Unit ramp loss represents by following expression formula:
Wherein:
for downward Ramp Rate, it is negative value;
for Ramp Rate upwards, on the occasion of; Δ t represents two time intervals between scheduling slot.
The adaptive value of E, more each particle, determines the highest particle of particle fitness, finds the historical optimal value of each particle, i.e. local optimum, and particle position, and global optimum and particle position; If iteration for the first time, finds global optimum and corresponding particle position;
In particle cluster algorithm, the population number of population is comprised number of particles, and the each individuality in population the inside is all called a particle; Each feasible solution is all particles in population, and each particle has two attributes, and displacement and speed are all expressed as a matrix-vector, are shown below:
Wherein: P
mbe the displacement of m particle, P
i,tbe exerting oneself of i platform unit t period, i.e. the position of particle; V
mv
mthe speed of individual particle, V
i,tit is the correction of exerting oneself of the i platform unit t period of correspondence; T is the time hop count of dynamic economic dispatch; M is the unit number that participates in dynamic economic dispatch; In micro-grid system dynamic economic dispatch, the position of particle represents exerting oneself of each unit day part, and line number represents unit number, hop count when columns represents.
F, the local optimum obtaining according to step e and particle position, and all optimal value and particle position, according to more speed and the position of new particle of following expression formula:
Wherein:
represent respectively the adjustment amount of speed and position;
be the speed in the k generation of m particle,
the speed in the k+1 generation of m particle;
be the k generation of m particle,
for the k+1 generation of m particle;
be the historical optimal value of m particle, gbest
kit is the global optimum of the k time iteration; ω is inertial factor, for weighing global search and the local search ability of particle cluster algorithm; ω value is more greatly more easy to algorithm and increases search space, and the more little local optimal searching of more easily carrying out of value adopts self-adaptation to adjust the mode of inertial factor, that is:
Wherein: ω
maxget 0.9, ω
minget the maximum times that 0.4, C is iteration, k is current iterations; c
1, c
2for the study factor, be respectively and control the maximum step-length of particle to individual optimum and global optimum's locality flight; Get c
1=c
2=3.05;
for adjusting out-of-limit particle, when particle is out-of-limit, according to (9), (10), (11) formula, according to following rule, particle is adjusted:
1) according to speed bound, constraint is adjusted unit output, on unit, in limited time, is exerted oneself and is limited to the upper limit, and unit is more lower in limited time, is exerted oneself and is limited to lower limit;
2) according to climbing constraint, unit output is adjusted, when unit is upwards climbed, if out-of-limit, unit output is limited to the upwards upper limit of climbing; When unit is climbed, if out-of-limit, unit output is limited to the lower limit of downward climbing downwards;
3) according to the unit output after adjusting, carry out trend calculating, obtain the transmission power that PCC is ordered.
G, according to constraint condition, and the bound of particle rapidity constraint judge the position of particle and speed whether out-of-limit, if out-of-limit, the position of particle and speed are adjusted in restriction range;
For particle rapidity, be limited within the scope of constraint of velocity, constraint of velocity formula is as follows:
Wherein:
for the i of particle rapidity is capable, the element of j row,
for the i of particle rapidity is capable, the maximal value defined in the element of j row,
for the i of particle rapidity is capable, the minimum value defined in the element of j row; The maximum of particle rapidity, minimum value are according to following formula setting:
Wherein:
be respectively the upper and lower bound of corresponding i platform unit speed in particle, will be extended to and the transversal vector of period corresponding length, obtain speed limit and lower limit that particle i is capable.
H, the method for calculating by trend, calculate the transmission power of ordering as the PCC of balance node: according to not out-of-limit particle position after adjusting in step G, i.e. and exerting oneself of each unit day part, the method for calculating by trend is calculated exerting oneself of PCC point day part
I, adopt adaptive approach, to the particle rapidity processing of raising speed:
According to obtaining global optimum in step e, before and after comparing, the global optimum of twice, adopts adaptive approach, according to the order of magnitude of the difference of twice global optimum, particle rapidity is adjusted, and absolute value is larger, and adjustment degree is larger; Carry out as follows:
In particle cluster algorithm, along with the increase of iterations, may be absorbed in local optimum, now the speed of particle can reduce thereupon, thus particle rapidity is adjusted, that is:
v
1=v
0+Δv (19);
Wherein: v
0, v
1be respectively the particle rapidity before and after adjusting, Δ v is the speed amount of adjusting, and adopts adaptive algorithm when adjustment, and adaptive algorithm formula is as follows:
Wherein: v
inifor initial velocity set in particle cluster algorithm, r
3for-0.1 to 0.1 random number, r
4for-0.01 to 0.01 random number, for random number r
3, r
4need be with setting according to reality, λ calculates according to following formula:
Wherein: f
best kbe the global optimum position of k for particle, f
best k-1twice global optimum difference relative scale before and after k-1 is for the position λ of global optimum of particle.
If J reaches iterations, stop iteration, obtain final result: the iterative algorithm of having set according to steps A, judge whether iterations reaches: if reach iterations C=500, stop calculating, obtain particle global optimum and be final particle position, this particle position is each unit exerting oneself at day part, thereby calculate net result, net result comprises going out force level and calculating the unit operation total expenses in economic cycle of each unit day part; If do not reach iterations, turn back to step D, continue to calculate.
Embodiment
The present embodiment adopts the micro-grid system of 17 nodes, and its structural parameters and load data are as shown in table 1, and in table, last classifies the load of a certain typical case's day as, represents the peak load of end-node, and the power factor of its each node load is 0.85.The daily load proportional curve figure (with the number percent of this day peak load) of industrial load, Commercial Load, resident load as shown in Figure 2.In microgrid, distributed power source parameter is as shown in table 2, and the node that is connected with distributed power source in microgrid is 5,6,7,8,9,12, and unit 1,2 is diesel engine unit, and unit 3,4 is fuel cell, and unit 5,6 is miniature gas turbine.Microgrid is 0.5 yuan/kWh from the electric weight electricity charge of buying of major network.
Table 1 microgrid parameter
Table 2 distributed power source parameter
A) diesel engine unit parameter
Note: unit 3,4 is fuel cell, unit 5,6 is miniature gas turbine.
In the calculating of the present embodiment, particle cluster algorithm parameter is as follows: power inertial factor ω
max=0.9, ω
min=0.4, study factor C
1=C
2=2.05, on iterations, be limited to 800 times.
Table 3 is distributed power source 24 hours optimization result and PCC point power to microgrid supply of exerting oneself.Calculating total expenses is 7664.4 yuan.
Fig. 3 has provided consideration adaptive algorithm (shown in solid line) and has not considered the optimizing process of adaptive algorithm (shown in dotted line), and in figure, transverse axis represents iterations, and the longitudinal axis represents the global optimum of each iteration.As can be seen from the figure, add after the self-adaptation rule that improves particle rapidity, solve speed advantage obvious, in the time iterating to the 100th time, restrain effect and just occurred obvious difference, the speed that optimal value declines is faster, effectively solve the problem that is absorbed in local optimum in solution procedure, can obtain quickly the result of convergence.Meanwhile, adding the convergence result of adaptive algorithm also better, is 8121.1 yuan and do not add the last optimum results of adaptive algorithm, and many 456.7 yuan than the result that adds adaptive algorithm of cost of electricity-generatings, exceed 5.955%.Particle cluster algorithm after improving is described, can solves preferably the dynamic economic dispatch problem of microgrid when grid-connected, improved the speed of solving, and can obtain better optimum results.
Table 3 unit and PCC point out force data
The present invention improves the iterative formula of particle cluster algorithm, adds adaptive approach, so that speed is adjusted, and according to constraint condition, particle is adjusted, not out-of-limit to ensure particle.The present invention adopts the particle cluster algorithm after improvement to solve the dynamic economic dispatch of micro-grid system, to obtain the force level that of each unit day part after optimization.Calculate by trend the power that PCC is ordered simultaneously, realize the equilibrium of supply and demand of microgrid internal loading.
Finally should be noted that: above embodiment is only in order to illustrate that technical scheme of the present invention is not intended to limit; those of ordinary skill in the field are to be understood that: still can modify or be equal to replacement the specific embodiment of the present invention with reference to above-described embodiment; do not depart from any amendment of spirit and scope of the invention or be equal to replacement, within the claim protection domain all awaiting the reply in application.
Claims (12)
1. the micro-grid system dynamic economic dispatch method based on particle cluster algorithm, is characterized in that, described method comprises the steps:
A, particle cluster algorithm parameter is set;
B, generation primary group;
C, the constraint of the speed bound of particle in micro-grid system dynamic economic dispatch is set;
D, determine the adaptive value of particle;
The adaptive value of E, comparison particle, finds out local optimum and the position thereof of each particle, and reaches particle and the position thereof of global optimum;
F, according to local optimum and all optimal value upgrade position and the speed of each particle;
G, according to constraint condition, and the bound of particle rapidity constraint judge the position of particle and speed whether out-of-limit, if out-of-limit, the position of particle and speed are adjusted in restriction range;
H, by tidal current computing method, the transmission power that the PCC of calculated equilibrium node is ordered;
I, adopt adaptive approach, to the particle rapidity processing of raising speed;
If J reaches iterations, stop iteration, obtain final result.
2. micro-grid system dynamic economic dispatch method as claimed in claim 1, is characterized in that, in described steps A, the required parameters of particle cluster algorithm is set, and described parameter comprises ω
max=0.9 or ω
min=0.4 weight factor, c
1=c
2=3.05 the study factor, population scale number and iterations, population scale and iterations, according to actual conditions setting, comprise that being set to population scale counts N=40, iterations C=500.
3. micro-grid system dynamic economic dispatch method as claimed in claim 1, it is characterized in that, in described step B, share at random the force level that of each unit according to the load level of day part in the computing interval, repeat this step according to population scale number, obtain primary group; Comprise:
Random generate the random array that line number is unit number, columns hop count while being, the element of this array is positive number, and each column element sum is one; Primary is that period load is multiplied by corresponding row, repeats this operation, obtains whole primary group, generates as follows for m particle:
P
i,t=a
i,t·P
D,t (2);
a
1,t+a
2,t+…+a
i,t+…a
M,t=1 (3);
Wherein: T represents the time hop count of economic load dispatching, be one day 24 hours, per hour is a section, totally 24 periods, M is the unit number that participates in dynamic economic dispatch; a
i,trepresenting the i platform proportional element of unit t period, is random generation, meets (3) formula, therefore (3) formula represents that for the proportional element sum of all M platforms of t period be 1, P
d,tbe the size of the load of t period, adopt same procedure to generate other particles.
4. micro-grid system dynamic economic dispatch method as claimed in claim 1, it is characterized in that, in described step C, determine the speed bound of each particle according to the bound constraint of each unit, the bound of the difference reduction particle rapidity of exerting oneself according to unit bound, reduction scope is 1%, or in particle rapidity, be limited to the unit output upper limit deduct the lower limit of exerting oneself difference 1%, under particle rapidity, be limited to unit output lower limit deduct the upper limit of exerting oneself difference 1%.
5. micro-grid system dynamic economic dispatch method as claimed in claim 1, it is characterized in that, in described step D, according to the primary group who obtains in step B, determine the adaptive value of particle with Electrical Power System Dynamic economic load dispatching objective function, micro-grid system dynamic economic dispatch objective function is:
(4) in formula: P
i,tbe exerting oneself of i platform unit t period, the time hop count that T is dynamic economic dispatch, M is the unit number that participates in dynamic economic dispatch;
Wherein the cost function of diesel engine unit is as follows:
f(P
it)=a
i·P
it 2+b
i·P
it+c
i (5);
(5) in formula, a
i, b
i, c
ifor cost coefficient;
Fuel cell, miniature gas turbine cost function are as follows:
(6) in formula,
be respectively corresponding fuel cost coefficient, maintenance cost coefficient;
Adaptive value adopts (7) formula target function value:
Using micro-grid system dynamic economic dispatch objective function result of calculation as particle adaptive value, target function value is less, and adaptive value is less, and the fitness of particle is higher.
6. micro-grid system dynamic economic dispatch method as claimed in claim 5, it is characterized in that, the bound constraint of micro-grid system dynamic economic dispatch comprises the constraint of unit output bound and (10) formula unit ramp loss of the power-balance constraint of following (8) formula, (9) formula:
(8) in formula: P
pCC, tfor the power to microgrid input that PCC is ordered, P
t dbe the payload of t period, P
t lossthe network loss size of t period;
P
i min≤P
i,t≤P
i max (9);
(9) in formula: P
i minand P
i maxrepresent respectively i the platform lower limit of exerting oneself and the upper limit of unit t period;
(10) in formula:
for downward Ramp Rate, it is negative value;
for Ramp Rate upwards, on the occasion of; Δ t represents two time intervals between scheduling slot.
7. micro-grid system dynamic economic dispatch method as claimed in claim 1, it is characterized in that, in described step e, the adaptive value of more each particle, determine the highest particle of particle fitness, find the historical optimal value of each particle, i.e. local optimum, and particle position, and global optimum and particle position; If iteration for the first time, finds global optimum and corresponding particle position;
In particle cluster algorithm, the population number of population is comprised number of particles, and the each individuality in population the inside is all called a particle; Each feasible solution is all particles in population, and each particle has two attributes, and displacement and speed are all expressed as a matrix-vector, are shown below:
(11) and in (12) formula: P
mbe the displacement of m particle, P
i,tbe exerting oneself of i platform unit t period, i.e. the position of particle; V
mthe speed of m particle, V
i,tit is the correction of exerting oneself of the i platform unit t period of correspondence; T is the time hop count of dynamic economic dispatch; M is the unit number that participates in dynamic economic dispatch; In micro-grid system dynamic economic dispatch, the position of particle represents exerting oneself of each unit day part, and line number represents unit number, hop count when columns represents.
8. micro-grid system dynamic economic dispatch method as claimed in claim 1, it is characterized in that, in described step F, the local optimum obtaining according to step e and particle position, and all optimal values and particle position, according to more speed and the position of new particle of following expression formula:
(13) and in (14) formula:
represent respectively the adjustment amount of speed and position;
be the speed in the k generation of m particle,
the speed in the k+1 generation of m particle;
be the k generation of m particle,
for the k+1 generation of m particle;
be the historical optimal value of m particle, gbest
kit is the global optimum of the k time iteration; ω is inertial factor, for weighing global search and the local search ability of particle cluster algorithm; ω value is more greatly more easy to algorithm and increases search space, and the more little local optimal searching of more easily carrying out of value adopts self-adaptation to adjust the mode of inertial factor, that is:
(15) in formula: ω
maxget 0.9 or 0.4, the C maximum times that is iteration, k is current iterations; c
1, c
2for the study factor, be respectively and control the maximum step-length of particle to individual optimum and global optimum's locality flight; Get c
1=c
2=3.05;
for adjusting out-of-limit particle, when particle is out-of-limit, according to (9), (10), (11) formula, according to following rule, particle is adjusted:
1) according to speed bound, constraint is adjusted unit output, on unit, in limited time, is exerted oneself and is limited to the upper limit, and unit is more lower in limited time, is exerted oneself and is limited to lower limit;
2) according to climbing constraint, unit output is adjusted, when unit is upwards climbed, if out-of-limit, unit output is limited to the upwards upper limit of climbing; When unit is climbed, if out-of-limit, unit output is limited to the lower limit of downward climbing downwards;
3) according to the unit output after adjusting, carry out trend calculating, obtain the transmission power that PCC is ordered.
9. micro-grid system dynamic economic dispatch method as claimed in claim 1, is characterized in that, for particle rapidity, is limited within the scope of constraint of velocity, and constraint of velocity formula is as follows:
(16) in formula:
for the i of particle rapidity is capable, the element of j row,
for the i of particle rapidity is capable, the maximal value defined in the element of j row,
for the i of particle rapidity is capable, the minimum value defined in the element of j row; The maximum of particle rapidity, minimum value are according to following formula setting:
(18) in formula:
be respectively the upper and lower bound of corresponding i platform unit speed in particle, will be extended to and the transversal vector of period corresponding length, obtain speed limit and lower limit that particle i is capable.
10. micro-grid system dynamic economic dispatch method as claimed in claim 1, it is characterized in that, in described step H, according to not out-of-limit particle position after adjusting in step G, be exerting oneself of each unit day part, obtain after the exerting oneself of each unit day part, the method of calculating by trend is calculated the power input to microgrid of PCC point day part, adopt Niu Lafa, PCC point is considered as to the balance node in trend calculating, calculate exerting oneself of its day part, thereby obtain the active power of PCC point to micro-grid system input.
11. micro-grid system dynamic economic dispatch methods as claimed in claim 1, it is characterized in that, in described step I, according to obtaining global optimum in step e, before and after comparing, the global optimum of twice, adopts adaptive approach, according to the order of magnitude of the difference of twice global optimum, particle rapidity is adjusted, and absolute value is larger, and adjustment degree is larger; Carry out as follows:
In particle cluster algorithm, along with the increase of iterations, can be absorbed in local optimum, now the speed of particle can reduce thereupon, thus particle rapidity is adjusted, that is:
v
1=v
0+Δv (19);
Wherein: v
0, v
1be respectively the particle rapidity before and after adjusting, Δ v is the speed amount of adjusting, and adopts adaptive algorithm when adjustment, and adaptive algorithm formula is as follows:
(20) in formula: v
inifor initial velocity set in particle cluster algorithm, r
3for-0.1 to 0.1 random number, r
4for-0.01 to 0.01 random number, for random number r
3, r
4need be with setting according to reality, λ calculates according to following formula:
(21) in formula: f
best kbe the global optimum position of k for particle, f
best k-1twice global optimum difference relative scale before and after k-1 is for the position λ of global optimum of particle.
12. micro-grid system dynamic economic dispatch methods as claimed in claim 1, it is characterized in that, in described step J, the iterative algorithm of having set according to steps A, judge whether iterations reaches: if reach iterations C=500, stop calculating, obtain particle global optimum and be final particle position, this particle position is each unit exerting oneself at day part, thereby calculate net result, net result comprises going out force level and calculating the unit operation total expenses in economic cycle of each unit day part; If do not reach iterations, turn back to step D, continue to calculate.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410240953.5A CN104036320B (en) | 2014-05-30 | 2014-05-30 | Dynamic economical dispatch method for microgrid system on the basis of improved particle swarm optimization |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410240953.5A CN104036320B (en) | 2014-05-30 | 2014-05-30 | Dynamic economical dispatch method for microgrid system on the basis of improved particle swarm optimization |
Publications (2)
Publication Number | Publication Date |
---|---|
CN104036320A true CN104036320A (en) | 2014-09-10 |
CN104036320B CN104036320B (en) | 2017-02-08 |
Family
ID=51467084
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201410240953.5A Active CN104036320B (en) | 2014-05-30 | 2014-05-30 | Dynamic economical dispatch method for microgrid system on the basis of improved particle swarm optimization |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104036320B (en) |
Cited By (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104573847A (en) * | 2014-12-09 | 2015-04-29 | 国家电网公司 | Energy-storage multi-target control method and system considering wind-power ramp rate and operating cost |
CN104616067A (en) * | 2014-12-09 | 2015-05-13 | 国家电网公司 | Wind power storage power generation control method and system considering grid purchase price and genetic algorithm optimization |
CN105427063A (en) * | 2016-01-04 | 2016-03-23 | 厦门大学 | Micro-grid scheduling decision method and micro-grid scheduling decision system |
CN106570579A (en) * | 2016-10-31 | 2017-04-19 | 重庆邮电大学 | Hydrothermal economical scheduling method based on improved quantum particle swarm algorithm |
CN106961125A (en) * | 2017-05-08 | 2017-07-18 | 西安理工大学 | The equality constraint processing method of wind Thermal and Hydroelectric Power Systems dynamic economic dispatch |
CN107732974A (en) * | 2017-11-27 | 2018-02-23 | 广东工业大学 | A kind of low pressure photovoltaic generating system and its method |
CN107862100A (en) * | 2016-09-21 | 2018-03-30 | 中国石油化工股份有限公司 | A kind of shot point method for correcting error based on particle cluster algorithm |
CN108471143A (en) * | 2018-03-26 | 2018-08-31 | 国网天津市电力公司电力科学研究院 | Micro-grid multi-energy method for optimizing scheduling based on positive and negative feedback particle cluster algorithm |
CN111811111A (en) * | 2020-06-17 | 2020-10-23 | 上海电力大学 | Central air conditioner energy consumption control method based on improved particle swarm algorithm |
CN113852109A (en) * | 2021-09-23 | 2021-12-28 | 西南交通大学 | Distributed control method for fair load margin of heterogeneous microgrid group |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH10334070A (en) * | 1997-06-02 | 1998-12-18 | Nippon Telegr & Teleph Corp <Ntt> | Method and device for global acceleration learning for neural circuit network model |
CN103326353A (en) * | 2013-05-21 | 2013-09-25 | 武汉大学 | Environmental economic power generation dispatching calculation method based on improved multi-objective particle swarm optimization algorithm |
CN103345663A (en) * | 2013-07-18 | 2013-10-09 | 厦门大学 | Combinatorial optimization method of electric power system set considering creep speed constraints |
-
2014
- 2014-05-30 CN CN201410240953.5A patent/CN104036320B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH10334070A (en) * | 1997-06-02 | 1998-12-18 | Nippon Telegr & Teleph Corp <Ntt> | Method and device for global acceleration learning for neural circuit network model |
CN103326353A (en) * | 2013-05-21 | 2013-09-25 | 武汉大学 | Environmental economic power generation dispatching calculation method based on improved multi-objective particle swarm optimization algorithm |
CN103345663A (en) * | 2013-07-18 | 2013-10-09 | 厦门大学 | Combinatorial optimization method of electric power system set considering creep speed constraints |
Non-Patent Citations (1)
Title |
---|
苗雨阳 等: "基于改进多目标粒子群算法的微电网并网优化调度", 《电力科学与工程》 * |
Cited By (16)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104573847B (en) * | 2014-12-09 | 2021-04-06 | 国家电网公司 | Energy storage multi-target control method and system considering wind power climbing rate and operation cost |
CN104616067A (en) * | 2014-12-09 | 2015-05-13 | 国家电网公司 | Wind power storage power generation control method and system considering grid purchase price and genetic algorithm optimization |
CN104573847A (en) * | 2014-12-09 | 2015-04-29 | 国家电网公司 | Energy-storage multi-target control method and system considering wind-power ramp rate and operating cost |
CN105427063A (en) * | 2016-01-04 | 2016-03-23 | 厦门大学 | Micro-grid scheduling decision method and micro-grid scheduling decision system |
CN107862100A (en) * | 2016-09-21 | 2018-03-30 | 中国石油化工股份有限公司 | A kind of shot point method for correcting error based on particle cluster algorithm |
CN106570579A (en) * | 2016-10-31 | 2017-04-19 | 重庆邮电大学 | Hydrothermal economical scheduling method based on improved quantum particle swarm algorithm |
CN106570579B (en) * | 2016-10-31 | 2020-12-22 | 重庆邮电大学 | Water, fire and electricity economic dispatching method based on improved quantum particle swarm algorithm |
CN106961125A (en) * | 2017-05-08 | 2017-07-18 | 西安理工大学 | The equality constraint processing method of wind Thermal and Hydroelectric Power Systems dynamic economic dispatch |
CN106961125B (en) * | 2017-05-08 | 2018-04-13 | 西安理工大学 | The equality constraint processing method of wind Thermal and Hydroelectric Power Systems dynamic economic dispatch |
CN107732974A (en) * | 2017-11-27 | 2018-02-23 | 广东工业大学 | A kind of low pressure photovoltaic generating system and its method |
CN107732974B (en) * | 2017-11-27 | 2023-07-25 | 广东工业大学 | Low-voltage photovoltaic power generation system and method thereof |
CN108471143A (en) * | 2018-03-26 | 2018-08-31 | 国网天津市电力公司电力科学研究院 | Micro-grid multi-energy method for optimizing scheduling based on positive and negative feedback particle cluster algorithm |
CN111811111B (en) * | 2020-06-17 | 2021-12-07 | 上海电力大学 | Central air conditioner energy consumption control method based on improved particle swarm algorithm |
CN111811111A (en) * | 2020-06-17 | 2020-10-23 | 上海电力大学 | Central air conditioner energy consumption control method based on improved particle swarm algorithm |
CN113852109A (en) * | 2021-09-23 | 2021-12-28 | 西南交通大学 | Distributed control method for fair load margin of heterogeneous microgrid group |
CN113852109B (en) * | 2021-09-23 | 2023-04-28 | 西南交通大学 | Fair load margin distributed regulation and control method for heterogeneous micro-grid group |
Also Published As
Publication number | Publication date |
---|---|
CN104036320B (en) | 2017-02-08 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104036320A (en) | Dynamic economical dispatch method for microgrid system on the basis of improved particle swarm optimization | |
US11326579B2 (en) | Adaptive dynamic planning control method and system for energy storage station, and storage medium | |
CN104036331B (en) | A kind of Electrical Power System Dynamic economic load dispatching method based on improvement particle cluster algorithm | |
CN109494727B (en) | Power distribution network active and reactive power coordinated optimization operation method considering demand response | |
CN114362196B (en) | Multi-time-scale active power distribution network voltage control method | |
CN108471143A (en) | Micro-grid multi-energy method for optimizing scheduling based on positive and negative feedback particle cluster algorithm | |
CN108320111A (en) | A kind of ultra-large GROUP OF HYDROPOWER STATIONS practical dispatching method in short term | |
CN105048479B (en) | A kind of idle packet adjusting method of photovoltaic plant | |
CN103914734B (en) | Microgrid capacity optimization cloth location method based on improved Ant Colony System | |
CN103151802A (en) | Coordinated control system and method for DG (Differential Gain) of multi-time scale active power distribution network | |
CN106786977B (en) | Charging scheduling method of electric vehicle charging station | |
CN112821470A (en) | Micro-grid group optimization scheduling strategy based on niche chaos particle swarm algorithm | |
CN109787221B (en) | Electric energy safety and economy scheduling method and system for micro-grid | |
CN104252132A (en) | Adaptive genetic algorithm-based interplanetary orbit control optimization method | |
CN107069708B (en) | Extreme learning machine-based transmission network line active safety correction method | |
CN105610200A (en) | Synchronous coordinated control based full-power control method for thermal power plant | |
CN104636831A (en) | Multi-power-grid-oriented hydropower station short period peak load regulation characteristic value searching method | |
Bhagat et al. | Application of inertia emulation control strategy with energy storage system in multi-area hydro-thermal system using a novel metaheuristic optimized tilt controller | |
CN106169756B (en) | A kind of isolated island microgrid frequency cooperative control method of meter and economic performance | |
CN102790401A (en) | Method for inhibiting fluctuation of random power of alternative-current junctor | |
CN105576653B (en) | A kind of 220kV sections power network power supply capacity optimization method | |
CN113627807B (en) | Network source load interaction risk control method | |
CN103441492B (en) | Based on the frequency modulation feedback Nash Equilibrium control method of Cooperative Evolutionary Algorithm | |
Raj et al. | Regular paper optimal power flow solution for combined economic emission dispatch problem using particle swarm optimization technique | |
CN115102228A (en) | Multi-target coordination frequency optimization method and device for wind power plant containing flywheel energy storage |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant |