[go: up one dir, main page]
More Web Proxy on the site http://driver.im/

CN115693741A - Energy storage optimization method for distributed photovoltaic and energy storage system and electronic equipment - Google Patents

Energy storage optimization method for distributed photovoltaic and energy storage system and electronic equipment Download PDF

Info

Publication number
CN115693741A
CN115693741A CN202211384339.7A CN202211384339A CN115693741A CN 115693741 A CN115693741 A CN 115693741A CN 202211384339 A CN202211384339 A CN 202211384339A CN 115693741 A CN115693741 A CN 115693741A
Authority
CN
China
Prior art keywords
energy storage
storage system
distributed photovoltaic
output power
margin
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
CN202211384339.7A
Other languages
Chinese (zh)
Other versions
CN115693741B (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.)
Economic and Technological Research Institute of State Grid Ningxia Electric Power Co Ltd
Original Assignee
Economic and Technological Research Institute of State Grid Ningxia 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 Economic and Technological Research Institute of State Grid Ningxia Electric Power Co Ltd filed Critical Economic and Technological Research Institute of State Grid Ningxia Electric Power Co Ltd
Priority to CN202211384339.7A priority Critical patent/CN115693741B/en
Publication of CN115693741A publication Critical patent/CN115693741A/en
Application granted granted Critical
Publication of CN115693741B publication Critical patent/CN115693741B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Charge And Discharge Circuits For Batteries Or The Like (AREA)
  • Supply And Distribution Of Alternating Current (AREA)

Abstract

本发明提供了一种分布式光伏和储能系统的储能量优化方法和电子设备,涉及电力技术领域。运算得到每日分布式光伏的输出功率曲线和每日负荷需求曲线,结合储能系统寿命和容量关系构建储能裕量模型,得到优化后的每日储能裕量和输出功率、负荷需求关系的特征曲线,再结合次日分布式光伏的输出功率曲线和次日负荷需求曲线,确定储能系统的次日储能裕量;以成本最小为目标,优化得到储能系统的当前日充电裕量;在当前日分布式光伏开始输出功率时,控制储能系统同时输出功率,使得当前日分布式光伏和储能系统的总输出功率达到输出功率平稳值。本发明得到更精准的当日储能量以及并网发电量,使得总输出功率满足稳定性指标,计算量少,运算简单。

Figure 202211384339

The invention provides an energy storage optimization method and electronic equipment for a distributed photovoltaic and energy storage system, and relates to the technical field of electric power. Calculate the daily distributed photovoltaic output power curve and daily load demand curve, and construct an energy storage margin model based on the relationship between the life and capacity of the energy storage system, and obtain the optimized daily energy storage margin and the relationship between output power and load demand Combined with the output power curve of the next day's distributed photovoltaic and the next day's load demand curve, the next day's energy storage margin of the energy storage system is determined; with the goal of minimizing the cost, the current daily charging margin of the energy storage system is optimized When the current daily distributed photovoltaic starts to output power, control the energy storage system to output power at the same time, so that the total output power of the current daily distributed photovoltaic and energy storage system reaches the stable output power value. The invention obtains more accurate daily energy storage and grid-connected power generation, so that the total output power meets the stability index, and the calculation amount is small and the operation is simple.

Figure 202211384339

Description

分布式光伏和储能系统的储能量优化方法和电子设备Energy storage optimization methods and electronic devices for distributed photovoltaic and energy storage systems

技术领域technical field

本发明涉及电力技术领域,尤其涉及一种分布式光伏和储能系统的储能量优化方法和电子设备。The invention relates to the field of electric power technology, in particular to an energy storage optimization method and electronic equipment for a distributed photovoltaic and energy storage system.

背景技术Background technique

随着光伏发电技术的发展成熟,分布式光伏作为未来光伏发电的重要手段,目前得到了大力推广和发展。单独的分布式光伏并不具备一定的调峰能力,需要配备储能系统才可参与调峰。因此分布式光伏配备储能系统的这类分布式光伏和储能系统架构的发展越发重要。With the development and maturity of photovoltaic power generation technology, distributed photovoltaic, as an important means of photovoltaic power generation in the future, has been vigorously promoted and developed. Distributed photovoltaics alone do not have a certain peak-shaving capability, and need to be equipped with an energy storage system to participate in peak-shaving. Therefore, the development of such distributed photovoltaic and energy storage system architectures with distributed photovoltaics equipped with energy storage systems is becoming more and more important.

但分布式光伏的输出功率、电压等受光照时间、昼夜性、季节性因素的影响较大,导致其输出功率、电压等波动较大,影响设备、电网安全运行。一般情况下,分布式光伏在接收光照开始输出功率时,其输出功率值很小,电压值很低,并不能满足负荷需求值,而随着光照强度增大、时间变长,其输出功率值逐渐增大,电压值逐渐升高,也会出现超出负荷需求值的情况。However, the output power and voltage of distributed photovoltaics are greatly affected by sunlight time, day and night, and seasonal factors, resulting in large fluctuations in output power and voltage, which affect the safe operation of equipment and power grids. Under normal circumstances, when distributed photovoltaics receive light and start to output power, their output power value is very small, the voltage value is very low, and cannot meet the load demand value, and as the light intensity increases and the time becomes longer, its output power value Gradually increase, the voltage value gradually increases, and the situation of exceeding the load demand value will also appear.

储能系统的配备,可以较好的减少分布式光伏输出功率、电压的波动。但目前的技术方案上,仅是配备一个容量较大的储能系统,还没有更为精细的结合分布式光伏输出功率特点、储能系统寿命-容量特征、成本因素等多方面内容,优化储能系统的储能量,并网发电量,使得分布式光伏和储能系统的总输出功率平稳的同时,控制整体成本最小的技术方案。The equipment of the energy storage system can better reduce the fluctuation of distributed photovoltaic output power and voltage. However, the current technical solution is only equipped with a large-capacity energy storage system, and there is no more detailed combination of distributed photovoltaic output power characteristics, energy storage system life-capacity characteristics, cost factors and other aspects to optimize the storage system. The energy storage of the energy system and the grid-connected power generation make the total output power of the distributed photovoltaic and energy storage system stable and at the same time control the technical solution with the smallest overall cost.

发明内容Contents of the invention

鉴于上述问题,提出了本发明以提供解决上述问题或者部分地解决上述问题的一种分布式光伏和储能系统的储能量优化方法和电子设备。In view of the above problems, the present invention is proposed to provide an energy storage optimization method and electronic equipment for a distributed photovoltaic and energy storage system that solve the above problems or partially solve the above problems.

本发明实施例第一方面提供一种分布式光伏和储能系统的储能量优化方法,所述储能量优化方法包括:The first aspect of the embodiments of the present invention provides an energy storage optimization method for a distributed photovoltaic and energy storage system. The energy storage optimization method includes:

根据历史负荷数据、分布式光伏输出功率历史数据,运算得到每日分布式光伏的输出功率曲线和每日负荷需求曲线,不同日的分布式光伏的输出功率曲线和负荷需求曲线对应不同的光照时间和光照强度;According to the historical load data and the historical data of distributed photovoltaic output power, the daily distributed photovoltaic output power curve and daily load demand curve are calculated, and the output power curve and load demand curve of distributed photovoltaic on different days correspond to different light hours and light intensity;

基于所述每日分布式光伏的输出功率曲线、所述每日负荷需求曲线和储能系统寿命和容量关系,构建储能裕量模型,并对所述储能裕量模型进行运算,得到优化后的每日储能裕量和输出功率、负荷需求关系的特征曲线;Based on the daily distributed photovoltaic output power curve, the daily load demand curve, and the relationship between the life and capacity of the energy storage system, construct an energy storage margin model, and perform calculations on the energy storage margin model to obtain optimization The characteristic curve of the relationship between daily energy storage margin, output power and load demand;

根据相邻两天的光照时间和光照强度,结合所述每日分布式光伏的输出功率曲线和所述每日负荷需求曲线,确定次日分布式光伏的输出功率曲线和次日负荷需求曲线;According to the illumination time and illumination intensity of two adjacent days, combined with the output power curve of the daily distributed photovoltaic and the daily load demand curve, determine the output power curve and the load demand curve of the next day distributed photovoltaic;

根据所述次日分布式光伏的输出功率曲线、所述次日负荷需求曲线和所述特征曲线,确定所述分布式光伏和储能系统中储能系统的次日储能裕量;According to the output power curve of the next-day distributed photovoltaic, the next-day load demand curve and the characteristic curve, determine the next-day energy storage margin of the energy storage system in the distributed photovoltaic and energy storage system;

根据所述次日储能裕量和当前日分布式光伏的输出功率曲线,以V2G电动汽车参与所述分布式光伏和储能系统充放电情况下的成本最小为目标,优化得到所述储能系统的当前日充电裕量,所述当前日充电裕量的值大于所述次日储能裕量的值;According to the next day's energy storage margin and the current daily distributed photovoltaic output power curve, the cost of the V2G electric vehicle participating in the charging and discharging of the distributed photovoltaic and energy storage system is the minimum, and the energy storage is optimized. The current daily charging margin of the system, the value of the current daily charging margin is greater than the value of the next day's energy storage margin;

在当前日所述分布式光伏开始输出功率时,控制所述储能系统同时输出功率,使得当前日所述分布式光伏和储能系统的总输出功率达到输出功率平稳值,所述输出功率平稳值满足稳定性指标,其中,在当前日所述储能系统停止输出功率后,确定所述储能系统的充电方式以对所述储能系统进行充电,直至所述储能系统达到所述次日储能裕量或者所述当前日充电裕量时,所述储能系统停止充电。When the distributed photovoltaic on the current day starts to output power, control the energy storage system to output power at the same time, so that the total output power of the distributed photovoltaic and energy storage system on the current day reaches a stable value of output power, and the output power is stable The value satisfies the stability index, wherein, after the energy storage system stops outputting power on the current day, determine the charging mode of the energy storage system to charge the energy storage system until the energy storage system reaches the When the daily energy storage margin or the current daily charging margin is exceeded, the energy storage system stops charging.

可选地,基于所述每日分布式光伏的输出功率曲线、所述每日负荷需求曲线和储能系统寿命和容量关系,构建储能裕量模型,并对所述储能裕量模型进行运算优化,得到每日储能裕量和输出功率、负荷需求关系的特征曲线,包括:Optionally, an energy storage margin model is constructed based on the daily distributed photovoltaic output power curve, the daily load demand curve, and the relationship between the life and capacity of the energy storage system, and the energy storage margin model is Calculation optimization to obtain the characteristic curve of the relationship between daily energy storage margin, output power and load demand, including:

根据所述每日分布式光伏的输出功率曲线、所述每日负荷需求曲线,统计运算得到每日双输出功率曲线,所述每日双输出功率曲线表征该日分布式光伏开始输出功率至输出功率满足该日负荷需求这段时间内的功率变化曲线;According to the daily distributed photovoltaic output power curve and the daily load demand curve, statistical calculations can be used to obtain a daily double output power curve, and the daily double output power curve represents the distribution from the beginning of the output power to the output of the distributed photovoltaic on that day. The power change curve during the period when the power meets the daily load demand;

基于Adaboost算法构建模型,结合所述储能系统寿命和容量关系,对所述每日双输出功率曲线对应的储能裕量进行建模,并通过模型训练、交叉验证以及参数寻优的运算,得到优化后的每日储能裕量和输出功率、负荷需求关系曲线,其中,每日储能裕量用于在该日分布式光伏开始输出功率的同时输出功率,直至该日分布式光伏输出功率满足该日负荷需求时停止输出功率。Build a model based on the Adaboost algorithm, combine the life and capacity relationship of the energy storage system, model the energy storage margin corresponding to the daily dual output power curve, and through model training, cross-validation and parameter optimization operations, The optimized daily energy storage margin, output power, and load demand relationship curve are obtained, wherein the daily energy storage margin is used to output power at the same time when the distributed photovoltaic starts to output power on that day, until the distributed photovoltaic output on that day Stop output power when the power meets the daily load demand.

可选地,在当前日所述分布式光伏开始输出功率时,控制所述储能系统同时输出功率,使得当前日所述分布式光伏和储能系统的总输出功率达到输出功率平稳值,其中,在当前日所述储能系统停止输出功率后,确定所述储能系统的充电方式以对所述储能系统进行充电,直至所述储能系统达到所述次日储能裕量或者所述当前日充电裕量时,所述储能系统停止充电,包括:Optionally, when the distributed photovoltaic starts to output power on the current day, the energy storage system is controlled to output power at the same time, so that the total output power of the distributed photovoltaic and energy storage system on the current day reaches a stable value of output power, wherein , after the energy storage system stops output power on the current day, determine the charging mode of the energy storage system to charge the energy storage system until the energy storage system reaches the energy storage margin of the next day or the When the charging margin of the current day is mentioned above, the energy storage system stops charging, including:

在当前日所述分布式光伏开始输出功率时,所述分布式光伏的输出功率不满足当前日负荷需求,控制所述储能系统利用当前日储能裕量输出功率,使得当前日所述分布式光伏和储能系统的总输出功率达到输出功率平稳值;When the distributed photovoltaic starts to output power on the current day, the output power of the distributed photovoltaic does not meet the current daily load demand, and the energy storage system is controlled to use the current daily energy storage margin to output power, so that the current day's distributed The total output power of the photovoltaic and energy storage system reaches a stable value of output power;

若有外界获得功率,则当所述分布式光伏输出功率与所述外界获得功率之和满足当前日负荷需求时,所述储能系统停止输出功率,此时所述当前日储能裕量大于0,所述外界获得功率为向所述分布式光伏和储能系统放电的V2G电动汽车所提供的功率;If there is external power, when the sum of the distributed photovoltaic output power and the external power meets the current daily load demand, the energy storage system stops outputting power. At this time, the current daily energy storage margin is greater than 0, the power obtained from the outside world is the power provided by the V2G electric vehicle that discharges to the distributed photovoltaic and energy storage system;

若没有所述外界获得功率,则当所述分布式光伏输出功率满足当前日负荷需求时,所述储能系统停止输出功率,此时所述当前日储能裕量接近0;If there is no power obtained from the outside world, when the distributed photovoltaic output power meets the current daily load demand, the energy storage system stops outputting power, and at this time, the current daily energy storage margin is close to 0;

当所述储能系统停止输出功率后,若所述分布式光伏的实时输出功率与外界获得功率之和大于所述当前日负荷需求,则所述分布式光伏和所述外界获得功率共同向所述储能系统充电,直至所述储能系统达到所述次日储能裕量或者所述当前日充电裕量时,停止向所述储能系统充电;After the energy storage system stops outputting power, if the sum of the real-time output power of the distributed photovoltaic and the external power is greater than the current daily load demand, the distributed photovoltaic and the external Charging the energy storage system until the energy storage system reaches the next day's energy storage margin or the current day's charging margin, stop charging the energy storage system;

所述分布式光伏停止向所述储能系统充电,且所述储能系统达到所述当前日充电裕量后,所述分布式光伏向电网输出功率,以并网发电;The distributed photovoltaic stops charging the energy storage system, and after the energy storage system reaches the current daily charging margin, the distributed photovoltaic outputs power to the grid for grid-connected power generation;

当所述储能系统停止输出功率后,若所述分布式光伏的实时输出功率与所述外界获得功率之和不大于所述当前日负荷需求,则所述分布式光伏和所述外界获得功率不向所述储能系统充电,此后,所述分布式光伏和储能系统在谷时段从所述电网购电向所述储能系统充电,直至所述储能系统达到所述次日储能裕量。After the energy storage system stops outputting power, if the sum of the real-time output power of the distributed photovoltaic and the external power is not greater than the current daily load demand, the distributed photovoltaic and the external power The energy storage system is not charged. After that, the distributed photovoltaic and energy storage system purchases electricity from the grid to charge the energy storage system during the off-peak period until the energy storage system reaches the next day's energy storage capacity. Margin.

可选地,所述分布式光伏和所述外界获得功率共同向所述储能系统充电,直至所述储能系统达到所述次日储能裕量或者所述当前日充电裕量时,停止向所述储能系统充电,包括:Optionally, the distributed photovoltaic and the power obtained from the outside jointly charge the energy storage system until the energy storage system reaches the next day's energy storage margin or the current day's charging margin, then stop Charging the energy storage system includes:

