A method for configuring and scheduling energy storage capacity in a photoelectric energy storage scenario

By collecting and analyzing photovoltaic power generation system data, combining the random forest algorithm to predict load and photovoltaic power generation data, and optimizing energy storage capacity configuration and charging and discharging strategies, the problem of energy storage equipment configuration and dispatching is solved, and efficient and economical energy storage operation is achieved. .

CN113824111BActive Publication Date: 2024-09-24WEISHI INTERACTIVE TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202110883961.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-08-03
Publication Date
2024-09-24
Estimated Expiration
2041-08-03

AI Technical Summary

Technical Problem

In photovoltaic power generation systems, it is difficult to configure and schedule energy storage equipment to achieve optimal investment returns, and it is difficult to quickly calculate charge and discharge power to ensure battery safety, making it difficult to achieve economical operation.

Method used

By collecting load and photovoltaic power generation data, calculate peak shaving and valley filling and staggered charging and discharging benefits, use the random forest algorithm to predict load and photovoltaic power generation data, optimize energy storage capacity configuration and charging and discharging strategies, and combine static investment costs and charging and discharging costs to determine Optimal energy storage configuration, and control charging and discharging power through energy storage converter.

Benefits of technology

It achieves the calculation of the theoretically optimal energy storage configuration and charging and discharging strategies in a short time, improves the accuracy and efficiency of investment returns, reduces the pressure during peak load periods, enhances photovoltaic power consumption efficiency, and reduces the light abandonment rate. .

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113824111B
    Figure CN113824111B
Patent Text Reader

Abstract

The present invention provides a method for configuring and dispatching energy storage capacity in a photoelectric energy storage scenario, builds a linear programming mathematical model with the goal of optimizing energy storage benefits, can truly simulate the actual operating conditions of energy storage according to historical photovoltaic power generation curves and power load curves, and calculate the theoretically optimal energy storage configuration and charging and discharging strategy, the total investment income, and the investment recovery period in a short time, so that it is possible to make quick decisions for energy storage investment, and to determine which energy storage configuration can achieve the optimal investment return ratio. Combined with the power generation power and load forecast data for a future period, the charging and discharging power for a future period is calculated in real time, which can effectively reduce the peak load power, reduce the load pressure during the peak power consumption period, achieve peak-valley smoothing, improve the power efficiency of photovoltaic power generation, and reduce the photovoltaic power abandonment rate.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the field of electric power technology, and in particular relates to a method for configuring and scheduling energy storage capacity in a photovoltaic energy storage scenario. Background Art

[0002] As energy crisis and environmental pollution problems intensify, photovoltaic power generation as a sustainable clean energy has received more and more attention, and the application of energy storage in photovoltaic power systems has become increasingly widespread. However, the large-scale application of energy storage faces bottlenecks such as high cost, difficulty in promotion, and difficulty in measuring benefits. Based on this, the economic feasibility of configuring energy storage in photovoltaic power stations is studied.

[0003] In the photovoltaic storage scenario, energy storage equipment can generate three types of benefits: one is the benefit of peak shaving and valley filling, one is the benefit of reducing demand, and the other is the benefit of staggered charging and discharging of photovoltaic power generation. Given the photovoltaic power generation curve and the user's load curve over the past period of time, how much power and capacity of energy storage equipment should be configured, and what charging and discharging strategy should be adopted for energy storage to optimize the investment return and recover the cost of energy storage equipment in the shortest time, this is a complex energy storage configuration optimization problem. In addition, after the energy storage equipment is put into operation, combined with the power generation power and load forecast data for the next 24 hours, how can the charging and discharging power at each moment be quickly calculated to ensure the safety of the energy storage battery and achieve the optimal economic operation mode. Summary of the invention

[0004] The present invention aims to solve the above technical problems and provide a method for configuring and scheduling energy storage capacity in a solar energy storage scenario.

[0005] In order to achieve the above object, the present invention adopts the following technical solution:

[0006] A method for configuring and scheduling energy storage capacity in a solar energy storage scenario, comprising:

[0007] Collect the load data and photovoltaic power generation data before energy storage for a period of time with a data collection interval of Δt, calculate the peak shaving and valley filling and staggered charging and discharging benefits of photovoltaic power generation, the demand benefits obtained after energy storage, and the charging and discharging cycle cost of the entire cycle;

