A stochastic programming method for multi-objective energy storage capacity of microgrid considering multiple stakeholders

Through the multi-target energy storage capacity random planning method of microgrid of multiple stakeholders, the problems of power interaction and electricity bill settlement between different stakeholders are solved, economic maximization and electricity bill clearing on the energy storage side are realized, and the energy storage capacity configuration is optimized. .

CN118710022BActive Publication Date: 2024-11-19四川铁道职业学院
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411186821.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-08-28
Publication Date
2024-11-19
Estimated Expiration
2044-08-28

AI Technical Summary

Technical Problem

The existing technology cannot fully consider the power interaction and electricity bill settlement between different stakeholders, which makes it difficult to maximize the energy storage benefits of the stakeholders on the energy storage side. In actual projects, the electricity meter is limited, making it difficult to realize energy storage, photovoltaics, and users. electricity bill clearance.

Method used

A method of random planning for multi-objective energy storage capacity of microgrids is proposed to consider multiple stakeholders. The objective function of random planning of energy storage capacity is constructed through clustering algorithms, and the objective function of energy storage planning is set, and the optimal storage is achieved using Cplex or Gurobi solver. Ability to plan capacity values, formulate trading strategies and calculation methods for electricity cost and profits, and optimize energy storage capacity configuration.

Benefits of technology

The comprehensive expectation economy of the energy storage side stakeholders in different interest scenarios has been maximized. Through the power transmission and power trading strategies of multi-stakeholders, reasonable liquidation of electricity bills and reasonable allocation of interests has been achieved, reducing the difficulty of energy storage planning and calculation.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118710022B_ABST
    Figure CN118710022B_ABST
Patent Text Reader

Abstract

The present invention relates to the field of smart grids, and specifically to a multi-objective energy storage capacity stochastic programming method for a microgrid considering multiple stakeholders. The method fully takes into account that photovoltaics, users, and energy storage belong to different stakeholders, and proposes an energy storage optimization configuration algorithm under different stakeholders. At the same time, considering actual engineering conditions, based on meter measurement data at a common bus terminal at a microgrid outlet and a photovoltaic output terminal, a transaction strategy for stakeholders on the energy storage side, the photovoltaic side, and the user side, and a method for calculating electricity costs and benefits are constructed, and an energy storage capacity optimization configuration plan that considers the overall economic maximization of stakeholders on the energy storage side is formulated.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the field of smart grids, and in particular relates to a random programming method for multi-objective energy storage capacity of a microgrid considering multiple stakeholders. Background Art

[0002] The electricity price for residential and industrial use is a time-of-use price, which is usually high when the electricity load is at peak and low when the electricity load is at low. Considering that photovoltaic power generation is low-cost, low-carbon and environmentally friendly, photovoltaic equipment is installed on the user side of the microgrid. Photovoltaic power generation can effectively improve the economy of electricity use by users in the microgrid and reduce carbon emissions. However, when photovoltaic power generation exceeds load power consumption, photovoltaic power will feed back electricity to the external power grid. Since the price of feed-back electricity is usually cheaper, it will cause electricity waste and reduced economy. In addition, when load power consumption is higher than photovoltaic power generation and the price of purchased electricity is high at this time, users have to continue to buy electricity from the power grid, and the comprehensive electricity cost will still be high.

[0003] In view of the above problems, the prior art usually adopts the method of continuing to install energy storage equipment in the microgrid, which can not only charge when the external electricity price is low and provide electricity to users when the external electricity price is high, but also provide effective means for the full consumption of photovoltaic power generation, and reduce the maximum demand for microgrid electricity, thereby improving the overall electricity economy; however, if the energy storage capacity is too small, it is difficult to have a significant improvement in the electricity economy, and if the energy storage capacity is too large, it will lead to excessive energy storage installation costs, resulting in a waste of energy storage capacity, which is also not economical; therefore, it is necessary to comprehensively consider the user load, photovoltaic power generation and time-of-use electricity price change curve, and reasonably set the energy storage capacity to achieve the overall energy storage planning and the optimal comprehensive economy at the operation level, such as:

[0004] For example, Chinese patent CN201710301421.1 discloses a method for optimizing the configuration of energy storage capacity of a wind-solar-storage microgrid considering controllable loads, including the following steps: 1) The loads in the microgrid are divided into controllable loads and important loads, and the user sets the controllable load amount and the initial load control time within the scheduling period; 2) The microgrid control center predicts the photovoltaic power generation and wind power generation data within the scheduling period, and rearranges the load within the scheduling period in combination with the controllable load information set by the user; 3) Based on the results of the new load arrangement, the energy storage device in the microgrid is optimized, and a multi-objective backbone particle swarm optimization algorithm is proposed for solving the problem. On the basis of load redistribution, the energy storage capacity is optimized by considering the power fluctuation of the interaction between the microgrid and the power grid and the user satisfaction within the microgrid, while ensuring the power supply quality, reliability and economic benefits of the microgrid, achieving multiple goals at one stroke and effectively reducing the investment cost of the microgrid;