所述分布式光伏和所述外界获得功率共同向所述储能系统充电的过程中,若所述分布式光伏的输出功率出现不满足所述当前日负荷需求,且所述储能系统还未达到所述次日储能裕量的情况,则所述分布式光伏和所述外界获得功率停止向所述储能系统充电,此后,所述分布式光伏和储能系统在谷时段从所述电网购电向所述储能系统充电,直至所述储能系统达到所述次日储能裕量;During the process of charging the energy storage system with the distributed photovoltaic and the power obtained from the outside, if the output power of the distributed photovoltaic does not meet the current daily load demand, and the energy storage system has not yet When the next day’s energy storage margin is reached, the distributed photovoltaic and the external power will stop charging the energy storage system. After that, the distributed photovoltaic and energy storage system will start from the The grid purchases electricity to charge the energy storage system until the energy storage system reaches the energy storage margin for the next day;

所述分布式光伏和所述外界获得功率共同向所述储能系统充电的过程中,若所述分布式光伏的输出功率与所述外界获得功率之和出现不满足所述当前日负荷需求,且所述储能系统达到所述次日储能裕量的情况,则所述分布式光伏和所述外界获得功率停止向所述储能系统充电,所述储能系统不再接收充电;During the process of charging the energy storage system with the distributed photovoltaic and the external power, if the sum of the output power of the distributed photovoltaic and the external power does not meet the current daily load demand, And when the energy storage system reaches the energy storage margin of the next day, the distributed photovoltaic and the external power will stop charging the energy storage system, and the energy storage system will no longer receive charging;

所述分布式光伏和所述外界获得功率共同向所述储能系统充电的过程中,若所述分布式光伏的输出功率与所述外界获得功率之和始终满足所述当前日负荷需求,则所述分布式光伏和所述外界获得功率共同向所述储能系统充电,直至所述储能系统达到所述当前日充电裕量,所述储能系统不再接收充电;During the process of charging the energy storage system by the distributed photovoltaic and the power obtained from the outside, if the sum of the output power of the distributed photovoltaic and the power obtained from the outside always meets the current daily load demand, then The distributed photovoltaic and the externally obtained power jointly charge the energy storage system until the energy storage system reaches the current daily charging margin, and the energy storage system no longer receives charging;

所述分布式光伏和所述外界获得功率共同向所述储能系统充电的过程中,若所述分布式光伏的输出功率始终满足所述当前日负荷需求,则所述外界获得功率向所述储能系统充电,直至所述储能系统达到所述当前日充电裕量,所述储能系统不再接收充电。During the process of charging the energy storage system with the distributed photovoltaic and the power obtained from the outside, if the output power of the distributed photovoltaic always meets the current daily load demand, the power obtained from the outside will be supplied to the The energy storage system is charged until the energy storage system reaches the current daily charging margin, and the energy storage system no longer receives charging.

可选地,在当前日所述分布式光伏开始输出功率时,控制所述储能系统同时输出功率,使得当前日所述分布式光伏和储能系统的总输出功率达到输出功率平稳值,包括:Optionally, when the distributed photovoltaic starts to output power on the current day, the energy storage system is controlled to output power at the same time, so that the total output power of the distributed photovoltaic and energy storage system on the current day reaches a stable value of output power, including :

在当前日所述储能系统停止充电后被充电到等于所述次日储能裕量后,若所述分布式光伏的输出功率与所述外界获得功率之和出现不满足所述当前日负荷需求的情况,则所述分布式光伏和储能系统立刻从所述电网购电,使得当前日所述分布式光伏和储能系统的总输出功率达到输出功率平稳值;After the energy storage system stops charging on the current day and is charged to be equal to the energy storage margin of the next day, if the sum of the output power of the distributed photovoltaic and the power obtained from the outside does not meet the current daily load demand, the distributed photovoltaic and energy storage system immediately purchases electricity from the grid, so that the total output power of the distributed photovoltaic and energy storage system reaches a stable output power value on the current day;

在当前日所述储能系统停止充电后被充电到大于所述次日储能裕量且小于所述当前日充电裕量后,若所述分布式光伏的输出功率与所述外界获得功率之和出现不满足所述当前日负荷需求的情况,则控制所述储能系统利用停止充电时的储能量同时输出功率,直至所述储能系统的实时储能量降低至所述次日储能裕量,停止所述储能系统输出功率,此后,所述分布式光伏和储能系统立刻从所述电网购电;After the energy storage system stops charging on the current day and is charged to be greater than the next day’s energy storage margin and less than the current day’s charging margin, if the output power of the distributed photovoltaic and the power obtained from the outside And if the current daily load demand is not met, the energy storage system is controlled to output power simultaneously using the stored energy when charging is stopped until the real-time stored energy of the energy storage system is reduced to the next day’s energy storage margin. amount, stop the output power of the energy storage system, after that, the distributed photovoltaic and energy storage system immediately purchase electricity from the grid;

在当前日所述储能系统停止充电后被充电到等于所述当前日充电裕量后,若所述分布式光伏的输出功率与所述外界获得功率之和出现不满足所述当前日负荷需求的情况,则控制所述储能系统利用所述当前日充电裕量同时输出功率,直至所述储能系统的实时储能量降低至所述次日储能裕量,停止所述储能系统输出功率,此后,所述分布式光伏和储能系统立刻从所述电网购电。After the energy storage system stops charging on the current day and is charged to be equal to the current daily charging margin, if the sum of the distributed photovoltaic output power and the external power does not meet the current daily load demand In the case of an emergency, the energy storage system is controlled to output power at the same time using the current daily charging margin until the real-time energy storage of the energy storage system is reduced to the next day’s energy storage margin, and the output of the energy storage system is stopped. After that, the distributed photovoltaic and energy storage system immediately purchases electricity from the grid.

可选地,所述稳定性指标S的表达式如下:Optionally, the expression of the stability index S is as follows:

Figure BDA0003930067660000051
Figure BDA0003930067660000051

上式中,N表示每日的日升时间至日落时间之间的时间段,w1(t)表示所述每日分布式光伏的输出功率曲线上在t时段的输出功率,p表示所述当前日储能裕量,w2表示根据分布式光伏输出功率历史数据运算得到的分布式光伏的平均输出功率,w3表示每日从日升时间至日落时间之内分布式光伏的平均输出功率。In the above formula, N represents the time period between the daily sunrise time and sunset time, w 1 (t) represents the output power of the daily distributed photovoltaic output power curve in the period t, and p represents the The current daily energy storage margin, w 2 represents the average output power of distributed photovoltaics calculated according to the historical data of distributed photovoltaic output power, w 3 represents the average output power of distributed photovoltaics from sunrise time to sunset time every day .

可选地,所述成本最小目标的函数f为;Optionally, the function f of the cost minimum objective is;

Figure BDA0003930067660000061
Figure BDA0003930067660000061

上式中,C1(t)表示分布式光伏设备、储能系统设备的折旧成本,C2(t)表示分布式光伏设备、储能系统设备的维护成本,C3(t)表示分布式光伏和储能系统向电网购电的成本,其中,分布式光伏和储能系统向电网购电的成本是指:所述分布式光伏和储能系统向电网和所述V2G电动汽车购电的费用,与所述分布式光伏和储能系统向电网并网发电以及向所述V2G电动汽车发电赚取收益之间的差值,所述分布式光伏和储能系统向电网购电的成本为正值,表示向电网和所述V2G电动汽车购电的费用大于发电赚取收益,为负值表示向电网和所述V2G电动汽车购电的费用小于发电赚取收益;In the above formula, C 1 (t) represents the depreciation cost of distributed photovoltaic equipment and energy storage system equipment, C 2 (t) represents the maintenance cost of distributed photovoltaic equipment and energy storage system equipment, and C 3 (t) represents the distributed The cost of electricity purchased by the photovoltaic and energy storage system from the grid, wherein the cost of the distributed photovoltaic and energy storage system to purchase electricity from the grid refers to: the cost of electricity purchased by the distributed photovoltaic and energy storage system from the grid and the V2G electric vehicle The difference between the cost of the distributed photovoltaic and energy storage system and the grid-connected power generation of the distributed photovoltaic and energy storage system and the income earned by the V2G electric vehicle. The cost of the distributed photovoltaic and energy storage system to purchase electricity from the grid is A positive value means that the cost of purchasing electricity from the grid and the V2G electric vehicle is greater than the income earned by power generation, and a negative value indicates that the cost of purchasing electricity from the grid and the V2G electric vehicle is less than the income earned by power generation;

其中,所述分布式光伏和储能系统向电网购电的成本C3(t)的表达式为:Wherein, the expression of the cost C 3 (t) of the distributed photovoltaic and energy storage system to purchase electricity from the grid is:

C3(t)=(ki1(t)wi1(t)+ki2(t)wi2(t)-kj1(t)wj1(t)-kj2(t)C 3 (t)=(k i1 (t)w i1 (t)+k i2 (t)w i2 (t)-k j1 (t)w j1 (t)-k j2 (t)

wj2(t))△tw j2 (t))△t

上式中,ki1(t)表示t时段向电网购电电价,wi1(t)表示t时段所述分布式光伏和储能系统向电网购电的功率,ki2(t)表示t时段向所述V2G电动汽车购电电价,wi2(t)表示t时段所述分布式光伏和储能系统向所述V2G电动汽车购电的功率,kj1(t)表示t时段向电网发电电价,wj1(t)表示t时段所述分布式光伏和储能系统向电网并网的输出功率,kj2(t)表示t时段向所述V2G电动汽车发电电价,wj2(t)表示t时段所述分布式光伏和储能系统向所述V2G电动汽车发电的输出功率,△t表示时间段;In the above formula, k i1 (t) represents the price of electricity purchased from the grid during the t period, w i1 (t) represents the power purchased by the distributed photovoltaic and energy storage system from the grid during the t period, and k i2 (t) represents the power purchased from the grid during the t period The price of electricity purchased from the V2G electric vehicle, w i2 (t) represents the power purchased by the distributed photovoltaic and energy storage system from the V2G electric vehicle during the period t, and k j1 (t) represents the price of electricity generated to the grid during the period t , w j1 (t) represents the output power of the distributed photovoltaic and energy storage system connected to the grid during the t period, k j2 (t) represents the price of electricity generated by the V2G electric vehicle during the t period, and w j2 (t) represents t The output power generated by the distributed photovoltaic and energy storage system to the V2G electric vehicle during the time period, Δt represents the time period;

所述t时段所述分布式光伏和储能系统的购电功率wi(t)根据t时段对应的储能裕量的缺口量、t时段所述分布式光伏和储能系统向所述V2G电动汽车购电的功率wi2(t)以及负荷需求值的缺口量决定,所述t时段对应的储能裕量的缺口量根据所述次日储能裕量,与所述储能系统当前充电储能量之间的差值决定,所述负荷需求的缺口量根据t时段对应的分布式光伏的输出功率与t时段所述分布式光伏和储能系统向所述V2G电动汽车购电的功率wi2(t)之和,与t时段对应的负荷需求值之间的差值决定;The purchased power w i (t) of the distributed photovoltaic and energy storage system during the t period is based on the gap of the energy storage margin corresponding to the t period, and the distributed photovoltaic and energy storage system supplies the V2G electric power to the V2G during the t period. The power w i2 (t) of the vehicle power purchase and the gap of the load demand value are determined. The gap of the energy storage margin corresponding to the t period is based on the energy storage margin of the next day and the current charging of the energy storage system The difference between the stored energy is determined, and the gap of the load demand is based on the output power of the distributed photovoltaic corresponding to the period t and the power w purchased by the distributed photovoltaic and energy storage system from the V2G electric vehicle during the period t The sum of i2 (t) is determined by the difference between the load demand value corresponding to the period t;

所述t时段所述分布式光伏和储能系统向电网的并网输出功率wj(t)与向所述V2G电动汽车发电的输出功率之和,根据优化得到所述储能系统的当前日充电裕量,和t时段对应的分布式光伏的输出功率决定。The sum of the grid-connected output power w j (t) of the distributed photovoltaic and energy storage system to the grid during the period t and the output power generated by the V2G electric vehicle is obtained according to optimization to obtain the current daily output power of the energy storage system The charging margin is determined by the output power of the distributed photovoltaic corresponding to the period t.

可选地,根据所述次日储能裕量和当前日分布式光伏的输出功率曲线,以V2G电动汽车参与所述分布式光伏和储能系统充放电情况下的成本最小为目标,优化得到所述储能系统的当前日充电裕量,所述当前日充电裕量的值大于所述次日储能裕量的值,包括:Optionally, according to the next day's energy storage margin and the current day's output power curve of distributed photovoltaics, with the goal of minimizing the cost of V2G electric vehicles participating in the charging and discharging of the distributed photovoltaic and energy storage system, the optimization is obtained The current daily charging margin of the energy storage system, the value of the current daily charging margin is greater than the value of the next day's energy storage margin, including:

步骤S1:选取所述当前日分布式光伏的输出功率曲线中后段曲线,并划分多个t时段,所述后段曲线是指当前日分布式光伏的输出功率与所述外界获得功率之和,从满足当前日负荷需求值至分布式光伏不再输出功率的时间段对应的曲线;Step S1: Select the latter curve of the current daily distributed photovoltaic output power curve, and divide it into multiple t periods. The latter curve refers to the sum of the current daily distributed photovoltaic output power and the external power obtained , the curve corresponding to the time period from meeting the current daily load demand value to the time period when the distributed photovoltaic no longer outputs power;

步骤S2:根据所述次日储能裕量、所述后段曲线以及所述储能系统的满充充电量,通过所述分布式光伏和储能系统向电网购电的成本C3(t)的表达式,计算得到多个t时段购电的成本,同时通过所述分布式光伏设备、储能系统设备的折旧成本C1(t)的表达式、所述分布式光伏设备、储能系统设备的维护成本C2(t)的表达式分别计算得到多个t时段折旧成本、维护成本;Step S2: According to the next day's energy storage margin, the subsequent curve, and the full charge capacity of the energy storage system, the cost C 3 (t ) to calculate the cost of power purchase for multiple t periods, and at the same time, through the expression of the depreciation cost C 1 (t) of the distributed photovoltaic equipment and energy storage system equipment, the distributed photovoltaic equipment, energy storage The expression of the maintenance cost C 2 (t) of the system equipment is calculated separately to obtain the depreciation cost and maintenance cost for multiple t periods;

步骤S2:以多个t时段购电的成本、折旧成本、维护成本,为遗传算法的初始解;Step S2: The initial solution of the genetic algorithm is the cost of electricity purchase, depreciation cost, and maintenance cost for multiple t periods;

步骤S3:以所述初始解为基础,通过所述成本最小目标的函数公式,计算得到多个t时段购电的成本、折旧成本、维护成本各自成本的一代最优值和成本最小的一代最小值;Step S3: Based on the initial solution, through the function formula of the cost minimum objective, calculate the optimal value of each generation of cost of power purchase, depreciation cost, and maintenance cost for multiple t periods and the minimum cost of the generation with the smallest cost. value;

步骤S4:对所述多个t时段购电的成本、折旧成本、维护成本各自成本的一代最优值和成本最小的一代最小值进行计算,得到对应的质心;Step S4: Calculate the first generation optimal value and the lowest cost generation minimum value of the cost of power purchase, depreciation cost, and maintenance cost of the multiple t-periods to obtain the corresponding centroid;

步骤S5:根据质心,进行繁殖以产生新群体;Step S5: Propagate according to the centroid to generate a new population;

步骤S6:根据繁殖产生的新群体中每对集合,通过交叉生成两个后代;Step S6: According to each pair of sets in the new population generated by breeding, generate two offspring by crossover;

步骤S7:设q是变异的概率,则变异的操作是通过对集合上的某一元素随机更换而完成的;Step S7: Let q be the probability of mutation, then the operation of mutation is completed by randomly replacing an element on the set;

步骤S8:经过“交叉”与“变异”操作后,生成了新的解,所述新的解表征对所述储能系统的满充充电量优化后得到的所述储能系统的当前日充电裕量;Step S8: After the "crossover" and "mutation" operations, a new solution is generated, and the new solution represents the current daily charge of the energy storage system obtained after optimizing the full charge of the energy storage system margin;

步骤S9:以所述新的解为遗传算法的初始解,采样迭代算法重复步骤S3~S9,并在每一次迭代运算后均检测是否满足结束条件,所述结束条件为迭代次数上限达标,或所述成本最小的函数值小于预设函数值;Step S9: Using the new solution as the initial solution of the genetic algorithm, the sampling iterative algorithm repeats steps S3-S9, and checks whether the end condition is met after each iterative operation, and the end condition is that the upper limit of the number of iterations reaches the standard, or The function value with the smallest cost is less than a preset function value;

