[go: up one dir, main page]

CN114400712A - A Microgrid Swarm Optimization Scheduling Method Based on Improved Second-Order Particle Swarm Optimization - Google Patents

A Microgrid Swarm Optimization Scheduling Method Based on Improved Second-Order Particle Swarm Optimization Download PDF

Info

Publication number
CN114400712A
CN114400712A CN202210031104.3A CN202210031104A CN114400712A CN 114400712 A CN114400712 A CN 114400712A CN 202210031104 A CN202210031104 A CN 202210031104A CN 114400712 A CN114400712 A CN 114400712A
Authority
CN
China
Prior art keywords
particle
microgrid
power
optimal
energy storage
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
CN202210031104.3A
Other languages
Chinese (zh)
Other versions
CN114400712B (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.)
Wuhan University WHU
Economic and Technological Research Institute of State Grid Hubei Electric Power Co Ltd
Original Assignee
Wuhan University WHU
Economic and Technological Research Institute of State Grid Hubei Electric Power Co Ltd
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 Wuhan University WHU, Economic and Technological Research Institute of State Grid Hubei Electric Power Co Ltd filed Critical Wuhan University WHU
Priority to CN202210031104.3A priority Critical patent/CN114400712B/en
Publication of CN114400712A publication Critical patent/CN114400712A/en
Application granted granted Critical
Publication of CN114400712B publication Critical patent/CN114400712B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

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/38Arrangements for parallely feeding a single network by two or more generators, converters or transformers
    • H02J3/46Controlling of the sharing of output between the generators, converters, or transformers
    • H02J3/466Scheduling the operation of the generators, e.g. connecting or disconnecting generators to meet a given demand
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F30/00Computer-aided design [CAD]
    • G06F30/20Design optimisation, verification or simulation
    • G06F30/25Design optimisation, verification or simulation using particle-based methods
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06NCOMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
    • G06N3/00Computing arrangements based on biological models
    • G06N3/004Artificial life, i.e. computing arrangements simulating life
    • G06N3/006Artificial life, i.e. computing arrangements simulating life based on simulated virtual individual or collective life forms, e.g. social simulations or particle swarm optimisation [PSO]
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06NCOMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
    • G06N7/00Computing arrangements based on specific mathematical models
    • G06N7/08Computing arrangements based on specific mathematical models using chaos models or non-linear system models
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q10/00Administration; Management
    • G06Q10/04Forecasting or optimisation specially adapted for administrative or management purposes, e.g. linear programming or "cutting stock problem"
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q10/00Administration; Management
    • G06Q10/06Resources, workflows, human or project management; Enterprise or organisation planning; Enterprise or organisation modelling
    • G06Q10/063Operations research, analysis or management
    • G06Q10/0631Resource planning, allocation, distributing or scheduling for enterprises or organisations
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q50/00Information and communication technology [ICT] specially adapted for implementation of business processes of specific business sectors, e.g. utilities or tourism
    • G06Q50/06Energy or water supply
    • 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/24Arrangements for preventing or reducing oscillations of power in networks
    • 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/28Arrangements for balancing of the load in a network by storage of energy
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2111/00Details relating to CAD techniques
    • G06F2111/04Constraint-based CAD
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2111/00Details relating to CAD techniques
    • G06F2111/08Probabilistic or stochastic CAD
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2113/00Details relating to the application field
    • G06F2113/04Power grid distribution networks
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JCIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J2203/00Indexing scheme relating to details of circuit arrangements for AC mains or AC distribution networks
    • H02J2203/10Power transmission or distribution systems management focussing at grid-level, e.g. load flow analysis, node profile computation, meshed network optimisation, active network management or spinning reserve management
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JCIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J2203/00Indexing scheme relating to details of circuit arrangements for AC mains or AC distribution networks
    • H02J2203/20Simulating, e g planning, reliability check, modelling or computer assisted design [CAD]
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JCIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J2300/00Systems for supplying or distributing electric power characterised by decentralized, dispersed, or local generation
    • H02J2300/10The dispersed energy generation being of fossil origin, e.g. diesel generators
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JCIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J2300/00Systems for supplying or distributing electric power characterised by decentralized, dispersed, or local generation
    • H02J2300/20The dispersed energy generation being of renewable origin
    • H02J2300/22The renewable source being solar energy
    • H02J2300/24The renewable source being solar energy of photovoltaic origin
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JCIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J2300/00Systems for supplying or distributing electric power characterised by decentralized, dispersed, or local generation
    • H02J2300/20The dispersed energy generation being of renewable origin
    • H02J2300/28The renewable source being wind energy
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02EREDUCTION OF GREENHOUSE GAS [GHG] EMISSIONS, RELATED TO ENERGY GENERATION, TRANSMISSION OR DISTRIBUTION
    • Y02E10/00Energy generation through renewable energy sources
    • Y02E10/50Photovoltaic [PV] energy
    • Y02E10/56Power conversion systems, e.g. maximum power point trackers
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02EREDUCTION OF GREENHOUSE GAS [GHG] EMISSIONS, RELATED TO ENERGY GENERATION, TRANSMISSION OR DISTRIBUTION
    • Y02E10/00Energy generation through renewable energy sources
    • Y02E10/70Wind energy
    • Y02E10/76Power conversion electric or electronic aspects
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02EREDUCTION OF GREENHOUSE GAS [GHG] EMISSIONS, RELATED TO ENERGY GENERATION, TRANSMISSION OR DISTRIBUTION
    • Y02E70/00Other energy conversion or management systems reducing GHG emissions
    • Y02E70/30Systems combining energy storage with energy generation of non-fossil origin