[0005] And such as Chinese patent CN201811612387.0, which discloses a multi-objective two-layer optimization configuration method for microgrid power supply, including: establishing a microgrid distributed power generation and hybrid energy storage system model; establishing a comprehensive optimization configuration multi-objective indicator system including annual value costs of microgrid investment and operation and maintenance, microgrid load power shortage probability, microgrid wind and solar power abandonment rate, and system net load power fluctuation rate; establishing a multi-objective two-layer optimization configuration model, including an upper-layer optimization configuration model and a lower-layer optimization configuration model; solving the upper-layer optimization configuration model and the lower-layer optimization configuration model respectively to obtain an optimized microgrid power supply configuration scheme. When considering the configuration of a microgrid containing hybrid energy storage, the unity of economy, reliability and environmental protection is fully considered, and the model is decoupled and simplified based on multiple time scales, which simplifies the calculation difficulty, makes up for the shortcomings of the current hybrid microgrid optimization configuration, and solves the technical problem that traditional optimization methods fail to comprehensively consider the hybrid energy storage system.

[0006] It can be seen that although the above-mentioned literature solves the problem of optimal configuration of hybrid microgrids, the above-mentioned optimal configuration methods do not take into account the different and complex interest interactions between different stakeholders. The existing technology cannot fully consider the power interaction and electricity fee settlement between different stakeholders, which makes it difficult to maximize the benefits of energy storage configuration by the stakeholders on the energy storage side; and in actual projects, the number of installed electricity meters is limited, and usually only electricity meters are installed at the bus end of the microgrid outlet and the output end of the photovoltaic. The power flow between energy storage, photovoltaics, and loads can only pass through the common bus, and power cannot be directly transferred between any two. It is difficult for the existing technology to settle electricity fees for the multiple interest entities formed by energy storage, photovoltaics, and users at these two given measurement points, which affects the energy storage planning calculation.

[0007] Therefore, in order to solve this problem, it is necessary to develop a microgrid multi-objective energy storage capacity stochastic planning method that considers multiple stakeholders. Summary of the invention

[0008] In view of the defects in the prior art, the present invention provides a random planning method for multi-objective energy storage capacity of a microgrid taking into account multiple stakeholders. The method fully takes into account that photovoltaics, users, and energy storage belong to different stakeholders, and proposes an energy storage optimization configuration algorithm under different stakeholders; at the same time, considering the actual engineering situation, based on the meter measurement data at the common bus end of the microgrid outlet and the photovoltaic output end, the transaction strategy of the stakeholders on the energy storage side, the photovoltaic side, and the user side and the electricity cost and benefit calculation method are constructed, and an energy storage capacity optimization configuration plan that takes into account the overall economic maximization of the stakeholders on the energy storage side is formulated.

[0009] The technical problem to be solved by the present invention is to provide a microgrid multi-objective energy storage capacity stochastic planning method considering multiple stakeholders in view of the above-mentioned deficiencies in the prior art. The method specifically includes:

[0010] S1: Obtain the daily photovoltaic power generation and load curves of the microgrid without energy storage in one year;

[0011] S2: After the microgrid is connected to energy storage, the energy storage, photovoltaic, and user electricity trading strategy is set at a given power measurement point;

[0012] S3: Consider multiple stakeholders and set the energy storage planning objective function;

[0013] S4: Construct the stochastic programming objective function of energy storage capacity using clustering algorithm;

[0014] S5: Set energy storage planning constraints;

[0015] S6: Solve the multi-objective random planning of energy storage capacity of microgrid and obtain the optimal energy storage planning capacity value;

[0016] S7: Calculation of expected electricity costs and benefits for each stakeholder.

[0017] Preferably, the step S1 specifically includes: obtaining photovoltaic power generation output and total power consumption data of the microgrid every day in a year through electric meter monitoring, wherein the first sky The photovoltaic output power at the time is recorded as , with the output power as positive, the sky The total power consumption of the microgrid at the time is recorded as , with power delivered to the microgrid as positive, where, , , is the total number of daily monitoring data;

[0018] Through the power transfer relationship, we can get sky User load power at the moment , taking electricity consumption as positive: .

[0019] Preferably, the step S2 specifically includes: the power of energy storage is obtained through the terminal energy management system, and the load power is calculated by the power at the public bus, the photovoltaic power, and the energy storage power; considering that photovoltaic power generation needs to meet the conditions of self-generation and self-use and surplus power grid access, the photovoltaic strategy is as follows:

[0020] (1) Photovoltaic power generation gives priority to meeting loads;

[0021] (2) If photovoltaic power generation meets the load and there is a surplus and energy storage needs to be charged, photovoltaic power generation will be used first for energy storage charging;

[0022] (3) If there is excess power after photovoltaic power generation meets the load and energy storage is charged, the excess power can be transmitted to the external power grid;

[0023] The energy storage strategy is as follows:

[0024] (1) If the photovoltaic power generation is less than the load and the energy storage needs to be discharged, the energy storage discharge cannot cause the entire microgrid to reverse power;

[0025] (2) The user load needs to fully absorb the energy storage discharge power;

[0026] (3) When energy storage and users belong to different interest groups, the electricity price of energy storage discharged to users shall not be higher than the price of electricity purchased from the user's large power grid. When the price of purchased electricity is high, the energy storage discharge price must be lower than the price of purchased electricity.

