CN118748436A - A two-layer multi-objective optimization scheduling method for active distribution networks - Google Patents
A two-layer multi-objective optimization scheduling method for active distribution networks Download PDFInfo
- Publication number
- CN118748436A CN118748436A CN202410765761.XA CN202410765761A CN118748436A CN 118748436 A CN118748436 A CN 118748436A CN 202410765761 A CN202410765761 A CN 202410765761A CN 118748436 A CN118748436 A CN 118748436A
- Authority
- CN
- China
- Prior art keywords
- distribution network
- objective
- power distribution
- snake
- model
- 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.)
- Pending
Links
- 238000005457 optimization Methods 0.000 title claims abstract description 55
- 238000000034 method Methods 0.000 title claims abstract description 50
- 230000005611 electricity Effects 0.000 claims abstract description 41
- 230000004044 response Effects 0.000 claims abstract description 29
- 230000003044 adaptive effect Effects 0.000 claims abstract description 9
- 230000006870 function Effects 0.000 claims description 39
- 241000270295 Serpentes Species 0.000 claims description 32
- 238000010248 power generation Methods 0.000 claims description 23
- 238000004146 energy storage Methods 0.000 claims description 14
- 230000008901 benefit Effects 0.000 claims description 10
- 241000566144 Sagittarius serpentarius Species 0.000 claims description 9
- 238000005265 energy consumption Methods 0.000 claims description 8
- 230000008569 process Effects 0.000 claims description 8
- 238000011156 evaluation Methods 0.000 claims description 5
- 230000005653 Brownian motion process Effects 0.000 claims description 4
- 238000005537 brownian motion Methods 0.000 claims description 4
- 238000004364 calculation method Methods 0.000 claims description 3
- 238000010276 construction Methods 0.000 claims description 2
- 230000035699 permeability Effects 0.000 claims 2
- 230000003993 interaction Effects 0.000 abstract description 2
- 230000008859 change Effects 0.000 description 7
- 238000013178 mathematical model Methods 0.000 description 5
- 230000035515 penetration Effects 0.000 description 4
- 238000007599 discharging Methods 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 2
- 241000272875 Ardeidae Species 0.000 description 1
- 101001121408 Homo sapiens L-amino-acid oxidase Proteins 0.000 description 1
- 102100026388 L-amino-acid oxidase Human genes 0.000 description 1
- 101100012902 Saccharomyces cerevisiae (strain ATCC 204508 / S288c) FIG2 gene Proteins 0.000 description 1
- 238000004458 analytical method Methods 0.000 description 1
- 230000005540 biological transmission Effects 0.000 description 1
- 230000007547 defect Effects 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 239000012634 fragment Substances 0.000 description 1
- 230000035772 mutation Effects 0.000 description 1
- 230000001737 promoting effect Effects 0.000 description 1
- 230000009711 regulatory function Effects 0.000 description 1
- 230000001131 transforming effect Effects 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H02—GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
- H02J—CIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
- H02J3/00—Circuit arrangements for AC mains or AC distribution networks
- H02J3/38—Arrangements for parallely feeding a single network by two or more generators, converters or transformers
- H02J3/46—Controlling of the sharing of output between the generators, converters, or transformers
- H02J3/466—Scheduling the operation of the generators, e.g. connecting or disconnecting generators to meet a given demand
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06N—COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
- G06N3/00—Computing arrangements based on biological models
- G06N3/004—Artificial life, i.e. computing arrangements simulating life
- G06N3/006—Artificial 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]
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION 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/00—Administration; Management
- G06Q10/06—Resources, workflows, human or project management; Enterprise or organisation planning; Enterprise or organisation modelling
- G06Q10/063—Operations research, analysis or management
- G06Q10/0631—Resource planning, allocation, distributing or scheduling for enterprises or organisations
- G06Q10/06313—Resource planning in a project environment
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION 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
- G06Q30/00—Commerce
- G06Q30/02—Marketing; Price estimation or determination; Fundraising
- G06Q30/0201—Market modelling; Market analysis; Collecting market data
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION 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/00—Information and communication technology [ICT] specially adapted for implementation of business processes of specific business sectors, e.g. utilities or tourism
- G06Q50/06—Energy or water supply
-
- H—ELECTRICITY
- H02—GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
- H02J—CIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
- H02J3/00—Circuit arrangements for AC mains or AC distribution networks
- H02J3/003—Load forecast, e.g. methods or systems for forecasting future load demand
-
- H—ELECTRICITY
- H02—GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
- H02J—CIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
- H02J3/00—Circuit arrangements for AC mains or AC distribution networks
- H02J3/12—Circuit arrangements for AC mains or AC distribution networks for adjusting voltage in AC networks by changing a characteristic of the network load
- H02J3/14—Circuit arrangements for AC mains or AC distribution networks for adjusting voltage in AC networks by changing a characteristic of the network load by switching loads on to, or off from, network, e.g. progressively balanced loading
- H02J3/144—Demand-response operation of the power transmission or distribution network
-
- H—ELECTRICITY
- H02—GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
- H02J—CIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
- H02J3/00—Circuit arrangements for AC mains or AC distribution networks
- H02J3/28—Arrangements for balancing of the load in a network by storage of energy
- H02J3/32—Arrangements for balancing of the load in a network by storage of energy using batteries with converting means
-
- H—ELECTRICITY
- H02—GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
- H02J—CIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
- H02J3/00—Circuit arrangements for AC mains or AC distribution networks
- H02J3/38—Arrangements for parallely feeding a single network by two or more generators, converters or transformers
- H02J3/46—Controlling of the sharing of output between the generators, converters, or transformers
- H02J3/48—Controlling the sharing of the in-phase component
-
- H—ELECTRICITY
- H02—GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
- H02J—CIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
- H02J2203/00—Indexing scheme relating to details of circuit arrangements for AC mains or AC distribution networks
- H02J2203/20—Simulating, e g planning, reliability check, modelling or computer assisted design [CAD]
-
- H—ELECTRICITY
- H02—GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
- H02J—CIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
- H02J2300/00—Systems for supplying or distributing electric power characterised by decentralized, dispersed, or local generation
- H02J2300/40—Systems for supplying or distributing electric power characterised by decentralized, dispersed, or local generation wherein a plurality of decentralised, dispersed or local energy generation technologies are operated simultaneously
-
- H—ELECTRICITY
- H02—GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
- H02J—CIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
- H02J2310/00—The network for supplying or distributing electric power characterised by its spatial reach or by the load
- H02J2310/50—The network for supplying or distributing electric power characterised by its spatial reach or by the load for selectively controlling the operation of the loads
- H02J2310/56—The network for supplying or distributing electric power characterised by its spatial reach or by the load for selectively controlling the operation of the loads characterised by the condition upon which the selective controlling is based
- H02J2310/58—The condition being electrical
- H02J2310/60—Limiting power consumption in the network or in one section of the network, e.g. load shedding or peak shaving
Landscapes
- Engineering & Computer Science (AREA)
- Business, Economics & Management (AREA)
- Human Resources & Organizations (AREA)
- Strategic Management (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- Power Engineering (AREA)
- Economics (AREA)
- Development Economics (AREA)
- Entrepreneurship & Innovation (AREA)
- General Physics & Mathematics (AREA)
- Finance (AREA)
- General Business, Economics & Management (AREA)
- Marketing (AREA)
- Health & Medical Sciences (AREA)
- Accounting & Taxation (AREA)
- Tourism & Hospitality (AREA)
- Game Theory and Decision Science (AREA)
- Data Mining & Analysis (AREA)
- Life Sciences & Earth Sciences (AREA)
- General Health & Medical Sciences (AREA)
- Biomedical Technology (AREA)
- Evolutionary Computation (AREA)
- Molecular Biology (AREA)
- Computing Systems (AREA)
- General Engineering & Computer Science (AREA)
- Mathematical Physics (AREA)
- Software Systems (AREA)
- Computational Linguistics (AREA)
- Biophysics (AREA)
- Artificial Intelligence (AREA)
- Primary Health Care (AREA)
- Water Supply & Treatment (AREA)
- Biodiversity & Conservation Biology (AREA)
- Educational Administration (AREA)
- Operations Research (AREA)
- Quality & Reliability (AREA)
- Public Health (AREA)
- Supply And Distribution Of Alternating Current (AREA)
Abstract
本发明公开一种面向主动配电网的双层多目标优化调度方法,包括以下步骤:针对主动配电网分布式资源出力特性建模;基于分布式电源出力建立实时电价响应模型;考虑需求响应和配电网安全稳定运行约束条件,建立了主动配电网双层多目标优化调度模型;提出一种自适应蛇鹭优化算法,并基于Pareto理论设计多目标蛇鹭优化算法,分别求解下层和上层模型;得出主动配电网最优优化调度策略;本发明考虑了需求侧响应,加强了供电侧与用电侧的互动,从而提高配电网运行的经济性;通过寻优性能良好的ASBOA和MOSBOA,分别对下层模型和上层模型进行求解,最终得出最佳的主动配电网优化调度策略,以满足配电网的运行要求。
The invention discloses a double-layer multi-objective optimization scheduling method for an active distribution network, comprising the following steps: modeling the output characteristics of distributed resources of the active distribution network; establishing a real-time electricity price response model based on the output of distributed power sources; considering the demand response and the constraints of safe and stable operation of the distribution network, establishing a double-layer multi-objective optimization scheduling model for the active distribution network; proposing an adaptive snake-heron optimization algorithm, and designing a multi-objective snake-heron optimization algorithm based on the Pareto theory, respectively solving the lower layer and upper layer models; obtaining the optimal optimization scheduling strategy for the active distribution network; the invention considers the demand side response, strengthens the interaction between the power supply side and the power consumption side, thereby improving the economy of the distribution network operation; by searching for ASBOA and MOSBOA with good optimization performance, respectively solving the lower layer model and the upper layer model, and finally obtaining the best active distribution network optimization scheduling strategy to meet the operation requirements of the distribution network.
Description
技术领域Technical Field
本发明涉及主动配电网优化调度技术,具体涉及一种面向主动配电网的双层多目标优化调度方法。The present invention relates to an active distribution network optimization dispatching technology, and in particular to a double-layer multi-objective optimization dispatching method for an active distribution network.
背景技术Background Art
随着新型电力系统建设的推进,配电网正逐步由单纯接受、分配电能给用户的电力网络转变为源网荷储融合互动、与上级电网灵活耦合的电力网络,在促进分布式电源就近消纳、承载新型负荷等方面的功能日益显著。主动配电网能够通过“源荷网储”协同优化技术来发挥各种可控资源的调节功能,实现对分布式电源的引导与利用,提高配电网运行的经济性与稳定性。因此协调主动配电网中多种分布式能源、储能设备以及需求侧负荷,并有效参与到当前电力市场中,从而改善配电网电压质量、提高配电网运行经济性。成为亟待解决的问题;因此发明出一种面向主动配电网的双层多目标优化调度方法变得尤为重要。With the advancement of the construction of new power systems, the distribution network is gradually transforming from a power network that simply receives and distributes electric energy to users to a power network that integrates source, grid, load and storage and is flexibly coupled with the upper-level grid. Its functions in promoting the local consumption of distributed power sources and carrying new loads are becoming increasingly significant. The active distribution network can play the regulatory function of various controllable resources through the "source, load, grid and storage" collaborative optimization technology, realize the guidance and utilization of distributed power sources, and improve the economy and stability of the distribution network operation. Therefore, it is necessary to coordinate various distributed energy sources, energy storage equipment and demand-side loads in the active distribution network, and effectively participate in the current power market, so as to improve the voltage quality of the distribution network and improve the economy of the distribution network operation. It has become an urgent problem to be solved; therefore, it is particularly important to invent a double-layer multi-objective optimization scheduling method for active distribution networks.
现有的配电网优化调度方法大多都是针对传统配电网进行优化调度,其没有考虑需求响应对调度的影响,同时在调度模型求解大都是针对单目标,求解精度上仍需要进一步提高,为此,本发明提出一种面向主动配电网的双层多目标优化调度方法。Most of the existing distribution network optimization scheduling methods are aimed at optimizing the traditional distribution network, which does not consider the impact of demand response on scheduling. At the same time, the scheduling model is mostly solved for a single objective, and the solution accuracy still needs to be further improved. For this reason, the present invention proposes a two-layer multi-objective optimization scheduling method for active distribution networks.
发明内容Summary of the invention
本发明的目的是为了解决现有技术中存在的缺陷,而提供的一种面向主动配电网的双层多目标优化调度方法。The purpose of the present invention is to solve the defects in the prior art and to provide a double-layer multi-objective optimization scheduling method for active distribution networks.
为了解决上述技术问题,本发明提供了如下的技术方案:In order to solve the above technical problems, the present invention provides the following technical solutions:
本发明公开了一种面向主动配电网的双层多目标优化调度方法,包括如下步骤:The present invention discloses a double-layer multi-objective optimization scheduling method for an active distribution network, comprising the following steps:
S1:针对主动配电网分布式资源出力特性建模;S1: Modeling the output characteristics of distributed resources in active distribution networks;
S2:基于分布式电源出力建立实时电价响应模型;S2: Establish a real-time electricity price response model based on the output of distributed power sources;
S3:考虑需求响应和配电网安全稳定运行约束条件,建立了主动配电网双层多目标优化调度模型;S3: Considering the demand response and the constraints of safe and stable operation of distribution network, a two-layer multi-objective optimization scheduling model of active distribution network is established;
S4:提出一种自适应蛇鹭优化算法(Adaptive Secretary Bird OptimizationAlgorithm,ASBOA),并基于Pareto理论设计多目标蛇鹭优化算法(Multi-ObjectiveSecretary Bird Optimization Algorithm,MOSBOA),分别求解下层和上层模型,得出主动配电网最优优化调度策略。S4: An Adaptive Secretary Bird Optimization Algorithm (ASBOA) is proposed, and a Multi-Objective Secretary Bird Optimization Algorithm (MOSBOA) is designed based on the Pareto theory to solve the lower and upper layer models respectively, and obtain the optimal optimization scheduling strategy for the active distribution network.
具体的,所述S1中主动配电网分布式资源出力特性建模包括光伏发电系统、风力发电系统和储能系统。Specifically, the distributed resource output characteristic modeling of the active distribution network in S1 includes a photovoltaic power generation system, a wind power generation system and an energy storage system.
具体的,所述S2中建立实时电价响应模型包括以下步骤:Specifically, establishing the real-time electricity price response model in S2 includes the following steps:
当主动配电网中分布式电源渗透率低于基准值时,电价与当前时段负荷水平成正比,实时电价模型为:When the penetration rate of distributed generation in the active distribution network is lower than the benchmark value, the electricity price is proportional to the load level in the current period, and the real-time electricity price model is:
式中,mE(t)是时段t内的电价;P(t)是时段t内的负荷需求;Psun为所有时段内的负荷需求总和;T为需求响应的时段总数。Where m E (t) is the electricity price in time period t; P(t) is the load demand in time period t; P sun is the sum of load demands in all time periods; and T is the total number of time periods for demand response.
当主动配电网中分布式电源渗透率高于基准值时,电价与当前时段分布式电源出力成反比,实时电价模型为:When the penetration rate of distributed power generation in the active distribution network is higher than the benchmark value, the electricity price is inversely proportional to the output of distributed power generation in the current period, and the real-time electricity price model is:
式中,PPV(t)为时段t内分布式电源出力;δ为光伏补偿系数,其值等于单位分布式电源补偿金额ma和固定电价ms的比值。Where P PV (t) is the output of distributed power generation in time period t; δ is the photovoltaic compensation coefficient, which is equal to the ratio of the unit distributed power generation compensation amount ma and the fixed electricity price ms .
所述步骤S3中,具体约束条件包括如下:分布式电源有功出力约束、ESS响应约束、节点电压约束、支路功率约束、需求响应约束和总功率平衡约束。In step S3, specific constraints include the following: distributed generation active output constraint, ESS response constraint, node voltage constraint, branch power constraint, demand response constraint and total power balance constraint.
所述步骤S3中,主动配电网双层多目标包括:以配电网整体效益最优和新能源消纳率最大作为上层优化目标,以负荷变化量最优作为下层目标。In step S3, the active distribution network has two layers and multiple objectives, including: taking the overall benefit of the distribution network as the best and the new energy consumption rate as the maximum as the upper optimization objectives, and taking the load change as the best as the lower optimization objective.
进一步的,在上层规划目标中,其中一个是整体效益F最优,体现了配电网的供电稳定性与经济性,主要包括配电网调度运行成本F1和电压偏差F2,其目标函数如下:Furthermore, among the upper-level planning objectives, one of them is the optimal overall benefit F, which reflects the power supply stability and economy of the distribution network, mainly including the distribution network dispatching operation cost F 1 and voltage deviation F 2 , and its objective function is as follows:
minF=min(F1+F2) (3)minF=min(F 1 +F 2 ) (3)
在所述主动配电网双层多目标中,新能源消纳率是指在能源系统中,新能源(如风能、太阳能等可再生能源)占总发电量的比例。其数学模型如下:In the active distribution network double-layer multi-objective, the new energy consumption rate refers to the proportion of new energy (such as wind energy, solar energy and other renewable energy) in the total power generation in the energy system. Its mathematical model is as follows:
式中,PF表示新能源实际发电量;PQ表示新能源实际弃电量。Where PF represents the actual power generation of renewable energy; PQ represents the actual power abandonment of renewable energy.
具体的,下层规划的目标是负荷变化量最优,由配电网侧综合负荷的波动幅度和波动率共同评价。Specifically, the goal of the lower-level planning is to optimize the load variation, which is evaluated by the fluctuation amplitude and fluctuation rate of the comprehensive load on the distribution network side.
式中:T为负荷波动幅度;λ为负荷波动率;η1、η2为两个评价指标的权重系数,由于负荷的波动率对配电网的可靠性影响更大,取η1=0.25,η2=0.75;Phmax、Phmin分别表示配电网日负荷功率的最大值和最小值;为配电网日负荷平均值;Ph(t+1)、Ph(t)都表示配电网日负荷时刻值。Where: T is the load fluctuation amplitude; λ is the load fluctuation rate; η 1 and η 2 are the weight coefficients of the two evaluation indicators. Since the load fluctuation rate has a greater impact on the reliability of the distribution network, η 1 = 0.25 and η 2 = 0.75 are taken; Phmax and Phmin represent the maximum and minimum values of the daily load power of the distribution network respectively; is the average daily load value of the distribution network; Ph (t+1) and Ph (t) both represent the momentary value of the daily load of the distribution network.
所述步骤S4中,输入主动配电网的相关数据,包括双层多目标优化模型的目标函数、需求响应参数以及相关变量约束条件,进一步得出主动配电网优化调度策略的参数和决策变量。利用ASBOA算法对主动配电网双层多目标优化模型的下层进行求解,在利用改进后的MOSBOA算法对上层模型进行求解,得到最优Pareto非支配解,从而得出最佳的主动配电网优化调度方案。In step S4, the relevant data of the active distribution network is input, including the objective function, demand response parameters and related variable constraints of the double-layer multi-objective optimization model, and the parameters and decision variables of the active distribution network optimization scheduling strategy are further obtained. The lower layer of the double-layer multi-objective optimization model of the active distribution network is solved by the ASBOA algorithm, and the upper layer model is solved by the improved MOSBOA algorithm to obtain the optimal Pareto non-dominated solution, thereby obtaining the best active distribution network optimization scheduling plan.
其步骤包括:上层模型以及下层模型的求解。The steps include: solving the upper model and the lower model.
下层模型的求解:Solution of the underlying model:
初始化蛇鹭种群:设置最大迭代次数T,随机生成一组蛇鹭个体,每个个体代表一个主动配电网优化调度的策略,个体的位置向量表示决策变量。初始化公式如下:Initialize the snake heron population: set the maximum number of iterations T, randomly generate a group of snake heron individuals, each individual represents a strategy for active distribution network optimization scheduling, and the individual's position vector represents the decision variable. The initialization formula is as follows:
Xi,j=lbj+r×(ubj-lbj),i=1,2,...,N,j=1,2,...,D (8)X i,j =lb j +r×(ub j -lb j ),i=1,2,...,N,j=1,2,...,D (8)
式中,Xi,j是初始时刻第j个蛇鹭的位置;ubj和lbj分别是决策变量的上界和下界;r表示一个生成[0,1]之间随机数的函数;N表示蛇鹭种群内的种群规模;D表示问题中决策变量的数量。where Xi ,j is the position of the jth snake heron at the initial moment; ubj and lbj are the upper and lower bounds of the decision variables, respectively; r represents a function that generates random numbers between [0,1]; N represents the population size within the snake heron population; and D represents the number of decision variables in the problem.
评估适应度:计算每个蛇鹭个体的适应度,即下层目标函数的值,并考虑约束条件。适应度函数如下:Evaluate fitness: Calculate the fitness of each snake heron individual, that is, the value of the underlying objective function, and consider the constraints. The fitness function is as follows:
fitness=η1·T+η2·λ (9)fitness=η 1 ·T+η 2 ·λ (9)
式中,T为负荷波动幅度;λ为负荷波动率;η1、η2为两个评价指标的权重系数;由于负荷的波动率对配电网的可靠性影响更大,取η1=0.25,η2=0.75。Where T is the load fluctuation amplitude; λ is the load fluctuation rate; η 1 and η 2 are the weight coefficients of the two evaluation indicators; since the load fluctuation rate has a greater impact on the reliability of the distribution network, η 1 = 0.25 and η 2 = 0.75 are taken.
更新个体最优解和全局最优解:记录当前种群中个体对应的负荷变化量,更新个体最优解。选取全局最优解,即最小的负荷变化量。Update individual optimal solution and global optimal solution: record the load change corresponding to the individuals in the current population, update the individual optimal solution, and select the global optimal solution, that is, the smallest load change.
根据蛇鹭捕食阶段的生物学统计和每个阶段的持续时间,将整个捕食过程分为三个相等的时间间隔,分别为h<1/3H、1/3H<h<2/3H和2/3H<h<H,分别对应秘书鸟捕食的三个阶段:寻找猎物、消耗猎物和攻击猎物。According to the biological statistics of the predation stages of the snake heron and the duration of each stage, the entire predation process was divided into three equal time intervals, namely h<1/3H, 1/3H<h<2/3H and 2/3H<h<H, which correspond to the three stages of secretary bird predation: finding prey, consuming prey and attacking prey.
自适应更新蛇鹭位置:在配电网调度策略中,位置的更新可以表示调度方案中的参数或决策变量的更新。根据不同的捕食阶段自适应更新位置,其公式如下:Adaptive update of snake heron position: In the distribution network dispatching strategy, the update of position can represent the update of parameters or decision variables in the dispatching scheme. The position is adaptively updated according to different predation stages, and the formula is as follows:
RB=randn(1,D) (12)RB=randn(1,D) (12)
式中,A、B、C表示不同阶段的自适应速度因子;h表示当前迭代次数;H表示最大迭代次数;xrandom1和xrandom2是第一阶段迭代中的随机候选解;R1表示随机生成的维度数组;RB表示布朗运动;Γ表示gamma函数;xbest表示个体历史最佳位置;s是0.01的固定常数;η是1.5的固定常数。u和v是区间[0,1]中的随机数;表示一个非线性扰动因子。Where A, B, and C represent the adaptive speed factors at different stages; h represents the current number of iterations; H represents the maximum number of iterations; x random1 and x random2 are random candidate solutions in the first stage of iteration; R 1 represents a randomly generated dimensional array; RB represents Brownian motion; Γ represents the gamma function; x best represents the best historical position of an individual; s is a fixed constant of 0.01; η is a fixed constant of 1.5. u and v are random numbers in the interval [0,1]; represents a nonlinear perturbation factor.
对每个蛇鹭的位置进行边界处理,确保解向量在可行范围内;检查约束条件,排除不满足平衡条件的解;如果达到设定的终止条件,如最大迭代次数或误差阈值,输出具有最佳适应度的蛇鹭个体作为问题的最优解,结束迭代;否则,继续更新位置,继续迭代。Perform boundary processing on the position of each snake heron to ensure that the solution vector is within the feasible range; check the constraints and exclude solutions that do not meet the equilibrium conditions; if the set termination conditions are reached, such as the maximum number of iterations or the error threshold, output the snake heron individual with the best fitness as the optimal solution to the problem and end the iteration; otherwise, continue to update the position and continue to iterate.
上层模型求解:Upper model solution:
根据位置更新公式逐代更新上层蛇鹭种群的位置,不断更新配电网整体效益最优和新能源消纳率最大为目标的Pareto解集,进而利用改进理想点决策方法确定多目标规划的最优解。According to the position update formula, the position of the upper snake egret population is updated from generation to generation, and the Pareto solution set with the goals of optimizing the overall benefit of the distribution network and maximizing the new energy consumption rate is continuously updated. Then, the improved ideal point decision method is used to determine the optimal solution for the multi-objective planning.
在算法迭代过程中,采用外部归档集来存储Pareto非支配解集,MOSBOA-SBOA在每次迭代中获得的新非支配解集,须逐一与原非支配解集进行比较并更新外部归档集,为了保持种群的多样性且数量不超过限制,根据拥挤距离大小去除相似个体的方法来保持Pareto解集的均衡性,拥挤距离计算公式为:In the algorithm iteration process, an external archive set is used to store the Pareto non-dominated solution set. The new non-dominated solution set obtained by MOSBOA-SBOA in each iteration must be compared with the original non-dominated solution set one by one and the external archive set is updated. In order to maintain the diversity of the population and the number does not exceed the limit, the method of removing similar individuals according to the size of the crowding distance is used to maintain the balance of the Pareto solution set. The crowding distance calculation formula is:
式中,q为目标函数个数;Fi,max、Fi,min分别为第i个目标函数的最大值和最小值;U(j)为Pareto解集中第只j蛇鹭个体的拥挤距离;Fi(j+1)和Fi(j-1)为第j只蛇鹭个体相邻的两个个体的第j个目标函数值。Where q is the number of objective functions; Fi ,max and Fi ,min are the maximum and minimum values of the i-th objective function, respectively; U(j) is the crowding distance of the j-th snake-heron individual in the Pareto solution set; Fi (j+1) and Fi (j-1) are the j-th objective function values of the two individuals adjacent to the j-th snake-heron individual.
其中,改进理想点决策方法步骤如下;Among them, the steps of improving the ideal point decision method are as follows;
首先,对所有Pareto非支配解的适应度值进行归一化处理:First, the fitness values of all Pareto non-dominated solutions are normalized:
式中,y(xi)为第个i非支配解下的第q个目标函数的归一化值;Fq为Pareto非支配解的适应度函数;归一化后的目标理想点为(0,0,0)。Where y( xi ) is the normalized value of the qth objective function under the i-th non-dominated solution; Fq is the fitness function of the Pareto non-dominated solution; and the normalized target ideal point is (0,0,0).
其次,计算各个非支配解到目标理想点的趋近度,即欧氏距离平方:Secondly, calculate the degree of proximity of each non-dominated solution to the target ideal point, that is, the square of the Euclidean distance:
式中,ω为第q个目标的权重系数。Where ω is the weight coefficient of the qth target.
最后,以所有Pareto非支配解在各个目标上的欧氏距离平方之和最小来确定多目标规划的最优解。Finally, the optimal solution of the multi-objective programming is determined by minimizing the sum of the squares of the Euclidean distances of all Pareto non-dominated solutions on each objective.
本发明的技术效果和优点:本发明提出的一种面向主动配电网的双层多目标优化调度方法,与现有技术相比,具有以下优点:Technical effects and advantages of the present invention: Compared with the prior art, the present invention provides a two-layer multi-objective optimization scheduling method for active distribution networks, which has the following advantages:
首先,在传统优化调度方法中考虑了需求侧响应,加强了供电侧与用电侧的互动,从而提高配电网运行的经济性;其次,由于对主动配电网优化模型进行研究分析,可以更好地预测未来的负荷变化趋势,为配电网提供更加准确的负荷预测数据;最后,设计寻优性能良好的ASBOA和MOSBOA,分别对下层模型和上层模型进行求解,通过上下层的嵌套循环迭代,最终得出最佳的主动配电网优化调度策略,以满足配电网的运行要求。Firstly, the demand-side response is taken into account in the traditional optimization scheduling method, and the interaction between the power supply side and the power consumption side is strengthened, thereby improving the economy of the distribution network operation; secondly, due to the research and analysis of the active distribution network optimization model, the future load change trend can be better predicted, and more accurate load forecasting data can be provided for the distribution network; finally, ASBOA and MOSBOA with good optimization performance are designed to solve the lower model and the upper model respectively, and through the nested loop iteration of the upper and lower layers, the best active distribution network optimization scheduling strategy is finally obtained to meet the operation requirements of the distribution network.
附图说明BRIEF DESCRIPTION OF THE DRAWINGS
图1是本发明所述一种面向主动配电网的双层多目标优化调度方法流程图。FIG1 is a flow chart of a double-layer multi-objective optimization scheduling method for an active distribution network according to the present invention.
图2是本发明主动配电网双层多目标优化调度模型求解流程图。FIG2 is a flowchart of solving the double-layer multi-objective optimization scheduling model of the active distribution network of the present invention.
具体实施方法Specific implementation methods
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。此处所描述的具体实施例仅仅用以解释本发明,并不用于限定本发明。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。The following will be combined with the accompanying drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, rather than all of the embodiments. The specific embodiments described herein are only used to explain the present invention and are not used to limit the present invention. Based on the embodiments in the present invention, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of the present invention.
参照图1所示,本发明提出一种面向主动配电网的双层多目标优化调度方法,包括以下步骤:1 , the present invention proposes a double-layer multi-objective optimization scheduling method for an active distribution network, comprising the following steps:
S1:针对主动配电网分布式资源出力特性建模。S1: Modeling the output characteristics of distributed resources in active distribution networks.
在本发明实施例中,包括对风光系统出力以及储能系统出力的建模。In the embodiment of the present invention, the output of the wind and solar system and the output of the energy storage system are modeled.
S2:基于分布式电源出力建立实时电价响应模型。S2: Establish a real-time electricity price response model based on distributed power output.
在本发明实施例中,一方面电价影响着用户的用电需求,另一方面电价的确定也应考虑分布式电源的出力特征。因此可以通过电价将分布式电源出力和负荷水平联系起来,以分布式电源出力引导用户调整用电,建立实时电价响应模型。In the embodiment of the present invention, on the one hand, the electricity price affects the electricity demand of the user, and on the other hand, the determination of the electricity price should also take into account the output characteristics of the distributed power source. Therefore, the output of the distributed power source and the load level can be linked through the electricity price, and the distributed power source output can be used to guide the user to adjust the electricity consumption, and a real-time electricity price response model can be established.
S3:考虑需求响应和配电网安全稳定运行约束条件,建立了主动配电网双层多目标优化调度模型。S3: Considering the demand response and safe and stable operation constraints of the distribution network, a two-layer multi-objective optimization scheduling model for the active distribution network is established.
在本发明实施例中,所构建主动配电网双层多目标优化调度模型其上层以整体效益最优和新能源消纳率最大为目标,下层以负荷变化量最小为目标。约束条件包括分布式电源有功出力约束、ESS响应约束、节点电压约束、支路功率约束、需求响应约束和总功率平衡约束。In the embodiment of the present invention, the constructed active distribution network double-layer multi-objective optimization scheduling model has the upper layer with the goal of optimizing overall benefits and maximizing the new energy consumption rate, and the lower layer with the goal of minimizing load changes. The constraints include distributed power generation active output constraints, ESS response constraints, node voltage constraints, branch power constraints, demand response constraints, and total power balance constraints.
S4:提出一种自适应蛇鹭优化算法(Adaptive Secretary Bird OptimizationAlgorithm,ASBOA),并基于Pareto理论设计多目标蛇鹭优化算法(Multi-ObjectiveSecretary Bird Optimization Algorithm,MOSBOA),分别求解下层和上层模型,得出主动配电网最优优化调度策略。S4: An Adaptive Secretary Bird Optimization Algorithm (ASBOA) is proposed, and a Multi-Objective Secretary Bird Optimization Algorithm (MOSBOA) is designed based on the Pareto theory to solve the lower and upper layer models respectively, and obtain the optimal optimization scheduling strategy for the active distribution network.
在本发明实施例中,利用ASBOA算法对主动配电网双层多目标优化模型的下层进行求解,在利用改进后的MOSBOA算法对上层模型进行求解,得到最优Pareto非支配解,从而得出最佳的主动配电网优化调度方案。In an embodiment of the present invention, the ASBOA algorithm is used to solve the lower layer of the two-layer multi-objective optimization model of the active distribution network, and the improved MOSBOA algorithm is used to solve the upper model to obtain the optimal Pareto non-dominated solution, thereby obtaining the best active distribution network optimization scheduling plan.
具体的,步骤S1包括以下步骤:Specifically, step S1 includes the following steps:
S11、光伏发电系统出力的数学模型:S11. Mathematical model of photovoltaic power generation system output:
式中:PP(t)表示t时刻光伏设备的输出功率(W);kT表示温度系数(%/℃);Pset表示光伏设备的额定功率(W);Sset表示光伏机组标准光照强度(kW/m2);S(t)表示t时刻时光伏机组的光照强度(kW/m2);S(t)表示t时刻的环境温度(℃);Tset为标准环境温度(℃)。In the formula: P P (t) represents the output power of the photovoltaic device at time t (W); k T represents the temperature coefficient (%/℃); P set represents the rated power of the photovoltaic device (W); S set represents the standard light intensity of the photovoltaic unit (kW/m 2 ); S(t) represents the light intensity of the photovoltaic unit at time t (kW/m 2 ); S(t) represents the ambient temperature at time t (℃); T set is the standard ambient temperature (℃).
S12、风力发电系统的风速变化满足Weibull分布,即:S12. The wind speed variation of the wind power generation system satisfies the Weibull distribution, that is:
式中:v表示实际风速;k和c为Weibull分布的形状因子和尺度因子,k一般取1.8到2.8。结合风速模型,可得风力发电系统出力的数学模型:Where: v represents the actual wind speed; k and c are the shape factor and scale factor of the Weibull distribution, and k is generally 1.8 to 2.8. Combined with the wind speed model, the mathematical model of the wind power generation system output can be obtained:
式中,PWT和Pra分别为风机出力的有功出力和额定出力;vin、vout、vn分别为风机的切入、切出和额定风速。Wherein, P WT and Pra are the active output and rated output of the wind turbine respectively; Vin , Vout and Vn are the cut-in, cut-out and rated wind speed of the wind turbine respectively.
S13、储能系统其数学模型:S13. Mathematical model of energy storage system:
式中,SOC(t)表示t时刻时储能装置的荷电状态;ηc与ηd分别表示储能系统的充电及放电效率;pc(t)与pd(t)表示储能系统在t时刻时得到充放电率;En为储能系统的额定容量。Where SOC(t) represents the state of charge of the energy storage device at time t; ηc and ηd represent the charging and discharging efficiencies of the energy storage system, respectively; pc (t) and pd (t) represent the charging and discharging rates of the energy storage system at time t; En is the rated capacity of the energy storage system.
具体的,步骤S2包括以下步骤:Specifically, step S2 includes the following steps:
S21、当主动配电网中分布式电源渗透率低于基准值时,电价与当前时段负荷水平成正比,实时电价模型为:S21. When the penetration rate of distributed power generation in the active distribution network is lower than the benchmark value, the electricity price is proportional to the load level in the current period, and the real-time electricity price model is:
式中,mE(t)是时段t内的电价;P(t)是时段t内的负荷需求;Psun为所有时段内的负荷需求总和;T为需求响应的时段总数。Where m E (t) is the electricity price in time period t; P(t) is the load demand in time period t; P sun is the sum of load demands in all time periods; and T is the total number of time periods for demand response.
S22、当主动配电网中分布式电源渗透率高于基准值时,电价与当前时段分布式电源出力成反比,实时电价模型为:S22. When the penetration rate of distributed power generation in the active distribution network is higher than the benchmark value, the electricity price is inversely proportional to the output of distributed power generation in the current period, and the real-time electricity price model is:
式中,PPV(t)为时段t内分布式电源出力;δ为光伏补偿系数,其值等于单位分布式电源补偿金额ma和固定电价ms的比值。Where P PV (t) is the output of distributed power generation in time period t; δ is the photovoltaic compensation coefficient, which is equal to the ratio of the unit distributed power generation compensation amount ma and the fixed electricity price ms .
具体的,步骤S3包括以下步骤:Specifically, step S3 includes the following steps:
S31、上层规划目标中,其中一个是整体效益F最优,主要包括配电网调度运行成本F1和电压偏差F2,其目标函数如下:S31. Among the upper-level planning objectives, one is the optimal overall benefit F, which mainly includes the distribution network dispatching operation cost F 1 and the voltage deviation F 2 . Its objective function is as follows:
minF=min(F1+F2) (8)minF=min(F 1 +F 2 ) (8)
S311、配电网调度运行成本包括购电成本C1、发电成本C2、储能成本C3和需求响应成本C4,目标函数如下:S311. The dispatching and operating costs of the distribution network include the electricity purchase cost C 1 , the power generation cost C 2 , the energy storage cost C 3 and the demand response cost C 4 . The objective function is as follows:
minF1=C1+C2+C3+C4 (9)minF 1 =C 1 +C 2 +C 3 +C 4 (9)
C2=CDC(t)·PDC(t) (11)C 2 =C DC (t)·P DC (t) (11)
C3=CESS(t)·PESS(t) (12)C 3 =C ESS (t)·P ESS (t) (12)
C4=CX(t)·PX(t)-C(t)·P(t) (13)C 4 =C X (t)·P X (t)-C(t)·P(t) (13)
式中,T为调度周期,取T=24小时;Cbuy(t)为t时段系统向上级电网的购电电价;Pgrid(t)为t时段系统与上级电网购买的电量;CDC(t)和PDC(t)表示分布式能源在t时段的出力成本和有功出力;CESS(t)和PESS(t)表示储能系统在t时段的出力成本和有功出力;CX(t)为t时刻原始电价,PX(t)为原始电价时的负荷需求,C(t)为需求侧响应后t时刻电价,P(t)为电价C(t)为时的最优需求侧响应后的负荷需求量。Wherein, T is the dispatching period, T = 24 hours; C buy (t) is the electricity purchase price of the system from the upper power grid during period t; P grid (t) is the amount of electricity purchased by the system from the upper power grid during period t; C DC (t) and P DC (t) represent the output cost and active output of distributed energy during period t; C ESS (t) and P ESS (t) represent the output cost and active output of the energy storage system during period t; CX (t) is the original electricity price at time t, PX (t) is the load demand at the original electricity price, C(t) is the electricity price at time t after the demand side responds, and P(t) is the load demand after the optimal demand side response when the electricity price C(t) is.
S312、配电网中各个节点的电压也是一个很重要的优化指标。正常运行时,在满足一定安全约束下,电压偏差F2越小越好,其目标函数如下:S312. The voltage of each node in the distribution network is also a very important optimization indicator. During normal operation, under certain safety constraints, the voltage deviation F2 is as small as possible, and its objective function is as follows:
式中,t表示时刻;m表示节点;n表示节点个数;Vm.i表示节点在t时刻的实际电压值;VN表示节点额定电压。In the formula, t represents the time; m represents the node; n represents the number of nodes; Vmi represents the actual voltage value of the node at time t; VN represents the rated voltage of the node.
S313、新能源消纳率是指在能源系统中,新能源占总发电量的比例。它是衡量可再生能源在整个能源系统中的比重和影响力的重要指标。其数学模型如下:S313. New energy consumption rate refers to the proportion of new energy in the total power generation in the energy system. It is an important indicator to measure the proportion and influence of renewable energy in the entire energy system. Its mathematical model is as follows:
式中,PF表示新能源实际发电量;PQ表示新能源实际弃电量。Where PF represents the actual power generation of renewable energy; PQ represents the actual power abandonment of renewable energy.
S32、具体下层规划的目标是负荷变化量最优,由配电网侧综合负荷的波动幅度和波动率共同评价。S32. The specific goal of the lower-level planning is to optimize the load variation, which is evaluated by the fluctuation amplitude and fluctuation rate of the comprehensive load on the distribution network side.
minF4=η1T+η2λ (18)minF 4 =η 1 T +η 2 λ (18)
式中:T为负荷波动幅度;λ为负荷波动率;η1、η2为两个评价指标的权重系数,由于负荷的波动率对配电网的可靠性影响更大,取η1=0.25,η2=0.75;Phmax、Phmin分别表示配电网日负荷功率的最大值和最小值;为配电网日负荷平均值;Ph(t+1)、Ph(t)都表示配电网日负荷时刻值。Where: T is the load fluctuation amplitude; λ is the load fluctuation rate; η 1 and η 2 are the weight coefficients of the two evaluation indicators. Since the load fluctuation rate has a greater impact on the reliability of the distribution network, η 1 = 0.25 and η 2 = 0.75 are taken; Phmax and Phmin represent the maximum and minimum values of the daily load power of the distribution network respectively; is the average daily load value of the distribution network; Ph (t+1) and Ph (t) both represent the momentary value of the daily load of the distribution network.
S33、具体约束如下:S33. The specific constraints are as follows:
S331、分布式电源有功出力约束:S331, Distributed power generation active output constraints:
Pmin≤P(t)≤Pmax (19)P min ≤P(t)≤P max (19)
式中,Pmin、Pmax分别为新能源输出有功功率上下限,P(t)为配电网中新能源实际输出的有功功率。Where P min and P max are the upper and lower limits of the active power output of renewable energy, and P(t) is the actual active power output of renewable energy in the distribution network.
S332、ESS响应约束:S332, ESS response constraints:
SOCESS,min≤SOCESS(t)≤SOCESS,max (20)SOC ESS,min ≤SOC ESS (t)≤SOC ESS,max (20)
式中,SOCESS,min和SOCESS,max分别为储能装置的荷电状态上下限;PN为储能装置的额定功率。Where SOC ESS,min and SOC ESS,max are the upper and lower limits of the state of charge of the energy storage device respectively; PN is the rated power of the energy storage device.
S333、节点电压约束:S333, node voltage constraint:
Ui.min≤Ui≤Ui.max (22)U i.min ≤U i ≤U i.max (22)
式中,Ui.max、Ui.min分别为节点i允许的上下限;Ui为配电网中第i个节点的电压幅值。Where U i.max and U i.min are the upper and lower limits allowed for node i respectively; U i is the voltage amplitude of the i-th node in the distribution network.
S334、支路功率约束:S334, branch power constraint:
Pl.min≤Pl≤Pl.max (23)P l.min ≤P l ≤P l.max (23)
式中,Pl.max、Pl.min分别为支路输送功率允许的上下限;Ui为配电网中第l个支路输送的功率。Where P l.max and P l.min are the upper and lower limits of the branch transmission power respectively; U i is the power transmitted by the lth branch in the distribution network.
S335、需求响应约束:S335. Demand response constraints:
mmin(t)≤m(t)≤mmax(t) (24)m min (t)≤m(t)≤m max (t) (24)
式中:mmin(t)mmax(t)和分别为时段t内电价的下限和上限。In the formula: m min (t)m max (t) and are the lower and upper limits of the electricity price in time period t respectively.
S336、总功率平衡约束:S336, total power balance constraint:
Pgrid(t)=Pul(t)+PESS(t)-PDG(t) (25)P grid (t)=P ul (t)+P ESS (t)-P DG (t) (25)
式中,:Pgrid(t)为t时刻配电网从主网的总购电量;Pul(t)为t时刻不可控负荷需要的有功出力;PESS(t)为t时刻储能有功出力;PDG(t)为t时刻分布式能源有功出力。Where: P grid (t) is the total power purchased by the distribution network from the main grid at time t; P ul (t) is the active power output required by the uncontrollable load at time t; P ESS (t) is the active power output of energy storage at time t; P DG (t) is the active power output of distributed energy at time t.
具体的,步骤S4包括以下步骤:Specifically, step S4 includes the following steps:
S41、输入主动配电网的相关数据,包括双层多目标优化模型的目标函数、需求响应参数以及相关变量约束条件,进一步得出主动配电网优化调度策略的参数和决策变量。S41. Input relevant data of the active distribution network, including the objective function, demand response parameters and related variable constraints of the double-layer multi-objective optimization model, and further derive the parameters and decision variables of the active distribution network optimization scheduling strategy.
S42、下层模型的求解:S42, Solution of the lower model:
S421、初始化蛇鹭种群:设置最大迭代次数T,随机生成一组蛇鹭个体,每个个体代表一个主动配电网优化调度的策略,个体的位置向量表示决策变量。初始化公式如下:S421. Initialize the snake heron population: set the maximum number of iterations T, randomly generate a group of snake heron individuals, each of which represents a strategy for active distribution network optimization scheduling, and the position vector of the individual represents the decision variable. The initialization formula is as follows:
Xi,j=lbj+r×(ubj-lbj),i=1,2,...,N,j=1,2,...,D (26)X i,j =lb j +r×(ub j -lb j ),i=1,2,...,N,j=1,2,...,D (26)
式中,Xi,j是初始时刻第j个蛇鹭的位置;ubj和lbj分别是决策变量的上界和下界;r表示一个生成[0,1]之间随机数的函数;N表示蛇鹭种群内的种群规模;D表示问题中决策变量的数量。where Xi ,j is the position of the jth snake heron at the initial moment; ubj and lbj are the upper and lower bounds of the decision variables, respectively; r represents a function that generates random numbers between [0,1]; N represents the population size within the snake heron population; and D represents the number of decision variables in the problem.
S422、评估适应度:计算每个蛇鹭个体的适应度,即下层目标函数的值,并考虑约束条件。适应度函数如下:S422, evaluate fitness: calculate the fitness of each snake heron individual, that is, the value of the lower layer objective function, and consider the constraints. The fitness function is as follows:
fitness=η1·T+η2·λ (27)fitness=η 1 ·T+η 2 ·λ (27)
式中,T为负荷波动幅度;λ为负荷波动率;η1、η2为两个评价指标的权重系数;由于负荷的波动率对配电网的可靠性影响更大,取η1=0.25,η2=0.75。Where T is the load fluctuation amplitude; λ is the load fluctuation rate; η 1 and η 2 are the weight coefficients of the two evaluation indicators; since the load fluctuation rate has a greater impact on the reliability of the distribution network, η 1 = 0.25 and η 2 = 0.75 are taken.
S423、更新个体最优解和全局最优解:记录当前种群中个体对应的负荷变化量,更新个体最优解。选取全局最优解,即最小的负荷变化量。S423, update individual optimal solution and global optimal solution: record the load change corresponding to the individuals in the current population, update the individual optimal solution, and select the global optimal solution, that is, the minimum load change.
S424、根据蛇鹭捕食阶段的生物学统计和每个阶段的持续时间,将整个捕食过程分为三个相等的时间间隔,分别为h<1/3H、1/3H<h<2/3H和2/3H<h<H,分别对应秘书鸟捕食的三个阶段:寻找猎物、消耗猎物和攻击猎物。在寻找猎物阶段,通过引入差异突变操作,多样性可以帮助避免陷入局部最优状态。在消耗猎物阶段,布朗运动的随机性的引入使个体能够更有效地探索解空间,并提供避免陷入局部最优的机会,从而在解决复杂问题时获得更好的结果。在攻击猎物阶段,通过Levy飞行策略,增强优化器的全局搜索能力,降低ASBOA卡在局部解决方案中的风险,提高算法的收敛精度。S424. According to the biological statistics of the snake-heron predation stage and the duration of each stage, the entire predation process is divided into three equal time intervals, namely h<1/3H, 1/3H<h<2/3H and 2/3H<h<H, which correspond to the three stages of secretary bird predation: finding prey, consuming prey and attacking prey. In the prey search stage, diversity can help avoid falling into the local optimal state by introducing differential mutation operations. In the prey consumption stage, the introduction of the randomness of Brownian motion enables individuals to explore the solution space more effectively and provides opportunities to avoid falling into the local optimal state, thereby obtaining better results when solving complex problems. In the prey attack stage, the Levy flight strategy is used to enhance the global search capability of the optimizer, reduce the risk of ASBOA getting stuck in a local solution, and improve the convergence accuracy of the algorithm.
S425、自适应更新蛇鹭位置:在配电网调度策略中,位置的更新可以表示调度方案中的参数或决策变量的更新。根据不同的捕食阶段自适应更新位置,其公式如下:S425, adaptively update the position of the snake heron: In the distribution network dispatching strategy, the update of the position can represent the update of the parameters or decision variables in the dispatching scheme. The position is adaptively updated according to different predation stages, and the formula is as follows:
RB=randn(1,D) (30)RB=randn(1,D) (30)
式中,A、B、C表示不同阶段的自适应速度因子;h表示当前迭代次数;H表示最大迭代次数;xrandom1和xrandom2是第一阶段迭代中的随机候选解;R1表示随机生成的维度数组;RB表示布朗运动;Γ表示gamma函数;xbest表示个体历史最佳位置;s是0.01的固定常数;η是1.5的固定常数。u和v是区间[0,1]中的随机数;表示一个非线性扰动因子。Where A, B, and C represent the adaptive speed factors at different stages; h represents the current number of iterations; H represents the maximum number of iterations; x random1 and x random2 are random candidate solutions in the first stage of iteration; R 1 represents a randomly generated dimensional array; RB represents Brownian motion; Γ represents the gamma function; x best represents the best historical position of an individual; s is a fixed constant of 0.01; η is a fixed constant of 1.5. u and v are random numbers in the interval [0,1]; represents a nonlinear perturbation factor.
S426、对每个蛇鹭的位置进行边界处理,确保解向量在可行范围内;检查约束条件,排除不满足平衡条件的解;如果达到设定的终止条件,如最大迭代次数或误差阈值,输出具有最佳适应度的蛇鹭个体作为问题的最优解,结束迭代;否则,返回步骤S423,继续迭代。S426, perform boundary processing on the position of each snake heron to ensure that the solution vector is within the feasible range; check the constraint conditions and exclude solutions that do not meet the equilibrium conditions; if the set termination conditions are reached, such as the maximum number of iterations or the error threshold, output the snake heron individual with the best fitness as the optimal solution to the problem and end the iteration; otherwise, return to step S423 and continue iteration.
S43、上层模型求解:S43, upper model solution:
S431、根据位置更新公式逐代更新上层蛇鹭种群的位置,不断更新配电网整体效益最优和新能源消纳率最大为目标的Pareto解集,进而利用改进理想点决策方法确定多目标规划的最优解。S431. Update the position of the upper snake heron population generation by generation according to the position update formula, continuously update the Pareto solution set with the goal of optimizing the overall benefit of the distribution network and maximizing the new energy consumption rate, and then use the improved ideal point decision method to determine the optimal solution for the multi-objective planning.
S432、在算法迭代过程中,采用外部归档集来存储Pareto非支配解集,MOSBOA-ASBOA在每次迭代中获得的新非支配解集,须逐一与原非支配解集进行比较并更新外部归档集,为了保持种群的多样性且数量不超过限制,根据拥挤距离大小去除相似个体的方法来保持Pareto解集的均衡性,拥挤距离计算公式为:S432. During the algorithm iteration process, an external archive set is used to store the Pareto non-dominated solution set. The new non-dominated solution set obtained by MOSBOA-ASBOA in each iteration must be compared with the original non-dominated solution set one by one and the external archive set is updated. In order to maintain the diversity of the population and the number does not exceed the limit, the method of removing similar individuals according to the size of the crowding distance is used to maintain the balance of the Pareto solution set. The crowding distance calculation formula is:
式中,q为目标函数个数;Fi,max、Fi,min分别为第i个目标函数的最大值和最小值;U(j)为Pareto解集中第只j蛇鹭个体的拥挤距离;Fi(j+1)和Fi(j-1)为第j只蛇鹭个体相邻的两个个体的第j个目标函数值。Where q is the number of objective functions; Fi ,max and Fi,min are the maximum and minimum values of the i-th objective function, respectively; U(j) is the crowding distance of the j-th snake-heron individual in the Pareto solution set; Fi (j+1) and Fi (j-1) are the j-th objective function values of the two individuals adjacent to the j-th snake-heron individual.
S433、改进理想点决策方法步骤如下;S433, the steps of improving the ideal point decision method are as follows;
S4331、首先,对所有Pareto非支配解的适应度值进行归一化处理:S4331. First, the fitness values of all Pareto non-dominated solutions are normalized:
式中,y(xi)为第个i非支配解下的第q个目标函数的归一化值;Fq为Pareto非支配解的适应度函数;归一化后的目标理想点为(0,0,0)。Where y( xi ) is the normalized value of the qth objective function under the i-th non-dominated solution; Fq is the fitness function of the Pareto non-dominated solution; and the normalized target ideal point is (0,0,0).
S4332、其次,计算各个非支配解到目标理想点的趋近度,即欧氏距离平方:S4332. Secondly, calculate the degree of proximity of each non-dominated solution to the target ideal point, that is, the square of the Euclidean distance:
式中,ω为第q个目标的权重系数。Where ω is the weight coefficient of the qth target.
S4333、最后,以所有Pareto非支配解在各个目标上的欧氏距离平方之和最小来确定多目标规划的最优解。S4333. Finally, the optimal solution of the multi-objective programming is determined by minimizing the sum of the squares of the Euclidean distances of all Pareto non-dominated solutions on each objective.
流程图中或在此以其他方式描述的任何过程或方法描述可以被理解为,表示包括一个或更多个用于实现定制逻辑功能或过程的步骤的可执行指令的代码的模块、片段或部分,并且本申请的优选实施方式的范围包括另外的实现,其中可以不按所示出或讨论的顺序,包括根据所涉及的功能按基本同时的方式或按相反的顺序,来执行功能,这应被本申请的实施例所属技术领域的技术人员所理解。Any process or method description in a flowchart or otherwise described herein may be understood to represent a module, fragment or portion of code comprising one or more executable instructions for implementing the steps of a custom logical function or process, and the scope of the preferred embodiments of the present application includes alternative implementations in which functions may not be performed in the order shown or discussed, including performing functions in a substantially simultaneous manner or in reverse order depending on the functions involved, which should be understood by technicians in the technical field to which the embodiments of the present application belong.
尽管上面已经示出和描述了本申请的实施例,可以理解的是,上述实施例是示例性的,不能理解为对本申请的限制,本领域的普通技术人员在本申请的范围内可以对上述实施例进行变化、修改、替换和变型。Although the embodiments of the present application have been shown and described above, it can be understood that the above embodiments are exemplary and cannot be understood as limitations on the present application. Ordinary technicians in the field can change, modify, replace and modify the above embodiments within the scope of the present application.
Claims (9)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202410765761.XA CN118748436A (en) | 2024-06-14 | 2024-06-14 | A two-layer multi-objective optimization scheduling method for active distribution networks |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202410765761.XA CN118748436A (en) | 2024-06-14 | 2024-06-14 | A two-layer multi-objective optimization scheduling method for active distribution networks |
Publications (1)
Publication Number | Publication Date |
---|---|
CN118748436A true CN118748436A (en) | 2024-10-08 |
Family
ID=92918808
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202410765761.XA Pending CN118748436A (en) | 2024-06-14 | 2024-06-14 | A two-layer multi-objective optimization scheduling method for active distribution networks |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN118748436A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN119624074A (en) * | 2025-02-17 | 2025-03-14 | 电管家能源管理(上海)有限公司 | Energy optimization scheduling method and system based on data analysis |
-
2024
- 2024-06-14 CN CN202410765761.XA patent/CN118748436A/en active Pending
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN119624074A (en) * | 2025-02-17 | 2025-03-14 | 电管家能源管理(上海)有限公司 | Energy optimization scheduling method and system based on data analysis |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
Jin et al. | Game theoretical analysis on capacity configuration for microgrid based on multi-agent system | |
Bernal-Agustín et al. | Multi-objective design and control of hybrid systems minimizing costs and unmet load | |
Sallam et al. | Optimal sizing of different energy sources in an isolated hybrid microgrid using turbulent flow water-based optimization algorithm | |
CN105631528B (en) | Multi-target dynamic optimal power flow solving method based on NSGA-II and approximate dynamic programming | |
CN114723230B (en) | Microgrid dual-layer dispatching method and system for renewable energy generation and energy storage | |
CN118748436A (en) | A two-layer multi-objective optimization scheduling method for active distribution networks | |
CN117791710A (en) | Wind-solar energy storage capacity configuration optimization method based on multi-objective optimization model | |
CN117350425A (en) | Virtual power plant optimal scheduling method | |
CN112508241A (en) | Energy optimization scheduling method for smart power grid | |
CN105514986A (en) | DER user bidding grid-connection method based on virtual power plant technology | |
Wang et al. | A comprehensive survey of the application of swarm intelligent optimization algorithm in photovoltaic energy storage systems | |
CN115860169A (en) | Multi-objective optimization planning method and system for deep peak regulation transformation of thermal power generating unit | |
CN118917753A (en) | Cluster division-based power distribution network double-layer planning method and system | |
Ambujam et al. | Enhanced IoT-enabled community microgrid energy management with hybrid COA-HQNN approach with battery degradation consideration | |
CN120016567A (en) | Multi-objective optimized distributed power generation energy management method and system | |
Liu et al. | Optimal selection of energy storage nodes based on improved cumulative prospect theory in China | |
CN118508452A (en) | Dispatching method, device, equipment and storage medium for source-grid-load-storage power system | |
CN119477630A (en) | A virtual power plant capacity optimization configuration method and system considering carbon tax | |
CN116341855A (en) | Distributed energy storage planning method, device, equipment and medium | |
Ma et al. | Energy Storage Configuration Evaluation Method for Renewable Energy Consumption Based on Power Grid Development Planning and Resource Output Forecast Analysis | |
Que et al. | Virtual Power Plant Adjustable Resource Aggregation Adjustment Optimization Strategy Based on Multi-agent Game | |
CN119362524B (en) | A method and system for optimizing and adjusting a photovoltaic storage system based on particle swarm algorithm | |
Wang et al. | Optimization Study of Microgrid Energy Storage System Based on Particle Swarm Algorithm and Whale Algorithm | |
Gong et al. | Robust Low-Carbon Economic Dispatch Analysis of Power System Based on Multi-Objective Optimization | |
Song et al. | Research on Economic Load Distribution of Thermal Power Units with Price Demand Response |
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 |