其中,迭代算法的具体方法为:Among them, the specific method of the iterative algorithm is:

对于基于任一一组初始解XJi生成的新的解XJi′,若f(XJi)≥f(XJi′),则直接接受此新的解XJi′;For a new solution XJ i ′ generated based on any set of initial solutions XJ i , if f(XJ i )≥f(XJ i ′), then accept the new solution XJ i ′ directly;

若f(XJi)<f(XJi′),则新的解XJi′的接受概率E由以下公式得出:If f(XJ i )<f(XJ i ′), then the acceptance probability E of the new solution XJ i ′ is obtained by the following formula:

Figure BDA0003930067660000081
Figure BDA0003930067660000081

上式中,Rw为迭代算法迭代n次后的“热度”,并且到迭代算法迭代的后期,随着Rw的不断减小,当f(XJi)-f(XJi′)的值一定时,E的值将会逐渐减小,使迭代算法趋于稳定;In the above formula, R w is the "heat" after the iterative algorithm iterates n times, and in the later stage of the iterative algorithm iteration, as R w decreases, when the value of f(XJ i )-f(XJ i ′) At a certain time, the value of E will gradually decrease, so that the iterative algorithm tends to be stable;

每完成一次迭代后将会对Rw进行“热度下降”操作,热度下降操作对应的公式为:After each iteration is completed, the "heat drop" operation will be performed on R w . The formula corresponding to the heat drop operation is:

Figure BDA0003930067660000082
Figure BDA0003930067660000082

其中MT为迭代算法的迭代次数上限。Where MT is the upper limit of iterations of the iterative algorithm.

可选地,所述储能系统寿命和容量关系的表达式如下:Optionally, the expression of the relationship between the life and capacity of the energy storage system is as follows:

En(t)=Eb-∑k*e-0.02Soc*M0.5*D0.7E n (t) = E b -∑k*e -0.02Soc *M 0.5 *D 0.7 .

上式中,En(t)表示所述储能系统在t时刻的容量,Eb表示所述储能系统还未投用时的初始容量,k表示比例系数,Soc表示所述储能系统中电池单次循环的平均荷电状态值,D表示所述储能系统中电池的充放电深度,M表示所述储能系统中电池的充放电循环次数。In the above formula, E n (t) represents the capacity of the energy storage system at time t, E b represents the initial capacity of the energy storage system before it is put into use, k represents the proportional coefficient, and Soc represents the energy storage system’s capacity The average charge state value of the battery in a single cycle, D represents the charge and discharge depth of the battery in the energy storage system, and M represents the number of charge and discharge cycles of the battery in the energy storage system.

本发明实施例第二方面提供一种电子设备,包括:The second aspect of the embodiment of the present invention provides an electronic device, including:

至少一个处理器;以及,at least one processor; and,

与所述至少一个处理器通信连接的存储器;其中,a memory communicatively coupled to the at least one processor; wherein,

所述存储器存储有可被所述至少一个处理器执行的指令,所述指令被所述至少一个处理器执行,以使所述至少一个处理器能够执行如第一方面中任意一项所述的分布式光伏和储能系统的储能量优化方法。The memory stores instructions executable by the at least one processor, the instructions are executed by the at least one processor, so that the at least one processor can perform the method described in any one of the first aspect Energy storage optimization methods for distributed photovoltaic and energy storage systems.

本发明提供的分布式光伏和储能系统的储能量优化方法,首先构建一个储能裕量模型,并对储能裕量模型进行运算,得到优化后的每日储能裕量和输出功率、负荷需求关系的特征曲线。其次确定次日分布式光伏的输出功率曲线和次日负荷需求曲线以及储能系统的次日储能裕量。The energy storage optimization method of the distributed photovoltaic and energy storage system provided by the present invention first constructs an energy storage margin model, and performs calculations on the energy storage margin model to obtain the optimized daily energy storage margin and output power, The characteristic curve of the load-demand relationship. Secondly, determine the output power curve of the next day's distributed photovoltaic, the next day's load demand curve, and the next day's energy storage margin of the energy storage system.

再根据次日储能裕量和当前日分布式光伏的输出功率曲线,以成本最小为目标,优化得到储能系统的当前日充电裕量;最后在当前日分布式光伏开始输出功率时控制储能系统同时输出功率,使得当前日分布式光伏和储能系统的总输出功率达到输出功率平稳值且满足稳定性指标。Then, according to the next day’s energy storage margin and the current daily output power curve of distributed photovoltaics, with the goal of minimizing the cost, optimize the current daily charging margin of the energy storage system; The energy system can output power at the same time, so that the total output power of the current daily distributed photovoltaic and energy storage system reaches the output power stable value and meets the stability index.

本发明精细的结合分布式光伏输出功率特点、储能系统寿命和容量特征、成本因素等多方面内容,以成本最小为目标,优化每日储能裕量与输出功率、负荷需求关系曲线之间的关系,优化当前日充电裕量,得到更精准的储能系统当日储能量以及并网发电量,使得分布式光伏和储能系统的总输出功率满足稳定性指标,并且整个过程的计算量少,运算简单,计算用时较少,控制逻辑简便,具有较高的实用性价值。The present invention finely combines the characteristics of distributed photovoltaic output power, energy storage system life and capacity characteristics, cost factors and other aspects, with the goal of minimizing the cost, and optimizes the relationship between the daily energy storage margin and the output power and load demand curve. relationship, optimize the current daily charging margin, and obtain more accurate daily energy storage and grid-connected power generation of the energy storage system, so that the total output power of the distributed photovoltaic and energy storage system meets the stability index, and the calculation of the whole process is less , the calculation is simple, the calculation time is less, the control logic is simple, and it has high practical value.

附图说明Description of drawings

为了更清楚地说明本发明实施例的技术方案,下面将对本发明实施例的描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动性的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the following will briefly introduce the accompanying drawings that need to be used in the description of the embodiments of the present invention. Obviously, the accompanying drawings in the following description are only some embodiments of the present invention , for those skilled in the art, other drawings can also be obtained according to these drawings without paying creative labor.

图1是本发明实施例中一种分布式光伏和储能系统的储能量优化方法的流程图;Fig. 1 is a flowchart of an energy storage optimization method for a distributed photovoltaic and energy storage system in an embodiment of the present invention;

图2是本发明实施例中一种分布式光伏和储能系统的储能量优化装置的框图。Fig. 2 is a block diagram of an energy storage optimization device for a distributed photovoltaic and energy storage system in an embodiment of the present invention.

具体实施方式Detailed ways

下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are some of the embodiments of the present invention, but not all of them. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without creative efforts fall within the protection scope of the present invention.

本发明实施例提出的一种分布式光伏和储能系统的储能量优化方法,参照图1,示出了本发明实施例一种分布式光伏和储能系统的储能量优化方法的流程图,储能量优化方法包括如下步骤:An energy storage optimization method for a distributed photovoltaic and energy storage system proposed in an embodiment of the present invention. Referring to FIG. 1 , it shows a flow chart of a method for optimizing energy storage in a distributed photovoltaic and energy storage system according to an embodiment of the present invention. The energy storage optimization method includes the following steps:

步骤101:根据历史负荷数据、分布式光伏输出功率历史数据,运算得到每日分布式光伏的输出功率曲线和每日负荷需求曲线,不同日的分布式光伏的输出功率曲线和负荷需求曲线对应不同的光照时间和光照强度。Step 101: According to the historical load data and the historical data of distributed photovoltaic output power, the daily output power curve and daily load demand curve of distributed photovoltaic are obtained by calculation. The output power curve and load demand curve of distributed photovoltaic on different days correspond to different lighting time and light intensity.

由于分布式光伏的输出功率、电压等受光照时间、昼夜性、季节性因素的影响较大,因此分布式光伏每日的输出功率曲线可能都不同。而负荷需求相对来说较为稳定,相类似的日子中较少出现负荷需求剧增或者剧减的情况,例如:工作日每日的负荷需求基本相似,休息日的负荷需求基本相似。为了更精准控制成本、分布式光伏和储能系统总伏输出功率以及控制储能系统的每日储存量,降低成本、延长储能系统使用寿命,需要得到每日分布式光伏的输出功率曲线和每日负荷需求曲线,不同日的分布式光伏的输出功率曲线和负荷需求曲线对应不同的光照时间和光照强度。这两个曲线可以根据历史负荷数据、分布式光伏输出功率历史数据运算得到,当然也可以通过其它方式得到,本发明不做具体限定。Since the output power and voltage of distributed photovoltaics are greatly affected by sunlight time, day and night, and seasonal factors, the daily output power curves of distributed photovoltaics may be different. The load demand is relatively stable, and it is rare for the load demand to increase or decrease sharply on similar days. For example, the daily load demand on working days is basically similar, and the load demand on rest days is basically similar. In order to more accurately control the cost, the total volt output power of the distributed photovoltaic and energy storage system, and control the daily storage capacity of the energy storage system, reduce the cost and prolong the service life of the energy storage system, it is necessary to obtain the daily output power curve and The daily load demand curve, the output power curve and load demand curve of distributed photovoltaics on different days correspond to different light hours and light intensities. These two curves can be calculated according to historical load data and distributed photovoltaic output power historical data, and of course can also be obtained by other methods, which are not specifically limited in the present invention.

步骤102:基于每日分布式光伏的输出功率曲线、每日负荷需求曲线和储能系统寿命和容量关系,构建储能裕量模型,并对储能裕量模型进行运算,得到优化后的每日储能裕量和输出功率、负荷需求关系的特征曲线。Step 102: Based on the daily distributed photovoltaic output power curve, daily load demand curve, and the relationship between the life and capacity of the energy storage system, construct an energy storage margin model, and perform calculations on the energy storage margin model to obtain the optimized The characteristic curve of the relationship between daily energy storage margin, output power and load demand.

得到两个曲线后,再结合储能系统寿命和容量关系,构建出储能裕量模型,并且对这个储能裕量模型进行运算,得到更为精准的储能系统的每日储能裕量与分布式光伏输出功率、负荷需求关系三者之间的关系曲线,即得到优化后的每日储能裕量和输出功率、负荷需求关系曲线。After obtaining the two curves, combined with the relationship between the life and capacity of the energy storage system, an energy storage margin model is constructed, and the energy storage margin model is calculated to obtain a more accurate daily energy storage margin of the energy storage system The relationship curve between distributed photovoltaic output power and load demand relationship is the optimized daily energy storage margin and output power and load demand relationship curve.

步骤103:根据相邻两天的光照时间和光照强度,结合所述每日分布式光伏的输出功率曲线和所述每日负荷需求曲线,确定次日分布式光伏的输出功率曲线和次日负荷需求曲线。Step 103: According to the light time and light intensity of two adjacent days, combined with the output power curve of the daily distributed photovoltaic and the daily load demand curve, determine the output power curve and load of the next day distributed photovoltaic demand curve.

如步骤101中说明,分布式光伏的输出功率每日可能不同,受每日的光照时间和光照强度决定。而每日的负荷需求也有类似工作日、休息日的区别,并且也会因光照时间和光照强度的不同而有区别。因此需要根据当前日的光照时间和光照强度,确定光照时间和光照强度,之后再基于次日的光照时间和光照强度确定出次日分布式光伏的输出功率曲线和次日负荷需求曲线,以此为后续精准运算次日的储能裕量打好基础。As explained in step 101, the output power of distributed photovoltaics may be different every day, which is determined by the daily light time and light intensity. The daily load demand is also similar to the difference between working days and rest days, and it will also be different due to the difference in light time and light intensity. Therefore, it is necessary to determine the light time and light intensity according to the current day's light time and light intensity, and then determine the next day's output power curve and the next day's load demand curve of distributed photovoltaics based on the next day's light time and light intensity. Lay a solid foundation for the subsequent accurate calculation of the energy storage margin for the next day.

步骤104:根据次日分布式光伏的输出功率曲线、次日负荷需求曲线和特征曲线,确定分布式光伏和储能系统中储能系统的次日储能裕量。Step 104: According to the next day's distributed photovoltaic output power curve, next day's load demand curve and characteristic curve, determine the next day's energy storage margin of the energy storage system in the distributed photovoltaic and energy storage system.

得到次日分布式光伏的输出功率曲线、次日负荷需求曲线后,再结合步骤102得到的每日储能裕量和输出功率、负荷需求关系的特征曲线,可以精准确定出储能系统的次日储能裕量。这个次日储能裕量的作用是为了保证次日分布式光伏和储能系统的总输出功率达到满足稳定性指标的输出功率平稳值,因此次日储能裕量相当于储能系统在当前日充电时需要达到的最低储能量,但却是在明日被使用。自然可以理解的是,当前日在分布式光伏开始输出功率时所使用的储能系统的储能量是前日储能裕量。After obtaining the output power curve of the next day's distributed photovoltaics and the next day's load demand curve, combined with the characteristic curve of the relationship between the daily energy storage margin and output power and load demand obtained in step 102, the secondary load demand curve of the energy storage system can be accurately determined. Daily energy storage margin. The function of the next day’s energy storage margin is to ensure that the total output power of the next day’s distributed photovoltaic and energy storage system reaches a stable output power value that meets the stability index, so the next day’s energy storage margin is equivalent to the energy storage system at the current The minimum storage energy that needs to be reached during daily charging, but it will be used tomorrow. Naturally, it is understandable that the energy storage capacity of the energy storage system used when the distributed photovoltaic starts to output power on the current day is the energy storage margin of the previous day.

步骤105:根据次日储能裕量和当前日分布式光伏的输出功率曲线,以V2G电动汽车参与分布式光伏和储能系统充放电情况下的成本最小为目标,优化得到储能系统的当前日充电裕量,当前日充电裕量的值大于当前日储能裕量的值。Step 105: According to the next day's energy storage margin and the current output power curve of distributed photovoltaics, with the goal of minimizing the cost of V2G electric vehicles participating in the charging and discharging of distributed photovoltaics and energy storage systems, optimize the current energy storage system. Daily charging margin, the value of the current daily charging margin is greater than the value of the current daily energy storage margin.

所谓成本最小,并不应当仅仅考虑将更多的发电量并网以赚取收益来实现成本最小,而是应该综合考虑储能系统的使用寿命、分布式光伏的每日输出特点,得到一个最优的储能系统的当前日充电裕量,这个当前日充电裕量即可以使得分布式光伏在输出功率不满足负荷需求时,提供输出功率,尽量少从电网购电,同时还使得分布式光伏可以将一定量的电量并网以赚取收益,并且兼顾了储能系统的寿命因素。The so-called minimum cost should not only consider connecting more power generation to the grid to earn income to achieve the minimum cost, but should comprehensively consider the service life of the energy storage system and the daily output characteristics of distributed photovoltaics to obtain an optimal cost. The current daily charging margin of an excellent energy storage system, this current daily charging margin can enable distributed photovoltaics to provide output power when the output power does not meet the load demand, as little as possible to purchase electricity from the grid, and at the same time make distributed photovoltaics A certain amount of electricity can be connected to the grid to earn income, and the life factor of the energy storage system is taken into account.

此外,考虑到目标已有的V2G电动汽车,其有向电网或者相关储能设备输出电能的功能,因此将V2G电动汽车参与分布式光伏和储能系统充放电情况考虑进来。例如:对于某个分布式光伏和储能系统,可以根据2G电动汽车的地图出行规划,根据同一个目的地(如该分布式光伏和储能系统的所在地)的未来充放电情况,确定V2G电动汽车参与充放电的历史情况,形成一个数据库,从而精确预测每日V2G电动汽车参与分布式光伏和储能系统充放电情况,从而以成本最小为目标,适应性的调整次日储能裕量,或者是当前日充电裕量,成本最小的同时,充分调动V2G电动汽车参与分布式光伏和储能系统充放电的积极性,为电动汽车的未来可持续发展提供较好的基础。In addition, considering that the target existing V2G electric vehicles have the function of outputting electric energy to the grid or related energy storage equipment, the participation of V2G electric vehicles in the charging and discharging of distributed photovoltaic and energy storage systems is taken into account. For example: for a distributed photovoltaic and energy storage system, the V2G electric vehicle can be determined according to the map travel plan of the 2G electric vehicle and the future charging and discharging conditions of the same destination (such as the location of the distributed photovoltaic and energy storage system). The historical situation of vehicles participating in charging and discharging forms a database, so as to accurately predict the daily charging and discharging of V2G electric vehicles participating in distributed photovoltaic and energy storage systems, so as to aim at the minimum cost and adaptively adjust the energy storage margin for the next day. Or the current daily charging margin and the minimum cost, fully mobilize the enthusiasm of V2G electric vehicles to participate in the charging and discharging of distributed photovoltaic and energy storage systems, and provide a better foundation for the sustainable development of electric vehicles in the future.