[0008] Calculate the total benefit after adding energy storage. The total benefit after adding energy storage is the difference between the sum of the peak shaving and valley filling and staggered charging and discharging benefits of photovoltaic power generation, the demand benefit after adding energy storage, and the charging and discharging cycle cost of the entire cycle;

[0009] The static investment cost recovery period is used as an indicator to compare the benefits of different energy storage capacity configurations. The static investment cost recovery period is the ratio of the sum of the peak shaving and valley filling and staggered charging and discharging benefits of photovoltaic power generation, the demand benefits obtained after energy storage, and the product of the cost price per kilowatt-hour of the static investment in energy storage and the rated capacity of the battery.

[0010] Use the random forest algorithm to train historical electricity load data to obtain a load forecasting model that can predict a period in the future, and use the random forest algorithm to train historical photovoltaic power generation data to obtain a photovoltaic power generation forecasting model that can predict a period in the future. Then, use the load forecasting model and photovoltaic power generation forecasting model to predict the load and photovoltaic power generation data for a period in the future.

[0011] The benefits are calculated according to different energy storage configurations, and the optimal energy storage configuration with the best input-output ratio is obtained. Energy storage batteries are purchased according to the optimal energy storage capacity and rated power of this optimal energy storage configuration, and put into operation in the photovoltaic power station.

[0012] Preferably, the charging power of the energy storage battery from the grid, the charging power from the photovoltaic power source, and the discharging power to the grid in a future period are obtained according to the optimal energy storage configuration, and then the charging and discharging power instructions are sent to the energy storage inverter, which controls the charging and discharging power of the battery according to the predicted optimal energy storage configuration.

[0013] As a preferred method, the method for calculating the benefits of peak shaving and valley filling and staggered charging and discharging of photovoltaic power generation is as follows:

[0014] Calculate the cost of charging the battery from the grid:

[0015] ∑v i *PriceElec i *Δt

[0016] i∈[1,n], n is the total number of samples;

[0017] Where PriceElec is the grid electricity price at each moment, and v>=0 is the charging power of the grid to the battery;

[0018] Calculate the cost of charging batteries with photovoltaic power:

[0019] ∑y i *PriceSolar i *Δt

[0020] i∈[1,n], n is the total number of samples;

[0021] Among them, PriceSolar is the photovoltaic electricity price at each moment, and y<=0 is the charging power of photovoltaic to the battery;

[0022] Calculate the benefits of discharging the battery to the grid:

[0023] ∑u i *PriceElec i *Δt

[0024] i∈[1,n], n is the total number of samples;

[0025] Among them, u>=0 is the discharge power of the battery to the grid;

[0026] The sum of the benefits of peak shaving and valley filling and photovoltaic power generation is the battery discharge benefit minus the charging cost of the grid and photovoltaic power to the battery. The benefits of peak shaving and valley filling and photovoltaic power generation are calculated as follows:

[0027]

[0028] As a preferred method, the method for calculating the demand benefit obtained after energy storage is added is as follows:

[0029] Calculate the demand cost before adding energy storage:

[0030] The demand before energy storage is obtained by calculating the load power before energy storage:

[0031]

[0032] Among them, the load power before energy storage is: the load data and photovoltaic power generation data before energy storage are used to obtain the load power and photovoltaic power generation power. The photovoltaic power generation power is subtracted from the load power. The power greater than or equal to 0 is the load power before energy storage is used, which is recorded as PPreRTime;

[0033] Maximum demand before adding energy storage:

[0034] DCTPre=max(PPreAvg i );

[0035] The demand cost before energy storage is:

[0036] DCTPre*PriceDemand;

[0037] Among them, PriceDemand is the demand electricity price;

[0038] Calculate the demand cost after adding energy storage:

[0039] The load power after energy storage is:

[0040] PPostRTime i =PPreRTime i -u i +v i ;

[0041] Among them, u>=0 is the discharge power of the battery to the grid, and v>=0 is the charging power of the grid to the battery;

[0042] Demand after energy storage:

[0043]

[0044] Maximum demand after energy storage:

[0045] DCTPost=max(PPostAvg i );

[0046] The demand cost after energy storage is:

[0047] DCTPost*PriceDemand;

[0048] Calculate the demand benefit after adding energy storage:

[0049] RDemand=(DCTPre-DCTPost)*PriceDemand.

[0050] As a preferred embodiment, the charge and discharge cycle cost of the entire cycle is:

[0051]