[0027] Preferably, the step S3 specifically includes: since photovoltaic, users, and energy storage may be different stakeholders, different stakeholders may lead to obvious differences in energy storage planning, and it is necessary to set the most appropriate objective function for energy storage planning according to the division of multiple stakeholders:

[0028] Consider the The daily photovoltaic and load curves, the objective functions include the following categories:

[0029] (1) Considering that the incentive for reducing the maximum demand of the microgrid due to the installation of energy storage is as large as possible, the objective function at this time is as follows:

[0030] In the formula, is the energy storage power, with charging as positive; is the incentive value for demand reduction; is the incentive weight;

[0031] (2) Considering that the cost of installing energy storage is as small as possible, the objective function at this time is as follows:

[0032] , where Install capacity penalties for energy storage; is the penalty factor corresponding to the installed unit capacity of energy storage; installing capacity for energy storage;

[0033] (3) Considering that the energy storage operation and maintenance cost should be as small as possible, the objective function at this time is as follows:

[0034] , where is the total operation and maintenance cost of energy storage; The operation and maintenance cost per unit of electricity used; is the time interval;

[0035] (4) Considering that the benefits of energy storage electricity prices should be as large as possible, that is, the electricity price costs should be as small as possible, the objective function needs to be determined according to the division of multiple stakeholders, as shown below:

[0036] 1) When photovoltaics, users, and energy storage are the same stakeholders, the objective function is as follows:

[0037] In the formula, For the Daily energy storage electricity price cost; The price of electricity purchased from the power grid is the peak and valley time-of-use electricity price; The price of electricity sold to the grid for photovoltaic power;

[0038] 2) When photovoltaic and energy storage belong to the same interest entity, the objective function is as follows:

[0039] In the formula, The price of electricity sold to users for photovoltaic power; The price of electricity sold to users for energy storage; is an indicative function, and its expression is as follows:

[0040] ;

[0041] 3) When users and photovoltaics belong to the same interest subject, and energy storage is another interest subject, the objective function at this time is as follows:

[0042] In the formula, The price of electricity sold for photovoltaic to energy storage;

[0043] 4) When the user and energy storage belong to the same interest entity, and photovoltaics is another interest entity, the objective function at this time is as follows:

[0044] ;

[0045] 5) When users, photovoltaics, and energy storage are three stakeholders, the objective function is as follows:

[0046] ;

[0047] 6) When users and energy storage are two stakeholders and there is no photovoltaic in the microgrid, the objective function is as follows:

[0048] ;

[0049] Since there are multiple objective functions, multi-objective optimization is required to construct the Pareto optimal solution. All Pareto optimal solutions constitute the Pareto optimal solution set. The minimization objective function of the day is as follows:

[0050] ;

[0051] In the formula, , , are the coefficients of each objective function; by adjusting the values ​​of various coefficients, a set of objective function values ​​considering different objective function weights can be obtained, that is, the Pareto optimal front end. Specific weights need to be selected according to the actual requirements for the objective function;

[0052] Considering all photovoltaic and load curves in a year, the minimization objective function of the energy storage side stakeholders throughout the year is:

[0053] .

[0054] Preferably, step S4 specifically includes: using the k-means clustering algorithm to perform cluster analysis on the daily photovoltaic and load curves within a year, and reclassifying the numerous daily photovoltaic load curves into kind( ), the number of days in each category is , and obtain the photovoltaic load power curve corresponding to the cluster center under each class as Typical daily curves of photovoltaic load fluctuations, among which Typical Day The photovoltaic output power at the time is recorded as , No. Typical Day The load power at the moment is recorded as , the probability of each typical day occurring in a year is recorded as , satisfying the following equation:

[0055] ;

[0056] In addition, the probability of occurrence of different typical days is different. Combining all typical days, a random planning is constructed to minimize the comprehensive multi-objective expected value within a year, as shown below:

[0057] In the formula, Indicates the expected value of the function within the brackets.

[0058] Preferably, the step S5 specifically includes: for energy storage planning, determining energy storage operation constraints as follows:

[0059] ,

[0060] In the formula, is the maximum charging power of energy storage; To store energy for energy storage currently; is the maximum discharge depth of energy storage; To ensure charging efficiency; is the energy storage discharge efficiency.

[0061] Preferably, the step S6 specifically includes:

[0062] The objective function is:

[0063] ;

[0064] The constraints are:

[0065] ;

[0066] Form a multi-objective stochastic planning of energy storage capacity for microgrids, and use Cplex or Gurobi solvers to quickly solve the above optimization problems and obtain the optimal energy storage planning capacity value. .

[0067] Preferably, the step S7 specifically includes:

[0068] Final function value It is the expected daily electricity cost of the energy storage side stakeholders, and its opposite is the expected daily benefit of the energy storage side stakeholders;

[0069] At the same time, when there is no need to add additional electricity meter equipment, the expected electricity cost or benefit of the non-energy storage side stakeholders is directly calculated as follows:

[0070] (1) When photovoltaics, users, and energy storage are the same interest subject, there is no interest subject on the non-energy storage side;

[0071] (2) When photovoltaic and energy storage belong to the same interest entity, the user's expected daily electricity cost is:

[0072] ;

[0073] (3) When the user and photovoltaics are the same interest subject, and energy storage is another interest subject, the user’s expected daily photovoltaic electricity cost is:

