Robust optimization-based low-carbon building resource aggregation method and system for optical storage direct-flexible architecture
Through the low-carbon building resource aggregation method of light-storage direct-flexible architecture based on robust optimization, the problem of too conservative robust optimization in power grid dispatching is solved, and effective management of the volatility of renewable energy and distributed energy storage are achieved. Aggregation improves the economic efficiency and reliability of the power grid and ensures the stability of power supply.
Patent Information
- Application Number
- CN202410624087.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-05-20
- Publication Date
- 2024-09-17
AI Technical Summary
Existing power grid dispatching methods are too conservative in robust optimization, making it difficult to effectively manage the volatility and intermittency of renewable energy, and the aggregation management of distributed energy storage is weak. How to construct an accurate uncertainty set is the key.
A low-carbon building resource aggregation method based on robust optimization of light-storage, direct-flexible architecture is used to model the objective function of the low-carbon building aggregator's revenue maximization and energy storage user cost minimization, and set constraints to construct a data-driven The multi-interval uncertainty set can model the uncertainty and calculate the uncertainty budget to achieve dynamic interaction and effective utilization of resources.
It improves the economic efficiency and reliability of the power grid, reduces the risks and uncertainties caused by the high volatility of renewable energy, ensures the stability of power supply, optimizes the economics of the optimization model, and avoids problems caused by over-conservatism. Waste of resources improves overall reliability, stability and economic benefits.
Smart Images