[0052] Among them, PriceCycle is the cost per kilowatt of charging and discharging, u>=0 is the discharge power of the battery to the grid, and v>=0 is the charging power of the grid to the battery.

[0053] Preferably, the energy storage capacity configuration and scheduling method in the solar energy storage scenario further includes constraining conditions for constructing an evaluation model, and the constraining conditions include:

[0054] The charging and discharging power of the battery at each moment is:

[0055] PBRTime i =u i -v i +y i ;

[0056] PRate is the rated power of the battery, u>=0 is the discharge power of the battery to the grid, v>=0 is the charging power of the grid to the battery, and y<=0 is the charging power of the photovoltaic to the battery;

[0057] The battery charge and discharge power must be within the limit range, that is, the battery charge and discharge power range is between 0 and the rated power:

[0058] PRate>=PBRTime i >=0.

[0059] Preferably, the energy storage capacity configuration and scheduling method in the solar energy storage scenario further includes constraining conditions for constructing an evaluation model, and the constraining conditions include:

[0060] The energy storage capacity at each moment is:

[0061]

[0062] Among them, Q0 is the initial capacity, DR is the energy conversion loss rate when the battery is discharged, CR is the energy conversion loss rate when the battery is charged, u>=0 is the discharge power of the battery to the grid, v>=0 is the charging power of the grid to the battery, and y<=0 is the charging power of the photovoltaic to the battery;

[0063] The energy storage capacity at each moment needs to be between the minimum remaining capacity and the rated capacity:

[0064] QRate>=QRTime>=QRemain;

[0065] Among them, QRate is the rated capacity and QRemain is the minimum remaining capacity.

[0066] Preferably, the energy storage capacity configuration and scheduling method in the solar energy storage scenario further includes constraining conditions for constructing an evaluation model, and the constraining conditions include:

[0067] The load after energy storage is greater than or equal to 0 and less than or equal to the maximum demand power, expressed as DCT:

[0068] DCT>=PPostRTime i >=0;

[0069] The photovoltaic output to the energy storage power must be less than or equal to the photovoltaic power generation power:

[0070] -y i <=-PSolarRTime i .

[0071] After adopting the above technical solution, the present invention has the following advantages:

[0072] 1. It can simulate the actual operation status of energy storage according to the historical photovoltaic power generation curve and power load curve, and calculate the theoretically optimal energy storage configuration and charging and discharging strategy, total investment income, and investment payback period in a short time, so as to make quick decisions on energy storage investment and determine which energy storage configuration can achieve the optimal investment return ratio.

[0073] 2. In addition to considering the factors of peak shaving and valley filling, the present invention also adds the demand factor and the factors of staggered charging and discharging of photovoltaic power generation, and eliminates the invalid charging and discharging during the parity period, and more comprehensively and realistically simulates the actual operating conditions of the photovoltaic storage scenario. It has the characteristics of high efficiency and high accuracy, which makes the charging and discharging benefits of energy storage higher and improves the accuracy, scientificity and economy of energy storage configuration.

[0074] 3. Combining the power generation and load forecast data for the next period of time, real-time calculation of the charging and discharging power for the next period of time can effectively reduce the peak load power, reduce the load pressure during the peak period of electricity consumption, achieve peak-valley smoothing, improve the electricity efficiency of photovoltaics, and reduce the photovoltaic abandonment rate. BRIEF DESCRIPTION OF THE DRAWINGS

[0075] Figure 1 A structural schematic diagram of a method for configuring and scheduling energy storage capacity in a solar energy storage scenario;

[0076] Figure 2 The power load curve and photovoltaic power generation curve of the photovoltaic storage project on a certain day;

[0077] Figure 3 The specific solution for the optimal solution of the solar-storage project on a certain day. DETAILED DESCRIPTION

[0078] The present invention is further described in detail below in conjunction with the accompanying drawings and specific embodiments.

[0079] A method for configuring and scheduling energy storage capacity in a solar energy storage scenario comprises the following steps:

[0080] Step 1: collect the load data and photovoltaic power generation data before energy storage for a period of time at a data collection interval of Δt, and obtain the used load power and photovoltaic power generation power. Subtract the photovoltaic power generation power from the used load power. The power greater than or equal to 0 is the load power before energy storage, recorded as PPreRTime, and the power less than 0 is the new photovoltaic power generation power, recorded as PsolarRTime;