步骤106:在当前日分布式光伏开始输出功率时,控制储能系统同时输出功率,使得当前日分布式光伏和储能系统的总输出功率达到输出功率平稳值,输出功率平稳值满足稳定性指标,其中,在当前日储能系统停止输出功率后,确定储能系统的充电方式以对储能系统进行充电,直至储能系统达到次日储能裕量或者当前日充电裕量时,储能系统停止充电。Step 106: When the current daily distributed photovoltaic starts to output power, control the energy storage system to output power at the same time, so that the total output power of the current daily distributed photovoltaic and energy storage system reaches the output power stable value, and the output power stable value meets the stability index , where, after the energy storage system stops outputting power on the current day, determine the charging mode of the energy storage system to charge the energy storage system until the energy storage system reaches the next day’s energy storage margin or the current day’s charging margin, the energy storage The system stops charging.

由于当前日分布式光伏开始输出功率时,其实时功率肯定不满足当前日的负荷需求,因此需要控制储能系统同时输出功率,即控制储能系统利用前日储能裕量来输出功率,使得当前日分布式光伏和储能系统的总输出功率满足当前日负荷需求的同时,达到输出功率平稳值且输出功率平稳值满足稳定性指标,而且不需要向电网购电。Since when the distributed photovoltaic starts to output power in the current day, its real-time power will definitely not meet the load demand of the current day, so it is necessary to control the energy storage system to output power at the same time, that is, to control the energy storage system to use the energy storage margin of the previous day to output power so that the current While the total output power of the daily distributed photovoltaic and energy storage system meets the current daily load demand, it reaches a stable value of output power and the stable value of output power meets the stability index, and there is no need to purchase electricity from the grid.

当前日在储能系统的前日储能裕量耗尽时,储能系统停止输出功率,此时分布式光伏的实时输出功率上升到满足负荷需求。再确定储能系统的充电方式以对储能系统以不同的方式进行充电,直至储能系统达到次日储能裕量或者当前日充电裕量时停止充电。具体的充电情况在下文说明,先不赘述。When the previous day's energy storage margin of the previous day's energy storage system is exhausted, the energy storage system stops output power, and the real-time output power of distributed photovoltaics rises to meet the load demand. Then determine the charging method of the energy storage system to charge the energy storage system in different ways until the energy storage system reaches the next day's energy storage margin or the current day's charging margin and stops charging. The specific charging situation is described below, so I won’t repeat it here.

通过上述方法,精细的结合分布式光伏输出功率特点、储能系统寿命和容量特征、成本因素等多方面内容,以成本最小为目标,优化每日储能裕量与输出功率、负荷需求关系曲线之间的关系,优化当前日充电裕量,得到更精准的储能系统当日储能量以及并网发电量,使得分布式光伏和储能系统的总输出功率满足稳定性指标,并且整个过程的计算量少,运算简单,计算用时较少,控制逻辑简便。Through the above method, finely combine the characteristics of distributed photovoltaic output power, energy storage system life and capacity characteristics, cost factors and other aspects, with the goal of minimizing cost, optimize the relationship curve between daily energy storage margin and output power, load demand The relationship between them optimizes the current daily charging margin, and obtains a more accurate daily energy storage and grid-connected power generation of the energy storage system, so that the total output power of the distributed photovoltaic and energy storage system meets the stability index, and the calculation of the entire process Small amount, simple calculation, less calculation time, and simple control logic.

在一种可能的实施例中,步骤102的具体方法可以包括:In a possible embodiment, the specific method of step 102 may include:

步骤T1:根据每日分布式光伏的输出功率曲线、每日负荷需求曲线,统计运算得到每日双输出功率曲线,每日双输出功率曲线表征该日分布式光伏开始输出功率至输出功率满足该日负荷需求这段时间内的功率变化曲线。Step T1: According to the daily output power curve of distributed photovoltaics and the daily load demand curve, the daily dual output power curve is obtained through statistical calculations. The power change curve of the daily load demand during this period.

步骤101得到每日分布式光伏的输出功率曲线、每日负荷需求曲线后,对这两个曲线进行统计运算,得到每日双输出功率曲线,这个每日双输出功率曲线表征该日分布式光伏开始输出功率至输出功率满足该日负荷需求这段时间内的功率变化曲线。Step 101 After obtaining the daily distributed photovoltaic output power curve and the daily load demand curve, perform statistical calculations on these two curves to obtain a daily double output power curve, which represents the daily distributed photovoltaic output power curve. The power change curve during the period from the start of output power to the output power meeting the daily load demand.

如前所述,分布式光伏在日升时间接收到光强照射后,才开始输出功率,这个时候的实时功率较小,一般不会满足同样时段的负荷需求,之后随着地球自转,太阳高度角变化,光照强度开始增大,分布式光伏的输出功率自然开始上升,直至上升的分布式光伏的最大运行输出功率,这个最大运行输出功率一般是超过负荷需求的。As mentioned above, distributed photovoltaics start to output power after receiving light intensity at sunrise time. At this time, the real-time power is small and generally cannot meet the load demand at the same time period. Afterwards, with the rotation of the earth, the height of the sun Angle changes, the light intensity begins to increase, and the output power of distributed photovoltaics naturally begins to rise until the rising maximum operating output power of distributed photovoltaics, which generally exceeds the load demand.

基于上述原因,为了保证分布式光伏和储能系统的总输出功率满足稳定性指标,需要得到分布式光伏开始输出功率至输出功率满足该日负荷需求这段时间内的功率变化曲线。Based on the above reasons, in order to ensure that the total output power of the distributed photovoltaic and energy storage system meets the stability index, it is necessary to obtain the power change curve during the period from the beginning of the distributed photovoltaic output power to the output power meeting the daily load demand.

步骤T2:基于Adaboost算法构建模型,结合储能系统寿命和容量关系,对每日双输出功率曲线对应的储能裕量进行建模,并通过模型训练、交叉验证以及参数寻优的运算,得到优化后的每日储能裕量和输出功率、负荷需求关系的特征曲线,其中,每日储能裕量用于在该日分布式光伏开始输出功率的同时输出功率,直至该日分布式光伏输出功率满足该日负荷需求时停止输出功率。Step T2: Construct a model based on the Adaboost algorithm, combine the relationship between the life and capacity of the energy storage system, model the energy storage margin corresponding to the daily dual output power curve, and obtain The optimized daily energy storage margin and the characteristic curve of the relationship between output power and load demand, wherein the daily energy storage margin is used to output power at the same time when the distributed photovoltaic starts to output power on that day, until the distributed photovoltaic on that day Stop output power when the output power meets the daily load demand.

得到分布式光伏开始输出功率至输出功率满足该日负荷需求这段时间内的功率变化曲线之后,结合储能系统寿命和容量关系,基于Adaboost算法构建模型,对得到的功率变化曲线对应的储能裕量进行建模,再通过模型训练、交叉验证以及参数寻优的运算,即可得到优化后的每日储能裕量和输出功率、负荷需求关系的特征曲线,该特征曲线精准的反映了储能系统的每日储能裕量与分布式光伏的输出功率还未满足负荷需求的时间段以及该段时间负荷需求三者之间功率的关系。After obtaining the power change curve from the beginning of the distributed photovoltaic output power to the output power meeting the daily load demand, combined with the relationship between the life and capacity of the energy storage system, the model is constructed based on the Adaboost algorithm, and the energy storage corresponding to the obtained power change curve The margin is modeled, and then through model training, cross-validation, and parameter optimization operations, the optimized daily energy storage margin and the characteristic curve of the relationship between output power and load demand can be obtained, which accurately reflects the The relationship between the daily energy storage margin of the energy storage system, the time period when the output power of distributed photovoltaics has not met the load demand, and the load demand during this period.

在一种可能的实施例中,储能系统寿命-容量关系的表达式如下:In a possible embodiment, the expression of the life-capacity relationship of the energy storage system is as follows:

En(t)=Eb-∑k*e-0.02Soc*M0.5*D0.7E n (t) = E b -∑k*e -0.02Soc *M 0.5 *D 0.7 .

上式中,En(t)表示储能系统在t时段的容量,Eb表示储能系统还未投用时的初始容量,k表示比例系数,Soc表示储能系统中电池单次循环的平均荷电状态值,D表示储能系统中电池的充放电深度,M表示储能系统中电池的充放电循环次数。In the above formula, E n (t) represents the capacity of the energy storage system in the period t, E b represents the initial capacity of the energy storage system before it is put into use, k represents the proportional coefficient, and Soc represents the average value of a single cycle of the battery in the energy storage system The state of charge value, D represents the charge and discharge depth of the battery in the energy storage system, and M represents the number of charge and discharge cycles of the battery in the energy storage system.

在一种可能的实施例中,步骤106的具体方法可以包括:前期储能系统输出功率的阶段和后期储能系统充电的阶段。In a possible embodiment, the specific method of step 106 may include: a stage of outputting power of the energy storage system in the early stage and a stage of charging the energy storage system in the later stage.

1)、对于输出功率的阶段:在当前日分布式光伏开始输出功率时,分布式光伏的输出功率不满足当前日该时段的负荷需求,需要控制储能系统利用前日储能裕量同时输出功率,从而使得当前日分布式光伏和储能系统的总输出功率达到输出功率平稳值;随着分布式光伏输出功率的上升,当分布式光伏输出功率满足当前日负荷需求时,储能系统停止输出功率,此时前日储能裕量接近0,即将前日储能裕量消耗掉。1) For the stage of output power: when the distributed photovoltaic starts to output power in the current day, the output power of the distributed photovoltaic does not meet the load demand of the time period of the current day, and it is necessary to control the energy storage system to use the energy storage margin of the previous day to output power at the same time , so that the total output power of the current daily distributed photovoltaic and energy storage system reaches a stable value of output power; as the distributed photovoltaic output power rises, when the distributed photovoltaic output power meets the current daily load demand, the energy storage system stops output Power, at this time the previous day's energy storage margin is close to 0, that is, the previous day's energy storage margin will be consumed.

本发明实施例中,稳定性指标S的表达式如下:In the embodiment of the present invention, the expression of the stability index S is as follows:

Figure BDA0003930067660000141
Figure BDA0003930067660000141

上式中,N表示每日的日升时间至日落时间之间的时间段,w1(t)表示每日分布式光伏的输出功率曲线上在t时段的输出功率,p表示当前日储能裕量,w2表示根据分布式光伏输出功率历史数据运算得到的分布式光伏的平均输出功率,w3表示每日从日升时间至日落时间之内分布式光伏的平均输出功率。In the above formula, N represents the time period between the daily sunrise time and sunset time, w 1 (t) represents the output power of the daily distributed photovoltaic output power curve in the time period t, and p represents the current daily energy storage Margin, w 2 represents the average output power of distributed photovoltaics calculated according to the historical data of distributed photovoltaic output power, w 3 represents the average output power of distributed photovoltaics from sunrise time to sunset time every day.

这里需要说明的是,由于天气等原因,可能出现分布式光伏当前日无输出,或者是天气在某个时间段,例如中午12点之后等转晴,分布式光伏开始输出功率的情况。当出现这种情况时,为了提高储能系统的使用寿命,不使用前日储能裕量,即当前日储能系统不输出功率。等待后续运算得到次日储能裕量后,若次日储能裕量不大于前日储能裕量,则按照充电方式等待充电到次日充电裕量或者不充电;若次日储能裕量大于前日储能裕量,则按照充电方式等待充电到次日储能裕量或者当前日充电裕量。What needs to be explained here is that due to weather and other reasons, there may be situations where distributed photovoltaics have no current daily output, or when the weather clears up after a certain period of time, such as after 12:00 noon, distributed photovoltaics may start to output power. When this happens, in order to improve the service life of the energy storage system, the energy storage margin of the previous day is not used, that is, the energy storage system does not output power on the current day. After waiting for the next day's energy storage margin to be obtained through subsequent calculations, if the next day's energy storage margin is not greater than the previous day's energy storage margin, wait for charging until the next day's charging margin or do not charge according to the charging method; if the next day's energy storage margin If it is greater than the previous day's energy storage margin, wait for charging to the next day's energy storage margin or the current day's charging margin according to the charging method.

分布式光伏的输出阶段除了从开始输出功率至满足负荷需求这段时间外,随着下午日照强调的下降,分布式光伏的输出功率又可能出现不满足负荷需求,且与负荷需求差值越来越大的时间段,在出现这类情况时,根据储能系统的当前储能量,还分以下几种情况:In the output stage of distributed photovoltaics, in addition to the period from the beginning of output power to meeting the load demand, as the afternoon sunshine intensity decreases, the output power of distributed photovoltaics may not meet the load demand, and the difference between the load demand and the load demand is getting worse. The larger the time period, when such a situation occurs, according to the current storage energy of the energy storage system, it can be divided into the following situations:

A)、在当前日储能系统停止充电时被充电到等于当前日储能裕量后,即储能系统已经被充电到当前日储能裕量,若分布式光伏的输出功率与外界获得功率(外界获得功率为向分布式光伏和储能系统放电的V2G电动汽车所提供的功率)之和出现不满足当前日负荷需求的情况,由于次日储能裕量不能在当前日被消耗,所以分布式光伏和储能系统立刻从电网购电,使得当前日分布式光伏和储能系统的总输出功率达到输出功率平稳值。A) After the energy storage system is charged to the current daily energy storage margin when the energy storage system stops charging, that is, the energy storage system has been charged to the current daily energy storage margin. (The power obtained from the outside world is the power provided by the V2G electric vehicle that discharges the distributed photovoltaic and energy storage system) and the sum does not meet the current daily load demand. Since the next day's energy storage margin cannot be consumed in the current day, so The distributed photovoltaic and energy storage system immediately purchases electricity from the grid, so that the total output power of the distributed photovoltaic and energy storage system reaches a stable output power value.

B)、在当前日储能系统停止充电时被充电到大于次日储能裕量且小于当前日充电裕量后,即储能系统已经被充电到次日储能裕量,但还没有达到当前日充电裕量。若分布式光伏的输出功率与外界获得功率之和出现不满足当前日负荷需求的情况,由于高于次日储能裕量的储能量是可以被消耗的,所以控制储能系统利用停止充电时储能系统的储能量同时输出功率,直至储能系统的实时储能量降低至次日储能裕量,停止储能系统输出功率,此后,分布式光伏和储能系统立刻从电网购电。B) When the energy storage system stops charging on the current day, it is charged to be greater than the next day's energy storage margin and less than the current day's charging margin, that is, the energy storage system has been charged to the next day's energy storage margin, but has not yet reached The current charging margin. If the sum of the output power of distributed photovoltaics and the power obtained from the outside does not meet the current daily load demand, since the stored energy higher than the energy storage margin of the next day can be consumed, the energy storage system is controlled to use when charging is stopped. The stored energy of the energy storage system outputs power at the same time until the real-time stored energy of the energy storage system is reduced to the energy storage margin of the next day, and the output power of the energy storage system is stopped. After that, the distributed photovoltaic and energy storage system immediately purchases electricity from the grid.

C)、在当前日储能系统停止充电时被充电到等于当前日充电裕量后,即储能系统已经被充电到当前日充电裕量,若分布式光伏的输出功率与外界获得功率之和出现不满足当前日负荷需求的情况,由于高于次日储能裕量的储能量是可以被消耗的,所以控制储能系统利用当前日充电裕量同时输出功率,直至储能系统的实时存储量降低至次日储能裕量,停止储能系统输出功率,此后,分布式光伏和储能系统立刻从电网购电。C) After the current daily energy storage system stops charging and is charged to be equal to the current daily charging margin, that is, the energy storage system has been charged to the current daily charging margin, if the sum of the output power of the distributed photovoltaic and the power obtained from the outside If the current daily load demand is not met, since the stored energy higher than the next day’s energy storage margin can be consumed, the energy storage system is controlled to use the current daily charging margin to output power at the same time until the real-time storage of the energy storage system The energy storage capacity is reduced to the next day's energy storage margin, and the output power of the energy storage system is stopped. After that, the distributed photovoltaic and energy storage systems immediately purchase electricity from the grid.