[0074] ;

[0075] (4) When the user and energy storage are the same interest entity and photovoltaics is another interest entity, the expected daily return of photovoltaics is:

[0076] ;

[0077] (5) When users, photovoltaics, and energy storage are three stakeholders, the user’s expected daily electricity cost is:

[0078] ;

[0079] The expected daily return of photovoltaic power generation is:

[0080] ;

[0081] (6) When the user and the energy storage are two interest entities and there is no photovoltaic power generation in the microgrid, the user’s expected daily electricity cost is:

[0082] .

[0083] Compared with the prior art, the positive effect of the present invention is that the method of the present invention fully takes into account the situation that photovoltaics, users, and energy storage belong to different interest entities in actual projects, including 1) photovoltaics, users, and energy storage are the same interest entity; 2) photovoltaics and energy storage belong to the same interest entity, 3) users and photovoltaics belong to the same interest entity, and energy storage is another interest entity; 4) users and energy storage belong to the same interest entity, and photovoltaics is another interest entity; 5) users, photovoltaics, and energy storage belong to three interest entities; 6) users and energy storage belong to two interest entities, and there is no photovoltaic in the microgrid; the proposed technology clearly quantifies the economic goals of the interest entities on the energy storage side under different interest scenarios, and solves the optimal energy storage configuration capacity by constructing an energy storage capacity configuration optimization problem considering actual operating conditions, thereby maximizing the comprehensive expected economic efficiency of the interest entities on the energy storage side under different interest scenarios.

[0084] By formulating a power transmission and electricity trading strategy for multiple stakeholders, it is only necessary to install electricity meters at the photovoltaic output end and the public bus end to achieve reasonable settlement of electricity charges and reasonable distribution of benefits among multiple stakeholders, thereby achieving economic win-win results for multiple stakeholders at the actual operation level.

[0085] Taking all scenarios in a year into consideration, the k-means clustering algorithm is used to cluster the photovoltaic load data within a year and extract the typical daily curve and its corresponding occurrence probability, and the random planning problem of energy storage capacity configuration is constructed. It can maximize the expected economic benefits of the stakeholders on the energy storage side within a year with high computing efficiency. At the same time, a multi-objective Pareto optimal solution is constructed in the energy storage planning problem, which fully takes into account the impact of the different importance of different objectives on the energy storage capacity configuration decision, making the result more in line with the needs of actual projects.

[0086] In summary, the microgrid multi-objective energy storage capacity stochastic planning method considering multiple stakeholders in the present invention fully considers that photovoltaic, user, and energy storage belong to different stakeholders, and proposes an energy storage optimization configuration algorithm under different stakeholders; at the same time, considering the actual engineering situation, based on the meter measurement data at the common bus end of the microgrid export and the photovoltaic output end, the energy storage side, photovoltaic side, and user side stakeholder transaction strategy and electricity cost and benefit calculation method are constructed to formulate an energy storage capacity optimization configuration plan that considers the overall economic maximization of the energy storage side stakeholder. BRIEF DESCRIPTION OF THE DRAWINGS

[0087] In order to more clearly illustrate the embodiments of the present application, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative labor.

[0088] Figure 1 It is a schematic diagram of the technical solution flow in the present invention;

[0089] Figure 2 This is a schematic diagram of the regional microgrid structure without energy storage installed in the present invention;

[0090] Figure 3 This is a schematic diagram of the regional microgrid structure after energy storage is installed in the present invention. DETAILED DESCRIPTION

[0091] Combine the following Figure 1-3 The present invention is further described with specific implementation methods; the following examples will help those skilled in the art to further understand the present invention, but do not limit the present invention in any form. It should be pointed out that for those of ordinary skill in the art, several modifications and improvements can be made without departing from the concept of the present invention, which all belong to the scope of protection of the present invention.

[0092] The existing technology does not consider that photovoltaics, energy storage, and users in the microgrid belong to multiple stakeholders. For example, it is usually assumed that photovoltaics, energy storage, and loads are one stakeholder, so the overall interests of photovoltaics, energy storage, and users are maximized to optimize the configuration of energy storage capacity; however, in actual situations, there are multiple stakeholders, which can be divided into the following types: 1) Photovoltaics are configured for users, and now users need to configure energy storage additionally, so photovoltaics, energy storage, and users belong to the same stakeholder; 2) Photovoltaics are configured for photovoltaic investors, providing electricity to users and charging users. Now photovoltaic investors additionally hope to configure energy storage, so photovoltaics and energy storage belong to the same stakeholder; 3) Photovoltaics are configured for users, and now there is an additional energy storage investor who hopes to configure energy storage, so photovoltaics and users belong to the same stakeholder, and energy storage belongs to another stakeholder; 4) Photovoltaics are configured for photovoltaic investors, and now users hope to configure energy storage themselves, so users and energy storage belong to the same stakeholder, and photovoltaics is another stakeholder. Entity; 5) Photovoltaic is configured by the photovoltaic investor, and now there is an additional energy storage investor configuring energy storage, so users, photovoltaics, and energy storage belong to three interest entities; 6) There is no photovoltaic in the microgrid, and now there is an additional energy storage investor who hopes to configure energy storage, so users and energy storage belong to two interest entities; that is, there are different and complex interest interactions between different interest entities, and the existing technology cannot fully consider the power interaction and electricity fee settlement between different interest entities, which makes it difficult to maximize the benefits of energy storage configuration by the interest entity on the energy storage side; at the same time, in actual projects, the number of installed electricity meters is limited, and usually only electricity meters are installed at the bus end of the microgrid outlet and the output end of photovoltaics. The power flow between energy storage, photovoltaics, and loads can only pass through the common bus, and power cannot be directly transferred between any two; it is difficult for the existing technology to settle electricity fees for the multiple interest entities formed by energy storage, photovoltaics, and users at these two given measurement points, thereby affecting the problem of energy storage planning and calculation.