[0081] Step 2: Construct an evaluation model for the total benefits of energy storage:

[0082] Step 2.1, calculate the benefits of peak shaving and valley filling and staggered charging and discharging of photovoltaic power generation:

[0083] Step 2.1.1, calculate the cost of charging the battery from the grid:

[0084] ∑v i *PriceElec i *Δt

[0085] i∈[1,n], n is the total number of samples;

[0086] Where PriceElec is the grid electricity price at each moment, and v>=0 is the charging power of the grid to the battery;

[0087] Step 2.1.2, calculate the cost of charging the battery from photovoltaic power:

[0088] ∑y i *PriceSolar i*Δt

[0089] i∈[1,n], n is the total number of samples;

[0090] Among them, PriceSolar is the photovoltaic electricity price at each moment, and y<=0 is the charging power of photovoltaic to the battery;

[0091] Step 2.1.3, calculate the benefit of discharging the battery to the grid:

[0092] ∑u i *PriceElec i *Δt

[0093] i∈[1,n], n is the total number of samples;

[0094] Among them, u>=0 is the discharge power of the battery to the grid;

[0095] Step 2.1.4, the sum of the benefits of peak shaving and valley filling and photovoltaic power generation is the battery discharge benefit minus the charging cost of the grid and photovoltaic power to the battery, and the benefits of peak shaving and valley filling and photovoltaic power generation are calculated as follows:

[0096]

[0097] Step 2.2, calculate the demand benefit;

[0098] Step 2.2.1, calculate the demand cost before adding energy storage:

[0099] The demand before energy storage is obtained by calculating the load power before energy storage:

[0100]

[0101] Maximum demand before adding energy storage:

[0102] DCTPre=max(PPreAvg i );

[0103] The demand cost before energy storage is:

[0104] DCTPre*PriceDemand;

[0105] Among them, PriceDemand is the demand electricity price;

[0106] Step 2.2.2, calculate the demand cost after energy storage:

[0107] The load power after energy storage is:

[0108] PPostRTime i =PPreRTimei -u i +v i ;

[0109] Demand after energy storage:

[0110]

[0111] Maximum demand after energy storage:

[0112] DCTPost=max(PPostAvg i );

[0113] The demand cost after energy storage is:

[0114] DCTPost*PriceDemand;

[0115] Step 2.2.3, calculate the demand benefit after adding energy storage:

[0116] RDemand=(DCTPre-DCTPost)*PriceDemand;

[0117] Step 2.3, in order to avoid ineffective charging and discharging when the price remains unchanged, the cost of each charge and discharge needs to be taken into account. The cost of charging and discharging per kilowatt is PriceCycle, so the cost of the entire cycle of charging and discharging is:

[0118]

[0119] Step 2.4, calculate the total benefit after adding energy storage:

[0120]

[0121] Step 3: Construct the constraints of the evaluation model:

[0122] Step 3.1, the charging and discharging power of the battery at each moment is:

[0123] PBRTime i =u i -v i +y i ;

[0124] The battery's charge and discharge power range is between 0 and the rated power, where PRate is the battery's rated power:

[0125] The battery charging and discharging power must be within the limit:

[0126] PRate>=PBRTime i >=0;

[0127] Step 3.2, Q0 is the initial capacity, and the energy storage capacity at each moment is:

[0128]

[0129] Among them, DR is the energy conversion loss rate when the battery is discharged, and CR is the energy conversion loss rate when the battery is charged;

[0130] The energy storage capacity at each moment needs to be between the minimum remaining capacity and the rated capacity, QRate is the rated capacity, and QRemain is the minimum remaining capacity:

[0131] QRate>=QRTime>=QRemain;

[0132] Step 3.3, the load after energy storage must be greater than or equal to 0 and less than or equal to DCT:

[0133] DCT>=PPostRTime i >=0;

[0134] The photovoltaic output to the energy storage power must be less than or equal to the photovoltaic power generation power:

[0135] -y i <=-PSolarRTime i ;

[0136] Step 4: Use the static investment cost recovery period Ryears as an indicator for comparison:

[0137]

[0138] Among them, RToal is the total revenue, CCycle is the charge and discharge cycle cost, QRate is the rated capacity of the battery, and PriceEPC is the cost price per kWh of the static investment in energy storage;

[0139] Step 5: According to historical electricity load data, historical photovoltaic power generation data and different energy storage configurations, the optimal energy storage configuration is obtained, and the input-output ratio is optimal. Energy storage batteries are purchased according to this optimal energy storage capacity and rated power, and put into operation in the photovoltaic power station.