Landscapes

  • Engineering & Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Human Resources & Organizations (AREA)
  • General Physics & Mathematics (AREA)
  • Economics (AREA)
  • Strategic Management (AREA)
  • Evolutionary Computation (AREA)
  • Marketing (AREA)
  • Power Engineering (AREA)
  • Entrepreneurship & Innovation (AREA)
  • Tourism & Hospitality (AREA)
  • General Engineering & Computer Science (AREA)
  • General Business, Economics & Management (AREA)
  • Health & Medical Sciences (AREA)
  • Quality & Reliability (AREA)
  • Computing Systems (AREA)
  • General Health & Medical Sciences (AREA)
  • Development Economics (AREA)
  • Artificial Intelligence (AREA)
  • Software Systems (AREA)
  • Data Mining & Analysis (AREA)
  • Game Theory and Decision Science (AREA)
  • Operations Research (AREA)
  • Mathematical Physics (AREA)
  • Mathematical Analysis (AREA)
  • Biomedical Technology (AREA)
  • Educational Administration (AREA)
  • Mathematical Optimization (AREA)
  • Computational Mathematics (AREA)
  • Computer Hardware Design (AREA)
  • Geometry (AREA)
  • Algebra (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Pure & Applied Mathematics (AREA)
  • Biophysics (AREA)
  • Computational Linguistics (AREA)
  • Nonlinear Science (AREA)
  • Molecular Biology (AREA)

Abstract

A micro-grid group optimal scheduling method based on an improved second-order particle swarm algorithm is characterized by firstly respectively building mathematical models of various devices in a micro-grid group, building a micro-grid group optimal scheduling model with the aims of minimum comprehensive operation cost, maximum wind-light absorption rate and minimum power fluctuation of a connecting line of the micro-grid group as targets, then taking the output of wind power, photoelectricity, energy storage and a diesel engine set as the positions of particle swarms and a fitness function as a target function, and solving the optimal scheduling model by adopting the improved second-order particle swarm algorithm to obtain an optimal scheduling scheme of the micro-grid group. The method not only minimizes the overall operation cost of the micro-grid group, but also reduces the impact of the micro-grid connection on the power distribution network, and improves the accuracy and the calculation speed of the algorithm.

Description

一种基于改进二阶粒子群算法的微电网群优化调度方法A Microgrid Swarm Optimization Scheduling Method Based on Improved Second-Order Particle Swarm Optimization

技术领域technical field

本发明属于电网优化调度领域,具体涉及一种基于改进二阶粒子群算法的微电网群优化调度方法。The invention belongs to the field of power grid optimization and scheduling, in particular to a micro-grid group optimization scheduling method based on an improved second-order particle swarm algorithm.

背景技术Background technique

近年来,随着化石能源的大量使用,大气中的二氧化碳含量不断攀升,环境保护问题日益凸显,大力发展清洁能源已成为未来趋势,尤其是风力发电(Wind Turbine,WT)和光伏发电(Photovoltaic,PV),但如何有效消纳具有间歇性和波动性的风光成为亟待解决的问题。微电网(Microgrid,MG)作为一种将风光荷就近连接的小型发配电系统,通过配置一定容量的储能(Energy Storage System,ESS)和柴油机组,能有效的促进大量的风光接入并进行消纳,如何妥善的管理微电网之间、微电网与配电网之间的优化调度成为热门研究。In recent years, with the large-scale use of fossil energy, the carbon dioxide content in the atmosphere has continued to rise, and environmental protection issues have become increasingly prominent. It has become a future trend to vigorously develop clean energy, especially wind power (Wind Turbine, WT) and photovoltaic (Photovoltaic, PV), but how to effectively absorb the intermittent and volatile scenery has become an urgent problem to be solved. Microgrid (MG) is a small power generation and distribution system that connects wind and solar loads nearby. By configuring a certain capacity of energy storage system (ESS) and diesel units, it can effectively promote the connection of a large number of wind and solar power. For consumption, how to properly manage the optimal scheduling between microgrids and between microgrids and distribution networks has become a hot research topic.

微电网群互动优化调度模型主要涉及优化模型和优化算法。优化模型主要包括优化目标和约束条件,约束条件通常为微电网内部设置的运行约束和电能质量指标约束,优化目标通常包括微电网运行的成本、联络线功率波动、电能质量指标和环保性等等。优化算法主要为启发式算法,如遗传算法、蚁群算法和粒子群算法等,主要关注点为优化算法的收敛性、计算时间和全局寻优能力,如何将高性能的优化算法用于微电网群优化调度模型成为关键性问题。The interactive optimization scheduling model of microgrid group mainly involves optimization models and optimization algorithms. The optimization model mainly includes optimization objectives and constraints. The constraints are usually the operating constraints and power quality index constraints set within the microgrid. The optimization objectives usually include the cost of microgrid operation, tie line power fluctuations, power quality indicators and environmental protection, etc. . The optimization algorithms are mainly heuristic algorithms, such as genetic algorithm, ant colony algorithm and particle swarm algorithm, etc. The main focus is on the convergence, computing time and global optimization ability of the optimization algorithm, and how to use the high-performance optimization algorithm for microgrid The group optimization scheduling model becomes a key issue.

粒子群算法源于复杂适应性系统,是模拟鸟群行为的模型,在随机获得初始解后,通过迭代寻找最优值。每个粒子都有自身的适应度函数值、位置坐标和速度大小与方向,根据全局最优粒子的位置和自身历史最优位置在可行域空间中搜索。然而传统粒子群算法存在寻优能力和收敛能力不足的缺点,需要对其进行改进,使其能更好的用于求解微电网群互动优化调度模型。Particle swarm optimization is derived from a complex adaptive system and is a model for simulating the behavior of birds. After randomly obtaining an initial solution, it searches for the optimal value through iteration. Each particle has its own fitness function value, position coordinates, velocity size and direction, and searches in the feasible domain space according to the position of the global optimal particle and its own historical optimal position. However, the traditional particle swarm optimization algorithm has the shortcomings of insufficient optimization ability and convergence ability, and it needs to be improved so that it can be better used to solve the interactive optimal scheduling model of microgrid swarms.

发明内容SUMMARY OF THE INVENTION

本发明的目的是克服现有技术中存在的上述问题,提供一种基于改进二阶粒子群算法的微电网群优化调度方法。The purpose of the present invention is to overcome the above problems existing in the prior art, and to provide a microgrid group optimization scheduling method based on an improved second-order particle swarm algorithm.

为实现以上目的,本发明提供了以下技术方案:For achieving the above purpose, the present invention provides the following technical solutions:

一种基于改进二阶粒子群算法的微电网群优化调度方法,依次包括以下步骤:A microgrid swarm optimization scheduling method based on an improved second-order particle swarm optimization algorithm, which sequentially includes the following steps:

步骤A、分别构建微电网群内部各类设备的数学模型,其中,所述各类设备包括风力发电机组、光伏发电机组、负荷、储能设备、柴油机组;Step A, respectively constructing mathematical models of various types of equipment inside the microgrid group, wherein the various types of equipment include wind turbines, photovoltaic generators, loads, energy storage equipment, and diesel generators;

步骤B、建立以微电网群综合运行成本最小、风光消纳率最大、联络线功率波动最小为目标的微电网群优化调度模型;Step B, establishing a microgrid group optimization scheduling model aiming at the minimum comprehensive operation cost of the microgrid group, the maximum wind and solar absorption rate, and the minimum power fluctuation of the tie line;

步骤C、以风电、光电、储能、柴油机组出力作为粒子群的位置,适应度函数作为目标函数,采用改进二阶粒子群算法求解上述优化调度模型,得到微电网群的优化调度方案。Step C. Taking the output of wind power, photovoltaic, energy storage, and diesel units as the position of the particle swarm, and the fitness function as the objective function, the improved second-order particle swarm algorithm is used to solve the above-mentioned optimal scheduling model, and the optimal scheduling scheme of the microgrid swarm is obtained.

所述步骤C依次包括以下步骤:Described step C comprises the following steps in turn:

步骤C1、获取微电网群内部各类设备参数以及风、光、荷运行数据,并初始化改进二阶粒子群算法的基本参数;Step C1, obtaining various equipment parameters and wind, light, and load operation data in the microgrid group, and initializing the basic parameters of the improved second-order particle swarm algorithm;

步骤C2、利用混沌映射生成混沌序列,选择Logistic映射模型生成初始种群,并将变量反归一化至搜索空间,得到粒子的初始位置,令迭代次数k=1,每一个粒子对应每一种优化调度方案;Step C2, use the chaotic map to generate the chaotic sequence, select the Logistic map model to generate the initial population, and denormalize the variables to the search space to obtain the initial position of the particle, set the number of iterations k=1, and each particle corresponds to each optimization scheduling plan;

步骤C3、计算每个粒子的适应度值,并更新每个粒子的历史最优值和种群的历史最优值;Step C3, calculate the fitness value of each particle, and update the historical optimal value of each particle and the historical optimal value of the population;

步骤C4、根据迭代次数和适应度值计算当前的惯性系数、学习因子和振荡因子,并更新粒子的速度和位置,同时对粒子的速度和位置进行越限处理;Step C4, calculate the current inertia coefficient, learning factor and oscillation factor according to the number of iterations and the fitness value, and update the speed and position of the particle, and at the same time perform over-limit processing on the speed and position of the particle;

步骤C5、计算任意粒子与当前最佳粒子之间的距离,若计算的距离小于参考值,则最优粒子保持不变,使其他粒子进行混沌运动,在给定的步数内进行混沌搜索,用混沌搜索得到的新粒子替换原粒子;Step C5: Calculate the distance between any particle and the current optimal particle. If the calculated distance is smaller than the reference value, the optimal particle remains unchanged, so that other particles perform chaotic motion, and chaotic search is performed within a given number of steps. Replace original particles with new particles obtained from chaos search;

步骤C6、判断是否收敛,若收敛,则退出迭代过程,对粒子进行解码,获得微电网群的优化调度方案;若未收敛,则令k=k+1并返回步骤C2进行下一次迭代。Step C6, judge whether to converge, if it converges, exit the iterative process, decode the particles, and obtain the optimal scheduling scheme of the microgrid group; if not, set k=k+1 and return to step C2 for the next iteration.

步骤C4中,所述惯性系数、学习因子、振荡因子、速度和位置通过以下公式计算更新:In step C4, the inertia coefficient, learning factor, oscillation factor, speed and position are calculated and updated by the following formula:

Figure BDA0003466482460000031
Figure BDA0003466482460000031

Figure BDA0003466482460000032
Figure BDA0003466482460000032

Figure BDA0003466482460000033
Figure BDA0003466482460000033

Figure BDA0003466482460000034
Figure BDA0003466482460000034

Figure BDA0003466482460000035
Figure BDA0003466482460000035

λ1<λ2-1,λ3<λ4-1,0<λ2<1,0<λ4<1 k≥kmax/2λ 12 -1,λ 34 -1,0<λ 2 <1,0<λ 4 <1 k≥k max /2

上式中,

Figure BDA0003466482460000036
分别为第i个粒子在第k次迭代时的惯性系数、速度和位置,ωmin、ωmax分别为惯性系数的最小、最大值,f()为适应度函数,
Figure BDA0003466482460000037
为第k次迭代时种群的平均适应度值,pg、pi分别为粒子群、第i个粒子的历史最优位置,
Figure BDA0003466482460000038
分别为第k次迭代时的学习因子c1、c2,r1、r2为[0,1]内均匀分布的随机数,c1b、c1e、c2b、c2e分别为c1、c2迭代最开始的值和结束的值,λ1、λ3分别为当前迭代过程中第i个粒子最优和全局最优位置的振荡因子,λ2、λ4分别为上一次的迭代过程中第i个粒子最优和全局最优位置的振荡因子,d1、d2为c1的控制因子,d3、d4为c2的控制因子,kmax为最大迭代次数。In the above formula,
Figure BDA0003466482460000036
are the inertia coefficient, velocity and position of the ith particle at the k-th iteration, respectively, ω min and ω max are the minimum and maximum values of the inertia coefficient, respectively, f() is the fitness function,
Figure BDA0003466482460000037
is the average fitness value of the population at the k-th iteration, p g and p i are the historical optimal positions of the particle swarm and the i-th particle, respectively,
Figure BDA0003466482460000038
are the learning factors c 1 , c 2 in the k-th iteration, respectively, r 1 , r 2 are random numbers uniformly distributed in [0,1], c 1b , c 1e , c 2b , and c 2e are c 1 , c 1e , c 2b , and c 2e respectively c 2 The initial value and the end value of the iteration, λ 1 , λ 3 are the oscillation factors of the i-th particle optimal and global optimal position in the current iteration process, respectively, λ 2 , λ 4 are the last iteration process, respectively Oscillation factor of the optimal and global optimal position of the i-th particle, d 1 and d 2 are the control factors of c 1 , d 3 and d 4 are the control factors of c 2 , and km max is the maximum number of iterations.

步骤C2中,所述Logistic映射模型为:In step C2, the logistic mapping model is:

Figure BDA0003466482460000039
Figure BDA0003466482460000039

Figure BDA00034664824600000310
Figure BDA00034664824600000310

上式中,

Figure BDA00034664824600000311
为混沌变量在第k次迭代时的d维分量。In the above formula,
Figure BDA00034664824600000311
is the d-dimensional component of the chaotic variable at the k-th iteration.

步骤C5中,所述任意粒子与当前最佳粒子之间的距离根据以下公式计算得到:In step C5, the distance between the arbitrary particle and the current optimal particle is calculated according to the following formula:

Figure BDA0003466482460000041
Figure BDA0003466482460000041

上式中,

Figure BDA0003466482460000042
为第k次迭代时第i个粒子与当前最佳粒子之间的距离,
Figure BDA0003466482460000043
为第i个粒子在第k次迭代过程中的d维分量,pgd为当前最佳粒子的d维分量,n为粒子的维数,即优化变量的个数。In the above formula,
Figure BDA0003466482460000042
is the distance between the i-th particle and the current best particle at the k-th iteration,
Figure BDA0003466482460000043
is the d-dimensional component of the i-th particle in the k-th iteration process, p gd is the d-dimensional component of the current optimal particle, and n is the dimension of the particle, that is, the number of optimization variables.

步骤B中,所述微电网群优化调度模型的目标函数f为:In step B, the objective function f of the microgrid group optimization scheduling model is:

minf=ω1f12f23f3 minf=ω 1 f 12 f 23 f 3

Figure BDA0003466482460000044
Figure BDA0003466482460000044

Figure BDA0003466482460000045
Figure BDA0003466482460000045

Figure BDA0003466482460000046
Figure BDA0003466482460000046

Figure BDA0003466482460000047
Figure BDA0003466482460000047

Figure BDA0003466482460000048
Figure BDA0003466482460000048

上式中,f1、f2、f3分别为微电网群的综合运行成本、风光消纳率、联络线功率波动,ω1、ω2、ω3分别为综合运行成本、风光消纳率、联络线功率波动的权重,NMG、T分别为微电网个数和计算时段数,ct,buy、ct,sell分别为第t个时刻微电网群向配电网的购电单价和售电单价,

Figure BDA0003466482460000049
分别为第t个时刻微电网群向配电网的购电功率和售电功率,且
Figure BDA00034664824600000410
cfuel,i、cM,i、cE,i分别为柴油机组等效的单位燃料费用、维护费用和环境成本费用,
Figure BDA00034664824600000411
分别为柴油机组和储能设备的出力,cDS,i、cd,i分别为储能设备的维护费用和折旧费用,Δt为单个时段的时长,ai、bi、ci分别为柴油机组费用函数的二次项、一次项和常数项系数,
Figure BDA0003466482460000051
分别为第i个微电网第t个时刻风电、光伏削减后的有功出力,
Figure BDA0003466482460000052
分别为第i个微电网第t个时刻风电、光伏的最大有功出力,Pt Line为第t个时刻微电网群与配电网交互的功率,
Figure BDA0003466482460000053
为微电网群与配电网交互的功率的平均值。In the above formula, f 1 , f 2 , and f 3 are the comprehensive operation cost, wind-solar consumption rate, and tie line power fluctuation of the microgrid group, respectively, and ω 1 , ω 2 , and ω 3 are the comprehensive operation cost, wind-solar consumption rate, respectively. , the weight of the power fluctuation of the tie line, N MG and T are the number of microgrids and the number of calculation periods, respectively, c t,buy , c t,sell are the unit price and unit price of electricity,
Figure BDA0003466482460000049
are the purchasing power and selling power of the microgrid group to the distribution network at the t-th time, respectively, and
Figure BDA00034664824600000410
c fuel,i , c M,i , c E,i are the equivalent unit fuel cost, maintenance cost and environmental cost of diesel unit respectively,
Figure BDA00034664824600000411
are the output of diesel units and energy storage equipment, respectively, c DS,i , cd ,i are the maintenance cost and depreciation cost of energy storage equipment, respectively, Δt is the duration of a single period, a i , bi , c i are the diesel engine respectively the quadratic, linear, and constant coefficients of the group cost function,
Figure BDA0003466482460000051
are the active power output of the i-th microgrid at the t-th moment after the reduction of wind power and photovoltaic power, respectively,
Figure BDA0003466482460000052
are the maximum active power output of wind power and photovoltaics of the i-th microgrid at the t-th time, respectively, P t Line is the interaction power between the micro-grid group and the distribution network at the t-th time,
Figure BDA0003466482460000053
is the average value of the power that the microgrid group interacts with the distribution network.

所述目标函数的约束条件包括:The constraints of the objective function include:

潮流平衡约束:Load Balance Constraints:

Figure BDA0003466482460000054
Figure BDA0003466482460000054

Figure BDA0003466482460000055
Figure BDA0003466482460000055

上式中,

Figure BDA0003466482460000056
为第i个微电网第t个时刻的负荷大小,
Figure BDA0003466482460000057
为第i个微电网第t个时刻与配电网交互的功率;In the above formula,
Figure BDA0003466482460000056
is the load size of the i-th microgrid at the t-th time,
Figure BDA0003466482460000057
is the power of the i-th microgrid interacting with the distribution network at the t-th time;

风光出力约束:Landscape output constraints:

Figure BDA0003466482460000058
Figure BDA0003466482460000058

Figure BDA0003466482460000059
Figure BDA0003466482460000059

联络线功率容量约束:Tie line power capacity constraints:

Figure BDA00034664824600000510
Figure BDA00034664824600000510

Figure BDA00034664824600000511
Figure BDA00034664824600000511

上式中,

Figure BDA00034664824600000512
为第i个微电网的交互功率上限,
Figure BDA00034664824600000513
为总交互功率的上限值;In the above formula,
Figure BDA00034664824600000512
is the upper limit of the interactive power of the i-th microgrid,
Figure BDA00034664824600000513
is the upper limit of the total interactive power;

ESS运行约束:ESS operating constraints:

Figure BDA00034664824600000514
Figure BDA00034664824600000514

Figure BDA0003466482460000061
Figure BDA0003466482460000061

上式中,

Figure BDA0003466482460000062
分别为第i个储能设备第t个时刻的放、充电功率,
Figure BDA0003466482460000063
分别为第i个储能设备的放、充电功率上限值,Et,i、Ei,max分别为第i个储能设备第t个时刻储存的能量和储存容量额定值,SOCt,i为第i个储能设备第t个时刻的荷电量,SOCi,min、SOCi,max分别为第i个储能设备充放电过程中荷电量的下限值和上限值,ηd、ηc分别为储能设备的放、充电效率;In the above formula,
Figure BDA0003466482460000062
are the discharge and charging power of the i-th energy storage device at the t-th time, respectively,
Figure BDA0003466482460000063
are the upper limit values of the discharge and charging power of the i-th energy storage device, E t,i and E i,max are the energy and storage capacity ratings of the i-th energy storage device at the t-th time, respectively, SOC t, i is the charge amount of the i-th energy storage device at the t-th time, SOC i,min and SOC i,max are the lower and upper limit values of the charge amount during the charging and discharging process of the i-th energy storage device, respectively, η d , η c are the discharge and charging efficiencies of the energy storage device, respectively;

柴油机组出力约束:Diesel unit output constraints:

Figure BDA0003466482460000064
Figure BDA0003466482460000064

Figure BDA0003466482460000065
Figure BDA0003466482460000065

上式中,

Figure BDA0003466482460000066
分别为柴油机组出力的下限值和上限值,
Figure BDA0003466482460000067
分别为第i个柴油机组的最大向下爬坡速率和最大向上爬坡速率。In the above formula,
Figure BDA0003466482460000066
are the lower limit and upper limit of the output of the diesel unit, respectively,
Figure BDA0003466482460000067
are the maximum downhill ramp rate and the maximum uphill ramp rate of the i-th diesel unit, respectively.

与现有技术相比,本发明的有益效果为:Compared with the prior art, the beneficial effects of the present invention are:

1、本发明一种基于改进二阶粒子群算法的微电网群优化调度方法先分别构建微电网群内部各类设备的数学模型,并建立以微电网群综合运行成本最小、风光消纳率最大、联络线功率波动最小为目标的微电网群优化调度模型,然后以风电、光电、储能、柴油机组出力作为粒子群的位置,适应度函数作为目标函数,采用改进二阶粒子群算法求解上述优化调度模型,得到微电网群的优化调度方案,该方法通过调度微电网群内部的可调度资源,能使微电网群整体的运行成本最低,同时降低微电网并网对配电网的冲击。因此,本发明方法在使微电网群整体的运行成本最低的同时降低了微电网并网对配电网的冲击。1. A microgrid group optimization scheduling method based on the improved second-order particle swarm algorithm of the present invention firstly constructs the mathematical models of various types of equipment inside the microgrid group, and establishes a microgrid group with the smallest comprehensive operating cost and the largest wind and solar energy consumption rate. , The optimal scheduling model of the microgrid group with the goal of minimizing the power fluctuation of the tie line, and then taking the output of wind power, photovoltaic, energy storage, and diesel units as the position of the particle swarm, and the fitness function as the objective function, the improved second-order particle swarm algorithm is used to solve the above By optimizing the dispatching model, the optimal dispatching scheme of the microgrid group is obtained. This method can minimize the overall operating cost of the microgrid group by dispatching the dispatchable resources within the microgrid group, and at the same time reduce the impact of the microgrid grid connection on the distribution network. Therefore, the method of the present invention reduces the impact of the grid connection of the microgrid on the distribution network while minimizing the overall operating cost of the microgrid group.

2、本发明一种基于改进二阶粒子群算法的微电网群优化调度方法所采用的改进二阶粒子群算法先利用混沌映射生成混沌序列,选择Logistic映射模型生成初始种群,并将变量反归一化至搜索空间,得到粒子的初始位置,并在计算更新惯性系数、学习因子、振荡因子、粒子的速度和位置后会计算任意粒子与当前最佳粒子之间的距离,若计算的距离小于参考值,则最优粒子保持不变,使其他粒子进行混沌运动,在给定的步数内进行混沌搜索,用混沌搜索得到的新粒子替换原粒子,该流程一方面会使得种群的初始值分布更加均匀,增大可搜索空间,另一方面,计算任意粒子与当前最佳粒子之间的距离,并在距离过小时进行混沌搜索,能够保证一定的变异性,使得算法能一定程度的跳出局部最优,增加全局寻优能力。因此,本发明改进二阶粒子群算法不仅使得种群的初始值分布更加均匀,而且能够增加全局寻优能力。2. The improved second-order particle swarm algorithm used in the microgrid swarm optimization scheduling method based on the improved second-order particle swarm algorithm of the present invention first uses the chaotic map to generate the chaotic sequence, selects the Logistic map model to generate the initial population, and reverses the variables Normalize to the search space, get the initial position of the particle, and calculate the distance between any particle and the current best particle after calculating the updated inertia coefficient, learning factor, oscillation factor, particle velocity and position, if the calculated distance is less than The reference value, the optimal particle remains unchanged, so that other particles perform chaotic motion, perform chaotic search within a given number of steps, and replace the original particle with the new particle obtained from the chaotic search. On the one hand, this process will make the initial value of the population The distribution is more uniform and the searchable space is increased. On the other hand, calculating the distance between any particle and the current best particle, and performing chaotic search when the distance is too small can ensure a certain variability, so that the algorithm can jump out to a certain extent. Local optimization increases the global optimization ability. Therefore, the improved second-order particle swarm algorithm of the present invention not only makes the initial value distribution of the population more uniform, but also can increase the global optimization ability.

3、本发明一种基于改进二阶粒子群算法的微电网群优化调度方法所采用的二阶粒子群算法对惯性系数、学习因子和速度更新公式进行了改进,惯性系数和学习因子的计算由常规的线性递减变为非线性递减,能够加大前期的搜索能力、增强后期的收敛能力,从而提高算法的精度和计算速度。因此,本发明改进二阶粒子群算法提高了算法的精度和计算速度。3. The second-order particle swarm algorithm used in the microgrid swarm optimization scheduling method based on the improved second-order particle swarm algorithm of the present invention improves the inertia coefficient, learning factor and speed update formula. The calculation of the inertia coefficient and learning factor is given by The conventional linear decrement becomes nonlinear decrement, which can increase the search ability in the early stage and enhance the convergence ability in the later stage, thereby improving the accuracy and calculation speed of the algorithm. Therefore, the improved second-order particle swarm algorithm of the present invention improves the accuracy and calculation speed of the algorithm.

附图说明Description of drawings

图1为本发明中改进二阶粒子群算法的流程图。FIG. 1 is a flow chart of the improved second-order particle swarm algorithm in the present invention.

图2为实施例1中微电网群的结构图。FIG. 2 is a structural diagram of a microgrid group in Embodiment 1. FIG.

图3为实施例1中微电网内部结构图。FIG. 3 is a diagram of the internal structure of the microgrid in Embodiment 1. FIG.

具体实施方式Detailed ways

下面结合具体附图以及实施方式对本发明作进一步的说明。The present invention will be further described below with reference to the specific drawings and embodiments.

参见图1,一种基于改进二阶粒子群算法的微电网群优化调度方法,依次包括以下步骤:Referring to Figure 1, a microgrid swarm optimization scheduling method based on the improved second-order particle swarm algorithm includes the following steps in sequence:

步骤A、分别构建微电网群内部各类设备的数学模型,其中,所述各类设备包括风力发电机组、光伏发电机组、负荷、储能设备、柴油机组;Step A, respectively constructing mathematical models of various types of equipment in the microgrid group, wherein the various types of equipment include wind turbines, photovoltaic generators, loads, energy storage equipment, and diesel generators;

步骤B、建立以微电网群综合运行成本最小、风光消纳率最大、联络线功率波动最小为目标的微电网群优化调度模型;Step B, establishing a microgrid group optimization scheduling model aiming at the minimum comprehensive operation cost of the microgrid group, the maximum wind and solar absorption rate, and the minimum power fluctuation of the tie line;

步骤C、以风电、光电、储能、柴油机组出力作为粒子群的位置,适应度函数作为目标函数,采用改进二阶粒子群算法求解上述优化调度模型,得到微电网群的优化调度方案。Step C. Taking the output of wind power, photovoltaic, energy storage, and diesel units as the position of the particle swarm, and the fitness function as the objective function, the improved second-order particle swarm algorithm is used to solve the above-mentioned optimal scheduling model, and the optimal scheduling scheme of the microgrid swarm is obtained.

所述步骤C依次包括以下步骤:Described step C comprises the following steps in turn:

步骤C1、获取微电网群内部各类设备参数以及风、光、荷运行数据,并初始化改进二阶粒子群算法的基本参数;Step C1, obtaining various equipment parameters and wind, light, and load operation data in the microgrid group, and initializing the basic parameters of the improved second-order particle swarm algorithm;

步骤C2、利用混沌映射生成混沌序列,选择Logistic映射模型生成初始种群,并将变量反归一化至搜索空间,得到粒子的初始位置,令迭代次数k=1,每一个粒子对应每一种优化调度方案;Step C2, use the chaotic map to generate the chaotic sequence, select the Logistic map model to generate the initial population, and de-normalize the variables to the search space to obtain the initial position of the particle, set the number of iterations k=1, and each particle corresponds to each optimization scheduling plan;

步骤C3、计算每个粒子的适应度值,并更新每个粒子的历史最优值和种群的历史最优值;Step C3, calculate the fitness value of each particle, and update the historical optimal value of each particle and the historical optimal value of the population;

步骤C4、根据迭代次数和适应度值计算当前的惯性系数、学习因子和振荡因子,并更新粒子的速度和位置,同时对粒子的速度和位置进行越限处理;Step C4, calculate the current inertia coefficient, learning factor and oscillation factor according to the number of iterations and the fitness value, and update the speed and position of the particle, and at the same time perform over-limit processing on the speed and position of the particle;

步骤C5、计算任意粒子与当前最佳粒子之间的距离,若计算的距离小于参考值,则最优粒子保持不变,使其他粒子进行混沌运动,在给定的步数内进行混沌搜索,用混沌搜索得到的新粒子替换原粒子;Step C5: Calculate the distance between any particle and the current optimal particle. If the calculated distance is less than the reference value, the optimal particle remains unchanged, so that other particles perform chaotic motion, and chaotic search is performed within a given number of steps. Replace original particles with new particles obtained from chaos search;

步骤C6、判断是否收敛,若收敛,则退出迭代过程,对粒子进行解码,获得微电网群的优化调度方案;若未收敛,则令k=k+1并返回步骤C2进行下一次迭代。Step C6, judge whether to converge, if it converges, exit the iterative process, decode the particles, and obtain the optimal scheduling scheme of the microgrid group; if not, set k=k+1 and return to step C2 for the next iteration.

步骤C4中,所述惯性系数、学习因子、振荡因子、速度和位置通过以下公式计算更新:In step C4, the inertia coefficient, learning factor, oscillation factor, speed and position are calculated and updated by the following formula:

Figure BDA0003466482460000081
Figure BDA0003466482460000081

Figure BDA0003466482460000082
Figure BDA0003466482460000082

Figure BDA0003466482460000083
Figure BDA0003466482460000083

Figure BDA0003466482460000084
Figure BDA0003466482460000084

Figure BDA0003466482460000085
Figure BDA0003466482460000085

λ1<λ2-1,λ3<λ4-1,0<λ2<1,0<λ4<1 k≥kmax/2λ 12 -1,λ 34 -1,0<λ 2 <1,0<λ 4 <1 k≥k max /2

上式中,

Figure BDA0003466482460000091
分别为第i个粒子在第k次迭代时的惯性系数、速度和位置,ωmin、ωmax分别为惯性系数的最小、最大值,f()为适应度函数,
Figure BDA0003466482460000092
为第k次迭代时种群的平均适应度值,pg、pi分别为粒子群、第i个粒子的历史最优位置,
Figure BDA0003466482460000093
分别为第k次迭代时的学习因子c1、c2,r1、r2为[0,1]内均匀分布的随机数,c1b、c1e、c2b、c2e分别为c1、c2迭代最开始的值和结束的值,λ1、λ3分别为当前迭代过程中第i个粒子最优和全局最优位置的振荡因子,λ2、λ4分别为上一次的迭代过程中第i个粒子最优和全局最优位置的振荡因子,d1、d2为c1的控制因子,d3、d4为c2的控制因子,kmax为最大迭代次数。In the above formula,
Figure BDA0003466482460000091
are the inertia coefficient, velocity and position of the ith particle at the k-th iteration, respectively, ω min and ω max are the minimum and maximum values of the inertia coefficient, respectively, f() is the fitness function,
Figure BDA0003466482460000092
is the average fitness value of the population at the k-th iteration, p g and p i are the historical optimal positions of the particle swarm and the i-th particle, respectively,
Figure BDA0003466482460000093
are the learning factors c 1 , c 2 in the k-th iteration, respectively, r 1 , r 2 are random numbers uniformly distributed in [0,1], c 1b , c 1e , c 2b , and c 2e are c 1 , c 1e , c 2b , and c 2e respectively c 2 The initial value and the end value of the iteration, λ 1 , λ 3 are the oscillation factors of the i-th particle optimal and global optimal position in the current iteration process, respectively, λ 2 , λ 4 are the last iteration process, respectively Oscillation factor of the optimal and global optimal position of the i-th particle, d 1 and d 2 are the control factors of c 1 , d 3 and d 4 are the control factors of c 2 , and km max is the maximum number of iterations.

步骤C2中,所述Logistic映射模型为:In step C2, the logistic mapping model is:

Figure BDA0003466482460000094
Figure BDA0003466482460000094

Figure BDA0003466482460000095
Figure BDA0003466482460000095

上式中,

Figure BDA0003466482460000096
为混沌变量在第k次迭代时的d维分量。In the above formula,
Figure BDA0003466482460000096
is the d-dimensional component of the chaotic variable at the k-th iteration.

步骤C5中,所述任意粒子与当前最佳粒子之间的距离根据以下公式计算得到:In step C5, the distance between the arbitrary particle and the current optimal particle is calculated according to the following formula:

Figure BDA0003466482460000097
Figure BDA0003466482460000097

上式中,

Figure BDA0003466482460000098
为第k次迭代时第i个粒子与当前最佳粒子之间的距离,
Figure BDA0003466482460000099
为第i个粒子在第k次迭代过程中的d维分量,pgd为当前最佳粒子的d维分量,n为粒子的维数,即优化变量的个数。In the above formula,
Figure BDA0003466482460000098
is the distance between the i-th particle and the current best particle at the k-th iteration,
Figure BDA0003466482460000099
is the d-dimensional component of the i-th particle in the k-th iteration process, p gd is the d-dimensional component of the current optimal particle, and n is the dimension of the particle, that is, the number of optimization variables.

步骤B中,所述微电网群优化调度模型的目标函数f为:In step B, the objective function f of the microgrid group optimization scheduling model is:

minf=ω1f12f23f3 minf=ω 1 f 12 f 23 f 3

Figure BDA00034664824600000910
Figure BDA00034664824600000910

Figure BDA0003466482460000101
Figure BDA0003466482460000101

Figure BDA0003466482460000102
Figure BDA0003466482460000102

Figure BDA0003466482460000103
Figure BDA0003466482460000103

Figure BDA0003466482460000104
Figure BDA0003466482460000104

上式中,f1、f2、f3分别为微电网群的综合运行成本、风光消纳率、联络线功率波动,ω1、ω2、ω3分别为综合运行成本、风光消纳率、联络线功率波动的权重,NMG、T分别为微电网个数和计算时段数,ct,buy、ct,sell分别为第t个时刻微电网群向配电网的购电单价和售电单价,

Figure BDA0003466482460000105
分别为第t个时刻微电网群向配电网的购电功率和售电功率,且
Figure BDA0003466482460000106
cfuel,i、cM,i、cE,i分别为柴油机组等效的单位燃料费用、维护费用和环境成本费用,
Figure BDA0003466482460000107
分别为柴油机组和储能设备的出力,cDS,i、cd,i分别为储能设备的维护费用和折旧费用,Δt为单个时段的时长,ai、bi、ci分别为柴油机组费用函数的二次项、一次项和常数项系数,
Figure BDA0003466482460000108
分别为第i个微电网第t个时刻风电、光伏削减后的有功出力,
Figure BDA0003466482460000109
分别为第i个微电网第t个时刻风电、光伏的最大有功出力,Pt Line为第t个时刻微电网群与配电网交互的功率,
Figure BDA00034664824600001010
为微电网群与配电网交互的功率的平均值。In the above formula, f 1 , f 2 , and f 3 are the comprehensive operation cost, wind-solar consumption rate, and tie line power fluctuation of the microgrid group, respectively, and ω 1 , ω 2 , and ω 3 are the comprehensive operation cost, wind-solar consumption rate, respectively. , the weight of the power fluctuation of the tie line, N MG and T are the number of microgrids and the number of calculation periods, respectively, c t,buy , c t,sell are the unit price and unit price of electricity,
Figure BDA0003466482460000105
are the purchasing power and selling power of the microgrid group to the distribution network at the t-th time, respectively, and
Figure BDA0003466482460000106
c fuel,i , c M,i , c E,i are the equivalent unit fuel cost, maintenance cost and environmental cost of diesel unit respectively,
Figure BDA0003466482460000107
are the output of diesel units and energy storage equipment, respectively, c DS,i , cd ,i are the maintenance cost and depreciation cost of energy storage equipment, respectively, Δt is the duration of a single period, a i , bi , c i are the diesel engine respectively the quadratic, linear, and constant coefficients of the group cost function,
Figure BDA0003466482460000108
are the active power output of the i-th microgrid at the t-th moment after the reduction of wind power and photovoltaic power, respectively,
Figure BDA0003466482460000109
are the maximum active power output of wind power and photovoltaics of the i-th microgrid at the t-th time, respectively, P t Line is the interaction power between the micro-grid group and the distribution network at the t-th time,
Figure BDA00034664824600001010
is the average value of the power that the microgrid group interacts with the distribution network.

所述目标函数的约束条件包括:The constraints of the objective function include:

潮流平衡约束:Load Balance Constraints:

Figure BDA00034664824600001011
Figure BDA00034664824600001011

Figure BDA00034664824600001012
Figure BDA00034664824600001012

上式中,

Figure BDA0003466482460000111
为第i个微电网第t个时刻的负荷大小,
Figure BDA0003466482460000112
为第i个微电网第t个时刻与配电网交互的功率;In the above formula,
Figure BDA0003466482460000111
is the load size of the i-th microgrid at the t-th time,
Figure BDA0003466482460000112
is the power of the i-th microgrid interacting with the distribution network at the t-th time;

风光出力约束:Landscape output constraints:

Figure BDA0003466482460000113
Figure BDA0003466482460000113

Figure BDA0003466482460000114
Figure BDA0003466482460000114

联络线功率容量约束:Tie line power capacity constraints:

Figure BDA0003466482460000115
Figure BDA0003466482460000115

Figure BDA0003466482460000116
Figure BDA0003466482460000116

上式中,

Figure BDA0003466482460000117
为第i个微电网的交互功率上限,
Figure BDA0003466482460000118
为总交互功率的上限值;In the above formula,
Figure BDA0003466482460000117
is the upper limit of the interactive power of the i-th microgrid,
Figure BDA0003466482460000118
is the upper limit of the total interactive power;

ESS运行约束:ESS operating constraints:

Figure BDA0003466482460000119
Figure BDA0003466482460000119

Figure BDA00034664824600001110
Figure BDA00034664824600001110

上式中,

Figure BDA00034664824600001111
分别为第i个储能设备第t个时刻的放、充电功率,
Figure BDA00034664824600001112
分别为第i个储能设备的放、充电功率上限值,Et,i、Ei,max分别为第i个储能设备第t个时刻储存的能量和储存容量额定值,SOCt,i为第i个储能设备第t个时刻的荷电量,SOCi,min、SOCi,max分别为第i个储能设备充放电过程中荷电量的下限值和上限值,ηd、ηc分别为储能设备的放、充电效率;In the above formula,
Figure BDA00034664824600001111
are the discharge and charging power of the i-th energy storage device at the t-th time, respectively,
Figure BDA00034664824600001112
are the upper limit values of the discharge and charging power of the i-th energy storage device, E t,i and E i,max are the energy and storage capacity ratings of the i-th energy storage device at the t-th time, respectively, SOC t, i is the charge amount of the i-th energy storage device at the t-th time, SOC i,min and SOC i,max are the lower and upper limit values of the charge amount during the charging and discharging process of the i-th energy storage device, respectively, η d , η c are the discharge and charging efficiencies of the energy storage device, respectively;

柴油机组出力约束:Diesel unit output constraints:

Figure BDA0003466482460000121
Figure BDA0003466482460000121

Figure BDA0003466482460000122
Figure BDA0003466482460000122

上式中,

Figure BDA0003466482460000123
分别为柴油机组出力的下限值和上限值,
Figure BDA0003466482460000124
分别为第i个柴油机组的最大向下爬坡速率和最大向上爬坡速率。In the above formula,
Figure BDA0003466482460000123
are the lower limit and upper limit of the output of the diesel unit, respectively,
Figure BDA0003466482460000124
are the maximum downhill ramp rate and the maximum uphill ramp rate of the i-th diesel unit, respectively.

本发明中采用的参数说明如下:The parameters adopted in the present invention are described as follows:

控制因子:本发明采用控制因子d1、d2、d3、d4来控制学习因子c1、c2随迭代次数变化函数曲线的形状。Control factor: the present invention adopts control factors d 1 , d 2 , d 3 , and d 4 to control the shape of the function curve of the learning factors c 1 , c 2 changing with the number of iterations.

振荡因子:本发明中振荡因子λ1、λ2、λ3、λ4表示粒子速度更新受粒子位置影响的权重大小,λ1和λ3受到当前阶段粒子位置影响,λ2和λ4受上一阶段粒子位置影响。Oscillation factor: in the present invention, the oscillation factors λ 1 , λ 2 , λ 3 , λ 4 represent the weight of the particle velocity update affected by the particle position, λ 1 and λ 3 are affected by the particle position at the current stage, and λ 2 and λ 4 are affected by the upper One-stage particle position influence.

实施例1:Example 1:

一种基于改进二阶粒子群算法的微电网群优化调度方法,该方法以某微电网群作为研究对象(其结构参见图2),依次按照以下步骤进行:A microgrid group optimization scheduling method based on improved second-order particle swarm algorithm, the method takes a microgrid group as the research object (see Figure 2 for its structure), and performs the following steps in sequence:

1、分别构建微电网群内部各类设备的数学模型,所述微电网内部结构如图3所示,其中设备有风力发电机组、光伏发电机组、负荷、储能设备和柴油机组;1. Construct the mathematical models of various devices in the microgrid group respectively. The internal structure of the microgrid is shown in Figure 3, where the devices include wind turbines, photovoltaic generators, loads, energy storage equipment and diesel generators;

2、基于上述各类设备,建立以微电网群综合运行成本最小、风光消纳率最大、联络线功率波动最小为目标的微电网群优化调度模型:2. Based on the above-mentioned various types of equipment, establish an optimal scheduling model for the micro-grid group with the goal of minimizing the comprehensive operation cost of the micro-grid group, maximizing the wind-solar consumption rate, and minimizing the power fluctuation of the tie line:

minf=ω1f12f23f3 minf=ω 1 f 12 f 23 f 3

Figure BDA0003466482460000125
Figure BDA0003466482460000125

Figure BDA0003466482460000126
Figure BDA0003466482460000126

Figure BDA0003466482460000127
Figure BDA0003466482460000127

Figure BDA0003466482460000131
Figure BDA0003466482460000131

Figure BDA0003466482460000132
Figure BDA0003466482460000132

上式中,f为该模型的目标函数,f1、f2、f3分别为微电网群的综合运行成本、风光消纳率、联络线功率波动,ω1、ω2、ω3分别为综合运行成本、风光消纳率、联络线功率波动的权重,NMG、T分别为微电网个数和计算时段数,ct,buy、ct,sell分别为第t个时刻微电网群向配电网的购电单价和售电单价,

Figure BDA0003466482460000133
Figure BDA0003466482460000134
分别为第t个时刻微电网群向配电网的购电功率和售电功率,且
Figure BDA0003466482460000135
cfuel,i、cM,i、cE,i分别为柴油机组等效的单位燃料费用、维护费用和环境成本费用,
Figure BDA0003466482460000136
分别为柴油机组和储能设备的出力,cDS,i、cd,i分别为储能设备的维护费用和折旧费用,Δt为单个时段的时长,ai、bi、ci分别为柴油机组费用函数的二次项、一次项和常数项系数,
Figure BDA0003466482460000137
分别为第i个微电网第t个时刻风电、光伏削减后的有功出力,
Figure BDA0003466482460000138
分别为第i个微电网第t个时刻风电、光伏的最大有功出力,Pt Line为第t个时刻微电网群与配电网交互的功率,
Figure BDA0003466482460000139
为微电网群与配电网交互的功率的平均值;In the above formula, f is the objective function of the model, f 1 , f 2 , and f 3 are the comprehensive operating cost, wind-solar absorption rate, and tie line power fluctuation of the microgrid group, respectively, ω 1 , ω 2 , and ω 3 are respectively The weight of comprehensive operating cost, wind and solar absorption rate, and power fluctuation of tie line, N MG and T are the number of microgrids and the number of calculation periods, respectively, ct ,buy , ct,sell are the direction of the microgrid group at the t-th time, respectively. The unit price of electricity purchased and sold of the distribution network,
Figure BDA0003466482460000133
Figure BDA0003466482460000134
are the purchasing power and selling power of the microgrid group to the distribution network at the t-th time, respectively, and
Figure BDA0003466482460000135
c fuel,i , c M,i , c E,i are the equivalent unit fuel cost, maintenance cost and environmental cost of diesel unit respectively,
Figure BDA0003466482460000136
are the output of diesel units and energy storage equipment, respectively, c DS,i , cd ,i are the maintenance cost and depreciation cost of energy storage equipment, respectively, Δt is the duration of a single period, a i , bi , c i are the diesel engine respectively the quadratic, linear, and constant coefficients of the group cost function,
Figure BDA0003466482460000137
are the active power output of the i-th microgrid at the t-th moment after the reduction of wind power and photovoltaic power, respectively,
Figure BDA0003466482460000138
are the maximum active power output of wind power and photovoltaics of the i-th microgrid at the t-th time, respectively, P t Line is the interaction power between the micro-grid group and the distribution network at the t-th time,
Figure BDA0003466482460000139
is the average value of the power that the microgrid group interacts with the distribution network;

目标函数的约束条件包括:The constraints of the objective function include:

潮流平衡约束:Load Balance Constraints:

Figure BDA00034664824600001310
Figure BDA00034664824600001310

Figure BDA00034664824600001311
Figure BDA00034664824600001311

上式中,

Figure BDA00034664824600001312
为第i个微电网第t个时刻的负荷大小,
Figure BDA00034664824600001313
为第i个微电网第t个时刻与配电网交互的功率;In the above formula,
Figure BDA00034664824600001312
is the load size of the i-th microgrid at the t-th time,
Figure BDA00034664824600001313
is the power of the i-th microgrid interacting with the distribution network at the t-th time;

风光出力约束:Landscape output constraints:

Figure BDA0003466482460000141
Figure BDA0003466482460000141

Figure BDA0003466482460000142
Figure BDA0003466482460000142

联络线功率容量约束:Tie line power capacity constraints:

Figure BDA0003466482460000143
Figure BDA0003466482460000143

Figure BDA0003466482460000144
Figure BDA0003466482460000144

上式中,

Figure BDA0003466482460000145
为第i个微电网的交互功率上限,
Figure BDA0003466482460000146
为总交互功率的上限值;In the above formula,
Figure BDA0003466482460000145
is the upper limit of the interactive power of the i-th microgrid,
Figure BDA0003466482460000146
is the upper limit of the total interactive power;

ESS运行约束:ESS operating constraints:

Figure BDA0003466482460000147
Figure BDA0003466482460000147

Figure BDA0003466482460000148
Figure BDA0003466482460000148

上式中,

Figure BDA0003466482460000149
分别为第i个储能设备第t个时刻的放、充电功率,
Figure BDA00034664824600001410
分别为第i个储能设备的放、充电功率上限值,Et,i、Ei,max分别为第i个储能设备第t个时刻储存的能量和储存容量额定值,SOCt,i为第i个储能设备第t个时刻的荷电量,SOCi,min、SOCi,max分别为第i个储能设备充放电过程中荷电量的下限值和上限值,ηd、ηc分别为储能设备的放、充电效率;In the above formula,
Figure BDA0003466482460000149
are the discharge and charging power of the i-th energy storage device at the t-th time, respectively,
Figure BDA00034664824600001410
are the upper limit values of the discharge and charging power of the i-th energy storage device, E t,i and E i,max are the energy and storage capacity ratings of the i-th energy storage device at the t-th time, respectively, SOC t, i is the charge amount of the i-th energy storage device at the t-th time, SOC i,min and SOC i,max are the lower and upper limit values of the charge amount during the charging and discharging process of the i-th energy storage device, respectively, η d , η c are the discharge and charging efficiencies of the energy storage device, respectively;

柴油机组出力约束:Diesel unit output constraints:

Figure BDA00034664824600001411
Figure BDA00034664824600001411

Figure BDA0003466482460000151
Figure BDA0003466482460000151

上式中,

Figure BDA0003466482460000152
分别为柴油机组出力的下限值和上限值,
Figure BDA0003466482460000153
分别为第i个柴油机组的最大向下爬坡速率和最大向上爬坡速率;In the above formula,
Figure BDA0003466482460000152
are the lower limit and upper limit of the output of the diesel unit, respectively,
Figure BDA0003466482460000153
are the maximum downhill ramp rate and the maximum uphill ramp rate of the i-th diesel unit, respectively;

3、获取不同微电网内部的风力发电机和光伏发电机装机容量,并获取风光荷的运行数据、设备的边界参数等,初始化改进二阶粒子群算法的基本参数;3. Obtain the installed capacity of wind turbines and photovoltaic generators in different microgrids, and obtain the operating data of wind and solar loads, boundary parameters of equipment, etc., and initialize and improve the basic parameters of the second-order particle swarm algorithm;

4、以风电、光电、储能、柴油机组出力作为粒子群的位置,利用混沌映射生成混沌序列,选择Logistic映射模型生成初始种群,并将变量反归一化至搜索空间,得到粒子的初始位置,令迭代次数k=1,每一个粒子对应每一种优化调度方案,其中,所述Logistic映射模型为:4. Take the output of wind power, photovoltaic, energy storage, and diesel units as the position of the particle swarm, use the chaotic map to generate the chaotic sequence, select the Logistic mapping model to generate the initial population, and de-normalize the variables to the search space to obtain the initial position of the particle , let the number of iterations k=1, each particle corresponds to each optimization scheduling scheme, wherein, the logistic mapping model is:

Figure BDA0003466482460000154
Figure BDA0003466482460000154

Figure BDA0003466482460000155
Figure BDA0003466482460000155

上式中,

Figure BDA0003466482460000156
为混沌变量在第k次迭代时的d维分量;In the above formula,
Figure BDA0003466482460000156
is the d-dimensional component of the chaotic variable at the k-th iteration;

5、计算每个粒子的适应度值,并更新每个粒子的历史最优值和种群的历史最优值;5. Calculate the fitness value of each particle, and update the historical optimal value of each particle and the historical optimal value of the population;

6、根据迭代次数和适应度值计算当前的惯性系数、学习因子和振荡因子,并更新粒子的速度和位置,同时对粒子的速度和位置进行越限处理,其中,所述惯性系数、学习因子、振荡因子、速度和位置通过以下公式计算更新:6. Calculate the current inertia coefficient, learning factor and oscillation factor according to the number of iterations and the fitness value, update the speed and position of the particle, and perform over-limit processing on the speed and position of the particle, wherein the inertia coefficient, learning factor , Oscillation Factor, Velocity and Position Updates are calculated by the following formulas:

Figure BDA0003466482460000157
Figure BDA0003466482460000157

Figure BDA0003466482460000158
Figure BDA0003466482460000158

Figure BDA0003466482460000159
Figure BDA0003466482460000159

Figure BDA00034664824600001510
Figure BDA00034664824600001510

Figure BDA0003466482460000161
Figure BDA0003466482460000161

λ1<λ2-1,λ3<λ4-1,0<λ2<1,0<λ4<1k≥kmax/2λ 12 -1,λ 34 -1,0<λ 2 <1,0<λ 4 <1k≥k max /2

上式中,

Figure BDA0003466482460000162
分别为第i个粒子在第k次迭代时的惯性系数、速度和位置,ωmin、ωmax分别为惯性系数的最小、最大值,f()为适应度函数,
Figure BDA0003466482460000163
为第k次迭代时种群的平均适应度值,pg、pi分别为粒子群、第i个粒子的历史最优位置,
Figure BDA0003466482460000164
为第k次迭代时的学习因子,r1、r2为[0,1]内均匀分布的随机数,c1b、c1e、c2b、c2e分别为c1、c2迭代最开始的值和结束的值,λ1、λ3分别为当前迭代过程中第i个粒子最优和全局最优位置的振荡因子,λ2、λ4分别为上一次的迭代过程中第i个粒子最优和全局最优位置的振荡因子,d1、d2为c1的控制因子,d3、d4为c2的控制因子,kmax为最大迭代次数;In the above formula,
Figure BDA0003466482460000162
are the inertia coefficient, velocity and position of the ith particle at the k-th iteration, respectively, ω min and ω max are the minimum and maximum values of the inertia coefficient, respectively, f() is the fitness function,
Figure BDA0003466482460000163
is the average fitness value of the population at the k-th iteration, p g and p i are the historical optimal positions of the particle swarm and the i-th particle, respectively,
Figure BDA0003466482460000164
is the learning factor at the k-th iteration, r 1 and r 2 are random numbers uniformly distributed in [0,1], c 1b , c 1e , c 2b , and c 2e are the first iterations of c 1 and c 2 , respectively. value and end value, λ 1 and λ 3 are the oscillation factors of the optimal and global optimal positions of the ith particle in the current iteration process, respectively, λ 2 and λ 4 are the most optimal position of the ith particle in the previous iteration process, respectively. Oscillation factors of the optimal and global optimal positions, d 1 and d 2 are the control factors of c 1 , d 3 and d 4 are the control factors of c 2 , and km max is the maximum number of iterations;

7、根据以下公式计算任意粒子与当前最佳粒子之间的距离,若计算的距离小于参考值,则最优粒子保持不变,使其他粒子进行混沌运动,在给定的步数内进行混沌搜索,用混沌搜索得到的新粒子替换原粒子:7. Calculate the distance between any particle and the current optimal particle according to the following formula. If the calculated distance is less than the reference value, the optimal particle will remain unchanged, so that other particles will perform chaotic motion and chaotic within a given number of steps. Search, replacing the original particles with new particles from the chaos search:

Figure BDA0003466482460000165
Figure BDA0003466482460000165

上式中,

Figure BDA0003466482460000166
为第k次迭代时第i个粒子与当前最佳粒子之间的距离,
Figure BDA0003466482460000167
为第i个粒子在第k次迭代过程中的d维分量,pgd为当前最佳粒子的d维分量,n为粒子的维数,即优化变量的个数;In the above formula,
Figure BDA0003466482460000166
is the distance between the i-th particle and the current best particle at the k-th iteration,
Figure BDA0003466482460000167
is the d-dimensional component of the i-th particle in the k-th iteration process, p gd is the d-dimensional component of the current optimal particle, and n is the dimension of the particle, that is, the number of optimization variables;

8、判断是否收敛,若收敛,则退出迭代过程,对粒子进行解码,获得微电网群的优化调度方案;若未收敛,则令k=k+1并返回步骤4进行下一次迭代。8. Determine whether it converges. If it converges, exit the iterative process, decode the particles, and obtain the optimal scheduling scheme of the microgrid group; if it does not converge, set k=k+1 and return to step 4 for the next iteration.

Claims (7)

1.一种基于改进二阶粒子群算法的微电网群优化调度方法,其特征在于:1. a microgrid group optimization scheduling method based on improved second-order particle swarm algorithm, is characterized in that: 所述优化调度方法依次包括以下步骤:The optimal scheduling method sequentially includes the following steps: 步骤A、分别构建微电网群内部各类设备的数学模型,其中,所述各类设备包括风力发电机组、光伏发电机组、负荷、储能设备、柴油机组;Step A, respectively constructing mathematical models of various types of equipment in the microgrid group, wherein the various types of equipment include wind turbines, photovoltaic generators, loads, energy storage equipment, and diesel generators; 步骤B、建立以微电网群综合运行成本最小、风光消纳率最大、联络线功率波动最小为目标的微电网群优化调度模型;Step B, establishing a microgrid group optimization scheduling model aiming at the minimum comprehensive operation cost of the microgrid group, the maximum wind and solar absorption rate, and the minimum power fluctuation of the tie line; 步骤C、以风电、光电、储能、柴油机组出力作为粒子群的位置,适应度函数作为目标函数,采用改进二阶粒子群算法求解上述优化调度模型,得到微电网群的优化调度方案。Step C. Taking the output of wind power, photovoltaic, energy storage, and diesel units as the position of the particle swarm, and the fitness function as the objective function, the improved second-order particle swarm algorithm is used to solve the above-mentioned optimal scheduling model, and the optimal scheduling scheme of the microgrid swarm is obtained. 2.根据权利要求1所述的一种基于改进二阶粒子群算法的微电网群优化调度方法,其特征在于:2. a kind of microgrid group optimization scheduling method based on improved second-order particle swarm algorithm according to claim 1, is characterized in that: 所述步骤C依次包括以下步骤:Described step C comprises the following steps in turn: 步骤C1、获取微电网群内部各类设备参数以及风、光、荷运行数据,并初始化改进二阶粒子群算法的基本参数;Step C1, obtaining various equipment parameters and wind, light, and load operation data in the microgrid group, and initializing the basic parameters of the improved second-order particle swarm algorithm; 步骤C2、利用混沌映射生成混沌序列,选择Logistic映射模型生成初始种群,并将变量反归一化至搜索空间,得到粒子的初始位置,令迭代次数k=1,每一个粒子对应每一种优化调度方案;Step C2, use the chaotic map to generate the chaotic sequence, select the Logistic map model to generate the initial population, and de-normalize the variables to the search space to obtain the initial position of the particle, set the number of iterations k=1, and each particle corresponds to each optimization scheduling plan; 步骤C3、计算每个粒子的适应度值,并更新每个粒子的历史最优值和种群的历史最优值;Step C3, calculate the fitness value of each particle, and update the historical optimal value of each particle and the historical optimal value of the population; 步骤C4、根据迭代次数和适应度值计算当前的惯性系数、学习因子和振荡因子,并更新粒子的速度和位置,同时对粒子的速度和位置进行越限处理;Step C4, calculate the current inertia coefficient, learning factor and oscillation factor according to the number of iterations and the fitness value, and update the speed and position of the particle, and at the same time perform over-limit processing on the speed and position of the particle; 步骤C5、计算任意粒子与当前最佳粒子之间的距离,若计算的距离小于参考值,则最优粒子保持不变,使其他粒子进行混沌运动,在给定的步数内进行混沌搜索,用混沌搜索得到的新粒子替换原粒子;Step C5: Calculate the distance between any particle and the current optimal particle. If the calculated distance is smaller than the reference value, the optimal particle remains unchanged, so that other particles perform chaotic motion, and chaotic search is performed within a given number of steps. Replace original particles with new particles obtained from chaos search; 步骤C6、判断是否收敛,若收敛,则退出迭代过程,对粒子进行解码,获得微电网群的优化调度方案;若未收敛,则令k=k+1并返回步骤C2进行下一次迭代。Step C6, judge whether to converge, if it converges, exit the iterative process, decode the particles, and obtain the optimal scheduling scheme of the microgrid group; if not, set k=k+1 and return to step C2 for the next iteration. 3.根据权利要求2所述的一种基于改进二阶粒子群算法的微电网群优化调度方法,其特征在于:3. a kind of microgrid group optimization scheduling method based on improved second-order particle swarm algorithm according to claim 2, is characterized in that: 步骤C4中,所述惯性系数、学习因子、振荡因子、速度和位置通过以下公式计算更新:In step C4, the inertia coefficient, learning factor, oscillation factor, speed and position are calculated and updated by the following formula:
Figure FDA0003466482450000021
Figure FDA0003466482450000021
Figure FDA0003466482450000022
Figure FDA0003466482450000022
Figure FDA0003466482450000023
Figure FDA0003466482450000023
Figure FDA0003466482450000024
Figure FDA0003466482450000024
Figure FDA0003466482450000025
Figure FDA0003466482450000025
λ1<λ2-1,λ3<λ4-1,0<λ2<1,0<λ4<1 k≥kmax/2λ 12 -1,λ 34 -1,0<λ 2 <1,0<λ 4 <1 k≥k max /2 上式中,
Figure FDA0003466482450000026
分别为第i个粒子在第k次迭代时的惯性系数、速度和位置,ωmin、ωmax分别为惯性系数的最小、最大值,f()为适应度函数,
Figure FDA0003466482450000027
为第k次迭代时种群的平均适应度值,pg、pi分别为粒子群、第i个粒子的历史最优位置,
Figure FDA0003466482450000028
为第k次迭代时的学习因子c1
Figure FDA0003466482450000029
为第k次迭代时的学习因子c2,r1、r2为[0,1]内均匀分布的随机数,c1b、c1e、c2b、c2e分别为c1、c2迭代最开始的值和结束的值,λ1、λ3分别为当前迭代过程中第i个粒子最优和全局最优位置的振荡因子,λ2、λ4分别为上一次的迭代过程中第i个粒子最优和全局最优位置的振荡因子,d1、d2为c1的控制因子,d3、d4为c2的控制因子,kmax为最大迭代次数。
In the above formula,
Figure FDA0003466482450000026
are the inertia coefficient, velocity and position of the ith particle at the k-th iteration, respectively, ω min and ω max are the minimum and maximum values of the inertia coefficient, respectively, f() is the fitness function,
Figure FDA0003466482450000027
is the average fitness value of the population at the k-th iteration, p g and p i are the historical optimal positions of the particle swarm and the i-th particle, respectively,
Figure FDA0003466482450000028
is the learning factor c 1 at the kth iteration,
Figure FDA0003466482450000029
is the learning factor c 2 in the k-th iteration, r 1 and r 2 are random numbers uniformly distributed in [0,1], c 1b , c 1e , c 2b , and c 2e are c 1 , c 2 iteration maximum The starting value and the ending value, λ 1 and λ 3 are the oscillation factors of the i-th particle optimal and global optimal position in the current iteration process, respectively, λ 2 , λ 4 are the i-th particle in the previous iteration process, respectively. Oscillation factors for the optimal and global optimal positions of particles, d 1 and d 2 are the control factors of c 1 , d 3 and d 4 are the control factors of c 2 , and km max is the maximum number of iterations.
4.根据权利要求2所述的一种基于改进二阶粒子群算法的微电网群优化调度方法,其特征在于:4. a kind of microgrid group optimization scheduling method based on improved second-order particle swarm algorithm according to claim 2, is characterized in that: 步骤C2中,所述Logistic映射模型为:In step C2, the logistic mapping model is:
Figure FDA0003466482450000031
Figure FDA0003466482450000031
Figure FDA0003466482450000032
Figure FDA0003466482450000032
上式中,
Figure FDA0003466482450000033
为混沌变量在第k次迭代时的d维分量。
In the above formula,
Figure FDA0003466482450000033
is the d-dimensional component of the chaotic variable at the k-th iteration.
5.根据权利要求2所述的一种基于改进二阶粒子群算法的微电网群优化调度方法,其特征在于:5. a kind of microgrid group optimization scheduling method based on improved second-order particle swarm algorithm according to claim 2, is characterized in that: 步骤C5中,所述任意粒子与当前最佳粒子之间的距离根据以下公式计算得到:In step C5, the distance between the arbitrary particle and the current optimal particle is calculated according to the following formula:
Figure FDA0003466482450000034
Figure FDA0003466482450000034
上式中,
Figure FDA0003466482450000035
为第k次迭代时第i个粒子与当前最佳粒子之间的距离,
Figure FDA0003466482450000036
为第i个粒子在第k次迭代过程中的d维分量,pgd为当前最佳粒子的d维分量,n为粒子的维数,即优化变量的个数。
In the above formula,
Figure FDA0003466482450000035
is the distance between the i-th particle and the current best particle at the k-th iteration,
Figure FDA0003466482450000036
is the d-dimensional component of the i-th particle in the k-th iteration process, p gd is the d-dimensional component of the current optimal particle, and n is the dimension of the particle, that is, the number of optimization variables.
6.根据权利要求1或2所述的一种基于改进二阶粒子群算法的微电网群优化调度方法,其特征在于:6. a kind of microgrid group optimization scheduling method based on improved second-order particle swarm algorithm according to claim 1 and 2, is characterized in that: 步骤B中,所述微电网群优化调度模型的目标函数f为:In step B, the objective function f of the microgrid group optimization scheduling model is: minf=ω1f12f23f3 minf=ω 1 f 12 f 23 f 3
Figure FDA0003466482450000037
Figure FDA0003466482450000037
Figure FDA0003466482450000038
Figure FDA0003466482450000038
Figure FDA0003466482450000039
Figure FDA0003466482450000039
Figure FDA00034664824500000310
Figure FDA00034664824500000310
Figure FDA0003466482450000041
Figure FDA0003466482450000041
上式中,f1、f2、f3分别为微电网群的综合运行成本、风光消纳率、联络线功率波动,ω1、ω2、ω3分别为综合运行成本、风光消纳率、联络线功率波动的权重,NMG、T分别为微电网个数和计算时段数,ct,buy、ct,sell分别为第t个时刻微电网群向配电网的购电单价和售电单价,
Figure FDA0003466482450000042
分别为第t个时刻微电网群向配电网的购电功率和售电功率,且
Figure FDA0003466482450000043
cfuel,i、cM,i、cE,i分别为柴油机组等效的单位燃料费用、维护费用和环境成本费用,
Figure FDA0003466482450000044
分别为柴油机组和储能设备的出力,cDS,i、cd,i分别为储能设备的维护费用和折旧费用,Δt为单个时段的时长,ai、bi、ci分别为柴油机组费用函数的二次项、一次项和常数项系数,
Figure FDA0003466482450000045
分别为第i个微电网第t个时刻风电、光伏削减后的有功出力,
Figure FDA0003466482450000046
分别为第i个微电网第t个时刻风电、光伏的最大有功出力,Pt Line为第t个时刻微电网群与配电网交互的功率,
Figure FDA0003466482450000047
为微电网群与配电网交互的功率的平均值。
In the above formula, f 1 , f 2 , and f 3 are the comprehensive operation cost, wind-solar consumption rate, and tie line power fluctuation of the microgrid group, respectively, and ω 1 , ω 2 , and ω 3 are the comprehensive operation cost, wind-solar consumption rate, respectively. , the weight of the power fluctuation of the tie line, N MG and T are the number of microgrids and the number of calculation periods, respectively, c t,buy , c t,sell are the unit price and unit price of electricity,
Figure FDA0003466482450000042
are the purchasing power and selling power of the microgrid group to the distribution network at the t-th time, respectively, and
Figure FDA0003466482450000043
c fuel,i , c M,i , c E,i are the equivalent unit fuel cost, maintenance cost and environmental cost of diesel unit respectively,
Figure FDA0003466482450000044
are the output of diesel units and energy storage equipment, respectively, c DS,i , cd ,i are the maintenance cost and depreciation cost of energy storage equipment, respectively, Δt is the duration of a single period, a i , bi , c i are the diesel engine respectively the quadratic, linear, and constant coefficients of the group cost function,
Figure FDA0003466482450000045
are the active power output of the i-th microgrid at the t-th moment after the reduction of wind power and photovoltaic power, respectively,
Figure FDA0003466482450000046
are the maximum active power output of wind power and photovoltaics of the i-th microgrid at the t-th time, respectively, P t Line is the interaction power between the micro-grid group and the distribution network at the t-th time,
Figure FDA0003466482450000047
is the average value of the power that the microgrid group interacts with the distribution network.
7.根据权利要求1或2所述的一种基于改进二阶粒子群算法的微电网群优化调度方法,其特征在于:7. A kind of microgrid group optimization scheduling method based on improved second-order particle swarm algorithm according to claim 1 and 2, is characterized in that: 所述目标函数的约束条件包括:The constraints of the objective function include: 潮流平衡约束:Load Balance Constraints:
Figure FDA0003466482450000048
Figure FDA0003466482450000048
Figure FDA0003466482450000049
Figure FDA0003466482450000049
上式中,
Figure FDA00034664824500000410
为第i个微电网第t个时刻的负荷大小,
Figure FDA00034664824500000411
为第i个微电网第t个时刻与配电网交互的功率;
In the above formula,
Figure FDA00034664824500000410
is the load size of the i-th microgrid at the t-th time,
Figure FDA00034664824500000411
is the power of the i-th microgrid interacting with the distribution network at the t-th time;
风光出力约束:Landscape output constraints:
Figure FDA00034664824500000412
Figure FDA00034664824500000412
Figure FDA0003466482450000051
Figure FDA0003466482450000051
联络线功率容量约束:Tie line power capacity constraints:
Figure FDA0003466482450000052
Figure FDA0003466482450000052
Figure FDA0003466482450000053
Figure FDA0003466482450000053
上式中,
Figure FDA0003466482450000054
为第i个微电网的交互功率上限,
Figure FDA0003466482450000055
为总交互功率的上限值;
In the above formula,
Figure FDA0003466482450000054
is the upper limit of the interactive power of the i-th microgrid,
Figure FDA0003466482450000055
is the upper limit of the total interactive power;
ESS运行约束:ESS operating constraints:
Figure FDA0003466482450000056
Figure FDA0003466482450000056
Figure FDA0003466482450000057
Figure FDA0003466482450000057
上式中,
Figure FDA0003466482450000058
分别为第i个储能设备第t个时刻的放、充电功率,
Figure FDA0003466482450000059
分别为第i个储能设备的放、充电功率上限值,Et,i、Ei,max分别为第i个储能设备第t个时刻储存的能量和储存容量额定值,SOCt,i为第i个储能设备第t个时刻的荷电量,SOCi,min、SOCi,max分别为第i个储能设备充放电过程中荷电量的下限值和上限值,ηd、ηc分别为储能设备的放、充电效率;
In the above formula,
Figure FDA0003466482450000058
are the discharge and charging power of the i-th energy storage device at the t-th time, respectively,
Figure FDA0003466482450000059
are the upper limit values of the discharge and charging power of the i-th energy storage device, E t,i and E i,max are the energy and storage capacity ratings stored by the i-th energy storage device at the t-th time, respectively, SOC t, i is the charge amount of the i-th energy storage device at the t-th time, SOC i,min and SOC i,max are the lower and upper limit values of the charge amount during the charging and discharging process of the i-th energy storage device, respectively, η d , η c are the discharge and charging efficiencies of the energy storage device, respectively;
柴油机组出力约束:Diesel unit output constraints:
Figure FDA00034664824500000510
Figure FDA00034664824500000510
Figure FDA00034664824500000511
Figure FDA00034664824500000511
上式中,
Figure FDA0003466482450000061
分别为柴油机组出力的下限值和上限值,
Figure FDA0003466482450000062
分别为第i个柴油机组的最大向下爬坡速率和最大向上爬坡速率。
In the above formula,
Figure FDA0003466482450000061
are the lower limit and upper limit of the output of the diesel unit, respectively,
Figure FDA0003466482450000062
are the maximum downhill rate and the maximum uphill rate of the i-th diesel unit, respectively.
CN202210031104.3A 2022-01-12 2022-01-12 A microgrid group optimization scheduling method based on improved second-order particle swarm optimization algorithm Active CN114400712B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210031104.3A CN114400712B (en) 2022-01-12 2022-01-12 A microgrid group optimization scheduling method based on improved second-order particle swarm optimization algorithm

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210031104.3A CN114400712B (en) 2022-01-12 2022-01-12 A microgrid group optimization scheduling method based on improved second-order particle swarm optimization algorithm

Publications (2)

Publication Number Publication Date
CN114400712A true CN114400712A (en) 2022-04-26
CN114400712B CN114400712B (en) 2024-06-25

Family

ID=81231497

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210031104.3A Active CN114400712B (en) 2022-01-12 2022-01-12 A microgrid group optimization scheduling method based on improved second-order particle swarm optimization algorithm

Country Status (1)

Country Link
CN (1) CN114400712B (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115275978A (en) * 2022-07-01 2022-11-01 金华电力设计院有限公司 An optimized operation method of micro-energy grid based on improved particle swarm optimization
CN115296347A (en) * 2022-07-07 2022-11-04 国网甘肃省电力公司电力科学研究院 Rural power distribution network three-party game optimization scheduling method and system based on edge control
CN115577864A (en) * 2022-12-07 2023-01-06 国网浙江省电力有限公司金华供电公司 Optimal scheduling method for distribution network operation based on multi-model combined operation
CN115660327A (en) * 2022-10-11 2023-01-31 南昌大学 Improved chaotic particle swarm energy storage optimization configuration method considering battery operation efficiency and attenuation characteristics
CN115796393A (en) * 2023-01-31 2023-03-14 深圳市三和电力科技有限公司 Energy network management optimization method, system and storage medium based on multi-energy interaction
CN118783539A (en) * 2024-06-12 2024-10-15 国网甘肃省电力公司营销服务中心 A low-carbon collaborative optimization method for source-grid-load-storage

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106451550A (en) * 2016-11-10 2017-02-22 三峡大学 A micro-grid grid-connected optimal scheduling method based on improved subgradient particle swarms
CN107203136A (en) * 2017-06-08 2017-09-26 国网甘肃省电力公司电力科学研究院 A kind of Optimization Scheduling and device of wisdom agricultural greenhouse micro power source net
CN108695903A (en) * 2018-06-19 2018-10-23 南京邮电大学 Micro-capacitance sensor Optimization Scheduling based on particle swarm optimization algorithm
CN109301852A (en) * 2018-11-23 2019-02-01 武汉理工大学 An Economic Scheduling Method for Microgrid Hierarchical and Multi-objective Combined
CN109950933A (en) * 2018-05-24 2019-06-28 国网河南省电力公司安阳供电公司 An optimization method of wind-solar storage combined peak shaving based on improved particle swarm optimization

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106451550A (en) * 2016-11-10 2017-02-22 三峡大学 A micro-grid grid-connected optimal scheduling method based on improved subgradient particle swarms
CN107203136A (en) * 2017-06-08 2017-09-26 国网甘肃省电力公司电力科学研究院 A kind of Optimization Scheduling and device of wisdom agricultural greenhouse micro power source net
CN109950933A (en) * 2018-05-24 2019-06-28 国网河南省电力公司安阳供电公司 An optimization method of wind-solar storage combined peak shaving based on improved particle swarm optimization
CN108695903A (en) * 2018-06-19 2018-10-23 南京邮电大学 Micro-capacitance sensor Optimization Scheduling based on particle swarm optimization algorithm
CN109301852A (en) * 2018-11-23 2019-02-01 武汉理工大学 An Economic Scheduling Method for Microgrid Hierarchical and Multi-objective Combined

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
高扬等: "基于数字孪生驱动的智慧微电网多智能体协调优化控制策略", 《电网技术》, vol. 45, no. 7, 31 December 2021 (2021-12-31), pages 2483 - 2491 *

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115275978A (en) * 2022-07-01 2022-11-01 金华电力设计院有限公司 An optimized operation method of micro-energy grid based on improved particle swarm optimization
CN115296347A (en) * 2022-07-07 2022-11-04 国网甘肃省电力公司电力科学研究院 Rural power distribution network three-party game optimization scheduling method and system based on edge control
CN115660327A (en) * 2022-10-11 2023-01-31 南昌大学 Improved chaotic particle swarm energy storage optimization configuration method considering battery operation efficiency and attenuation characteristics
CN115577864A (en) * 2022-12-07 2023-01-06 国网浙江省电力有限公司金华供电公司 Optimal scheduling method for distribution network operation based on multi-model combined operation
CN115796393A (en) * 2023-01-31 2023-03-14 深圳市三和电力科技有限公司 Energy network management optimization method, system and storage medium based on multi-energy interaction
CN118783539A (en) * 2024-06-12 2024-10-15 国网甘肃省电力公司营销服务中心 A low-carbon collaborative optimization method for source-grid-load-storage

Also Published As

Publication number Publication date
CN114400712B (en) 2024-06-25

Similar Documents

Publication Publication Date Title
CN114400712B (en) A microgrid group optimization scheduling method based on improved second-order particle swarm optimization algorithm
WO2022048127A1 (en) Optimization and regulation method and system for thermoelectric heat pump-thermoelectricity combined system
CN112467722B (en) Active power distribution network source-network-load-storage coordination planning method considering electric vehicle charging station
CN107147152B (en) Collaborative optimization configuration method and system for multi-type active and reactive power sources in new energy distribution network
CN110138006B (en) Coordinated optimal dispatching method for multiple microgrids considering new energy electric vehicles
CN106602557B (en) A kind of multi-period optimal reconfiguration method of active distribution network containing electric car
CN107546781B (en) Multi-objective operation optimization method of microgrid based on improved PSO algorithm
CN109888840B (en) Dispatch optimization method and device of wind-solar-waste-to-energy comprehensive utilization system
CN114050609B (en) Adaptive robust day-ahead optimization scheduling method for high-proportion new energy power system
CN118174355A (en) Micro-grid energy optimization scheduling method
CN116914821B (en) Micro-grid low-carbon optimal scheduling method based on improved particle swarm optimization
CN113809780B (en) Micro-grid optimal scheduling method based on improved Q learning punishment selection
CN110020743A (en) A kind of interconnection passway for transmitting electricity method for planning capacity
CN114971048A (en) A simulation method, system and computer equipment for comprehensive energy planning in a zero-carbon park
CN114819402B (en) A microgrid optimization scheduling method
CN107579545A (en) The method of Economic Dispatch containing wind power plant of algorithm is moved radially based on improvement
CN112564160B (en) Wind power uncertainty-based random configuration method for energy storage system, terminal and storage medium
CN112653180B (en) A method and system for environmental economic dispatching of combined wind-fired-storage system
CN114142527A (en) Multi-microgrid cooperative operation economic scheduling optimization method
CN109038653A (en) A kind of power distribution network optimizing operation method for pursuing the consumption of distributing wind electricity generating
CN118446089A (en) Micro-grid source network load storage optimal configuration method based on improved artificial fish swarm algorithm
CN108022055A (en) A kind of micro-capacitance sensor economic load dispatching method based on particle group model
CN118508452A (en) Dispatching method, device, equipment and storage medium for source-grid-load-storage power system
CN116995740A (en) Distributed wind power and energy storage optimal configuration method and system for power distribution network
CN111319505A (en) Energy optimization method and device for light storage type electric vehicle charging station

Legal Events

Date Code Title Description
PB01 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