2)、对于充电阶段:当储能系统停止输出功率后,若分布式光伏的实时输出功率与外界获得功率之和大于当前日负荷需求,即分布式光伏的实时功率与外界获得功率之和更大,超过了负荷需求,则分布式光伏与外界获得功率共同开始向储能系统充电,而并不并网发电,直至储能系统达到次日储能裕量或者当前日充电裕量时,停止向储能系统充电。这其中的决定因素在于分布式光伏的实时功率与外界获得功率之和是否持续大于当前日负荷需求。分布式光伏的实时功率与外界获得功率之和持续大于当前日负荷需求时间较长,储能系统被充电到次日储能裕量时,分布式光伏的实时功率与外界获得功率之和仍然大于当前日负荷需求,则继续被充电到当前日充电裕量,此时停止充电,分布式光伏开始向电网输出功率,以并网发电赚取收益。2) For the charging phase: when the energy storage system stops outputting power, if the sum of the real-time output power of distributed photovoltaics and the power obtained from the outside world is greater than the current daily load demand, that is, the sum of the real-time power of distributed photovoltaics and the power obtained from the outside world will be higher. If it exceeds the load demand, the distributed PV and external power will start to charge the energy storage system together, instead of connecting to the grid for power generation, until the energy storage system reaches the next day's energy storage margin or the current day's charging margin, it will stop. Charge the energy storage system. The decisive factor is whether the sum of the real-time power of distributed photovoltaics and the power obtained from the outside world is continuously greater than the current daily load demand. The sum of the real-time power of distributed photovoltaics and the power obtained from the outside continues to exceed the current daily load demand for a long time. When the energy storage system is charged to the energy storage margin of the next day, the sum of the real-time power of distributed photovoltaics and the power obtained from the outside is still greater than The current daily load demand will continue to be charged to the current daily charging margin. At this time, the charging will be stopped, and the distributed photovoltaic will begin to output power to the grid to earn income through grid-connected power generation.

另一种情况,当储能系统停止输出功率后,若分布式光伏的实时输出功率与外界获得功率之和不大于当前日负荷需求,即分布式光伏的实时输出功率与外界获得功率之和刚好满足负荷需求,并没有多余的输出功率,那么分布式光伏与外界获得功率均不向储能系统充电,整个系统也不向电网购电,因为此时电网的电价处于峰时段电价,其价格较高,而储能系统此后也无需再输出功率,暂时不需要储能,因此分布式光伏和储能系统可以选择在谷时段,电价较低时从电网购电向储能系统充电,直至储能系统达到次日储能裕量即可,无需充电到当前日充电裕量。In another case, when the energy storage system stops outputting power, if the sum of the real-time output power of distributed photovoltaics and the power obtained from the outside world is not greater than the current daily load demand, that is, the sum of the real-time output power of distributed photovoltaics and the power obtained from the outside world is exactly To meet the load demand, there is no redundant output power, then neither the distributed photovoltaic nor the power obtained from the outside will charge the energy storage system, and the whole system will not purchase electricity from the grid, because the electricity price of the grid is at the peak time electricity price at this time, and its price is relatively low. High, and the energy storage system does not need to output power anymore, and energy storage is not needed for the time being, so the distributed photovoltaic and energy storage system can choose to purchase electricity from the grid to charge the energy storage system during the off-peak period when the electricity price is low, until the energy storage The system only needs to reach the energy storage margin of the next day, and does not need to be charged to the current day's charging margin.

在具体的分布式光伏向储能系统充电的过程中,还分以下几种情况:In the specific process of charging the energy storage system from distributed photovoltaics, there are several situations as follows:

E)、若分布式光伏的输出功率与外界获得功率之和出现不满足当前日负荷需求,且储能系统还未达到次日储能裕量的情况,即分布式光伏的实时功率与外界获得功率之和大于负荷需求,正在向储能系统充电,但因为各个方面的因素,例如天气突变,分布式光伏的实时功率下降了,不再满足负荷需求,或者是刚好满足负荷需求,没有多余的输出功率为储能系统充电。则分布式光伏与外界获得功率立即停止向储能系统充电,此后,分布式光伏和储能系统在谷时段从电网购电向储能系统充电,或者是分布式光伏后续的实时功率与外界获得功率之和又大于负荷需求,那么继续向储能系统充电,而不是由分布式光伏和储能系统在谷时段从电网购电向储能系统充电。无论哪种方式,都直至储能系统达到次日储能裕量为止。E) If the sum of the output power of distributed photovoltaics and the power obtained from the outside does not meet the current daily load demand, and the energy storage system has not yet reached the energy storage margin for the next day, that is, the real-time power of distributed photovoltaics and the power obtained from the outside The sum of the power is greater than the load demand, and the energy storage system is being charged, but due to various factors, such as sudden changes in the weather, the real-time power of distributed photovoltaics has dropped, and the load demand is no longer met, or it just meets the load demand, and there is no excess The output power charges the energy storage system. Then the distributed photovoltaic and the outside world will immediately stop charging the energy storage system. After that, the distributed photovoltaic and energy storage system will purchase electricity from the grid to charge the energy storage system during off-peak hours, or the subsequent real-time power of the distributed photovoltaic and the external If the sum of the power is greater than the load demand, then continue to charge the energy storage system instead of charging the energy storage system by purchasing electricity from the grid during off-peak hours by the distributed photovoltaic and energy storage system. Either way, until the energy storage system reaches the energy storage margin of the next day.

F)、分布式光伏向储能系统充电的过程中,若分布式光伏的输出功率与外界获得功率之和出现不满足当前日负荷需求,且储能系统达到当前日储能裕量的情况,即分布式光伏的实时功率与外界获得功率之和大于负荷需求,正在向储能系统充电且储能系统达到次日储能裕量,但因为各个方面的因素,例如天气突变,分布式光伏的实时功率下降了,不再满足负荷需求,或者是刚好满足负荷需求,没有多余的输出功率为储能系统充电。则分布式光伏与外界获得功率停止向储能系统充电,储能系统不再接收充电,即使后续分布式光伏后续的实时功率与外界获得功率之和又大于负荷需求,也不继续向储能系统充电。F) During the process of charging the energy storage system from distributed photovoltaics, if the sum of the output power of distributed photovoltaics and the power obtained from the outside does not meet the current daily load demand, and the energy storage system reaches the current daily energy storage margin, That is, the sum of the real-time power of distributed photovoltaics and the power obtained from the outside is greater than the load demand, and the energy storage system is being charged and the energy storage system has reached the energy storage margin for the next day. However, due to various factors, such as sudden changes in weather, the distributed photovoltaic The real-time power has dropped, and it no longer meets the load demand, or just meets the load demand, and there is no excess output power to charge the energy storage system. Then the distributed photovoltaic and the external power will stop charging the energy storage system, and the energy storage system will no longer receive charging. Charge.

G)、分布式光伏向储能系统充电的过程中,若分布式光伏的输出功率与外界获得功率之和始终满足当前日负荷需求,即分布式光伏的实时功率与外界获得功率之和一直高于负荷需求,则分布式光伏向储能系统充电,直至储能系统达到当前日充电裕量,储能系统不再接收充电。G) In the process of charging the energy storage system by distributed photovoltaics, if the sum of the output power of distributed photovoltaics and the external power always meets the current daily load demand, that is, the sum of the real-time power of distributed photovoltaics and the external power is always high To meet the load demand, the distributed photovoltaic will charge the energy storage system until the energy storage system reaches the current daily charging margin, and the energy storage system will no longer receive charging.

H)、分布式光伏和外界获得功率共同向储能系统充电的过程中,若分布式光伏的输出功率始终满足当前日负荷需求,即分布式光伏单独输出功率就已经满足了当前日负荷需求,那么则外界获得功率直接向储能系统充电,直至储能系统达到当前日充电裕量,储能系统不再接收充电。H), during the process of charging the energy storage system with the power obtained from distributed photovoltaics and the outside world, if the output power of distributed photovoltaics always meets the current daily load demand, that is, the output power of distributed photovoltaics alone has already met the current daily load demand. Then, the external power is directly charged to the energy storage system until the energy storage system reaches the current daily charging margin, and the energy storage system no longer receives charging.

在一种可能的实施例中,可定义成本最小目标的函数f为;In a possible embodiment, the function f of the minimum cost objective can be defined as:

Figure BDA0003930067660000171
Figure BDA0003930067660000171

上式中,C1(t)表示分布式光伏设备、储能系统设备的折旧成本,C2(t)表示分布式光伏设备、储能系统设备的维护成本,C3(t)表示分布式光伏和储能系统向电网购电的成本。其中,分布式光伏和储能系统向电网购电的成本是指:分布式光伏和储能系统向电网和V2G电动汽车购电的费用,与分布式光伏和储能系统向电网并网发电以及向V2G电动汽车发电赚取收益之间的差值,分布式光伏和储能系统向电网购电的成本为正值,表示向电网和V2G电动汽车购电的费用大于发电赚取收益,为负值表示向电网和V2G电动汽车购电的费用小于发电赚取收益。In the above formula, C 1 (t) represents the depreciation cost of distributed photovoltaic equipment and energy storage system equipment, C 2 (t) represents the maintenance cost of distributed photovoltaic equipment and energy storage system equipment, and C 3 (t) represents the distributed The cost of purchasing electricity from the grid for photovoltaic and energy storage systems. Among them, the cost of distributed photovoltaic and energy storage system to purchase electricity from the grid refers to: the cost of distributed photovoltaic and energy storage system to purchase electricity from the grid and V2G electric vehicles, and the cost of distributed photovoltaic and energy storage The difference between earning income from power generation for V2G electric vehicles, the cost of purchasing electricity from the grid for distributed photovoltaic and energy storage systems is positive, indicating that the cost of purchasing electricity from the grid and V2G electric vehicles is greater than the income earned by power generation, which is negative The value indicates that the cost of purchasing electricity from the grid and V2G electric vehicles is less than generating income.

其中,分布式光伏和储能系统向电网购电的成本C3(t)的表达式为:Among them, the expression of the cost C 3 (t) of the distributed photovoltaic and energy storage system to purchase electricity from the grid is:

C3(t)=(ki1(t)wi1(t)+ki2(t)wi2(t)-kj1(t)wj1(t)-kj2(t)C 3 (t)=(k i1 (t)w i1 (t)+k i2 (t)w i2 (t)-k j1 (t)w j1 (t)-k j2 (t)

wj2(t))△tw j2 (t))△t

上式中,ki1(t)表示t时段向电网购电电价,wi1(t)表示t时段分布式光伏和储能系统向电网购电的功率,ki2(t)表示t时段向V2G电动汽车购电电价,wi2(t)表示t时段分布式光伏和储能系统向V2G电动汽车购电的功率,kj1(t)表示t时段向电网发电电价,wj1(t)表示t时段分布式光伏和储能系统向电网并网的输出功率,kj2(t)表示t时段向V2G电动汽车发电电价,wj2(t)表示t时段分布式光伏和储能系统向V2G电动汽车发电的输出功率,△t表示时间段。In the above formula, k i1 (t) represents the price of electricity purchased from the grid during the t period, w i1 (t) represents the power purchased by the distributed photovoltaic and energy storage system from the grid during the t period, and k i2 (t) represents the power purchased from the V2G The power purchase price of electric vehicles, w i2 (t) represents the power purchased by the distributed photovoltaic and energy storage system from V2G electric vehicles during the t period, k j1 (t) represents the power generation price to the grid during the t period, and w j1 (t) represents the t The output power of the distributed photovoltaic and energy storage system to the grid during the time period, k j2 (t) represents the price of electricity generated by the V2G electric vehicle during the t period, and w j2 (t) represents the power generated by the distributed photovoltaic and energy storage system for the V2G electric vehicle during the t period The output power of power generation, Δt represents the time period.

这其中,t时段分布式光伏和储能系统的购电功率wi1(t)根据t时段对应的储能裕量的缺口量、t时段分布式光伏和储能系统向V2G电动汽车购电的功率wi2(t)以及负荷需求值的缺口量决定,而t时段对应的储能裕量的缺口量的取值,是根据次日储能裕量与储能系统当前充电存储量之间的差值决定。负荷需求的缺口量的取值,根据t时段对应的分布式光伏的输出功率与t时段分布式光伏和储能系统向V2G电动汽车购电的功率wi2(t)之和,与t时段对应的负荷需求之间的差值决定。Among them, the purchased power w i1 (t) of the distributed photovoltaic and energy storage system during the t period is based on the gap of the energy storage margin corresponding to the t period, and the power purchased by the distributed photovoltaic and energy storage system from the V2G electric vehicle during the t period w i2 (t) and the gap of the load demand value are determined, and the value of the gap of the energy storage margin corresponding to the t period is based on the difference between the energy storage margin of the next day and the current charging storage capacity of the energy storage system Value decides. The value of the load demand gap is based on the sum of the output power of distributed photovoltaics corresponding to period t and the power w i2 (t) purchased by distributed photovoltaics and energy storage systems from V2G electric vehicles during period t, corresponding to period t determined by the difference between the load demands.

t时段分布式光伏和储能系统向电网的并网输出功率wj1(t)与向V2G电动汽车发电的输出功率之和,根据优化得到储能系统的当前日充电裕量,和t时段对应的分布式光伏的输出功率决定。The sum of the grid-connected output power w j1 (t) of the distributed photovoltaic and energy storage system to the grid and the output power generated by the V2G electric vehicle during the t period is optimized to obtain the current daily charging margin of the energy storage system, which corresponds to the t period The output power of distributed photovoltaic is determined.

基于上述成本最小的计算方式,在一种可能的实施例中,步骤105的具体方法可以包括:Based on the above-mentioned minimum cost calculation method, in a possible embodiment, the specific method of step 105 may include:

步骤S1:选取当前日分布式光伏的输出功率曲线中后段曲线,并划分多个t时段,后段曲线是指当前日分布式光伏的输出功率与外界获得功率之和,从满足当前日负荷需求值至分布式光伏不再输出功率的时间段对应的曲线;Step S1: Select the latter curve of the output power curve of the current daily distributed photovoltaic, and divide it into multiple t periods. The latter curve refers to the sum of the output power of the current daily distributed photovoltaic and the power obtained from the outside world, from meeting the current daily load The curve corresponding to the time period from the demand value to the time period when the distributed photovoltaic no longer outputs power;

步骤S2:根据当前日储能裕量、后段曲线以及储能系统的满充充电量,通过分布式光伏和储能系统向电网购电的成本C3(t)的表达式,计算得到多个t时段购电的成本,同时通过所述分布式光伏设备、储能系统设备的折旧成本C1(t)的表达式、所述分布式光伏设备、储能系统设备的维护成本C2(t)的表达式分别计算得到多个t时段折旧成本、维护成本;Step S2: According to the current daily energy storage margin, the subsequent curve and the full charge capacity of the energy storage system, through the expression of the cost C 3 (t) of the distributed photovoltaic and energy storage system to purchase electricity from the grid, calculate how much The cost of electricity purchase in a period of time t, at the same time through the expression of the depreciation cost C 1 (t) of the distributed photovoltaic equipment and energy storage system equipment, the maintenance cost C 2 ( The expression of t) is calculated respectively to obtain the depreciation cost and maintenance cost of multiple t periods;

步骤S2:以多个t时段购电的成本、折旧成本、维护成本,为遗传算法的初始解;Step S2: The initial solution of the genetic algorithm is the cost of electricity purchase, depreciation cost, and maintenance cost for multiple t periods;

步骤S3:以初始解为基础,通过成本最小目标的函数公式,计算得到多个t时段购电的成本、折旧成本、维护成本各自成本的一代最优值和成本最小的一代最小值;Step S3: Based on the initial solution, through the function formula of the minimum cost objective, calculate the optimal value of the first generation of the cost of power purchase, depreciation cost, and maintenance cost for multiple t periods, and the minimum value of the generation with the smallest cost;

步骤S4:对多个t时段购电的成本、折旧成本、维护成本各自成本的一代最优值和成本最小的一代最小值进行计算,得到对应的质心;Step S4: Calculate the first-generation optimal value and the smallest cost generation minimum value of the cost of power purchase, depreciation cost, and maintenance cost for multiple t-periods to obtain the corresponding centroid;

步骤S5:根据质心,进行繁殖以产生新群体;Step S5: Propagate according to the centroid to generate a new population;

步骤S6:根据繁殖产生的新群体中每对集合,通过交叉生成两个后代;Step S6: According to each pair of sets in the new population generated by breeding, generate two offspring by crossover;

步骤S7:设q是变异的概率,则变异的操作是通过对集合上的某一元素随机更换而完成的;Step S7: Let q be the probability of mutation, then the operation of mutation is completed by randomly replacing an element on the set;