[0140] During the operation, the random forest algorithm is first used to train the historical electricity load data to obtain a load forecasting model that can predict the next 24 hours, and the random forest algorithm is used to train the historical photovoltaic power generation data to obtain a photovoltaic power generation forecasting model that can predict the next 24 hours.

[0141] The model is then used to predict the load and photovoltaic power generation data for the next 24 hours and input into the energy storage power prediction and scheduling device to obtain the energy storage battery's charging power from the grid, charging power from photovoltaics, and discharge power to the grid for the next 24 hours.

[0142] The charge and discharge power instructions are then sent to the PCS (Power Conversion System), which then controls the battery according to the predicted charge and discharge power.

[0143] The flowchart of the above method is as follows Figure 1 shown.

[0144] The following is an example of a PV-storage project using the energy storage capacity configuration and scheduling method in the above PV-storage scenario:

[0145] According to the project's monthly electricity load curve and photovoltaic power generation curve, the energy storage configuration's rated power range is [100,200], the full charge time range is [1,2] hours, and the discharge depth must be greater than or equal to 10%. The optimal energy storage configuration is a rated power of 150kw and a rated capacity of 300kwh.

[0146] Figure 2 It is the power load curve and photovoltaic power generation curve of the project on a certain day. Figure 3 It is the specific solution of the optimal solution for a certain day, including the charging and discharging power of the energy storage at each moment, the SOC curve at each moment, and the power used to charge the energy storage after the photovoltaic load is removed.

[0147] Using a storage configuration with a rated power of 150kw and a rated capacity of 300kwh, and using the optimal strategy, the investment cost can be recovered in just 4 years. If the general estimation method is used, since the optimal charging and discharging strategy of energy storage cannot be calculated, the optimal benefit cannot be accurately estimated. The estimated benefit deviates greatly from the benefit of the optimal operation strategy, and it is usually estimated that it will take 8 years to recover the investment cost. In addition, the estimated energy storage configuration capacity will be too large, and a 250kw energy storage configuration with a rated capacity of 500kwh will be used, which is not the optimal energy storage configuration method.

[0148] In addition to the above preferred embodiments, the present invention has other implementation modes. Those skilled in the art may make various changes and modifications based on the present invention. As long as they do not depart from the spirit of the present invention, they should all fall within the scope defined by the claims attached to the present invention.

Claims

1. A method for configuring and scheduling energy storage capacity in a solar energy storage scenario, characterized in that: include: Collect the load data and photovoltaic power generation data before energy storage for a period of time with a data collection interval of Δt, calculate the peak shaving and valley filling and staggered charging and discharging benefits of photovoltaic power generation, the demand benefits obtained after energy storage, and the charging and discharging cycle cost of the entire cycle; Calculate the total benefit after adding energy storage. The total benefit after adding energy storage is the difference between the sum of the peak shaving and valley filling and staggered charging and discharging benefits of photovoltaic power generation, the demand benefit after adding energy storage, and the charging and discharging cycle cost of the entire cycle; The static investment cost recovery period is used as an indicator to compare the benefits of different energy storage capacity configurations. The static investment cost recovery period is the ratio of the sum of the peak shaving and valley filling and staggered charging and discharging benefits of photovoltaic power generation, the demand benefits obtained after energy storage, and the product of the cost price per kilowatt-hour of the static investment in energy storage and the rated capacity of the battery. Use the random forest algorithm to train historical electricity load data to obtain a load forecasting model that can predict a period in the future, and use the random forest algorithm to train historical photovoltaic power generation data to obtain a photovoltaic power generation forecasting model that can predict a period in the future. Then, use the load forecasting model and photovoltaic power generation forecasting model to predict the load and photovoltaic power generation data for a period in the future. Calculate the benefits of different energy storage configurations to find the optimal energy storage configuration with the best input-output ratio. Purchase energy storage batteries according to the optimal energy storage capacity and rated power of this optimal energy storage configuration and put them into operation in the photovoltaic power station. The method for calculating the benefits of peak shaving and valley filling and staggered charging and discharging of photovoltaic power generation is as follows: Calculate the cost of charging the battery from the grid: Where PriceElec is the grid electricity price at each moment, and v>=0 is the charging power of the grid to the battery; Calculate the cost of charging batteries with photovoltaic power: Among them, PriceSolar is the photovoltaic electricity price at each moment, and y<=0 is the charging power of photovoltaic to the battery; Calculate the benefits of discharging the battery to the grid: Among them, u>=0 is the discharge power of the battery to the grid; The sum of the benefits of peak shaving and valley filling and photovoltaic power generation is the battery discharge benefit minus the charging cost of the grid and photovoltaic power to the battery. The benefits of peak shaving and valley filling and photovoltaic power generation are calculated as follows: The method for calculating the demand benefit after adding energy storage is as follows: Calculate the demand cost before adding energy storage: The demand before energy storage is obtained by calculating the load power before energy storage: Among them, the load power before energy storage is: the load data and photovoltaic power generation data before energy storage are used to obtain the load power and photovoltaic power generation power. The photovoltaic power generation power is subtracted from the load power. The power greater than or equal to 0 is the load power before energy storage is used, which is recorded as PPreRTime; Maximum demand before adding energy storage: DCTPre=max(PPreAvg i ); The demand cost before energy storage is: DCTPre*PriceDemand; Among them, PriceDemand is the demand electricity price; Calculate the demand cost after adding energy storage: The load power after energy storage is: PostRTime i =PreRTime i -u i +v i ; Among them, u>=0 is the discharge power of the battery to the grid, and v>=0 is the charging power of the grid to the battery; Demand after energy storage: Maximum demand after energy storage: DCTPost=max(PPostAvg i ); The demand cost after energy storage is: DCTPost*PriceDemand; The demand benefit after energy storage is calculated: RDemand=(DCTPre-DCTPost)*PriceDemand; The charge and discharge cycle cost of the entire cycle is: Among them, PriceCycle is the cost per kilowatt of charging and discharging, u>=0 is the discharge power of the battery to the grid, and v>=0 is the charging power of the grid to the battery.