[0093] The present invention provides a microgrid multi-objective energy storage capacity stochastic planning method considering multiple stakeholders, such as Figure 1 As shown: the method specifically includes:

[0094] 101: Obtain the daily photovoltaic power generation and load curves of the microgrid that is not connected to the energy storage within one year;

[0095] 102: After the microgrid is connected to the energy storage, the energy storage, photovoltaic, and user electricity trading strategy is set at a given power measurement point;

[0096] 103: Consider multiple stakeholders and set the energy storage planning objective function;

[0097] 104: Constructing the stochastic programming objective function of energy storage capacity using clustering algorithm;

[0098] 105: Set energy storage planning constraints;

[0099] 106: Solve the multi-objective random planning of energy storage capacity in microgrids and obtain the optimal energy storage planning capacity value;

[0100] 107: Calculation of expected electricity costs and benefits for each stakeholder.

[0101] Further, the step 101 specifically includes: the existing photovoltaic and load in the regional microgrid, such as Figure 2 As shown in the figure, considering the actual measurement of the power grid, the electric meter is only installed at the photovoltaic output end and the common bus end; the photovoltaic power generation output and the total power consumption data of the microgrid are obtained every day in a year through electric meter monitoring, among which, sky The photovoltaic output power at the time is recorded as (Output power is positive), sky The total power consumption of the microgrid at the time is recorded as (power supply to microgrid is positive), , , is the total number of daily monitoring data; through the power transfer relationship, it can be obtained that sky User load power at the moment (with electricity consumption as positive) is:

[0102] (1);

[0103] Further, the step 102 specifically includes: when the energy storage is connected to the microgrid, the photovoltaic, user, and energy storage are connected to the same bus, such as Figure 3 As shown; among them, photovoltaic power generation is 100% absorbed, the load cannot be adjusted, and the energy storage can adjust the overall power consumption of the microgrid through charging and discharging, thereby improving the economy of overall power consumption; the power flow between energy storage, photovoltaics, and loads can only pass through the common bus, and power cannot be directly transferred between any two; the power of energy storage can be obtained through the terminal energy management system, so the load power can be calculated through the power at the common bus, photovoltaic power, and energy storage power.

[0104] Since the power flow between energy storage, photovoltaics and loads can only pass through the public bus, it is necessary to reasonably set the power transmission and electricity trading strategy on the public bus:

[0105] Considering that photovoltaic power generation needs to meet the conditions of self-use and grid access for surplus power, the photovoltaic strategy is as follows:

[0106] 1) Photovoltaic power generation gives priority to meeting loads;

[0107] 2) If PV power generation is in excess after meeting the load and energy storage needs to be charged, PV power generation will be used first for energy storage charging;

[0108] 3) If there is excess power after photovoltaic power generation meets the load and energy storage charging, the excess power can be transmitted to the external power grid.

[0109] The energy storage strategy is as follows:

[0110] 1) If the photovoltaic power generation is less than the load and the energy storage needs to be discharged, the energy storage discharge cannot cause the entire microgrid to reverse power;

[0111] 2) The user load needs to fully absorb the energy storage discharge power;

[0112] 3) When energy storage and users belong to different interest groups, the electricity price of energy storage discharge to users shall not be higher than the price of electricity purchased from the user's large power grid. When the price of purchased electricity is high, the energy storage discharge price must be lower than the price of purchased electricity. Part of the electricity price income of energy storage can be passed on to users, so that users are willing to use energy storage discharge, achieving an economic win-win situation for the interest groups on the user side and the energy storage side.

[0113] Further, the step 103 specifically includes:

[0114] Since photovoltaics, users, and energy storage may represent different stakeholders, different stakeholders will lead to obvious differences in energy storage planning. It is necessary to set the most appropriate objective function for energy storage planning based on the division of multiple stakeholders:

[0115] Consider the The daily photovoltaic and load curves, the objective functions include the following categories:

[0116] 1. The incentive for reducing the maximum demand of the microgrid due to the installation of energy storage is as large as possible:

[0117] (2);

[0118] In the formula, is the energy storage power, with charging as positive; is the incentive value for demand reduction; is the incentive weight.

[0119] 2. The cost of installing energy storage is as low as possible:

[0120] (3);

[0121] In the formula, Install capacity penalties for energy storage; is the penalty factor corresponding to the installed unit capacity of energy storage; Install capacity for energy storage.

[0122] 3. Energy storage operation and maintenance costs are as low as possible:

[0123] (4);

[0124] In the formula, is the total operation and maintenance cost of energy storage; The operation and maintenance cost per unit of electricity used; is the time interval.