步骤S8:经过“交叉”与“变异”操作后,生成了新的解,新的解表征对储能系统的满充充电量优化后得到的储能系统的当前日充电裕量;Step S8: After the "crossover" and "mutation" operations, a new solution is generated, and the new solution represents the current daily charging margin of the energy storage system obtained after optimizing the full charge of the energy storage system;

步骤S9:以新的解为遗传算法的初始解,采样迭代算法重复步骤S3~S9,并在每一次迭代运算后均检测是否满足结束条件,结束条件为迭代次数上限达标,或成本最小的函数值小于预设函数值。Step S9: Taking the new solution as the initial solution of the genetic algorithm, the sampling iterative algorithm repeats steps S3-S9, and checks whether the end condition is met after each iterative operation. The value is less than the preset function value.

在得到新的解之后,再以新的解作为遗传算法的初始解,不依照进化代数和最大化代数进行重复操作,而是采用迭代算法重复步骤S3~S9,并在每一次迭代运算后均检测是否满足结束条件,结束条件为迭代次数上限达标,或成本最小的函数值小于预设函数值。例如:预设函数值为10,那么当某一次迭代运算后成本最小的函数值小于10,则结束遗传算法。After obtaining the new solution, use the new solution as the initial solution of the genetic algorithm, do not repeat the operation according to the evolution algebra and the maximization algebra, but use an iterative algorithm to repeat steps S3-S9, and after each iteration operation Detect whether the end condition is met, the end condition is that the upper limit of the number of iterations is reached, or the function value with the smallest cost is less than the preset function value. For example: the preset function value is 10, then when the function value with the smallest cost is less than 10 after a certain iterative operation, the genetic algorithm ends.

该实施例中所提到的遗传算法,区别于现有的遗传算法,无需设置进化代数和最大化代数,“交叉”与“变异”操作后生成新解后,也不再依照进化代数和最大化代数进行重复操作,而是采用迭代算法重复步骤S3~S9,并检测是否满足迭代算法的结束条件,在满足结束条件时直接结束从而缩减了遗传算法的运算量,提高了优化得到当前日充电裕量以及并网发电量的效率性、快速性、精准性。The genetic algorithm mentioned in this embodiment is different from the existing genetic algorithm. It does not need to set the evolution algebra and the maximization algebra. Instead of performing repeated operations using algebra, the iterative algorithm is used to repeat steps S3 to S9, and it is checked whether the end condition of the iterative algorithm is met. When the end condition is met, it is directly ended, thereby reducing the amount of calculation of the genetic algorithm and improving the current daily charging rate obtained by optimization. Efficiency, rapidity, and accuracy of margin and grid-connected power generation.

基于上述算法,在一种可能的实施例中,迭代算法的具体方法为:Based on the above algorithm, in a possible embodiment, the specific method of the iterative algorithm is:

对于基于任一一组初始解XJi生成的新的解XJi′,若f(XJi)≥f(XJi′),则直接接受此新的解XJi′;For a new solution XJ i ′ generated based on any set of initial solutions XJ i , if f(XJ i )≥f(XJ i ′), then accept the new solution XJ i ′ directly;

若f(XJi)<f(XJi′),则新的解XJi′的接受概率E由以下公式得出:If f(XJ i )<f(XJ i ′), then the acceptance probability E of the new solution XJ i ′ is obtained by the following formula:

Figure BDA0003930067660000201
Figure BDA0003930067660000201

上式中,Rw为迭代算法迭代n次后的“热度”,并且到迭代算法迭代的后期,随着Rw的不断减小,当f(XJi)-f(XJi′)的值一定时,E的值将会逐渐减小,使迭代算法趋于稳定;In the above formula, R w is the "heat" after the iterative algorithm iterates n times, and in the later stage of the iterative algorithm iteration, as R w decreases, when the value of f(XJ i )-f(XJ i ′) At a certain time, the value of E will gradually decrease, so that the iterative algorithm tends to be stable;

每完成一次迭代后将会对Rw进行“热度下降”操作,热度下降操作对应的公式为:After each iteration is completed, the "heat drop" operation will be performed on R w . The formula corresponding to the heat drop operation is:

Figure BDA0003930067660000202
Figure BDA0003930067660000202

其中MT为迭代算法的迭代次数上限。根据出行计划,调整储能系统等等Where MT is the upper limit of iterations of the iterative algorithm. According to the travel plan, adjust the energy storage system, etc.

基于上述分布式光伏和储能系统的储能量优化方法,本发明实施例还提出一种分布式光伏和储能系统的储能量优化装置,参照图2,储能量优化装置包括:Based on the energy storage optimization method of the above-mentioned distributed photovoltaic and energy storage system, an embodiment of the present invention also proposes an energy storage optimization device for a distributed photovoltaic and energy storage system. Referring to Figure 2, the energy storage optimization device includes:

运算模块210,用于根据历史负荷数据、分布式光伏输出功率历史数据,运算得到每日分布式光伏的输出功率曲线和每日负荷需求曲线,不同日的分布式光伏的输出功率曲线和负荷需求曲线对应不同的光照时间和光照强度;The calculation module 210 is used to calculate and obtain the daily output power curve and daily load demand curve of distributed photovoltaic, and the output power curve and load demand curve of distributed photovoltaic on different days according to historical load data and distributed photovoltaic output power historical data The curves correspond to different lighting time and light intensity;

模型曲线模块220,用于基于每日分布式光伏的输出功率曲线、每日负荷需求曲线和储能系统寿命和容量关系,构建储能裕量模型,并对储能裕量模型进行运算,得到优化后的每日储能裕量和输出功率、负荷需求关系的特征曲线;The model curve module 220 is used to construct an energy storage margin model based on the daily distributed photovoltaic output power curve, the daily load demand curve, and the relationship between the life and capacity of the energy storage system, and perform calculations on the energy storage margin model to obtain The optimized daily energy storage margin and the characteristic curve of the relationship between output power and load demand;

确定次日曲线模块230,用于根据相邻两天的光照时间和光照强度,结合所述每日分布式光伏的输出功率曲线和所述每日负荷需求曲线,确定次日分布式光伏的输出功率曲线和次日负荷需求曲线;Determine the next day's curve module 230, which is used to determine the output of the next day's distributed photovoltaic according to the illumination time and intensity of the adjacent two days, combined with the output power curve of the daily distributed photovoltaic and the daily load demand curve Power curve and next day load demand curve;

确定储能裕量模块240,用于根据次日分布式光伏的输出功率曲线、次日负荷需求曲线和特征曲线,确定分布式光伏和储能系统中储能系统的次日储能裕量;Determine the energy storage margin module 240, which is used to determine the next day's energy storage margin of the energy storage system in the distributed photovoltaic and energy storage system according to the output power curve of the next day's distributed photovoltaic, the next day's load demand curve and the characteristic curve;

优化模块250,用于根据次日储能裕量和当前日分布式光伏的输出功率曲线,以V2G电动汽车参与分布式光伏和储能系统充放电情况下的成本最小为目标,优化得到储能系统的当前日充电裕量,当前日充电裕量的值大于当前日储能裕量的值;The optimization module 250 is used to optimize the energy storage according to the next day's energy storage margin and the current output power curve of distributed photovoltaics, with the goal of minimizing the cost of V2G electric vehicles participating in the charging and discharging of distributed photovoltaics and energy storage systems. The current daily charging margin of the system, the value of the current daily charging margin is greater than the value of the current daily energy storage margin;

控制模块260,用于在当前日分布式光伏开始输出功率时,控制储能系统同时输出功率,使得当前日分布式光伏和储能系统的总输出功率达到输出功率平稳值,输出功率平稳值满足稳定性指标,其中,在当前日储能系统停止输出功率后,确定储能系统的充电方式以对储能系统进行充电,直至储能系统达到次日储能裕量或者当前日充电裕量时,储能系统停止充电。The control module 260 is used to control the output power of the energy storage system at the same time when the distributed photovoltaic starts to output power in the current day, so that the total output power of the distributed photovoltaic and energy storage system in the current day reaches a stable value of output power, and the stable value of output power satisfies Stability index, wherein, after the energy storage system stops output power on the current day, determine the charging method of the energy storage system to charge the energy storage system until the energy storage system reaches the next day's energy storage margin or the current day's charging margin , the energy storage system stops charging.

基于上述分布式光伏和储能系统的储能量优化方法,本发明实施例还提出一种电子设备,包括:Based on the energy storage optimization method of the above-mentioned distributed photovoltaic and energy storage system, an embodiment of the present invention also proposes an electronic device, including:

至少一个处理器;以及,与所述至少一个处理器通信连接的存储器;其中,所述存储器存储有可被所述至少一个处理器执行的指令,所述指令被所述至少一个处理器执行,以使所述至少一个处理器能够执行如步骤101~步骤106中任意一项所述的分布式光伏和储能系统的储能量优化方法。at least one processor; and, a memory connected in communication with the at least one processor; wherein the memory stores instructions executable by the at least one processor, the instructions are executed by the at least one processor, To enable the at least one processor to execute the energy storage optimization method for a distributed photovoltaic and energy storage system as described in any one of steps 101 to 106.

基于上述分布式光伏和储能系统的储能量优化方法,本发明实施例还提出一种计算机可读存储介质,存储有计算机程序,所述计算机程序被处理器执行时实现如步骤101~步骤106中任一项所述的分布式光伏和储能系统的储能量优化方法。Based on the energy storage optimization method of the above-mentioned distributed photovoltaic and energy storage system, an embodiment of the present invention also proposes a computer-readable storage medium storing a computer program, and when the computer program is executed by a processor, steps 101 to 106 are implemented. The energy storage optimization method of any one of the distributed photovoltaic and energy storage systems.

通过上述示例,本发明提供的分布式光伏和储能系统的储能量优化方法,首先构建一个储能裕量模型,并对储能裕量模型进行运算,得到优化后的每日储能裕量和输出功率、负荷需求关系的特征曲线。其次确定次日分布式光伏的输出功率曲线和次日负荷需求曲线以及储能系统的次日储能裕量。Through the above example, the energy storage optimization method of the distributed photovoltaic and energy storage system provided by the present invention first constructs an energy storage margin model, and performs calculations on the energy storage margin model to obtain the optimized daily energy storage margin The characteristic curve of the relationship between output power and load demand. Secondly, determine the output power curve of the next day's distributed photovoltaic, the next day's load demand curve, and the next day's energy storage margin of the energy storage system.

再根据次日储能裕量和当前日分布式光伏的输出功率曲线,以成本最小为目标,优化得到储能系统的当前日充电裕量;最后在当前日分布式光伏开始输出功率时控制储能系统同时输出功率,使得当前日分布式光伏和储能系统的总输出功率达到输出功率平稳值且满足稳定性指标。Then, according to the next day’s energy storage margin and the current daily output power curve of distributed photovoltaics, with the goal of minimizing the cost, optimize the current daily charging margin of the energy storage system; The energy system can output power at the same time, so that the total output power of the current daily distributed photovoltaic and energy storage system reaches the output power stable value and meets the stability index.

本发明精细的结合分布式光伏输出功率特点、储能系统寿命和容量特征、成本因素等多方面内容,以成本最小为目标,优化每日储能裕量与输出功率、负荷需求关系曲线之间的关系,优化当前日充电裕量,得到更精准的储能系统当日储能量以及并网发电量,使得分布式光伏和储能系统的总输出功率满足稳定性指标,并且整个过程的计算量少,运算简单,计算用时较少,控制逻辑简便,具有较高的实用性价值。The present invention finely combines the characteristics of distributed photovoltaic output power, energy storage system life and capacity characteristics, cost factors and other aspects, with the goal of minimizing the cost, and optimizes the relationship between the daily energy storage margin and the output power and load demand curve. relationship, optimize the current daily charging margin, and obtain more accurate daily energy storage and grid-connected power generation of the energy storage system, so that the total output power of the distributed photovoltaic and energy storage system meets the stability index, and the calculation of the whole process is less , the calculation is simple, the calculation time is less, the control logic is simple, and it has high practical value.

需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者装置不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者装置所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者装置中还存在另外的相同要素。It should be noted that, in this document, the term "comprising", "comprising" or any other variation thereof is intended to cover a non-exclusive inclusion such that a process, method, article or apparatus comprising a set of elements includes not only those elements, It also includes other elements not expressly listed, or elements inherent in the process, method, article, or device. Without further limitations, an element defined by the phrase "comprising a ..." does not preclude the presence of additional identical elements in the process, method, article, or apparatus comprising that element.

上面结合附图对本发明的实施例进行了描述,但是本发明并不局限于上述的具体实施方式,上述的具体实施方式仅仅是示意性的,而不是限制性的,本领域的普通技术人员在本发明的启示下,在不脱离本发明宗旨和权利要求所保护的范围情况下,还可做出很多形式,这些均属于本发明的保护之内。Embodiments of the present invention have been described above in conjunction with the accompanying drawings, but the present invention is not limited to the above-mentioned specific implementations, and the above-mentioned specific implementations are only illustrative, rather than restrictive, and those of ordinary skill in the art will Under the enlightenment of the present invention, many forms can also be made without departing from the gist of the present invention and the protection scope of the claims, and these all belong to the protection of the present invention.

Claims (10)