Figure CN118659348A
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of microgrid intelligent dispatching, and specifically to a low-carbon building resource aggregation method based on a robust optimized photovoltaic storage direct-flexible architecture. Background Art
[0002] In recent years, the penetration rate of renewable energy in the power grid has gradually increased. However, due to the intermittent and volatile nature of renewable energy, it poses a great challenge to the safe operation of the power grid. How to ensure the efficient and stable operation of the power grid system under uncertain conditions and obtain economic benefits has become the focus of current research.
[0003] Since distributed energy storage has the characteristics of small capacity and flexible access time, it can be used for local consumption of renewable energy and avoid drastic fluctuations in grid power. However, the property owners of distributed energy storage are generally individual users, who are large in number and difficult to manage individually. Therefore, it is necessary to design a dynamic aggregation method to mobilize users' enthusiasm for participating in demand response through economic benefits and achieve a win-win situation for aggregators and users. For grid scheduling problems under uncertain conditions, robust optimization can be used to model them to ensure that the scheduling problem still has a solution under the worst conditions. However, the existing robust optimization is too conservative, which affects the economy of the scheduling problem. How to construct an accurate uncertainty set is the key to coordinating the economy and conservatism of robust optimization. Summary of the invention
[0004] In view of the above-mentioned problems, the present invention is proposed.
[0005] Therefore, the technical problems solved by the present invention are: the existing power grid dispatching methods have excessively conservative robust optimization, poor management of the volatility and intermittency of renewable energy, weak aggregation management of distributed energy storage, and how to construct an accurate optimization problem of uncertain sets.
[0006] To solve the above technical problems, the present invention provides the following technical solutions: modeling the upper-level objective function of the problem of maximizing the revenue of low-carbon building aggregators and setting constraints; modeling the lower-level objective function of the problem of minimizing the cost of energy storage users and setting constraints; constructing a data-driven multi-interval uncertainty set, modeling the uncertainty and calculating the uncertainty budget.
[0007] As a preferred solution of the method for low-carbon building resource aggregation based on robust optimization photovoltaic storage direct-flexible architecture described in the present invention, wherein: the upper-level objective function modeling of the problem of maximizing the benefits of low-carbon building aggregators includes an upper-level objective function model, defining the objective function as a robust optimization model, maximizing the benefits of low-carbon building aggregators, and maximizing the economic benefits of the aggregate through power trading and resource scheduling. The upper-level objective function modeling is expressed as:
[0008]
[0009] in, is a deterministic decision variable, ξ is an uncertain decision variable, equivalent to the photovoltaic output and are the prices at which users sell and buy electricity from aggregate i at time t, and are the power sold and purchased by the user from the aggregate i at time t, λ t is the price at which aggregate i sells or buys electricity from the grid at time t, is the power sold or purchased by aggregate i from the grid at time t, To purchase electricity from the grid, To sell electricity to the grid, and are the charging and discharging power of aggregate i and shared energy storage system at time t, respectively, i,t is a variable, representing the discharge and charge variables of the energy storage unit by aggregate i at time t, U is an uncertainty set, representing the uncertainty range of various parameters, T is the time upper limit, representing the time period, and k is the number of units or nodes in the aggregate.
[0010] As a preferred solution of the method for low-carbon building resource aggregation based on robust optimization of photovoltaic storage direct-flexible architecture described in the present invention, the set constraints include the constraints of the upper-level objective function. At the beginning of each trading cycle, the upper and lower limits of the power purchase and sales prices are adjusted according to market conditions, and all transaction prices are monitored and recorded to ensure compliance with the long-term average price constraints. The upper and lower limit constraints and the average value constraints of the power purchase and sales prices of users to the aggregate are expressed as:
[0011]
[0012]
[0013]
[0014]
[0015] in, and are the highest and lowest prices for users to buy electricity from the aggregate, and are the highest and lowest prices for electricity sold by users to the aggregate, and The constraints are the average prices for users to buy and sell electricity to the aggregate. Through the real-time data monitoring system, the power supply and demand at each time point are tracked, and the power purchase, sales and operation of energy storage equipment are adjusted to maintain power balance. The power balance constraint is expressed as:
[0016]
[0017]
[0018]
[0019] in, is the power generated by renewable energy at the ith aggregate at time t, is the power purchased by aggregate i from the grid at time t, is the power sold to the grid by aggregate i at time t, and are the total discharge power and charging power of the shared energy storage, respectively, to maintain power balance at time t. and are the power sold and purchased by the jth user in aggregate i to the aggregate, respectively.
[0020] As a preferred solution of the low-carbon building resource aggregation method based on robust optimization of photovoltaic storage direct-flexible architecture described in the present invention, the setting constraints also include shared energy storage constraints, setting the operating parameters of the energy storage system, the maximum power limit of charging and discharging, monitoring real-time data, making the energy storage capacity within the safe operating range, and optimizing the charging and discharging decisions. The shared energy storage capacity constraint and the charging and discharging power constraint are expressed as:
[0021]
[0022]
[0023]
[0024]
[0025]
[0026] in, and are the charging efficiency and discharging efficiency of shared energy storage, To share the energy stored at time t, The upper limit of energy storage for shared energy storage, In order to share the upper limit of energy storage charging and discharging power, the power input and output of the aggregate are monitored and balanced in real time, and the power purchase and sales strategies are adjusted according to the actual needs of users in the aggregate and the power supply situation of the power grid. For a single aggregate i, the constraint is expressed as:
[0027]
[0028]
[0029]
[0030]
[0031] in N Agg,i is the number of users in aggregate i, and N is the total number of users.
[0032] As a preferred solution of the method for low-carbon building resource aggregation based on robust optimization of photovoltaic storage direct-flexible architecture described in the present invention, wherein: the lower-level objective function modeling of the energy storage user cost minimization problem includes energy storage user modeling, setting the power purchase and sales strategy of each user according to the market electricity price and energy storage status, determining the time window for charging and discharging, and optimizing the energy storage utilization. The lower-level objective function is expressed as:
[0033]
[0034] Among them, the energy storage capacity and power are monitored in real time to ensure that all operations are carried out within the safety and efficiency range of the equipment, and the charging and discharging strategies are adjusted to respond to market changes and user needs. The energy storage constraints and power constraints of user j are expressed as:
[0035]
[0036]
[0037]
[0038]
[0039]
[0040]
[0041]
[0042] in, and is the capacity and upper limit of user j at time t, z j,t is a variable, indicating the charging and discharging status of user j at time t.
[0043] As a preferred solution of the method for low-carbon building resource aggregation based on robust optimization of photovoltaic storage direct-flexible architecture described in the present invention, wherein: the construction of data-driven multi-interval uncertainty set includes determining the number of samples in each interval, collecting samples with a capacity of N sample The photovoltaic generator output data samples of each low-carbon building aggregator are taken, and the mean and variance in the samples are calculated, denoted as μ and σ respectively. According to the 3σ principle, the number of samples N1 and N2 located in the intervals [μ-σ,μ+σ] and [μ-2σ,μ-σ]∪[μ+σ,μ+2σ] are counted respectively, and the remaining samples are denoted as the third interval.
[0044] As a preferred solution of the method for low-carbon building resource aggregation based on robust optimization of photovoltaic storage direct-flexible architecture described in the present invention, wherein: the construction of data-driven multi-interval uncertainty sets also includes constructing uncertainty sets, constructing data-driven uncertainty sets for uncertainty decision variables ξ, and modeling uncertainty, which is expressed as:
[0045]
[0046] in, and is the variable of the kth interval at time t, Δξ max,k is the maximum deviation of samples in the kth interval, Γ and Γ k They are the total uncertainty budget and the uncertainty budget of the kth interval respectively. The uncertainty budgets of the three intervals are expressed as:
[0047]
[0048]
[0049] Γ3=Γ-Γ1-Γ2
[0050] According to the sample capacity in the three intervals, the uncertainty budget is linearly constructed. If the sample capacity in the same interval increases, it means that the probability of the sample points in the interval increases, the uncertainty budget of the interval increases, and the conservatism of the robust optimization in the interval improves. If the sample capacity in the same interval decreases, it means that the probability of the sample points in the interval decreases, the uncertainty budget of the interval decreases, and the conservatism of the robust optimization in the interval decreases.
[0051] Another object of the present invention is to provide a low-carbon building resource aggregation system based on a robust optimization photovoltaic storage direct-flexible architecture, which can construct data-driven multi-interval uncertainty sets through uncertainty set modules, solving the problem of over-conservatism in current robust optimization models.
[0052] As a preferred solution of the low-carbon building resource aggregation system based on robust optimization photovoltaic storage direct-flexible architecture described in the present invention, it includes: a revenue maximization module, a cost minimization module, and an uncertainty set module; the revenue maximization module is used to model the upper-level objective function of the revenue maximization problem of the low-carbon building aggregator and set constraints; the cost minimization module is used to model the lower-level objective function of the cost minimization problem of the energy storage user and set constraints; the uncertainty set module is used to construct a data-driven multi-interval uncertainty set, model the uncertainty and calculate the uncertainty budget.
[0053] A computer device includes a memory and a processor, wherein the memory stores a computer program, and wherein the processor executes the computer program to implement a step of a low-carbon building resource aggregation method based on a robust optimized photovoltaic storage direct-flexible architecture.
[0054] A computer-readable storage medium having a computer program stored thereon, characterized in that when the computer program is executed by a processor, the steps of a method for aggregating low-carbon building resources based on a robustly optimized photovoltaic-storage-direct-flexible architecture are implemented.
[0055] Beneficial effects of the present invention: The low-carbon building resource aggregation method based on robust optimization photovoltaic storage direct-flexible architecture provided by the present invention realizes dynamic interaction between aggregators and users, promotes effective utilization of resources, and improves the economic efficiency and reliability of the overall power grid. By adopting robust optimization to model uncertainty, the system constraints can still be maintained under the worst conditions, reducing the risks and uncertainties caused by the large volatility of renewable energy, ensuring the stability of power supply, and by constructing data-driven multi-interval uncertainty sets, accurate description and management of uncertainty are achieved, the economy of the optimization model is improved, and resource waste caused by excessive conservatism is avoided. While ensuring system stability, the economic benefits are optimized. The present invention achieves better results in terms of reliability, stability and economic benefits. BRIEF DESCRIPTION OF THE DRAWINGS
[0056] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the following briefly introduces the drawings required for describing the embodiments. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative labor. Among them:
[0057] Figure 1 An overall flow chart of a low-carbon building resource aggregation method based on a robustly optimized photovoltaic-storage-direct-flexible architecture provided in the first embodiment of the present invention.
[0058] Figure 2A two-layer system architecture diagram of a low-carbon building aggregator and energy storage user based on a low-carbon building resource aggregation method based on a robustly optimized photovoltaic storage direct-flexible architecture provided in the first embodiment of the present invention.
[0059] Figure 3 This is an overall flow chart of a low-carbon building resource aggregation system based on a robustly optimized photovoltaic storage direct-flexible architecture provided in the third embodiment of the present invention. DETAILED DESCRIPTION
[0060] In order to make the above-mentioned purposes, features and advantages of the present invention more obvious and easy to understand, the specific implementation methods of the present invention are described in detail below in conjunction with the drawings of the specification. Obviously, the described embodiments are part of the embodiments of the present invention, but not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary persons in the art without creative work should fall within the scope of protection of the present invention.
[0061] Example 1
[0062] Reference Figure 1-Figure 2 , which is an embodiment of the present invention, provides a low-carbon building resource aggregation method based on a robust optimization photovoltaic storage direct-flexible architecture, including:
[0063] S1: Model the upper-level objective function of the low-carbon building aggregator’s revenue maximization problem and set constraints.
[0064] Furthermore, the upper objective function modeling of the profit maximization problem of low-carbon building aggregators includes the upper objective function model.
[0065] It should be noted that the objective function is defined as a robust optimization model to maximize the benefits of low-carbon building aggregators and maximize the economic benefits of the aggregate through power trading and resource scheduling. The upper objective function modeling is expressed as:
[0066]
[0067] in, is a deterministic decision variable, ξ is an uncertain decision variable, equivalent to the photovoltaic output and are the prices at which users sell and buy electricity from aggregate i at time t, and are the power sold and purchased by the user from the aggregate i at time t, λ t is the price at which aggregate i sells or buys electricity from the grid at time t, is the power sold or purchased by aggregate i from the grid at time t, To purchase electricity from the grid, To sell electricity to the grid, and are the charging and discharging power of aggregate i and shared energy storage system at time t, respectively, i,t is a variable, representing the discharge and charge variables of the energy storage unit by aggregate i at time t, U is an uncertainty set, representing the uncertainty range of various parameters, T is the time upper limit, representing the time period, and k is the number of units or nodes in the aggregate.
[0068] Furthermore, the constraints are set including the constraints of the upper-level objective function.
[0069] It should be noted that at the beginning of each trading cycle, the upper and lower limits of electricity purchase and sales prices are adjusted according to market conditions, and all transaction prices are monitored and recorded to ensure compliance with the long-term average price constraints. The upper and lower limit constraints and average value constraints of the electricity purchase and sales prices of users to the aggregate are expressed as:
[0070]
[0071]
[0072]
[0073]
[0074] in, and are the highest and lowest prices for users to buy electricity from the aggregate, and are the highest and lowest prices for electricity sold by users to the aggregate, and The constraints are the average prices for users to buy and sell electricity to the aggregate. Through the real-time data monitoring system, the power supply and demand at each time point are tracked, and the power purchase, sales and operation of energy storage equipment are adjusted to maintain power balance. The power balance constraint is expressed as:
[0075]
[0076]
[0077]
[0078] in, is the power generated by renewable energy at the ith aggregate at time t, is the power purchased by aggregate i from the grid at time t, is the power sold to the grid by aggregate i at time t, and are the total discharge power and charging power of the shared energy storage, respectively, to maintain power balance at time t. and are the power sold and purchased by the jth user in aggregate i to the aggregate, respectively.
[0079] Furthermore, the set constraints also include shared energy storage constraints.
[0080] It should be noted that the operating parameters of the energy storage system, the maximum power limit of charging and discharging, the real-time data are monitored to keep the energy storage capacity within the safe operating range, and the charging and discharging decisions are optimized. The shared energy storage capacity constraint and the charging and discharging power constraint are expressed as:
[0081]
[0082]
[0083]
[0084]
[0085]
[0086] in, and are the charging efficiency and discharging efficiency of shared energy storage, To share the energy stored at time t, The upper limit of energy storage for shared energy storage, In order to share the upper limit of energy storage charging and discharging power, the power input and output of the aggregate are monitored and balanced in real time, and the power purchase and sales strategies are adjusted according to the actual needs of users in the aggregate and the power supply situation of the power grid. For a single aggregate i, the constraint is expressed as:
[0087]
[0088]
[0089]
[0090]
[0091] in N Agg,i is the number of users in aggregate i, and N is the total number of users.
[0092] S2: Model the lower-level objective function of the energy storage user cost minimization problem and set constraints.
[0093] Furthermore, the lower-level objective function modeling of the energy storage user cost minimization problem includes energy storage user modeling.
[0094] It should be noted that the power purchase and sales strategy of each user is set according to the market electricity price and energy storage status, the time window of charging and discharging is determined, and the energy storage utilization is optimized. The lower objective function is expressed as:
[0095]
[0096] Among them, the energy storage capacity and power are monitored in real time to ensure that all operations are carried out within the safety and efficiency range of the equipment, and the charging and discharging strategies are adjusted to respond to market changes and user needs. The energy storage constraints and power constraints of user j are expressed as:
[0097]
[0098]
[0099]
[0100]
[0101]
[0102]
[0103]
[0104] in, and is the capacity and upper limit of user j at time t, z j,t is a variable, indicating the charging and discharging status of user j at time t.
[0105] S3: Construct data-driven multi-interval uncertainty sets, model the uncertainty, and calculate the uncertainty budget.
[0106] Furthermore, constructing the data-driven multi-interval uncertainty set includes determining the number of samples in each interval.
[0107] It should be noted that the sample size is N sample The photovoltaic generator output data samples of each low-carbon building aggregator are taken, and the mean and variance in the samples are calculated, denoted as μ and σ respectively. According to the 3σ principle, the number of samples N1 and N2 located in the intervals [μ-σ,μ+σ] and [μ-2σ,μ-σ]∪[μ+σ,μ+2σ] are counted respectively, and the remaining samples are denoted as the third interval.
[0108] Furthermore, constructing a data-driven multi-interval uncertainty set also includes constructing an uncertainty set.
[0109] It should be noted that a data-driven uncertainty set is constructed for the uncertain decision variable ξ, and the uncertainty is modeled as follows:
[0110]
[0111] in, and is the variable of the kth interval at time t, Δξ max,k is the maximum deviation of samples in the kth interval, Γ and Γ k They are the total uncertainty budget and the uncertainty budget of the kth interval respectively. The uncertainty budgets of the three intervals are expressed as:
[0112]
[0113]
[0114] Γ3=Γ-Γ1-Γ2
[0115] According to the sample capacity in the three intervals, the uncertainty budget is linearly constructed. If the sample capacity in the same interval increases, it means that the probability of the sample points in the interval increases, the uncertainty budget of the interval increases, and the conservatism of the robust optimization in the interval improves. If the sample capacity in the same interval decreases, it means that the probability of the sample points in the interval decreases, the uncertainty budget of the interval decreases, and the conservatism of the robust optimization in the interval decreases.
[0116] Example 2
[0117] One embodiment of the present invention provides a low-carbon building resource aggregation method based on a robust optimized photovoltaic storage direct-flexible architecture. In order to verify the beneficial effects of the present invention, scientific demonstration is carried out through economic benefit calculation and simulation experiments.
[0118] There is a microgrid composed of multiple low-carbon buildings. Each building is equipped with a photovoltaic power generation system and energy storage equipment. These buildings are connected to the power grid through direct-flexible technology. They can both purchase electricity from the power grid and sell electricity to the power grid. The Stakelberg two-layer game model is adopted. The upper layer is the low-carbon building aggregator (leader) and the lower layer is the energy storage user (follower). Photovoltaic power generation data within one year is collected, including daily power generation and the corresponding battery energy storage system's charging and discharging records. Based on the collected data, a data-driven multi-interval uncertainty set is constructed to classify and model the volatility and uncertainty of photovoltaic power generation. The two-layer game model is applied. The upper model solves the problem of maximizing the profit of the aggregator, and the lower model solves the problem of minimizing the cost of the user. According to the results of the optimization model, the aggregator's power purchase and sale strategy and price strategy, as well as the user's charging and discharging strategy are adjusted.
[0119] As shown in Table 1, our invention increases the trading revenue of aggregators, and the improvement is due to more optimized electricity trading strategies and price strategies, as well as more accurate predictions of photovoltaic power generation fluctuations, which enable aggregators to manage and utilize renewable energy more effectively. The reduction in user costs shows that our invention not only takes into account the interests of aggregators, but also ensures the interests of users and reduces users' electricity costs through more reasonable electricity purchase and sale prices and charging and discharging strategies. By adopting a data-driven multi-interval uncertainty set construction method, our invention has improved the management of photovoltaic power generation fluctuations, reduced the uncertainty and risk caused by photovoltaic power generation fluctuations, and improved the stability and reliability of the entire system. Our invention improves the efficiency of the energy storage system through optimized energy storage management strategies, which shows the contribution of our invention in improving energy utilization efficiency, while reducing energy waste and promoting the sustainable development of low-carbon buildings.
[0120] Table 1 Experimental comparison table
[0121] Prior art Our invention Improvement percentage Aggregator transaction revenue 100000 150000 50% User costs 50000 30000 40% Photovoltaic power generation fluctuations 15 10 33% Energy storage system efficiency 0.85 0.95 11.80%
[0122] Example 3
[0123] Reference Figure 3 , which is an embodiment of the present invention, provides a low-carbon building resource aggregation system based on a robust optimization photovoltaic storage direct-flexible architecture, including: a revenue maximization module, a cost minimization module, and an uncertainty set module.
[0124] The revenue maximization module is used to model the upper-level objective function of the revenue maximization problem of low-carbon building aggregators and set constraints; the cost minimization module is used to model the lower-level objective function of the cost minimization problem of energy storage users and set constraints; the uncertainty set module is used to construct data-driven multi-interval uncertainty sets, model uncertainty and calculate the uncertainty budget.
[0125] If the function is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, or the part that contributes to the prior art, or the part of the technical solution, can be embodied in the form of a software product. The computer software product is stored in a storage medium, including several instructions for a computer device (which can be a personal computer, server, or network device, etc.) to perform all or part of the steps of the methods of each embodiment of the present invention. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk, etc. Various media that can store program codes.
[0126] The logic and / or steps represented in the flowchart or otherwise described herein, for example, can be considered as an ordered list of executable instructions for implementing logical functions, and can be embodied in any computer-readable medium for use by an instruction execution system, device or apparatus (such as a computer-based system, a system including a processor, or other system that can fetch instructions from an instruction execution system, device or apparatus and execute instructions), or in conjunction with such instruction execution systems, devices or apparatuses. For the purposes of this specification, "computer-readable medium" can be any device that can contain, store, communicate, propagate or transmit a program for use by an instruction execution system, device or apparatus, or in conjunction with such instruction execution systems, devices or apparatuses.
[0127] More specific examples of computer-readable media (a non-exhaustive list) include the following: an electrical connection with one or more wires (electronic device), a portable computer disk case (magnetic device), a random access memory (RAM), a read-only memory (ROM), an erasable and programmable read-only memory (EPROM or flash memory), an optical fiber device, and a portable compact disk read-only memory (CDROM). In addition, the computer-readable medium may even be a paper or other suitable medium on which the program is printed, since the program may be obtained electronically, for example, by optically scanning the paper or other medium, followed by editing, deciphering or, if necessary, processing in another suitable manner, and then stored in a computer memory.
[0128] It should be understood that the various parts of the present invention can be implemented by hardware, software, firmware or a combination thereof. In the above-mentioned embodiments, multiple steps or methods can be implemented by software or firmware stored in a memory and executed by a suitable instruction execution system. For example, if implemented by hardware, as in another embodiment, it can be implemented by any one of the following technologies known in the art or their combination: a discrete logic circuit having a logic gate circuit for implementing a logic function for a data signal, a dedicated integrated circuit having a suitable combination of logic gate circuits, a programmable gate array (PGA), a field programmable gate array (FPGA), etc. It should be noted that the above embodiments are only used to illustrate the technical solution of the present invention and are not limited. Although the present invention is described in detail with reference to the preferred embodiments, it should be understood by those skilled in the art that the technical solution of the present invention can be modified or replaced by equivalents without departing from the spirit and scope of the technical solution of the present invention, which should be included in the scope of the claims of the present invention.
[0129] It should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention rather than to limit it. Although the present invention has been described in detail with reference to the preferred embodiments, those skilled in the art should understand that the technical solutions of the present invention may be modified or replaced by equivalents without departing from the spirit and scope of the technical solutions of the present invention, which should all be included in the scope of the claims of the present invention.
Claims
1. Low-carbon building resource aggregation method based on robust optimization of photovoltaic storage direct-flexible architecture, It is characterized in that include: Model the upper-level objective function of the low-carbon building aggregator's revenue maximization problem and set constraints; Model the lower-level objective function of the energy storage user cost minimization problem and set constraints; Construct data-driven multi-interval uncertainty sets, model the uncertainty, and calculate the uncertainty budget.
2. The low-carbon building resource aggregation method based on robust optimization of photovoltaic storage direct-flexible architecture as claimed in claim 1, Features: The upper objective function modeling for the problem of maximizing the benefits of low-carbon building aggregators includes an upper objective function model, which defines the objective function as a robust optimization model, maximizes the benefits of low-carbon building aggregators, and maximizes the economic benefits of the aggregate through power trading and resource scheduling. The upper objective function modeling is expressed as: in, is a deterministic decision variable, ξ is an uncertain decision variable, equivalent to the photovoltaic output and are the prices at which users sell and buy electricity from aggregate i at time t, and are the power sold and purchased by the user from the aggregate i at time t, λ t is the price at which aggregate i sells or buys electricity from the grid at time t, is the power sold or purchased by aggregate i from the grid at time t, To purchase electricity from the grid, To sell electricity to the grid, and are the charging and discharging power of aggregate i and shared energy storage system at time t, respectively, i,t is a variable, representing the discharge and charge variables of the energy storage unit by aggregate i at time t, U is an uncertainty set, representing the uncertainty range of various parameters, T is the time upper limit, representing the time period, and k is the number of units or nodes in the aggregate.
3. The low-carbon building resource aggregation method based on robust optimization of photovoltaic storage direct-flexible architecture as claimed in claim 2, Features: The set constraints include the constraints of the upper objective function. At the beginning of each trading cycle, the upper and lower limits of the power purchase and sales prices are adjusted according to market conditions. All transaction prices are monitored and recorded to ensure compliance with the long-term average price constraints. The upper and lower limit constraints and the average value constraints of the power purchase and sales prices of users to the aggregate are expressed as: in, and are the highest and lowest prices for users to buy electricity from the aggregate, and are the highest and lowest prices for electricity sold by users to the aggregate, and The constraints are the average prices for users to buy and sell electricity to the aggregate. Through the real-time data monitoring system, the power supply and demand at each time point are tracked, and the power purchase, sales and operation of energy storage equipment are adjusted to maintain power balance. The power balance constraint is expressed as: in, is the power generated by renewable energy at the ith aggregate at time t, is the power purchased by aggregate i from the grid at time t, is the power sold to the grid by aggregate i at time t, and are the total discharge power and charging power of the shared energy storage, respectively, to maintain power balance at time t. and are the power sold and purchased by the jth user in aggregate i to the aggregate, respectively.
4. The low-carbon building resource aggregation method based on robust optimization of photovoltaic storage direct-flexible architecture as claimed in claim 3, Features: The setting constraints also include shared energy storage constraints, setting the operating parameters of the energy storage system, the maximum power limit of charging and discharging, monitoring real-time data, making the energy storage capacity within a safe operating range, and optimizing charging and discharging decisions. The shared energy storage capacity constraint and the charging and discharging power constraint are expressed as: in, and are the charging efficiency and discharging efficiency of shared energy storage, To share the energy stored at time t, The upper limit of energy storage for shared energy storage, In order to share the upper limit of energy storage charging and discharging power, the power input and output of the aggregate are monitored and balanced in real time, and the power purchase and sales strategies are adjusted according to the actual needs of users in the aggregate and the power supply situation of the power grid. For a single aggregate i, the constraint is expressed as: in N Agg,i is the number of users in aggregate i, and N is the total number of users.
5. The low-carbon building resource aggregation method based on robust optimization of photovoltaic storage direct-flexible architecture as claimed in claim 4, Features: The lower-level objective function modeling for the energy storage user cost minimization problem includes energy storage user modeling, setting each user's power purchase and sales strategy according to the market electricity price and energy storage status, determining the charging and discharging time windows, and optimizing energy storage utilization. The lower-level objective function is expressed as: Among them, the energy storage capacity and power are monitored in real time to ensure that all operations are carried out within the safety and efficiency range of the equipment, and the charging and discharging strategies are adjusted to respond to market changes and user needs. The energy storage constraints and power constraints of user j are expressed as: in, and is the capacity and upper limit of user j at time t, z j,t is a variable, indicating the charging and discharging status of user j at time t.
6. The low-carbon building resource aggregation method based on robust optimization of photovoltaic storage direct-flexible architecture as claimed in claim 5, Features: The construction of data-driven multi-interval uncertainty sets includes determining the number of samples in each interval and collecting samples of capacity N. sample The output data samples of photovoltaic generators of each low-carbon building aggregator are calculated, and the mean and variance in the samples are calculated, which are recorded as μ and σ respectively. According to the 3σ principle, the number of samples N in the interval [μ-σ,μ+σ] and [μ-2σ,μ-σ]∪[μ+σ,μ+2σ] are counted respectively. 1 and N 2 , the remaining samples are recorded as the third interval.
7. The low-carbon building resource aggregation method based on robust optimization of photovoltaic storage direct-flexible architecture as claimed in claim 6, Features: The constructing of data-driven multi-interval uncertainty sets also includes constructing uncertainty sets, constructing data-driven uncertainty sets for uncertain decision variables ξ, and modeling the uncertainty, which is expressed as: in, and is the variable of the kth interval at time t, Δξ max,k is the maximum deviation of samples in the kth interval, Γ and Γ k They are the total uncertainty budget and the uncertainty budget of the kth interval respectively. The uncertainty budgets of the three intervals are expressed as: C 3 =C-C 1 -C 2 According to the sample capacity in the three intervals, the uncertainty budget is linearly constructed. If the sample capacity in the same interval increases, it means that the probability of the sample points in the interval increases, the uncertainty budget of the interval increases, and the conservatism of the robust optimization in the interval improves. If the sample capacity in the same interval decreases, it means that the probability of the sample points in the interval decreases, the uncertainty budget of the interval decreases, and the conservatism of the robust optimization in the interval decreases.
8. A system using the method for low-carbon building resource aggregation based on robust optimization of photovoltaic storage direct-flexible architecture as described in any one of claims 1 to 7, Features: It includes revenue maximization module, cost minimization module and uncertainty set module; The revenue maximization module is used to model the upper objective function of the revenue maximization problem of low-carbon building aggregators and set constraints; The cost minimization module is used to model the lower-level objective function of the energy storage user cost minimization problem and set constraints; The uncertainty set module is used to construct data-driven multi-interval uncertainty sets, model uncertainty and calculate uncertainty budgets.
9. A computer device comprising a memory and a processor, wherein the memory stores a computer program. It is characterized in that When the processor executes the computer program, the steps of the low-carbon building resource aggregation method based on the robust optimization photovoltaic storage direct-flexible architecture described in any one of claims 1 to 7 are implemented.
10. A computer-readable storage medium having a computer program stored thereon, It is characterized in that When the computer program is executed by a processor, the steps of the method for low-carbon building resource aggregation based on a robust optimized photovoltaic storage direct-flexible architecture according to any one of claims 1 to 7 are implemented.