[0125] 4. The energy storage electricity price benefits should be as large as possible, that is, the electricity price costs should be as small as possible. This objective function needs to be determined based on the division of multiple stakeholders, as shown below:

[0126] 1) Photovoltaic, users and energy storage are the same stakeholders:

[0127] (5);

[0128] In the formula, For the Daily energy storage electricity price cost; The price of electricity purchased from the power grid is the peak and valley time-of-use electricity price; The price of electricity sold to the grid for photovoltaic power;

[0129] 2) Photovoltaic and energy storage belong to the same interest entity:

[0130] (6);

[0131] In the formula, The price of electricity sold to users for photovoltaic power; The price of electricity sold to users for energy storage; is an indicative function, and its expression is as follows:

[0132] (7);

[0133] 3) Users and photovoltaics are the same interest subject, and energy storage is another interest subject:

[0134] (8);

[0135] In the formula, The price of electricity sold for photovoltaic to energy storage;

[0136] 4) Users and energy storage are the same interest entity, and photovoltaics is another interest entity:

[0137] (9);

[0138] 5) Users, photovoltaics, and energy storage are three stakeholders:

[0139] (10);

[0140] 6) Users and energy storage are two interest entities, and there is no photovoltaic power in the microgrid:

[0141] (11);

[0142] Since there are multiple objective functions, multi-objective optimization is required to construct the Pareto optimal solution. The Pareto optimal solution means that there is no better solution than at least one of the objectives and the other objectives are not inferior; all Pareto optimal solutions constitute the Pareto optimal solution set; The minimization objective function of the day is as follows:

[0143] (12);

[0144] In the formula, , , are the coefficients of each objective function; by adjusting the values ​​of various coefficients, a set of objective function values ​​considering different objective function weights can be obtained, that is, the Pareto optimal front end. Specific weights need to be selected according to the actual requirements of the objective function.

[0145] Considering all photovoltaic and load curves in a year, the minimization objective function of the energy storage side stakeholders throughout the year is:

[0146] (13).

[0147] Further, the step 104 specifically includes:

[0148] Since the amount of photovoltaic and load data in a year is too large, the efficiency of energy storage planning calculation is greatly affected. The k-means clustering algorithm is used to perform cluster analysis on the photovoltaic and load curves of each day in a year, and the numerous daily photovoltaic load curves are reclassified into kind( ), the number of days in each category is , and obtain the photovoltaic load power curve corresponding to the cluster center under each class as Typical daily curves of photovoltaic load fluctuations, among which Typical Day The photovoltaic output power at the time is recorded as , No. Typical Day The load power at the moment is recorded as , the probability of each typical day occurring in a year is recorded as , satisfying the following equation:

[0149] (14);

[0150] (15);

[0151] In addition, the probability of occurrence of different typical days is different. Combining all typical days, a random planning is constructed to minimize the comprehensive multi-objective expected value within a year, as shown below:

[0152] (16);

[0153] In the formula, Indicates the expected value of the function within the brackets.

[0154] By constructing a stochastic planning of energy storage capacity that takes into account the probability of occurrence on typical days, the computational complexity of the planning problem can be greatly reduced while ensuring that the comprehensive expected economic efficiency of the energy storage planning is minimized.

[0155] Further, the step 105 specifically includes:

[0156] For energy storage planning, the energy storage operation constraints are determined as follows:

[0157] (17);

[0158] (18) ;

[0159] (19);

[0160] (20);

[0161] (twenty one);

[0162] In the formula, is the maximum charging power of energy storage; To store energy for energy storage currently; is the maximum discharge depth of energy storage; To ensure charging efficiency; is the energy storage discharge efficiency.

[0163] Further, the step 106 specifically includes:

[0164] The objective function is (16), and the constraints are (17)-(21), forming a multi-objective stochastic planning of energy storage capacity for microgrids. Through mature solvers such as Cplex and Gurobi, the above optimization problem can be quickly solved to obtain the optimal energy storage planning capacity value. .

[0165] Further, the step 107 specifically includes:

[0166] Final function value It is the expected daily electricity cost of the energy storage side stakeholders, and its opposite is the expected daily benefit of the energy storage side stakeholders. In addition, there is no need to add additional electricity meter equipment, and the expected electricity cost or benefit of the non-energy storage side stakeholders can be directly calculated as follows:

[0167] 1) When photovoltaics, users, and energy storage are the same interest subject, there is no interest subject on the non-energy storage side;

[0168] 2) When photovoltaic and energy storage belong to the same interest entity, the user's expected daily electricity cost is: (twenty two);

[0169] 3) When the user and photovoltaics are the same interest subject, and energy storage is another interest subject, the user's expected photovoltaic daily electricity cost is:

[0170] (twenty three);

[0171] 4) When the user and energy storage are the same interest entity and photovoltaic is another interest entity, the expected daily return of photovoltaic is:

[0172] (twenty four);

[0173] 5) When users, photovoltaics, and energy storage are three stakeholders, the user’s expected daily electricity cost is:

[0174] (25);

[0175] The expected daily return of photovoltaic power generation is:

[0176] (26);

[0177] 6) When the user and energy storage are two interest entities and there is no photovoltaic in the microgrid, the user's expected daily electricity cost is:

[0178] (27).

[0179] Compared with the prior art, the positive effect of the present invention is that the method of the present invention fully takes into account the situation that photovoltaics, users, and energy storage belong to different stakeholders in actual projects, including 1) photovoltaics, users, and energy storage are the same stakeholder; 2) photovoltaics and energy storage belong to the same stakeholder; 3) users and photovoltaics belong to the same stakeholder, and energy storage is another stakeholder; 4) users and energy storage belong to the same stakeholder, and photovoltaics is another stakeholder; 5) users, photovoltaics, and energy storage belong to three stakeholders; 6) users and energy storage belong to two stakeholders, and there is no photovoltaic in the microgrid. The proposed technology clearly quantifies the economic goals of the stakeholders on the energy storage side under different interest scenarios, and solves the optimal energy storage configuration capacity by constructing an energy storage capacity configuration optimization problem considering actual operating conditions, thereby achieving the maximization of the comprehensive expected economic efficiency of the stakeholders on the energy storage side under different interest scenarios.

[0180] By formulating a power transmission and electricity trading strategy for multiple stakeholders, it is only necessary to install electricity meters at the photovoltaic output end and the public bus end to achieve reasonable settlement of electricity charges and reasonable distribution of benefits among multiple stakeholders, thereby achieving economic win-win results for multiple stakeholders at the actual operation level.

[0181] Taking all scenarios in a year into consideration, the k-means clustering algorithm is used to cluster the photovoltaic load data within a year and extract the typical daily curve and its corresponding probability of occurrence, and the stochastic planning problem of energy storage capacity configuration is constructed. It can maximize the expected economic benefits of the stakeholders on the energy storage side within a year with high computing efficiency. At the same time, a multi-objective Pareto optimal solution is constructed in the energy storage planning problem, which fully considers the impact of the different importance of different objectives on the energy storage capacity configuration decision, making the result more in line with the needs of actual projects.

[0182] In summary, the microgrid multi-objective energy storage capacity stochastic planning method considering multiple stakeholders in the present invention fully considers that photovoltaic, user, and energy storage belong to different stakeholders, and proposes an energy storage optimization configuration algorithm under different stakeholders. At the same time, considering the actual engineering situation, based on the meter measurement data at the common bus end of the microgrid export and the photovoltaic output end, the energy storage side, photovoltaic side, and user side stakeholder transaction strategy and electricity cost and benefit calculation method are constructed to formulate an energy storage capacity optimization configuration plan that considers the overall economic maximization of the energy storage side stakeholder.

[0183] The above description of the embodiments is to facilitate ordinary technicians in this technical field to understand and apply the present invention. It is obvious that those familiar with the technology in this field can easily make various modifications to these embodiments and apply the general principles described herein to other embodiments without having to go through creative work. Therefore, the present invention is not limited to the embodiments here. Improvements and modifications made by those skilled in the art based on the disclosure of the present invention without departing from the scope of the present invention should be within the scope of protection of the present invention.

Claims