1.一种分布式光伏和储能系统的储能量优化方法,其特征在于,所述储能量优化方法包括:1. An energy storage optimization method for a distributed photovoltaic and energy storage system, characterized in that the energy storage optimization method comprises: 根据历史负荷数据、分布式光伏输出功率历史数据,运算得到每日分布式光伏的输出功率曲线和每日负荷需求曲线,不同日的分布式光伏的输出功率曲线和负荷需求曲线对应不同的光照时间和光照强度;According to the historical load data and the historical data of distributed photovoltaic output power, the daily distributed photovoltaic output power curve and daily load demand curve are calculated, and the output power curve and load demand curve of distributed photovoltaic on different days correspond to different light hours and light intensity; 基于所述每日分布式光伏的输出功率曲线、所述每日负荷需求曲线和储能系统寿命和容量关系,构建储能裕量模型,并对所述储能裕量模型进行运算,得到优化后的每日储能裕量和输出功率、负荷需求关系的特征曲线;Based on the daily distributed photovoltaic output power curve, the daily load demand curve, and the relationship between the life and capacity of the energy storage system, construct an energy storage margin model, and perform calculations on the energy storage margin model to obtain optimization The characteristic curve of the relationship between daily energy storage margin, output power and load demand; 根据相邻两天的光照时间和光照强度,结合所述每日分布式光伏的输出功率曲线和所述每日负荷需求曲线,确定次日分布式光伏的输出功率曲线和次日负荷需求曲线;According to the illumination time and illumination intensity of two adjacent days, combined with the output power curve of the daily distributed photovoltaic and the daily load demand curve, determine the output power curve and the load demand curve of the next day distributed photovoltaic; 根据所述次日分布式光伏的输出功率曲线、所述次日负荷需求曲线和所述特征曲线,确定所述分布式光伏和储能系统中储能系统的次日储能裕量;According to the output power curve of the next-day distributed photovoltaic, the next-day load demand curve and the characteristic curve, determine the next-day energy storage margin of the energy storage system in the distributed photovoltaic and energy storage system; 根据所述次日储能裕量和当前日分布式光伏的输出功率曲线,以V2G电动汽车参与所述分布式光伏和储能系统充放电情况下的成本最小为目标,优化得到所述储能系统的当前日充电裕量,所述当前日充电裕量的值大于所述次日储能裕量的值;According to the next day's energy storage margin and the current daily distributed photovoltaic output power curve, the cost of the V2G electric vehicle participating in the charging and discharging of the distributed photovoltaic and energy storage system is the minimum, and the energy storage is optimized. The current daily charging margin of the system, the value of the current daily charging margin is greater than the value of the next day's energy storage margin; 在当前日所述分布式光伏开始输出功率时,控制所述储能系统同时输出功率,使得当前日所述分布式光伏和储能系统的总输出功率达到输出功率平稳值,所述输出功率平稳值满足稳定性指标,其中,在当前日所述储能系统停止输出功率后,确定所述储能系统的充电方式以对所述储能系统进行充电,直至所述储能系统达到所述次日储能裕量或者所述当前日充电裕量时,所述储能系统停止充电。When the distributed photovoltaic on the current day starts to output power, control the energy storage system to output power at the same time, so that the total output power of the distributed photovoltaic and energy storage system on the current day reaches a stable value of output power, and the output power is stable The value satisfies the stability index, wherein, after the energy storage system stops outputting power on the current day, determine the charging mode of the energy storage system to charge the energy storage system until the energy storage system reaches the When the daily energy storage margin or the current daily charging margin is exceeded, the energy storage system stops charging. 2.根据权利要求1所述的储能量优化方法,其特征在于,基于所述每日分布式光伏的输出功率曲线、所述每日负荷需求曲线和储能系统寿命和容量关系,构建储能裕量模型,并对所述储能裕量模型进行运算优化,得到每日储能裕量和输出功率、负荷需求关系的特征曲线,包括:2. The energy storage optimization method according to claim 1, characterized in that, based on the daily distributed photovoltaic output power curve, the daily load demand curve, and the relationship between the life and capacity of the energy storage system, an energy storage system is constructed. margin model, and optimize the calculation of the energy storage margin model to obtain the daily energy storage margin and the characteristic curve of the relationship between output power and load demand, including: 根据所述每日分布式光伏的输出功率曲线、所述每日负荷需求曲线,统计运算得到每日双输出功率曲线,所述每日双输出功率曲线表征该日分布式光伏开始输出功率至输出功率满足该日负荷需求这段时间内的功率变化曲线;According to the daily distributed photovoltaic output power curve and the daily load demand curve, statistical calculations can be used to obtain a daily double output power curve, and the daily double output power curve represents the distribution from the beginning of the output power to the output of the distributed photovoltaic on that day. The power change curve during the period when the power meets the daily load demand; 基于Adaboost算法构建模型,结合所述储能系统寿命和容量关系,对所述每日双输出功率曲线对应的储能裕量进行建模,并通过模型训练、交叉验证以及参数寻优的运算,得到优化后的每日储能裕量和输出功率、负荷需求关系曲线,其中,每日储能裕量用于在该日分布式光伏开始输出功率的同时输出功率,直至该日分布式光伏输出功率满足该日负荷需求时停止输出功率。Build a model based on the Adaboost algorithm, combine the life and capacity relationship of the energy storage system, model the energy storage margin corresponding to the daily dual output power curve, and through model training, cross-validation and parameter optimization operations, The optimized daily energy storage margin, output power, and load demand relationship curve are obtained, wherein the daily energy storage margin is used to output power at the same time when the distributed photovoltaic starts to output power on that day, until the distributed photovoltaic output on that day Stop output power when the power meets the daily load demand. 3.根据权利要求1所述的储能量优化方法,其特征在于,在当前日所述分布式光伏开始输出功率时,控制所述储能系统同时输出功率,使得当前日所述分布式光伏和储能系统的总输出功率达到输出功率平稳值,其中,在当前日所述储能系统停止输出功率后,确定所述储能系统的充电方式以对所述储能系统进行充电,直至所述储能系统达到所述次日储能裕量或者所述当前日充电裕量时,所述储能系统停止充电,包括:3. The energy storage optimization method according to claim 1, characterized in that, when the distributed photovoltaic starts to output power on the current day, the energy storage system is controlled to output power at the same time, so that the distributed photovoltaic and the distributed photovoltaic on the current day The total output power of the energy storage system reaches a stable value of output power, wherein, after the energy storage system stops output power on the current day, the charging mode of the energy storage system is determined to charge the energy storage system until the When the energy storage system reaches the next day's energy storage margin or the current day's charging margin, the energy storage system stops charging, including: 在当前日所述分布式光伏开始输出功率时,所述分布式光伏的输出功率不满足当前日负荷需求,控制所述储能系统利用当前日储能裕量输出功率,使得当前日所述分布式光伏和储能系统的总输出功率达到输出功率平稳值;When the distributed photovoltaic starts to output power on the current day, the output power of the distributed photovoltaic does not meet the current daily load demand, and the energy storage system is controlled to use the current daily energy storage margin to output power, so that the current day's distributed The total output power of the photovoltaic and energy storage system reaches a stable value of output power; 若有外界获得功率,则当所述分布式光伏输出功率与所述外界获得功率之和满足当前日负荷需求时,所述储能系统停止输出功率,此时所述当前日储能裕量大于0,所述外界获得功率为向所述分布式光伏和储能系统放电的V2G电动汽车所提供的功率;If there is external power, when the sum of the distributed photovoltaic output power and the external power meets the current daily load demand, the energy storage system stops outputting power. At this time, the current daily energy storage margin is greater than 0, the power obtained from the outside world is the power provided by the V2G electric vehicle that discharges to the distributed photovoltaic and energy storage system; 若没有所述外界获得功率,则当所述分布式光伏输出功率满足当前日负荷需求时,所述储能系统停止输出功率,此时所述当前日储能裕量接近0;If there is no power obtained from the outside world, when the distributed photovoltaic output power meets the current daily load demand, the energy storage system stops outputting power, and at this time, the current daily energy storage margin is close to 0; 当所述储能系统停止输出功率后,若所述分布式光伏的实时输出功率与外界获得功率之和大于所述当前日负荷需求,则所述分布式光伏和所述外界获得功率共同向所述储能系统充电,直至所述储能系统达到所述次日储能裕量或者所述当前日充电裕量时,停止向所述储能系统充电;After the energy storage system stops outputting power, if the sum of the real-time output power of the distributed photovoltaic and the external power is greater than the current daily load demand, the distributed photovoltaic and the external Charging the energy storage system until the energy storage system reaches the next day's energy storage margin or the current day's charging margin, stop charging the energy storage system; 所述分布式光伏停止向所述储能系统充电,且所述储能系统达到所述当前日充电裕量后,所述分布式光伏向电网输出功率,以并网发电;The distributed photovoltaic stops charging the energy storage system, and after the energy storage system reaches the current daily charging margin, the distributed photovoltaic outputs power to the grid for grid-connected power generation; 当所述储能系统停止输出功率后,若所述分布式光伏的实时输出功率与所述外界获得功率之和不大于所述当前日负荷需求,则所述分布式光伏和所述外界获得功率不向所述储能系统充电,此后,所述分布式光伏和储能系统在谷时段从所述电网购电向所述储能系统充电,直至所述储能系统达到所述次日储能裕量。After the energy storage system stops outputting power, if the sum of the real-time output power of the distributed photovoltaic and the external power is not greater than the current daily load demand, the distributed photovoltaic and the external power The energy storage system is not charged. After that, the distributed photovoltaic and energy storage system purchases electricity from the grid to charge the energy storage system during the off-peak period until the energy storage system reaches the next day's energy storage capacity. Margin. 4.根据权利要求3所述的储能量优化方法,其特征在于,所述分布式光伏和所述外界获得功率共同向所述储能系统充电,直至所述储能系统达到所述次日储能裕量或者所述当前日充电裕量时,停止向所述储能系统充电,包括:4. The energy storage optimization method according to claim 3, characterized in that, the distributed photovoltaic and the externally obtained power jointly charge the energy storage system until the energy storage system reaches the next day storage capacity. When the energy margin or the current daily charging margin, stop charging the energy storage system, including: 所述分布式光伏和所述外界获得功率共同向所述储能系统充电的过程中,若所述分布式光伏的输出功率出现不满足所述当前日负荷需求,且所述储能系统还未达到所述次日储能裕量的情况,则所述分布式光伏和所述外界获得功率停止向所述储能系统充电,此后,所述分布式光伏和储能系统在谷时段从所述电网购电向所述储能系统充电,直至所述储能系统达到所述次日储能裕量;During the process of charging the energy storage system with the distributed photovoltaic and the power obtained from the outside, if the output power of the distributed photovoltaic does not meet the current daily load demand, and the energy storage system has not yet When the next day’s energy storage margin is reached, the distributed photovoltaic and the external power will stop charging the energy storage system. After that, the distributed photovoltaic and energy storage system will start from the The grid purchases electricity to charge the energy storage system until the energy storage system reaches the energy storage margin for the next day; 所述分布式光伏和所述外界获得功率共同向所述储能系统充电的过程中,若所述分布式光伏的输出功率与所述外界获得功率之和出现不满足所述当前日负荷需求,且所述储能系统达到所述次日储能裕量的情况,则所述分布式光伏和所述外界获得功率停止向所述储能系统充电,所述储能系统不再接收充电;During the process of charging the energy storage system with the distributed photovoltaic and the external power, if the sum of the output power of the distributed photovoltaic and the external power does not meet the current daily load demand, And when the energy storage system reaches the energy storage margin of the next day, the distributed photovoltaic and the external power will stop charging the energy storage system, and the energy storage system will no longer receive charging; 所述分布式光伏和所述外界获得功率共同向所述储能系统充电的过程中,若所述分布式光伏的输出功率与所述外界获得功率之和始终满足所述当前日负荷需求,则所述分布式光伏和所述外界获得功率共同向所述储能系统充电,直至所述储能系统达到所述当前日充电裕量,所述储能系统不再接收充电;During the process of charging the energy storage system by the distributed photovoltaic and the power obtained from the outside, if the sum of the output power of the distributed photovoltaic and the power obtained from the outside always meets the current daily load demand, then The distributed photovoltaic and the externally obtained power jointly charge the energy storage system until the energy storage system reaches the current daily charging margin, and the energy storage system no longer receives charging; 所述分布式光伏和所述外界获得功率共同向所述储能系统充电的过程中,若所述分布式光伏的输出功率始终满足所述当前日负荷需求,则所述外界获得功率向所述储能系统充电,直至所述储能系统达到所述当前日充电裕量,所述储能系统不再接收充电。During the process of charging the energy storage system with the distributed photovoltaic and the power obtained from the outside, if the output power of the distributed photovoltaic always meets the current daily load demand, the power obtained from the outside will be supplied to the The energy storage system is charged until the energy storage system reaches the current daily charging margin, and the energy storage system no longer receives charging. 5.根据权利要求3所述的储能量优化方法,其特征在于,在当前日所述分布式光伏开始输出功率时,控制所述储能系统同时输出功率,使得当前日所述分布式光伏和储能系统的总输出功率达到输出功率平稳值,包括:5. The energy storage optimization method according to claim 3, characterized in that, when the distributed photovoltaic starts to output power on the current day, the energy storage system is controlled to output power at the same time, so that the distributed photovoltaic and the distributed photovoltaic on the current day The total output power of the energy storage system reaches a stable output power value, including: 在当前日所述储能系统停止充电后被充电到等于所述次日储能裕量后,若所述分布式光伏的输出功率与所述外界获得功率之和出现不满足所述当前日负荷需求的情况,则所述分布式光伏和储能系统立刻从所述电网购电,使得当前日所述分布式光伏和储能系统的总输出功率达到输出功率平稳值;After the energy storage system stops charging on the current day and is charged to be equal to the energy storage margin of the next day, if the sum of the output power of the distributed photovoltaic and the power obtained from the outside does not meet the current daily load demand, the distributed photovoltaic and energy storage system immediately purchases electricity from the grid, so that the total output power of the distributed photovoltaic and energy storage system reaches a stable output power value on the current day; 在当前日所述储能系统停止充电后被充电到大于所述次日储能裕量且小于所述当前日充电裕量后,若所述分布式光伏的输出功率与所述外界获得功率之和出现不满足所述当前日负荷需求的情况,则控制所述储能系统利用停止充电时的储能量同时输出功率,直至所述储能系统的实时储能量降低至所述次日储能裕量,停止所述储能系统输出功率,此后,所述分布式光伏和储能系统立刻从所述电网购电;After the energy storage system stops charging on the current day and is charged to be greater than the next day’s energy storage margin and less than the current day’s charging margin, if the output power of the distributed photovoltaic and the power obtained from the outside And if the current daily load demand is not met, the energy storage system is controlled to output power simultaneously using the stored energy when charging is stopped until the real-time stored energy of the energy storage system is reduced to the next day’s energy storage margin. amount, stop the output power of the energy storage system, after that, the distributed photovoltaic and energy storage system immediately purchase electricity from the grid; 在当前日所述储能系统停止充电后被充电到等于所述当前日充电裕量后,若所述分布式光伏的输出功率与所述外界获得功率之和出现不满足所述当前日负荷需求的情况,则控制所述储能系统利用所述当前日充电裕量同时输出功率,直至所述储能系统的实时储能量降低至所述次日储能裕量,停止所述储能系统输出功率,此后,所述分布式光伏和储能系统立刻从所述电网购电。After the energy storage system stops charging on the current day and is charged to be equal to the current daily charging margin, if the sum of the distributed photovoltaic output power and the external power does not meet the current daily load demand In the case of an emergency, the energy storage system is controlled to output power at the same time using the current daily charging margin until the real-time energy storage of the energy storage system is reduced to the next day’s energy storage margin, and the output of the energy storage system is stopped. After that, the distributed photovoltaic and energy storage system immediately purchases electricity from the grid. 6.根据权利要求3所述的储能量优化方法,其特征在于,所述稳定性指标S的表达式如下:6. The energy storage optimization method according to claim 3, wherein the expression of the stability index S is as follows:
Figure FDA0003930067650000041
Figure FDA0003930067650000041
上式中,N表示每日的日升时间至日落时间之间的时间段,w1(t)表示所述每日分布式光伏的输出功率曲线上在t时段的输出功率,p表示所述当前日储能裕量,w2表示根据分布式光伏输出功率历史数据运算得到的分布式光伏的平均输出功率,w3表示每日从日升时间至日落时间之内分布式光伏的平均输出功率。In the above formula, N represents the time period between the daily sunrise time and sunset time, w 1 (t) represents the output power of the daily distributed photovoltaic output power curve in the period t, and p represents the The current daily energy storage margin, w 2 represents the average output power of distributed photovoltaics calculated according to the historical data of distributed photovoltaic output power, w 3 represents the average output power of distributed photovoltaics from sunrise time to sunset time every day .
7.根据权利要求1所述的储能量优化方法,其特征在于,所述成本最小目标的函数f为;7. The energy storage optimization method according to claim 1, characterized in that, the function f of the cost minimum objective is;
Figure FDA0003930067650000051
Figure FDA0003930067650000051
上式中,C1(t)表示分布式光伏设备、储能系统设备的折旧成本,C2(t)表示分布式光伏设备、储能系统设备的维护成本,C3(t)表示分布式光伏和储能系统向电网购电的成本,其中,分布式光伏和储能系统向电网购电的成本是指:所述分布式光伏和储能系统向电网和所述V2G电动汽车购电的费用,与所述分布式光伏和储能系统向电网并网发电以及向所述V2G电动汽车发电赚取收益之间的差值,所述分布式光伏和储能系统向电网购电的成本为正值,表示向电网和所述V2G电动汽车购电的费用大于发电赚取收益,为负值表示向电网和所述V2G电动汽车购电的费用小于发电赚取收益;In the above formula, C 1 (t) represents the depreciation cost of distributed photovoltaic equipment and energy storage system equipment, C 2 (t) represents the maintenance cost of distributed photovoltaic equipment and energy storage system equipment, and C 3 (t) represents the distributed The cost of electricity purchased by the photovoltaic and energy storage system from the grid, wherein the cost of the distributed photovoltaic and energy storage system to purchase electricity from the grid refers to: the cost of electricity purchased by the distributed photovoltaic and energy storage system from the grid and the V2G electric vehicle The difference between the cost of the distributed photovoltaic and energy storage system and the grid-connected power generation of the distributed photovoltaic and energy storage system and the income earned by the V2G electric vehicle. The cost of the distributed photovoltaic and energy storage system to purchase electricity from the grid is A positive value means that the cost of purchasing electricity from the grid and the V2G electric vehicle is greater than the income earned by power generation, and a negative value indicates that the cost of purchasing electricity from the grid and the V2G electric vehicle is less than the income earned by power generation; 其中,所述分布式光伏和储能系统向电网购电的成本C3(t)的表达式为:Wherein, the expression of the cost C 3 (t) of the distributed photovoltaic and energy storage system to purchase electricity from the grid is: C3(t)=(ki1(t)wi1(t)+ki2(t)wi2(t)-kj1(t)wj1(t)-kj2(t)C 3 (t)=(k i1 (t)w i1 (t)+k i2 (t)w i2 (t)-k j1 (t)w j1 (t)-k j2 (t) wj2(t))△tw j2 (t))△t 上式中,ki1(t)表示t时段向电网购电电价,wi1(t)表示t时段所述分布式光伏和储能系统向电网购电的功率,ki2(t)表示t时段向所述V2G电动汽车购电电价,wi2(t)表示t时段所述分布式光伏和储能系统向所述V2G电动汽车购电的功率,kj1(t)表示t时段向电网发电电价,wj1(t)表示t时段所述分布式光伏和储能系统向电网并网的输出功率,kj2(t)表示t时段向所述V2G电动汽车发电电价,wj2(t)表示t时段所述分布式光伏和储能系统向所述V2G电动汽车发电的输出功率,△t表示时间段;In the above formula, k i1 (t) represents the price of electricity purchased from the grid during the t period, w i1 (t) represents the power purchased by the distributed photovoltaic and energy storage system from the grid during the t period, and k i2 (t) represents the power purchased from the grid during the t period The price of electricity purchased from the V2G electric vehicle, w i2 (t) represents the power purchased by the distributed photovoltaic and energy storage system from the V2G electric vehicle during the period t, and k j1 (t) represents the price of electricity generated to the grid during the period t , w j1 (t) represents the output power of the distributed photovoltaic and energy storage system connected to the grid during the t period, k j2 (t) represents the price of electricity generated by the V2G electric vehicle during the t period, and w j2 (t) represents t The output power generated by the distributed photovoltaic and energy storage system to the V2G electric vehicle during the time period, Δt represents the time period; 所述t时段所述分布式光伏和储能系统的购电功率wi(t)根据t时段对应的储能裕量的缺口量、t时段所述分布式光伏和储能系统向所述V2G电动汽车购电的功率wi2(t)以及负荷需求值的缺口量决定,所述t时段对应的储能裕量的缺口量根据所述次日储能裕量,与所述储能系统当前充电储能量之间的差值决定,所述负荷需求的缺口量根据t时段对应的分布式光伏的输出功率与t时段所述分布式光伏和储能系统向所述V2G电动汽车购电的功率wi2(t)之和,与t时段对应的负荷需求值之间的差值决定;The purchased power w i (t) of the distributed photovoltaic and energy storage system during the t period is based on the gap of the energy storage margin corresponding to the t period, and the distributed photovoltaic and energy storage system supplies the V2G electric power to the V2G during the t period. The power w i2 (t) of the vehicle power purchase and the gap of the load demand value are determined. The gap of the energy storage margin corresponding to the t period is based on the energy storage margin of the next day and the current charging of the energy storage system The difference between the stored energy is determined, and the gap of the load demand is based on the output power of the distributed photovoltaic corresponding to the period t and the power w purchased by the distributed photovoltaic and energy storage system from the V2G electric vehicle during the period t The sum of i2 (t) is determined by the difference between the load demand value corresponding to the period t; 所述t时段所述分布式光伏和储能系统向电网的并网输出功率wj(t)与向所述V2G电动汽车发电的输出功率之和,根据优化得到所述储能系统的当前日充电裕量,和t时段对应的分布式光伏的输出功率决定。The sum of the grid-connected output power w j (t) of the distributed photovoltaic and energy storage system to the grid during the period t and the output power generated by the V2G electric vehicle is obtained according to optimization to obtain the current daily output power of the energy storage system The charging margin is determined by the output power of the distributed photovoltaic corresponding to the period t.
8.根据权利要求7所述的储能量优化方法,其特征在于,根据所述次日储能裕量和当前日分布式光伏的输出功率曲线,以V2G电动汽车参与所述分布式光伏和储能系统充放电情况下的成本最小为目标,优化得到所述储能系统的当前日充电裕量,所述当前日充电裕量的值大于所述次日储能裕量的值,包括:8. The energy storage optimization method according to claim 7, characterized in that, according to the next day's energy storage margin and the output power curve of the current day's distributed photovoltaic, V2G electric vehicles participate in the distributed photovoltaic and storage The goal is to minimize the cost in the case of charging and discharging the energy system, and optimize the current daily charging margin of the energy storage system. The value of the current daily charging margin is greater than the value of the next day's energy storage margin, including: 步骤S1:选取所述当前日分布式光伏的输出功率曲线中后段曲线,并划分多个t时段,所述后段曲线是指当前日分布式光伏的输出功率与所述外界获得功率之和,从满足当前日负荷需求值至分布式光伏不再输出功率的时间段对应的曲线;Step S1: Select the latter curve of the current daily distributed photovoltaic output power curve, and divide it into multiple t periods. The latter curve refers to the sum of the current daily distributed photovoltaic output power and the external power obtained , the curve corresponding to the time period from meeting the current daily load demand value to the time period when the distributed photovoltaic no longer outputs power; 步骤S2:根据所述次日储能裕量、所述后段曲线以及所述储能系统的满充充电量,通过所述分布式光伏和储能系统向电网购电的成本C3(t)的表达式,计算得到多个t时段购电的成本,同时通过所述分布式光伏设备、储能系统设备的折旧成本C1(t)的表达式、所述分布式光伏设备、储能系统设备的维护成本C2(t)的表达式分别计算得到多个t时段折旧成本、维护成本;Step S2: According to the next day's energy storage margin, the subsequent curve, and the full charge capacity of the energy storage system, the cost C 3 (t ) to calculate the cost of power purchase for multiple t periods, and at the same time, through the expression of the depreciation cost C 1 (t) of the distributed photovoltaic equipment and energy storage system equipment, the distributed photovoltaic equipment, energy storage The expression of the maintenance cost C 2 (t) of the system equipment is calculated separately to obtain the depreciation cost and maintenance cost for multiple t periods; 步骤S2:以多个t时段购电的成本、折旧成本、维护成本,为遗传算法的初始解;Step S2: The initial solution of the genetic algorithm is the cost of electricity purchase, depreciation cost, and maintenance cost for multiple t periods; 步骤S3:以所述初始解为基础,通过所述成本最小目标的函数公式,计算得到多个t时段购电的成本、折旧成本、维护成本各自成本的一代最优值和成本最小的一代最小值;Step S3: Based on the initial solution, through the function formula of the cost minimum objective, calculate the optimal value of each generation of cost of power purchase, depreciation cost, and maintenance cost for multiple t periods and the minimum cost of the generation with the smallest cost. value; 步骤S4:对所述多个t时段购电的成本、折旧成本、维护成本各自成本的一代最优值和成本最小的一代最小值进行计算,得到对应的质心;Step S4: Calculate the first generation optimal value and the lowest cost generation minimum value of the cost of power purchase, depreciation cost, and maintenance cost of the multiple t-periods to obtain the corresponding centroid; 步骤S5:根据质心,进行繁殖以产生新群体;Step S5: Propagate according to the centroid to generate a new population; 步骤S6:根据繁殖产生的新群体中每对集合,通过交叉生成两个后代;Step S6: According to each pair of sets in the new population generated by breeding, generate two offspring by crossover; 步骤S7:设q是变异的概率,则变异的操作是通过对集合上的某一元素随机更换而完成的;Step S7: Let q be the probability of mutation, then the operation of mutation is completed by randomly replacing an element on the set; 步骤S8:经过“交叉”与“变异”操作后,生成了新的解,所述新的解表征对所述储能系统的满充充电量优化后得到的所述储能系统的当前日充电裕量;Step S8: After the "crossover" and "mutation" operations, a new solution is generated, and the new solution represents the current daily charge of the energy storage system obtained after optimizing the full charge of the energy storage system margin; 步骤S9:以所述新的解为遗传算法的初始解,采样迭代算法重复步骤S3~S9,并在每一次迭代运算后均检测是否满足结束条件,所述结束条件为迭代次数上限达标,或所述成本最小的函数值小于预设函数值;Step S9: Using the new solution as the initial solution of the genetic algorithm, the sampling iterative algorithm repeats steps S3-S9, and checks whether the end condition is met after each iterative operation, and the end condition is that the upper limit of the number of iterations reaches the standard, or The function value with the smallest cost is less than a preset function value; 其中,迭代算法的具体方法为:Among them, the specific method of the iterative algorithm is: 对于基于任一一组初始解XJi生成的新的解XJi′,若f(XJi)≥f(XJi′),则直接接受此新的解XJi′;For a new solution XJ i ′ generated based on any set of initial solutions XJ i , if f(XJ i )≥f(XJ i ′), then accept the new solution XJ i ′ directly; 若f(XJi)<f(XJi′),则新的解XJi′的接受概率E由以下公式得出:If f(XJ i )<f(XJ i ′), then the acceptance probability E of the new solution XJ i ′ is obtained by the following formula:
Figure FDA0003930067650000071
Figure FDA0003930067650000071
上式中,Rw为迭代算法迭代n次后的“热度”,并且到迭代算法迭代的后期,随着Rw的不断减小,当f(XJi)-f(XJi′)的值一定时,E的值将会逐渐减小,使迭代算法趋于稳定;In the above formula, R w is the "heat" after the iterative algorithm iterates n times, and in the later stage of the iterative algorithm iteration, as R w decreases, when the value of f(XJ i )-f(XJ i ′) At a certain time, the value of E will gradually decrease, so that the iterative algorithm tends to be stable; 每完成一次迭代后将会对Rw进行“热度下降”操作,热度下降操作对应的公式为:After each iteration is completed, the "heat drop" operation will be performed on R w . The formula corresponding to the heat drop operation is:
Figure FDA0003930067650000081
Figure FDA0003930067650000081
其中MT为迭代算法的迭代次数上限。Where MT is the upper limit of iterations of the iterative algorithm.
9.根据权利要求5所述的储能量优化方法,其特征在于,所述储能系统寿命和容量关系的表达式如下:9. The energy storage optimization method according to claim 5, wherein the expression of the relationship between the life of the energy storage system and the capacity is as follows: En(t)=Eb-∑k*e-0.02Soc*M0.5*D0.7E n (t) = E b -∑k*e -0.02Soc *M 0.5 *D 0.7 . 上式中,En(t)表示所述储能系统在t时刻的容量,Eb表示所述储能系统还未投用时的初始容量,k表示比例系数,Soc表示所述储能系统中电池单次循环的平均荷电状态值,D表示所述储能系统中电池的充放电深度,M表示所述储能系统中电池的充放电循环次数。In the above formula, E n (t) represents the capacity of the energy storage system at time t, E b represents the initial capacity of the energy storage system before it is put into use, k represents the proportional coefficient, and Soc represents the energy storage system’s capacity The average charge state value of the battery in a single cycle, D represents the charge and discharge depth of the battery in the energy storage system, and M represents the number of charge and discharge cycles of the battery in the energy storage system. 10.一种电子设备,其特征在于,包括:10. An electronic device, characterized in that it comprises: 至少一个处理器;以及,at least one processor; and, 与所述至少一个处理器通信连接的存储器;其中,a memory communicatively coupled to the at least one processor; wherein, 所述存储器存储有可被所述至少一个处理器执行的指令,所述指令被所述至少一个处理器执行,以使所述至少一个处理器能够执行如权利要求1至9中任意一项所述的分布式光伏和储能系统的储能量优化方法。The memory stores instructions executable by the at least one processor, the instructions are executed by the at least one processor, so that the at least one processor can perform the operation described in any one of claims 1 to 9 Energy storage optimization method for distributed photovoltaic and energy storage systems described above.
CN202211384339.7A 2022-11-07 2022-11-07 Energy storage optimization method and electronic equipment for distributed photovoltaic and energy storage system Active CN115693741B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211384339.7A CN115693741B (en) 2022-11-07 2022-11-07 Energy storage optimization method and electronic equipment for distributed photovoltaic and energy storage system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211384339.7A CN115693741B (en) 2022-11-07 2022-11-07 Energy storage optimization method and electronic equipment for distributed photovoltaic and energy storage system

