Multi-microgrid cloud energy storage scheduling method in energy sharing mode
By constructing a two-layer optimization decision-making model on the user side and the cloud energy storage operator side, the power balance and revenue objectives are optimized, solving the problem of neglecting individual user differences in existing technologies, realizing the optimal solution for user revenue and overall microgrid revenue, and improving the participation of photovoltaic users.
Patent Information
- Application Number
- CN202510965462.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-07-14
- Publication Date
- 2025-12-05
AI Technical Summary
Existing research often focuses on the overall benefits of microgrid systems, neglecting the differences in income and expenditure among individual users. This may result in profit losses for photovoltaic power generation users, affecting their participation.
A two-layer optimization decision-making model is constructed for the user side and the cloud energy storage operator side. By combining the charging and discharging functions and constraints of the user side and the cloud energy storage operator side, the power balance and revenue objectives are optimized, and energy sharing is achieved through electricity trading.
It achieves the optimal solution for user benefits and overall microgrid benefits, improves the participation and electricity satisfaction of photovoltaic users, and solves the problem of benefits being biased towards users who have not installed photovoltaic systems in the traditional model.
Smart Images

Figure CN121076889A_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the field of cloud energy storage power dispatch, in particular to a multi-microgrid cloud energy storage dispatch method under an energy sharing mode. BACKGROUND
[0002] With the in-depth promotion of global energy transformation, distributed energy and microgrid technology usher in rapid development opportunities. Globally, only solar photovoltaic accounts for three-quarters of the global renewable energy installed capacity. Under the background of rapid development of renewable energy, cloud energy storage as a key technology to optimize energy resource allocation has attracted widespread attention. How to realize energy sharing and maximize the use of new energy resources is a problem to be solved.
[0003] However, existing researches focus on the overall benefits of microgrid systems, ignoring the differences in individual user income and expenditure, especially causing profit loss to photovoltaic power generation users, which affects the participation of photovoltaic power generation users in actual application. Therefore, it is necessary to adjust and optimize the existing cloud energy storage dispatch strategy focusing on the overall benefits of the system to improve its practical application value. SUMMARY
[0004] The purpose of the present application is to provide a multi-microgrid cloud energy storage dispatch method under an energy sharing mode to solve the problems raised in the background art.
[0005] To achieve the above purpose, the present application provides the following technical solutions:
[0006] A multi-microgrid cloud energy storage dispatch method under an energy sharing mode, comprising:
[0007] Step 1, data acquisition and preprocessing;
[0008] Step 2, constructing a user-side cloud energy storage charging and discharging optimization decision model from three dimensions of user-side cloud energy storage charging and discharging function, user-side charging and discharging optimization objective function, and user-side cloud energy storage charging and discharging constraint condition;
[0009] Step 3, constructing a cloud energy storage operator charging and discharging optimization decision model from three dimensions of cloud energy storage operator charging and discharging function, cloud energy storage operator charging and discharging optimization objective function, and cloud energy storage operator charging and discharging constraint condition;
[0010] Step 4, taking the microgrid internal power balance model as the upper model and taking user income as the main optimization objective, solving and then inputting the upper and lower common decision variables into the lower model, which is a multi-microgrid joint operation optimization model and takes the overall income of the microgrid as the main optimization objective, and outputting the optimal dispatch strategy after solving.
[0011] Further, the step 1 comprises:
[0012] Obtain the total photovoltaic power generation, total load, individual photovoltaic power generation of users equipped with photovoltaic, and historical data of individual load of each micro-grid, and perform missing value and abnormal value processing on the historical data.
[0013] Further, the step 2 comprises:
[0014] When the photovoltaic power generation of the user is greater than the self power consumption, charge the cloud energy storage or sell electricity to other users; when the photovoltaic power generation of the user is less than the self power consumption, charge from the cloud energy storage or buy electricity from other users, the users directly trade electricity through the cloud energy storage, and the charge-discharge function of the user-side cloud energy storage operator is shown in formula (1):
[0015]
[0016] In the formula, P_ess_s(u,t) represents the charging power of the user u to the cloud energy storage at t, P_ess_b(u,t) represents the discharging power of the cloud energy storage to the user u at t, tqp(u,j,t) represents the electricity purchase amount of the user u to the user j at t, tqs(u,j,t) represents the electricity sale amount of the user u to the user j at t, CE is the efficiency of the user charging the cloud energy storage, DCE is the efficiency of the cloud energy storage discharging to the user, E(u,t) is the remaining electricity amount of the user u cloud energy storage at t, E(u,t+1) is the remaining electricity amount of the user u cloud energy storage at t+1;
[0017] An optimization objective function of user-side charge-discharge is established, as shown in formula (2):
[0018] min J=J1+J2+J3 (2)
[0019] In the formula, min represents taking the minimum value, J represents the total cost of the user, J1 represents the power cost of the user, J2 represents the total energy storage use cost of the user, and J3 is the net load mean square error after the micro-grid energy storage charge-discharge, wherein the net load is the difference between the actual load and the photovoltaic power generation;
[0020] In the formula, min represents taking the minimum value, J represents the total cost of the user, J1 represents the power cost of the user, J2 represents the total energy storage use cost of the user, and J3 is the net load mean square error after the micro-grid energy storage charge-discharge, wherein the net load is the difference between the actual load and the photovoltaic power generation;
[0021]
[0022] In the formula, Grid(u,t) represents the electricity purchase amount of the user u to the grid at t, and α and β represent the grid electricity purchase price and the electricity trading price between users respectively, C rent represents the leasing cost of the energy storage, C CES represents the charge-discharge cost of the energy storage, η1, η2, and γ represent the unit energy capacity leasing cost, the unit power capacity leasing cost, and the unit charge-discharge power cost respectively, respectively represent the energy capacity rental size and the power capacity rental size of user u in the cloud energy storage, N represents the number of users in the microgrid, T is the total time, Load(u, t) represents the actual load of user u at time t, P new (u, t) represents the photovoltaic power generation of user u at time t, P avg,u represents the average of the net load of user u in T time;
[0023] According to the maximum power P_ess max of the single energy storage device charging and discharging, and the maximum charging and discharging power P max of the energy storage power station, a model constraint condition is established:
[0024] 0≤P_ess_d(u, t)≤P_ess max ×U_ess_d(u, t)
[0025] 0≤P_ess_c(u, t)≤P_ess max ×U_ess_c(u, t)
[0026] U_ess_d(u, t)+U_ess_c(u, t)≤1
[0027] U_ess_d(u, t)∈{0, 1}, U_ess_c(u, t)∈{0, 1}
[0028]
[0029] In the formula, P_ess_d(u, t) represents the discharging power of the cloud energy storage to user u at time t, P_ess_c(u, t) represents the charging power of the cloud energy storage to user u at time t, U_ess_d(u, t) and U_ess_c(u, t) represent the discharging state bit and the charging state bit of the user u using the energy storage device at time t respectively;
[0030] The user-side cloud energy storage charging and discharging optimization decision model also has the following balance constraints: power balance constraint, energy storage power station state of charge continuity constraint, and energy storage power station charging and discharging power balance constraint. The power balance constraint is shown in formula (5), the energy storage power station state of charge continuity constraint is shown in formula (6), and the energy storage power station charging and discharging power balance constraint is shown in formula (7):
[0031] Load(u, t)+P_ess_c(u, t)-Grid(u, t)-P new (u, t)-P_ess_d(u, t)=0 (5)
[0032] E(u, t)=(1-μ)×E(u, t-1)+Σ j(j≠u)[tqp(u, j, t) - tqs(u, j, t)] (6)
[0033] ∑ u [P_ess_d(u, t) - P_ess_c(u, t)] = ∑ u P_ess_d(u, t) - ∑ u P_ess_c(u, t) (7)
[0034] In the formula, μ represents the self-discharge rate of the energy storage device.
[0035] Further, the step 3 comprises:
[0036] In the user-side cloud energy storage charging and discharging optimization decision model, the cloud energy storage operator has rented equipment which is controlled by the user, and the unrented cloud energy storage equipment is completely controlled by the operator according to the grid electricity price ε Grid , the charging critical electricity price ε CES,C , and the discharging critical electricity price ε CES,D to determine whether to charge or discharge, as shown in formula (8):
[0037]
[0038] In the formula, is the cloud energy storage charging power controlled by the cloud energy storage operator at time t, is the cloud energy storage discharging power controlled by the cloud energy storage operator at time t;
[0039] By comprehensively considering the charging and discharging behaviors of the user and the cloud energy storage operator, the residual energy E CES of the cloud energy storage at time t is obtained, and the cloud energy storage operator charging and discharging function is shown in formula (9):
[0040]
[0041] In the formula, are the total sum of the charging and discharging behaviors of all cloud energy storage users of the cloud energy storage at time t, is the change amount of the electric energy in the cloud energy storage caused by the charging and discharging behaviors of the user at time t, η C and η D represent the charging and discharging efficiencies respectively, and μ is the self-discharge rate of the energy storage device;
[0042] An optimization objective function of the cloud energy storage operator charging and discharging is established, as shown in formula (10):
[0043] max Pro cloud =C sto +C inc -C inv -C maintian (10)
[0044] where max denotes taking the maximum value, Pro cloud represents the total revenue of the cloud energy storage operator; C sto represents the revenue of the cloud energy storage operator from leasing to users; C inc represents the peak-valley arbitrage income of the cloud energy storage operator; C inv represents the cost of the user investing in the establishment of centralized energy storage; C maintain represents the cost of the later energy storage equipment operation and maintenance;
[0045] wherein the specific content of each parameter is shown in formula (11):
[0046]
[0047] wherein, respectively represent the unit energy storage and power capacity leasing price of user u; E sto,u , P sto,u respectively represent the leased energy storage capacity and power capacity of user u, ε H (t) represents the peak time electricity price at time t; ε CES (t) represents the electricity selling price of the cloud energy storage operator at time t; P sold (t) represents the total energy storage transaction sold to users by the cloud energy storage operator at time t; C dist represents the leased distributed energy storage, C conc represents the built centralized energy storage, c p represents the unit power capacity cost; c E represents the unit energy storage capacity cost; P max,l , E max,l respectively represent the power capacity and energy storage capacity of the lth leased distributed energy storage; P max , E max respectively represent the power capacity and energy storage capacity of the built centralized energy storage; C m is the unit power maintenance cost;
[0048] According to the upper and lower limits k max , k min of the state of charge of the energy storage power station, the constraint condition for establishing the user-side cloud energy storage charging and discharging optimization decision model is shown in formula (12):
[0049] k min E max ≤ E CES (t) ≤ k max E max (12)
[0050] The user-side cloud energy storage charging and discharging optimization decision model also has energy rate constraints and charging and discharging constraints. The energy rate constraints are shown in formula (13), and the charging and discharging constraints are shown in formula (14):
[0051] E max = β2P max (13)
[0052] In the formula, β2 represents the centralized energy storage battery capacity rate;
[0053]
[0054] In the formula, P_ess_c CES (t) and P_ess_d CES (t) represent the charging and discharging power of the energy storage power station; C user (t) and D user (t) represent the total charging and discharging of the cloud energy storage user at time t; and respectively represent the cloud energy storage charging potential state and discharging potential state at time t.
[0055] Further, the step 4 comprises:
[0056] An internal power balance model of the microgrid is constructed, and the microgrid users are the upper main body, and the power balance condition is shown in formula (15):
[0057]
[0058] In the formula, represents the net load of user u at time t, when represents that the user is a power shortage user, represents that the user is a power surplus user;
[0059] Each user preferentially uses new energy generation to support its own load. After balancing its own load, the user maximizes its own power consumption benefits as the premise, and the excess new energy generation and the electric energy in the energy storage are executed according to the existing charging and discharging optimization decision. The excess power of the power surplus user is transferred to the power shortage user;
[0060] In order to limit the behavior of some users using the price difference to maliciously occupy a large amount of energy storage resources to obtain profits, a constraint condition is added, as shown in formula (16):
[0061]
[0062] In the formula, E u (0) represents the initial electric quantity of user u in a day;
[0063] The lower layer multi-microgrid joint operation model is established, and the power balance formula is shown in formula (17):
[0064]
[0065] In the formula, Load MG,i (t), P new,i (t), Grid MG,i (t), P_ess_d MG,i (t) and P_ess_c MG,i (t) respectively represent the net load, actual load, new energy generation, grid power purchase, cloud energy storage discharge power and cloud energy storage charging power of the microgrid i at the time t; representing that the microgrid is a power shortage microgrid, representing that the microgrid is a power surplus microgrid;
[0066] The constraint condition is set as shown in formula (18):
[0067]
[0068] In the formula, P_ess_s MG,i (t) represents the power selling amount of the microgrid i at the time t, E MG,i (0) represents the initial power of the energy storage of the microgrid i on the day, P MG,NEW (i,t) represents the new energy generation of the microgrid i at the time t;
[0069] The optimal solution of the upper layer microgrid internal power balance model is obtained, and the photovoltaic power generation, user load and user energy storage power are transmitted to the lower layer multi-microgrid joint operation optimization model, and finally the lower layer model is solved, and the optimal scheduling strategy is output.
[0070] Compared with the prior art, the beneficial effects of the present application are:
[0071] 1) The user side cloud energy storage charging and discharging optimization decision model and the cloud energy storage operator charging and discharging optimization decision model are constructed, a plurality of influencing factors and constraint conditions are comprehensively considered, the charging and discharging behaviors of the microgrid user and the cloud energy storage operator using the cloud energy storage are quantified, the problems of lack of accurate quantitative basis for the charging and discharging behaviors of the user and the operator in the traditional mode and strong subjectivity of decision are solved, and the quantification and standardization of the power selling and purchasing behaviors of the two parties are realized.
[0072] 2) The present application constructs a cloud energy storage double-layer optimization model for multi-microgrid joint operation, the upper layer model takes the user benefit as the main optimization target, and the lower layer model takes the overall benefit of the microgrid as the main optimization target, the model solves the problem that the benefits of different subjects are difficult to balance, and finds the optimal solution of the user benefit and the overall benefit of the microgrid.
[0073] 3) The present application solves the problem that the traditional cloud energy storage mode based on the overall benefit as the main target may cause the income to be biased towards users without photovoltaic, ensures the interests of users with photovoltaic, and improves the power consumption satisfaction of photovoltaic users participating in the mode. BRIEF DESCRIPTION OF DRAWINGS
[0074] Figure 1 The flowchart of the present application. DETAILED DESCRIPTION
[0075] The technical solutions in the embodiments of the present application will be described clearly and completely below with reference to the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, rather than all the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those skilled in the art without creative labor fall within the scope of protection of the present application.
[0076] Please refer to Figure 1 A multi-microgrid cloud energy storage scheduling method under an energy sharing mode, comprising the following steps:
[0077] Step 1, data acquisition and preprocessing, specifically including:
[0078] The historical data of the total photovoltaic power generation, total load, individual photovoltaic power generation of users with photovoltaic, and individual load of three microgrids in a certain area from March 1, 2024 to March 7, 2024 are acquired, and the historical data are processed for missing values and outliers.
[0079] Step 2, constructing a user-side cloud energy storage charging and discharging optimization decision model from three dimensions of a user-side cloud energy storage charging and discharging function, a user-side charging and discharging optimization objective function, and user-side cloud energy storage charging and discharging constraint conditions.
[0080] Specifically including:
[0081] Firstly, when the user photovoltaic power generation is greater than the self power consumption, the user can charge the cloud energy storage or sell electricity to other users; when the user photovoltaic power generation is less than the self power consumption, the user can charge from the cloud energy storage or buy electricity from other users, the users directly trade electricity through the cloud energy storage, and the user-side cloud energy storage operator charging and discharging function is shown as formula (1):
[0082]
[0083] P_ess_b(u, t) represents the discharge power of the cloud energy storage to the user u at t, tqp(u, j, t) represents the electricity purchase amount of the user u to the user j at t, tqs(u, j, t) represents the electricity sale amount of the user u to the user j at t, CE is the efficiency of the user charging the cloud energy storage, which is taken as 0.9 in the embodiment, DCE is the efficiency of the cloud energy storage discharging to the user, which is taken as 0.9 in the embodiment, E(u, t) is the remaining electricity amount of the cloud energy storage of the user u at t, and E(u, t+1) is the remaining electricity amount of the cloud energy storage of the user u at t+1;
[0084] Secondly, the user-side charging and discharging optimization objective function is established, as shown in formula (2):
[0085] min J = J1 + J2 + J3 (2)
[0086] In formula (2), min represents taking the minimum value, J represents the total cost of the user, J1 represents the user power cost, J2 represents the total energy storage use cost of the user, and J3 is the net load mean square error after the micro-grid energy storage charging and discharging, wherein the net load is the difference between the actual load and the photovoltaic power generation amount;
[0087] Wherein, the specific content of each cost is shown in formula (3):
[0088]
[0089] In formula (3), Grid(u, t) represents the electricity purchase amount of the user u to the grid at t, and alpha and beta respectively represent the grid electricity purchase price and the electricity trading price between users, C rent represents the leasing cost of the energy storage, C CES represents the charging and discharging cost of the energy storage, eta1, eta2 and gamma respectively represent the unit energy capacity leasing cost, the unit power capacity leasing cost and the unit charging and discharging power cost, respectively represent the energy capacity leasing size and the power capacity leasing size of the user u in the cloud energy storage, N represents the number of users in the micro-grid, T is the total time, Load(u, t) represents the actual load of the user u at t, P new (u, t) represents the photovoltaic power generation amount of the user u at t, and P avg,u represents the net load mean value of the user u within T time.
[0090] Then, according to the maximum power P_ess max of the single energy storage device charging and discharging, and the maximum charging and discharging power P max of the energy storage station, the model constraint condition is established:
[0091] 0≤P_ess_d(u, t)≤P_ess max× U_ess_d(u, t)
[0092] 0 ≤ P_ess_c(u, t) ≤ P_ess max × U_ess_c(u, t)
[0093] U_ess_d(u, t) + U_ess_c(u, t) ≤ 1
[0094] U_ess_d(u, t) ∈ {0, 1}, U_ess_c(u, t) ∈ {0, 1}
[0095]
[0096] In the formula, P_ess_d(u, t) represents the discharging power of the cloud energy storage to the user u at the time t, P_ess_c(u, t) represents the charging power of the user u to the cloud energy storage at the time t, U_ess_d(u, t) and U_ess_c(u, t) represent the discharging state bit and the charging state bit of the user u using the energy storage device at the time t respectively.
[0097] The user-side cloud energy storage charging and discharging optimization decision model also has the following balance constraints: the electric power balance constraint, the energy storage power station state of charge continuity constraint, and the energy storage power station charging and discharging power balance constraint. The electric power balance constraint is shown in formula (5), the energy storage power station state of charge continuity constraint is shown in formula (6), and the energy storage power station charging and discharging power balance constraint is shown in formula (7):
[0098] Load(u, t) + P_ess_c(u, t) - Grid(u, t) - P new (u, t) - P_ess_d(u, t) = 0 (5)
[0099] E(u, t) = (1 - μ) × E(u, t - 1) + Σ j(j≠u) [tqp(u, j, t) - tqs(u, j, t)] (6)
[0100] ∑ u [P_ess_d(u, t) - P_ess_c(u, t)] = ∑ u P_ess_d(u, t) - ∑ u P_ess_c(u, t) (7)
[0101] In the formula, μ represents the self-discharge rate of the energy storage device, which is taken as 1 in the embodiment.
[0102] Step 3, constructing a cloud energy storage operator charging and discharging optimization decision model from three dimensions of the cloud energy storage operator charging and discharging function, the cloud energy storage operator charging and discharging optimization objective function, and the cloud energy storage operator charging and discharging constraint condition. Specifically, it includes:
[0103] Firstly, in the user-side cloud energy storage charging and discharging optimization decision model, the cloud energy storage operator has rented equipment controlled by users, and the un-rented cloud energy storage equipment is completely controlled by the operator according to the grid electricity price ε Grid , the charging critical electricity price ε CES,C , which is 0.66 yuan·(kW·h) -1 in this case, the discharging critical electricity price ε CES,D , which is 1.02 yuan·(kW·h) -1 , to determine whether to charge and discharge, as shown in formula (8):
[0104]
[0105] In the formula, P is the charging power of the cloud energy storage controlled by the cloud energy storage operator at time t, and P is the discharging power of the cloud energy storage controlled by the cloud energy storage operator at time t.
[0106] Secondly, by comprehensively considering the charging and discharging behaviors of users and the cloud energy storage operator, the remaining energy E CES of the cloud energy storage at time t can be obtained, and the charging and discharging function of the cloud energy storage operator is shown in formula (9):
[0107]
[0108] In the formula, P and P are the total sum of the charging and discharging behaviors of all cloud energy storage users at time t, respectively, and ΔE is the change of the energy in the cloud energy storage caused by the charging and discharging behaviors of users at time t, η C and η D represent the charging and discharging efficiencies, respectively. In this embodiment, both are 0.9, and μ is the self-discharge rate of the energy storage device, which is 1 in this embodiment.
[0109] Then, the optimization objective function of the charging and discharging of the cloud energy storage operator is established, as shown in formula (10):
[0110] max Pro cloud =C sto +C inc -C inv -C maintian (10)
[0111] In the formula, max represents the maximum value, Pro cloud represents the total revenue of the cloud energy storage operator; C sto represents the revenue of the cloud energy storage operator rented to users; C inc represents the peak-valley arbitrage income of the cloud energy storage operator; and C invThe cost of building centralized energy storage on behalf of the user; C maintain The cost of operating the late energy storage equipment on behalf of the user;
[0112] Wherein, the specific content of each parameter is shown in formula (11):
[0113]
[0114] In the formula, Respectively represent the unit energy storage and power capacity leasing price of user u; E sto,u , P sto,u Respectively represent the leasing energy storage capacity and power capacity of user u, ε H (t) represents the peak time electricity price at t; ε CES (t) represents the cloud energy storage operator's electricity selling price at t; P sold (t) represents the total energy storage transaction sold to users by the cloud energy storage operator at t; C dist Represents the leased distributed energy storage, C conc Represents the built centralized energy storage, c p Represents the unit power capacity cost; c E Represents the unit energy storage capacity cost; P max,l , E max,l Respectively represent the power capacity and energy storage capacity of the lth leased distributed energy storage; P max , E max Respectively represent the power capacity and energy storage capacity of the built centralized energy storage; C m The unit power maintenance cost is 1 in this embodiment;
[0115] Finally, according to the upper and lower limits k max , k min of the state of charge of the energy storage power station in this embodiment, k max is 0.9, and k min is 0.1, the constraint condition of the user-side cloud energy storage charging and discharging optimization decision model is established, as shown in formula (12):
[0116] k min E max ≤E CES (t)≤k max E max (12)
[0117] The user-side cloud energy storage charging and discharging optimization decision model also has energy rate constraints and charging and discharging constraints. The energy rate constraint is shown in formula (13), and the charging and discharging constraint is shown in formula (14):
[0118] E max =β2P max (13)
[0119] In the formula, β2 represents the centralized energy storage battery capacity ratio, which is taken as 1 in the embodiment;
[0120]
[0121] In the formula, P_ess_c CES (t) and P_ess_d CES (t) represent the charging and discharging power of the energy storage power station; user (t) and D user (t) represent the total charging and discharging of the cloud energy storage user at time t; and respectively represent the cloud energy storage charging potential state and discharging potential state at time t.
[0122] Step 4: The microgrid internal power balance model is taken as the upper model and the user benefit is taken as the main optimization target, after solving, the common decision variables of the upper and lower layers are transmitted into the lower model, the lower model is a multi-microgrid joint operation optimization model and the overall benefit of the microgrid is taken as the main optimization target, after solving, the optimal scheduling strategy is output. Specifically, it includes:
[0123] Firstly, the microgrid internal power balance model is constructed, the microgrid internal user is taken as the upper subject, and the power balance condition is as shown in formula (15):
[0124]
[0125] In the formula, represents the net load of user u at time t, when represents that the user is a power shortage user, represents that the user is a power surplus user;
[0126] Each user prefers to use new energy generation to support its own load, after balancing its own load, the user maximizes the benefit of its own power consumption as the premise, the excess new energy generation and the electric energy in the energy storage can be executed according to the existing charging and discharging optimization decision; the surplus electricity user can transfer the excess electricity to the power shortage user to reduce the power grid load pressure and improve the local new energy consumption capacity.
[0127] In order to limit the behavior of some users using the price difference to maliciously occupy a large amount of energy storage resources to obtain profits, a constraint condition is added as shown in formula (16):
[0128]
[0129] In the formula, E u (0) represents the initial electric quantity of user u in a day;
[0130] The lower layer multi-microgrid joint operation model is established, and the power balance formula is shown in formula (17):
[0131]
[0132] In the formula, Load MG,i (t), P new,i (t), Grid MG,i (t), P_ess_d MG,i (t) and P_ess_c MG,i (t) respectively represent the net load, actual load, new energy generation, grid power purchase, cloud energy storage discharge power and cloud energy storage charging power of the microgrid i at time t; the load demand after the microgrid new energy consumption is ended is shown, representing that the microgrid is a power shortage microgrid, representing that the microgrid is a power surplus microgrid;
[0133] Similarly, in order to preferentially consume new energy generation, and limit the behavior of microgrids maliciously using price differences to purchase a large amount of electricity at low prices and sell at high prices to obtain benefits, the constraint condition is set as shown in formula (18):
[0134]
[0135] In the formula, P_ess_s MG,i (t) represents the amount of electricity sold by the microgrid i at time t, E MG,i (0) represents the initial amount of electricity in the energy storage of the microgrid i on the day, P MG,NEW (i,t) represents the new energy generation amount of the microgrid i at time t;
[0136] The optimal solution of the upper layer microgrid internal power balance model is obtained, and the photovoltaic power generation amount, user load and user energy storage amount are transmitted to the lower layer multi-microgrid joint operation optimization model, and finally the lower layer model is solved, and the optimal scheduling strategy is output.
[0137] Although the embodiments of the present application have been shown and described, it can be understood by those of ordinary skill in the art that various changes, modifications, replacements and variations can be made to the embodiments without departing from the principles and spirits of the present application, and the scope of the present application is defined by the appended claims and their equivalents.
Claims
1. A method for scheduling multi-microgrid cloud energy storage under an energy sharing model, characterized in that, include: Step 1: Acquire data and preprocess it; Step 2: Construct a user-side cloud energy storage charging and discharging optimization decision model from three dimensions: user-side cloud energy storage charging and discharging function, user-side charging and discharging optimization objective function, and user-side cloud energy storage charging and discharging constraints. Step 3: Construct a decision model for the optimization of charging and discharging of cloud energy storage operators from three dimensions: the charging and discharging function of cloud energy storage operators, the objective function for the optimization of charging and discharging of cloud energy storage operators, and the charging and discharging constraints of cloud energy storage operators. Step 4: The internal power balance model of the microgrid is used as the upper-level model, with user benefits as the main optimization objective. After solving, the common decision variables of the upper and lower levels are passed into the lower-level model. The lower-level model is a multi-microgrid joint operation optimization model with the overall benefits of the microgrid as the main optimization objective. After solving, the optimal scheduling strategy is output.
2. The multi-microgrid cloud energy storage scheduling method under an energy sharing model according to claim 1, characterized in that, Step 1 includes: Historical data on total photovoltaic power generation, total load, individual photovoltaic power generation of users with photovoltaic installations, and individual load of multiple microgrids are obtained, and the historical data is processed for missing values and outliers.
3. The multi-microgrid cloud energy storage scheduling method under an energy sharing mode according to claim 1, characterized in that, Step 2 includes: When a user's photovoltaic power generation exceeds their own electricity consumption, they can charge the cloud energy storage or sell electricity to other users; when a user's photovoltaic power generation is less than their own electricity consumption, they can charge the cloud energy storage or purchase electricity from other users. Users can directly trade electricity through the cloud energy storage. The charging and discharging function of the cloud energy storage operator on the user side is shown in formula (1): In the formula, P_ess_s(u,t) represents the charging power of user u to cloud energy storage at time t, P_ess_b(u,t) represents the discharging power of cloud energy storage to user u at time t, tqp(u,j,t) represents the electricity purchased by user u from user j at time t, tqs(u,j,t) represents the electricity sold by user u to user j at time t, CE is the efficiency when user u charges cloud energy storage, DCE is the efficiency when cloud energy storage discharges to user u, E(u,t) is the remaining electricity of user u's cloud energy storage at time t, and E(u,t+1) is the remaining electricity of user u's cloud energy storage at time t+1. The objective function for optimizing user-side charging and discharging is established, as shown in formula (2): min J=J1+J2+J3 (2) In the formula, min represents taking the minimum value, J represents the total cost to the user, J1 represents the user's electricity cost, J2 represents the user's total energy storage usage cost, and J3 is the net load variance after the microgrid energy storage charging and discharging. The net load is the difference between the actual load and the photovoltaic power generation. The specific details of each cost item are shown in formula (3): J1=Σ t Grid(u,t)×α+Σ j(j≠u) [tqp(u,j,t)-tqs(u,j,t)]×β J2=C rent +C CES In the formula, Grid(u,t) represents the amount of electricity purchased by user u from the grid at time t, α and β represent the grid purchase price and the inter-user electricity transaction price, respectively, and C rent C represents the leasing cost of energy storage. CES The values represent the charging and discharging costs of energy storage, where η1, η2, and γ represent the unit energy capacity leasing cost, unit power capacity leasing cost, and unit charging and discharging power cost, respectively. Let N represent the energy capacity leased by user u in cloud energy storage and the power capacity leased, respectively. Let N represent the number of users in the microgrid, T be the total time, Load(u,t) represent the actual load of user u at time t, and P be the total load of user u at time t. new (u,t) represents the photovoltaic power generation of user u at time t, P avg,u This represents the average net load of user u over time period T. Based on the maximum charging and discharging power P_ess of a single energy storage device max And the maximum charging and discharging power P of the energy storage power station max Establish model constraints: In the formula, P_ess_d(u,t) represents the discharge power of cloud energy storage to user u at time t, P_ess_c(u,t) represents the charging power of cloud energy storage to user u at time t, and U_ess_d(u,t) and U_ess_c(u,t) represent the discharge status bit and charging status bit of user u using energy storage device at time t, respectively. The user-side cloud energy storage charging and discharging optimization decision model also has the following balance constraints: power balance constraint, energy storage power station state of charge continuity constraint, and energy storage power station charging and discharging power balance constraint. The power balance constraint is shown in formula (5), the energy storage power station state of charge continuity constraint is shown in formula (6), and the energy storage power station charging and discharging power balance constraint is shown in formula (7). Load(u,t)+P_ess_c(u,t)-Grid(u,t)-P new (u,t)-P_ess_d(u,t)=0(5) E(u,t)=(1-μ)×E(u,t-1)+Σ j(j≠u) [tqp(u,j,t)-tqs(u,j,t)] (6) v u [P_ess_d(u,t)-P_ess_c(u,t)]=Σ u P_ess_d(u,t)-Σ u In the formula P_ess_c(u,t)(7), μ represents the self-discharge rate of the energy storage device.
4. The multi-microgrid cloud energy storage scheduling method under an energy sharing model according to claim 1, characterized in that, Step 3 includes: In the user-side cloud energy storage charging and discharging optimization decision-making model, the equipment leased by the cloud energy storage operator is controlled by the user, while the equipment not leased is entirely controlled by the operator based on the grid electricity price ε. Grid The critical charge price ε CES,C Critical discharge charge ε CES,D The decision to charge or discharge is made as shown in formula (8): In the formula, Let t be the cloud energy storage charging power controlled by the cloud energy storage operator. Let t be the cloud energy storage discharge power controlled by the cloud energy storage operator. By combining the charging and discharging behavior of users and the charging and discharging behavior of cloud energy storage operators, the remaining energy storage capacity E of the cloud energy storage at time t can be obtained. CES (t), then the charging and discharging function of the cloud energy storage operator is shown in formula (9): In the formula, Let be the sum of charging and discharging behaviors of all cloud energy storage users at time t. Let η be the change in electrical energy in cloud energy storage caused by the user's charging and discharging behavior at time t. C η D These represent the charging and discharging efficiencies, respectively, and μ is the self-discharge rate of the energy storage device. The objective function for optimizing the charging and discharging of cloud energy storage operators is established, as shown in formula (10): max Pro cloud =C sto +C inc -C inv -C maintian (10) In the formula, max represents taking the maximum value, Pro cloud C represents the total revenue of cloud energy storage operators; sto This represents the revenue that cloud energy storage operators lease to users; C inc Represents the electricity price peak-valley arbitrage revenue of cloud energy storage operators; C inv C represents the cost incurred by users in establishing centralized energy storage; maintain This represents the cost of operation and maintenance of energy storage equipment in the later stages; The specific details of each parameter are shown in formula (11): In the formula, These represent the unit energy storage and power capacity leasing prices for user u, respectively; E sto,u P sto,u ε represents the leased energy storage capacity and power capacity of user u, respectively. H (t) represents the peak electricity price at time t; ε CES (t) represents the electricity price sold by the cloud energy storage operator at time t; P sold (t) represents the total energy storage transactions sold by the cloud energy storage operator to users at time t; C dist C represents leased distributed energy storage. conc Represents centralized energy storage projects, c p Cost per unit of power capacity; c E The cost per unit of energy storage capacity; P max,l E max,l P represents the power capacity and storage capacity of the leased l-th distributed energy storage, respectively; max E max These represent the centralized energy storage power capacity and energy storage capacity respectively; C m Maintenance cost per unit power; According to the upper and lower limits of the state of charge of the energy storage power station k max k min The constraints for establishing the user-side cloud energy storage charging and discharging optimization decision model are shown in Equation (12): k min E max ≤E CES (t)≤k max E max (12) The user-side cloud energy storage charging and discharging optimization decision model also has energy rate constraints and charging and discharging constraints. The energy rate constraint is shown in formula (13), and the charging and discharging constraint is shown in formula (14). E max <β2P max (13) In the formula, β2 represents the capacity ratio of the centralized energy storage battery; In the formula, P_ess_c CES (t), P_ess_d CES (t) represents the charging and discharging power of the energy storage power station; C user (t), D user (t) represents the total charging and discharging of cloud energy storage users at time t; and These represent the charging and discharging states of the cloud energy storage at time t, respectively.
5. The multi-microgrid cloud energy storage scheduling method under an energy sharing mode according to claim 1, characterized in that, Step 4 includes: A power balance model is constructed within the microgrid, with the users within the microgrid as the upper-level entities. The power balance condition is shown in formula (15): In the formula, This represents the net load of user u at time t. The users represented are those experiencing power shortages. The representative user is the user with surplus electricity; Each user prioritizes using renewable energy generation to support its own load. After balancing its own load, users prioritize maximizing their electricity revenue. Excess renewable energy generation and energy storage will be used according to existing charging and discharging optimization decisions. Users with surplus electricity will transfer excess electricity to users with power shortages. Add constraints as shown in formula (16): In the formula, E u (0) represents the initial amount of energy stored by user u in one day; A multi-microgrid joint operation model is established at the lower level, and its power balance formula is shown in formula (17): In the formula, Load MG,i (t), P new,i (t), Grid MG,i (t), P_ess_d MG,i (t) and P_ess_c MG,i (t) represent the net load, actual load, new energy generation, grid power purchase, cloud energy storage discharge power and cloud energy storage charging power of microgrid i at time t, respectively; This represents a microgrid experiencing power shortages. The microgrid represented is the surplus power microgrid; The constraints are set as shown in formula (18): In the formula, P_ess_s MG,i (t) represents the electricity sold by microgrid i at time t, E MG,i (0) represents the initial amount of electricity stored in microgrid i on that day, P MG,NEW (i,t) represents the amount of new energy generated by microgrid i at time t; The optimal solution of the power balance model within the upper-level microgrid is obtained, and the three decision variables of photovoltaic power generation, user load, and user energy storage capacity are passed to the lower-level multi-microgrid joint operation optimization model. Finally, the lower-level model is solved, and the optimal scheduling strategy is output.
Citation Information
Cited By
Micro-grid group user energy storage demand quantitative analysis method and system
CN121836309A