1. A multi-objective stochastic programming method for microgrid energy storage capacity considering multiple stakeholders, characterized by: include: S1: Obtain the daily photovoltaic power generation and load curves of the microgrid without energy storage in one year; S2: After the microgrid is connected to energy storage, the energy storage, photovoltaic, and user electricity trading strategy is set at a given power measurement point; S3: Consider multiple stakeholders and set the energy storage planning objective function; S4: Construct the stochastic programming objective function of energy storage capacity using clustering algorithm; S5: Set energy storage planning constraints; S6: Solve the multi-objective random planning of energy storage capacity of microgrid and obtain the optimal energy storage planning capacity value; S7: Calculation of expected electricity costs and benefits for each stakeholder; The step S1 specifically includes: obtaining photovoltaic power generation output and total power consumption data of the microgrid every day in a year through electric meter monitoring, wherein the first sky The photovoltaic output power at the time is recorded as , with the output power as positive, sky The total power consumption of the microgrid at the time is recorded as , with power delivered to the microgrid as positive, where, , , is the total number of daily monitoring data; Through the power transfer relationship, we can get sky User load power at the moment , taking electricity consumption as positive: ; The step S2 specifically includes: the power of energy storage is obtained through the terminal energy management system, and the load power is calculated by the power at the public bus, the photovoltaic power, and the energy storage power; considering that photovoltaic power generation needs to meet the conditions of self-generation and self-use and surplus power grid access, the photovoltaic strategy is as follows: (1) Photovoltaic power generation gives priority to meeting loads; (2) If photovoltaic power generation meets the load and there is a surplus and energy storage needs to be charged, photovoltaic power generation will be used first for energy storage charging; (3) If there is excess power after photovoltaic power generation meets the load and energy storage is charged, the excess power can be transmitted to the external power grid; The energy storage strategy is as follows: (1) If the photovoltaic power generation is less than the load and the energy storage needs to be discharged, the energy storage discharge cannot cause the entire microgrid to reverse power; (2) The user load needs to fully absorb the energy storage discharge power; (3) When energy storage and users belong to different interest entities, the electricity price of energy storage discharged to users shall not be higher than the price of electricity purchased from the user's large power grid. When the price of purchased electricity is high, the energy storage discharge price must be lower than the price of purchased electricity; The step S3 specifically includes: since photovoltaic, users, and energy storage may be different stakeholders, different stakeholders will lead to obvious differences in energy storage planning, and it is necessary to set the most appropriate objective function for energy storage planning according to the division of multiple stakeholders: Consider the The daily photovoltaic and load curves, the objective functions include the following categories: (1) Considering that the incentive for reducing the maximum demand of the microgrid due to the installation of energy storage is as large as possible, the objective function at this time is as follows: In the formula, is the energy storage power, with charging as positive; is the incentive value for demand reduction; is the incentive weight; (2) Considering that the cost of installing energy storage is as small as possible, the objective function at this time is as follows: , where Install capacity penalties for energy storage; is the penalty factor corresponding to the installed unit capacity of energy storage; installing capacity for energy storage; (3) Considering that the energy storage operation and maintenance cost should be as small as possible, the objective function at this time is as follows: , where is the total operation and maintenance cost of energy storage; The operation and maintenance cost per unit of electricity used; is the time interval; (4) Considering that the benefits of energy storage electricity prices should be as large as possible, that is, the electricity price costs should be as small as possible, the objective function needs to be determined according to the division of multiple stakeholders, as shown below: 1) When photovoltaics, users, and energy storage are the same stakeholders, the objective function is as follows: In the formula, For the Daily energy storage electricity price cost; The price of electricity purchased from the power grid is the peak and valley time-of-use electricity price; The price of electricity sold to the grid for photovoltaic power; 2) When photovoltaic and energy storage belong to the same interest entity, the objective function is as follows: In the formula, The price of electricity sold to users for photovoltaic power; The price of electricity sold to users for energy storage; is an indicative function, and its expression is as follows: ; 3) When users and photovoltaics belong to the same interest subject, and energy storage is another interest subject, the objective function at this time is as follows: In the formula, The price of electricity sold for photovoltaic to energy storage; 4) When the user and energy storage belong to the same interest entity, and photovoltaics is another interest entity, the objective function at this time is as follows: ; 5) When users, photovoltaics, and energy storage are three stakeholders, the objective function is as follows: ; 6) When users and energy storage are two stakeholders and there is no photovoltaic in the microgrid, the objective function is as follows: ; Since there are multiple objective functions, multi-objective optimization is required to construct the Pareto optimal solution. All Pareto optimal solutions constitute the Pareto optimal solution set. The minimization objective function of the day is as follows: In the formula, , , are the coefficients of each objective function; by adjusting the values ​​of various coefficients, a set of objective function values ​​considering different objective function weights can be obtained, that is, the Pareto optimal front end. Specific weights need to be selected according to the actual requirements for the objective function; Considering all photovoltaic and load curves in a year, the minimization objective function of the energy storage side stakeholders throughout the year is: ; The step S4 specifically includes: using the k-means clustering algorithm to perform cluster analysis on the daily photovoltaic and load curves within a year, and reclassifying the numerous daily photovoltaic load curves into kind( ), the number of days in each category is , and obtain the photovoltaic load power curve corresponding to the cluster center under each class as Typical daily curves of photovoltaic load fluctuations, among which Typical Day The photovoltaic output power at the time is recorded as , No. Typical Day The load power at the moment is recorded as , the probability of each typical day occurring in a year is recorded as , satisfying the following equation: ; In addition, the probability of occurrence of different typical days is different. Combining all typical days, a random planning is constructed to minimize the comprehensive multi-objective expected value within a year, as shown below: In the formula, Indicates the expected value of the function in brackets; The step S5 specifically includes: for energy storage planning, determining energy storage operation constraints as follows: In the formula, is the maximum charging power of energy storage; To store energy for energy storage currently; is the maximum discharge depth of energy storage; To ensure charging efficiency; is the energy storage discharge efficiency; The step S6 specifically includes: The objective function is: ; The constraints are: ; Form a multi-objective stochastic planning of energy storage capacity for microgrids, and use Cplex or Gurobi solver to quickly solve the above optimization problems and obtain the optimal energy storage planning capacity value .

2. The microgrid multi-objective energy storage capacity stochastic programming method considering multiple stakeholders as described in claim 1, characterized in that: The step S7 specifically includes: Final function value It is the expected daily electricity cost of the energy storage side stakeholders, and its opposite is the expected daily benefit of the energy storage side stakeholders; At the same time, when there is no need to add additional electricity meter equipment, the expected electricity cost or benefit of the non-energy storage side stakeholders is directly calculated as follows: (1) When photovoltaics, users, and energy storage are the same interest subject, there is no interest subject on the non-energy storage side; (2) When photovoltaic and energy storage belong to the same interest entity, the user's expected daily electricity cost is: ; (3) When the user and photovoltaics are the same interest subject, and energy storage is another interest subject, the user's expected daily photovoltaic electricity cost is: ; (4) When the user and energy storage are the same interest entity and photovoltaics is another interest entity, the expected daily return of photovoltaics is: ; (5) When users, photovoltaics, and energy storage are three stakeholders, the user’s expected daily electricity cost is: ; The expected daily return of photovoltaic power generation is: ; (6) When the user and the energy storage are two interest entities and there is no photovoltaic power generation in the microgrid, the user’s expected daily electricity cost is: 。