Publications (2)

Publication Number Publication Date
CN115693741A true CN115693741A (en) 2023-02-03
CN115693741B CN115693741B (en) 2025-03-14

Family

ID=85050124

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211384339.7A Active CN115693741B (en) 2022-11-07 2022-11-07 Energy storage optimization method and electronic equipment for distributed photovoltaic and energy storage system

Country Status (1)

Country Link
CN (1) CN115693741B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117096882A (en) * 2023-10-16 2023-11-21 国网浙江省电力有限公司宁波供电公司 Distribution network tide regulation and control method and system

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111361443A (en) * 2020-03-26 2020-07-03 中国南方电网有限责任公司 Charging control method and device for photovoltaic charging station
KR20200103949A (en) * 2019-02-26 2020-09-03 주식회사 에스이에너지 Smart energy storage system suitable for solar power generation
CN112418605A (en) * 2020-10-19 2021-02-26 国网上海市电力公司 Optimal operation method for energy storage system of optical storage type charging station
CN113013906A (en) * 2021-02-23 2021-06-22 南京邮电大学 Photovoltaic energy storage capacity optimal configuration method considering electric automobile V2G mode
CN114400657A (en) * 2021-12-28 2022-04-26 广东电网有限责任公司广州供电局 Power distribution network cooperative regulation and control method and system considering electric vehicle access

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20200103949A (en) * 2019-02-26 2020-09-03 주식회사 에스이에너지 Smart energy storage system suitable for solar power generation
CN111361443A (en) * 2020-03-26 2020-07-03 中国南方电网有限责任公司 Charging control method and device for photovoltaic charging station
CN112418605A (en) * 2020-10-19 2021-02-26 国网上海市电力公司 Optimal operation method for energy storage system of optical storage type charging station
CN113013906A (en) * 2021-02-23 2021-06-22 南京邮电大学 Photovoltaic energy storage capacity optimal configuration method considering electric automobile V2G mode
CN114400657A (en) * 2021-12-28 2022-04-26 广东电网有限责任公司广州供电局 Power distribution network cooperative regulation and control method and system considering electric vehicle access

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
M. BRENNA, F. FOIADELLI, A. SOCCINI AND L. VOLPI,: "Charging Strategies For Electric Vehicles With Vehicle To Grid Implementation For Photovoltaic Dispatchability", 2018 INTERNATIONAL CONFERENCE OF ELECTRICAL AND ELECTRONIC TECHNOLOGIES FOR AUTOMOTIVE, 28 October 2018 (2018-10-28), pages 1 - 6 *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117096882A (en) * 2023-10-16 2023-11-21 国网浙江省电力有限公司宁波供电公司 Distribution network tide regulation and control method and system
CN117096882B (en) * 2023-10-16 2024-01-05 国网浙江省电力有限公司宁波供电公司 Distribution network tide regulation and control method and system

Also Published As

Publication number Publication date
CN115693741B (en) 2025-03-14

Similar Documents

Publication Publication Date Title
CN109325608B (en) Distributed power supply optimal configuration method considering energy storage and considering photovoltaic randomness
CN107464010B (en) A method for optimal configuration of virtual power plant capacity
CN113394817A (en) Multi-energy capacity optimal configuration method of wind, light, water and fire storage system
US9985438B2 (en) Optimization method for independent micro-grid system
CN113343478B (en) Independent microgrid capacity optimal configuration method considering uncertainty and demand response
CN111244985B (en) Distributed energy storage sequence optimization configuration method based on node comprehensive sensitivity coefficient
CN105576699B (en) A method for detecting the energy storage margin of an independent microgrid
CN106485358A (en) Binding sequence computing and the independent micro-capacitance sensor Optimal Configuration Method of particle cluster algorithm
CN109347100A (en) Optimal configuration method of hybrid energy storage system to improve comprehensive performance of wind farm
CN116231765B (en) Virtual power plant output control method
CN116845983A (en) A wind-solar hydrogen production power pre-distribution method based on continuous electrolyzer power
CN115115130A (en) Wind-solar energy storage hydrogen production system day-ahead scheduling method based on simulated annealing algorithm
CN116108360A (en) Method and device for optimal operation control of regional comprehensive energy system
CN115663921B (en) Method and system for determining regulation and control plan of wind-solar storage and charging micro-grid
CN116681468A (en) Cost optimization method and device for optical-storage direct-flexible system based on improved whale algorithm
CN115693741A (en) Energy storage optimization method for distributed photovoltaic and energy storage system and electronic equipment
CN110391677B (en) An operation optimization method of water-photovoltaic-storage hybrid system based on power market environment
CN106503865B (en) An optimal allocation method for hybrid energy storage capacity based on chance-constrained programming
CN111598304A (en) A method for optimizing the capacity configuration of wind-solar-storage multi-subject system
CN110334856A (en) A wind and solar storage capacity planning method based on carbon trading mechanism
Güven et al. Optimal Design and Cost Analysis of a Hybrid Renewable Energy System for a Small Hotel Based on the Arctic Puffin Optimization Algorithm
CN106327011A (en) Micro-power-grid programming and designing method based on dynamic adaptive particle swarm algorithm
CN112633675A (en) Energy scheduling method, device and equipment and computer readable storage medium
CN117895557A (en) Power distribution network regulation and control method, device, medium and product
CN117613858A (en) Optical storage station double-layer optimal scheduling method based on improved NSGA2 algorithm

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