2. The method for configuring and scheduling energy storage capacity in a photovoltaic energy storage scenario according to claim 1, characterized in that: Based on the optimal energy storage configuration, the charging power of the energy storage battery from the grid, the charging power from the photovoltaic power plant, and the discharging power to the grid in the future period are obtained, and then the charging and discharging power instructions are sent to the energy storage inverter. The energy storage inverter controls the charging and discharging power of the battery according to the predicted optimal energy storage configuration.

3. The method for configuring and scheduling energy storage capacity in a photovoltaic energy storage scenario according to any one of claims 1 to 2, characterized in that: The energy storage capacity configuration and scheduling method in the solar energy storage scenario also includes constraints for constructing an evaluation model, and the constraints include: The charging and discharging power of the battery at each moment is: PBRTime i =u i -v i +y i ; PRate is the rated power of the battery, u>=0 is the discharge power of the battery to the grid, v>=0 is the charging power of the grid to the battery, and y<=0 is the charging power of the photovoltaic to the battery; The battery charge and discharge power must be within the limit range, that is, the battery charge and discharge power range is between 0 and the rated power: PRate>=PBRTime i >=0。 4. The method for configuring and scheduling energy storage capacity in a photovoltaic energy storage scenario according to any one of claims 1 to 2, characterized in that: The energy storage capacity configuration and scheduling method in the solar energy storage scenario also includes constraints for constructing an evaluation model, and the constraints include: The energy storage capacity at each moment is: Among them, Q0 is the initial capacity, DR is the energy conversion loss rate when the battery is discharged, CR is the energy conversion loss rate when the battery is charged, u>=0 is the discharge power of the battery to the grid, v>=0 is the charging power of the grid to the battery, and y<=0 is the charging power of the photovoltaic to the battery; The energy storage capacity at each moment needs to be between the minimum remaining capacity and the rated capacity: QRate>=QRTime>=QRemain; Among them, QRate is the rated capacity and QRemain is the minimum remaining capacity.

5. The method for configuring and scheduling energy storage capacity in a photovoltaic energy storage scenario according to any one of claims 1 to 2, characterized in that: The energy storage capacity configuration and scheduling method in the solar energy storage scenario also includes constraints for constructing an evaluation model, and the constraints include: The load after energy storage is greater than or equal to 0 and less than or equal to the maximum demand power, expressed as DCT: DCT>=PPostRTime i >=0; The photovoltaic output to the energy storage power must be less than or equal to the photovoltaic power generation power: -and i <=-PSolarRTime i 。