Virtual power plant double-layer optimization scheduling method and device, medium and product
Through the dual-layer optimization scheduling method of virtual power plants, the load curve is determined using Latin hypercube sampling method and K-means++ clustering algorithm, and a double-layer optimization model of virtual power plants is established, which solves the demand-side management and industrial and commercial adjustable user response in the field of virtual power plants. The problems that have not been analyzed have been improved in energy utilization efficiency and system stability.
Patent Information
- Application Number
- CN202410944436.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-15
- Publication Date
- 2024-11-05
AI Technical Summary
The lack of in-depth analysis of demand-side in the field of virtual power plants and the impact of industrial and commercial adjustable user responses to virtual power plants participating in optimized scheduling has not been fully analyzed, resulting in the failure to fully improve energy utilization efficiency.
A dual-layer optimization scheduling method for virtual power plants is proposed. By obtaining historical daily load data of various industries, using Latin hypercube sampling method and K-means++ clustering algorithm to determine the user baseline load curve of adjustable load, and establishing double-layer optimization of virtual power plants is established. The model, including the upper model, aims to maximize the returns of virtual power plants and the lower model, aims to maximize the returns of load aggregators, use KKT conditions, dual theory and large M method to solve it to achieve optimal scheduling of virtual power plants.
It improves energy utilization efficiency, optimizes the coordinated interaction between virtual power plants and load aggregators, improves the stability and reliability of the system, and increases the net profit of virtual power plants and load aggregators.
Smart Images

Figure CN118899854A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of power system dispatching automation, and in particular to a virtual power plant double-layer optimization dispatching method, equipment, medium and product. Background Art
[0002] The first meeting emphasized the importance of improving power security capabilities, promoting structural reforms on the power supply side, and mobilizing load-side demand response resources. China has made the realization of dual carbon goals a major strategic decision for the construction of ecological civilization, which has prompted the rapid development of new energy power generation such as wind, photovoltaic and solar power. As new energy generators continue to be connected to the grid, their fluctuating and unstable power generation characteristics have brought unprecedented risks and new challenges to the regulation and operation of the power system. In this context, awakening the flexible dispatching resources on the load side has become an urgent issue facing power system researchers, and it is also an inevitable choice for the construction of a new power system in the future.
[0003] In order to accelerate the transformation of the power system from the "source follows load" to the "source, grid, load and storage coordinated interaction" control mode, the key lies in how to aggregate multiple types of distributed energy and adjustable loads in the system to achieve coordinated scheduling between the supply side and the demand side. As an integrated management platform, the virtual power plant (Virtual PowerPlant, VPP) can effectively integrate and optimize various distributed energy sources, including wind energy, solar energy, etc. Through the synergy of the virtual power plant, the power supply can be adjusted more flexibly to meet real-time needs. At the same time, by utilizing the demand response capability of the adjustable load on the demand side, the supply and demand can be balanced by adjusting the user's electricity consumption behavior when the system power supply is tight, thus reducing the system pressure. Therefore, it is of great significance to achieve the optimal scheduling of the power system and improve the stability and reliability of the system by effectively adjusting the power supply through the virtual power plant and integrating the adjustable load resources on the demand side. Existing research on virtual power plants mainly focuses on the regulation of the supply side, but relatively lacks in-depth analysis of the demand side. Demand-side management is potentially important in the field of virtual power plants. A more in-depth study of the demand side can help optimize the operation strategy of virtual power plants and improve energy efficiency. At the same time, the paper ignores the situation that the industrial and commercial adjustable users, which account for a large proportion of the load side, respond to the virtual power plant to participate in the optimization dispatch. It fails to deeply analyze the impact of the industrial and commercial adjustable users' participation in demand response on the operating income of virtual power plants and load aggregators. Summary of the invention
[0004] The purpose of this application is to provide a virtual power plant double-layer optimization scheduling method, equipment, medium and product to improve energy utilization efficiency.
[0005] To achieve the above objectives, this application provides the following solutions:
[0006] In a first aspect, the present application provides a two-layer optimization scheduling method for a virtual power plant, comprising:
[0007] Obtain historical daily load data for each industry;
[0008] According to the historical daily load data of each industry, the daily load forecast curve of each industry is determined by using the Latin hypercube sampling method;
[0009] Based on the load scenario set of each industry, a user baseline load curve of adjustable load of each industry is determined using a K-means++ clustering algorithm;
[0010] Based on the user baseline load curves of adjustable loads in various industries, a two-layer optimization model of a virtual power plant is established; the two-layer optimization model of a virtual power plant includes an upper model and a lower model; the upper model includes a first objective function with the goal of maximizing the benefits of the virtual power plant and a first constraint condition with system power balance constraints, unit output constraints, power purchase constraints and energy storage constraints as constraints; the lower model includes a second objective function with the goal of maximizing the benefits of load aggregators and a second constraint condition with electric vehicle optimal scheduling constraints, transferable load constraints and reducible load constraints as constraints;
[0011] The KKT condition, duality theory and big M method are used to solve the two-layer optimization model of the virtual power plant and determine the optimal solution to dispatch the virtual power plant.
[0012] Optionally, the first objective function is:
[0013]
[0014] Among them, f upper is the revenue of the upper virtual power plant; T is the dispatch period, is the energy sales revenue of the virtual power plant in period t; is the total operation and maintenance cost of the virtual power plant in period t; is the fuel cost of the thermal power unit in period t; The cost of using energy storage power by the virtual power plant during period t; is the cost of the virtual power plant purchasing electricity from the external power grid during period t; is the cost of the virtual power plant purchasing demand response resources from LA during period t.
[0015] Optionally, the system power balance constraint is:
[0016]
[0017] in, is the predicted power of the wind turbine in period t; is the predicted power of the photovoltaic unit during period t; is the charging power of the energy storage power station during period t; is the discharge power of the energy storage power station during period t; is the power generation capacity of the thermal power unit during period t; is the amount of electricity purchased by the virtual power plant from the external power grid during period t; It is the sum of the power consumption of all loads in period t;
[0018] The unit output constraint is:
[0019]
[0020] in, is the minimum output power of the thermal power unit; is the maximum output power of the thermal power unit;
[0021] The power purchase constraints are:
[0022]
[0023] in, is the maximum value of the power that can be transmitted by the external power grid;
[0024] The energy storage constraint is:
[0025]
[0026] in, is the energy storage power of the energy storage power station at time t; P ES is the rated input power of the energy storage power station; -P ES is the rated output power of the energy storage power station; is the remaining power of the energy storage power station during period t; E ES It is the maximum battery capacity of the energy storage power station.
[0027] Optionally, the second objective function is:
[0028]
[0029] Among them, f lower is the revenue of load aggregator; T is the dispatching period, is the revenue of the load aggregator from selling demand response resources to the virtual power plant at time t; is the cost of the load aggregator purchasing demand response resources from electric vehicles at time t; is the cost of the load aggregator purchasing demand response resources from industrial and commercial loads at time t.
[0030] Optionally, the electric vehicle optimization scheduling constraint is:
[0031]
[0032] Among them, P ev,0 is the initial power of the electric vehicle when it is just connected to the charging pile; T end E is the electric vehicle response adjustment period; min,i The minimum remaining power of the i-th electric vehicle; is the reduced power of the i-th electric vehicle at time t; is the increased power of the i-th electric vehicle at time t; is the response adjustment of the i-th electric vehicle at time t; ΔP EV,down The lower limit value of the electric vehicle power; ΔP EV,up Increase the power limit for electric vehicles;
[0033] The transferable load constraint is:
[0034]
[0035] Where T is the scheduling period; is the load transfer amount of the kth industry at time t; is the lower limit of the load transfer amount of the kth industry at time t; is the upper limit of the load transfer amount of the kth industry at time t;
[0036] The curtailable load constraint is:
[0037]
[0038] in, is the load value of the reducible load c before reduction at time t; is the difference between the load before and after reduction of the reducible load c at time t; is the satisfaction level of the reduction of the industrial and commercial load c; α is the user satisfaction coefficient; is the upper limit of the reduction of load c that can be reduced at time t; is the lower limit of the reduction of class load c that can be reduced at time t.
[0039] In a second aspect, the present application provides a computer device comprising: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the computer program to implement any one of the above-described two-tier optimization scheduling methods for virtual power plants.
[0040] In a third aspect, the present application provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements any of the above-described two-layer optimization scheduling methods for virtual power plants.
[0041] In a fourth aspect, the present application provides a computer program product, including a computer program, which, when executed by a processor, implements any of the above-mentioned two-layer optimization scheduling methods for virtual power plants.
[0042] According to the specific embodiments provided in this application, this application discloses the following technical effects:
[0043] The present application provides a virtual power plant double-layer optimization scheduling method, equipment, medium and product, by obtaining the historical daily load data of each industry; according to the historical daily load data of each industry, using Latin hypercube sampling method and K-means++ clustering algorithm, determine the user baseline load curve of the adjustable load of each industry; based on the user baseline load curve of the adjustable load of each industry, establish a virtual power plant double-layer optimization model; the virtual power plant double-layer optimization model includes a first objective function with the goal of maximizing the profit of the virtual power plant and an upper model with the first constraint condition of system power balance constraint, unit output constraint, power purchase constraint and energy storage constraint as constraints, and a second objective function with the goal of maximizing the profit of the load aggregator and a lower model with the second constraint condition of electric vehicle optimization scheduling constraint, transferable load constraint and reducible load constraint as constraints; using KKT conditions, duality theory and big M method, the virtual power plant double-layer optimization model is solved to determine the optimal solution to schedule the virtual power plant. The present application improves energy utilization efficiency. BRIEF DESCRIPTION OF THE DRAWINGS
[0044] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments 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 creative work.
[0045] Figure 1 A schematic diagram of a flow chart of a two-layer optimization scheduling method for a virtual power plant provided in one embodiment of the present application;
[0046] Figure 2 A flowchart of the virtual power plant double-layer optimization scheduling method of the present application in practical application;
[0047] Figure 3 Cut down the flow chart for the K-means++ algorithm scenario;
[0048] Figure 4 This is a framework diagram of the two-layer optimization model for virtual power plants;
[0049] Figure 5 A schematic diagram of the structure of a computer device provided in one embodiment of the present application. DETAILED DESCRIPTION
[0050] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.
[0051] In order to make the above-mentioned objects, features and advantages of the present application more obvious and easy to understand, the present application is further described in detail below with reference to the accompanying drawings and specific implementation methods.
[0052] This paper proposes a two-layer optimization scheduling method for virtual power plants. The upper layer considers the coordinated interaction between the source, load, and storage units within the virtual power plant and the load aggregators, and optimizes the scheduling with the goal of maximizing the profit of the VPP; the lower layer aims to maximize the profit of the load aggregators that aggregate electric vehicles and industrial and commercial adjustable loads, and constructs a demand response model that responds to VPP scheduling based on the respective adjustment potential and characteristics of industrial and commercial adjustable loads and electric vehicles. Finally, the effectiveness and superiority of the VPP two-layer optimization model proposed in this paper are verified through example analysis.
[0053] In an exemplary embodiment, Figure 1 and Figure 2 As shown, a two-layer optimization scheduling method for a virtual power plant is provided, comprising:
[0054] S1: Obtain historical daily load data for each industry.
[0055] In practical applications, based on the historical daily load data of each industry, the user baseline load curve of each industry on the DR day is predicted based on the LHS and K-means++ methods, and the DR response of each industry is calculated by subtracting it from the actual load consumed after participating in DR.
[0056] S2: Based on the historical daily load data of each industry, the Latin hypercube sampling method is used to determine the daily load forecast curve of each industry.
[0057] In practical applications, the historical daily load data of various industries are processed, and based on the Latin hypercube sampling (LHS), a load scenario set is generated, that is, the daily load forecast curve of industrial adjustable load and commercial adjustable load a few days before the demand response day (set a value, such as the previous 7 days or the previous 15 days). The more elements in the load scenario set, the more accurate the typical scenario set of each industry obtained by the K-means++ clustering algorithm.
[0058] Studies have shown that the user's load data approximately obeys the normal distribution. Therefore, the present application uses the normal distribution to fit the load data of each time period to obtain its two parameters, the mean and the variance. Based on these parameters, the cumulative probability distribution function F(P) is calculated and divided into N non-overlapping sub-intervals, and the spacing of each interval is 1 / N. For any i-th sub-interval, the present invention randomly generates a random number in the range of [0, 1]. Through this random number, the cumulative probability function value corresponding to the interval can be obtained. Substituting the cumulative probability function value into the inverse function of the cumulative probability distribution function, the sampling value of the load data can be calculated.
[0059] S3: Based on the load scenario set of each industry, the K-means++ clustering algorithm is used to determine the user baseline load curve of the adjustable load of each industry. The user baseline load curve (CBL curve) of the adjustable load of each industrial industry and the adjustable load of each commercial industry is the load forecast curve on the day when no demand response is performed on the demand response day.
[0060] In practical applications, based on the load scenario set obtained by S2, the K-means++ clustering algorithm is used to reduce the scenarios. Compared with the K-means algorithm, the K-means++ algorithm can traverse the data set to update the center point and get rid of the dependence on the initial center point. The specific algorithm flow chart is as follows Figure 3 Among them, For a certain industrial and commercial user scenario set, the i-th scenario As a point in Euclidean space, its spatial coordinates can be expressed as x1,x2,···,x n is an industrial and commercial user; K is the number of scene categories; d i is the Euclidean distance between the center point and the other points; P(i) is the probability of each point becoming the center point; S is a set of typical scenes.
[0061] S4: Based on the typical scenario sets of various industries, a two-layer optimization model of a virtual power plant is established; the two-layer optimization model of a virtual power plant includes an upper model and a lower model; the upper model includes a first objective function aimed at maximizing the profit of the virtual power plant and a first constraint condition with system power balance constraints, unit output constraints, power purchase constraints and energy storage constraints as constraints; the lower model includes a second objective function aimed at maximizing the profit of the load aggregator and a second constraint condition with electric vehicle optimal scheduling constraints, transferable load constraints and reducible load constraints as constraints.
[0062] In practical applications, based on the typical scenario set of S3, a two-layer optimization model of virtual power plant of load aggregator considering demand response is established, such as Figure 4As shown, in the two-layer model constructed in this application, the upper-level subject virtual power plant (Virtual Power Plant, VPP) is optimized and dispatched with the goal of maximizing its overall profit. Its decision variables include the amount of electricity purchased by VPP from the external power grid, the amount of electricity called from the energy storage power station, the amount of demand response electricity purchased from the load aggregator (Load Aggregator, LA) and the power generation of thermal power units. Its adjustment demand will affect the scheduling plan of the lower-level subject LA to formulate adjustable resources to a certain extent. LA, as an intermediary between the virtual power plant and the adjustable load participating in the demand-side response, sells the adjustable load aggregated on the demand side to the virtual power plant in the appropriate period to obtain benefits with the goal of maximizing its overall profit. But at the same time, LA also has to pay response compensation to participating users. The upper and lower layers are coupled and connected through the purchase and sale of electricity by demand response resources. The scheduling plan formulated by LA after considering its own interests is not exactly the same as the plan issued by the virtual power plant. The realization of each goal will be affected by the same decision variable, namely the demand response resource, so the virtual power plant two-layer optimization model constructed in this application simultaneously considers the target requirements of the upper virtual power plant and the lower LA and ultimately achieves a balance of interests. The method proposed in this application uses KKT conditions, duality theory and big M method to simplify the constructed virtual power plant optimization two-layer model into a linear programming problem for solution.
[0063] The objective function (first objective function) of the upper virtual power plant optimization scheduling model is:
[0064]
[0065] Among them, f upper is the revenue of the upper virtual power plant; T is the dispatch period, is the energy sales revenue of the virtual power plant in period t; is the total operation and maintenance cost of the virtual power plant in period t; is the fuel cost of the thermal power unit in period t; The cost of using energy storage power by the virtual power plant during period t; is the cost of the virtual power plant purchasing electricity from the external power grid during period t; is the cost of the virtual power plant purchasing demand response resources from LA during period t.
[0066]
[0067] Among them, P t sell It is the sum of the fixed load and the LA power consumption after participating in demand response at time t; is the price of electricity sold by the virtual power plant to the market at time t.
[0068]
[0069] in, is the predicted power of the wind turbine in period t; is the predicted power of the photovoltaic unit during period t; is the charging power of the energy storage power station during period t; is the discharge power of the energy storage power station during period t; k wt , k pv and k es They are the unit operation and maintenance costs of wind turbines, photovoltaic units and energy storage power stations during period t respectively.
[0070]
[0071] Among them, λ is the fuel loss coefficient of the thermal power unit; is the power generation of the thermal power unit in period t; k f is the fuel price of thermal power units.
[0072]
[0073] in, is the energy storage power of the energy storage power station at time t, Indicates charging. Indicates discharge; The compensation price for calling up stored energy.
[0074]
[0075] Among them, μ is the transmission network loss coefficient; is the amount of electricity purchased by the virtual power plant from the external power grid during period t; is the price at which VPP purchases electricity from the external power grid at time t.
[0076]
[0077] in, is the actual power change of LA participating in demand response at time t; is the dispatch compensation price paid by VPP to LA at time t.
[0078] Power generation from wind and photovoltaic units Power generation of thermal power units The amount of electricity that VPP purchases from the external grid The sum should be equal to the sum of the power consumption of all loads The energy storage station is equivalent to a load when it is in charging state. In the discharge state, it is equivalent to a power supply That is, the system power balance constraint is:
[0079]
[0080] in, It is the sum of the power consumption of all loads in period t.
[0081] Output power range of thermal power units At its minimum output power and maximum output power That is, the unit output constraint is:
[0082]
[0083] in, is the minimum output power of the thermal power unit; is the maximum output power of the thermal power unit;
[0084] The amount of electricity purchased by VPP from the external grid Cannot be greater than the maximum value of the power that can be transmitted by the external power grid That is, the power purchase constraint is:
[0085]
[0086] in, It is the maximum value of the power that can be transmitted by the external power grid.
[0087] The amount of electricity charged at any time Cannot exceed the rated input power P of the energy storage power station ES ; The amount of electrical energy generated at any time Cannot exceed the rated output power of the energy storage power station -P ES ; Remaining power at any time The maximum battery capacity E in the energy storage station must be ES Within the range. That is, the energy storage constraint is:
[0088]
[0089] Among them, P ES is the rated input power of the energy storage power station; -P ES is the rated output power of the energy storage power station; is the remaining power of the energy storage power station during period t; E ES It is the maximum battery capacity of the energy storage power station.
[0090] The objective function (second objective function) of the lower load aggregator operation optimization model is:
[0091]
[0092] Among them, f lower is the revenue of load aggregator; T is the dispatching period, is the revenue of the load aggregator from selling demand response resources to the virtual power plant at time t; is the cost of the load aggregator purchasing demand response resources from electric vehicles at time t; is the cost of the load aggregator purchasing demand response resources from industrial and commercial loads at time t.
[0093]
[0094] Among them, N is the number of electric vehicles participating in the response on the demand side; is the response power of the i-th electric car at time t. is the compensation price given by LA to the electric vehicle at time t.
[0095]
[0096] Among them, K is the number of industries and businesses participating in the response on the demand side; is the response electricity of the kth industry at time t. is the response compensation price given by LA to the kth industry at time t.
[0097] The electric vehicle optimization scheduling constraint stipulates that the remaining power of the electric vehicle must reach the full charge when leaving the charging pile, the adjustment range of the electric vehicle at any time must be within the maximum adjustment reduction potential and the maximum adjustment increase potential range, and the remaining power of the electric vehicle at any time cannot be lower than the set acceptable minimum power. That is, the electric vehicle optimization scheduling constraint is:
[0098]
[0099] Among them, P ev,0 is the initial power of the electric vehicle when it is just connected to the charging pile; T end E is the electric vehicle response adjustment period; min,i The minimum remaining power of the i-th electric vehicle; is the reduced power of the i-th electric vehicle at time t; is the increased power of the i-th electric vehicle at time t; is the response adjustment of the i-th electric vehicle at time t; ΔP EV,down The lower limit value of the electric vehicle power; ΔP EV,up Increase the power limit for electric vehicles.
[0100] The transferable load constraint stipulates that the total amount of industrial and commercial transferable load remains unchanged during the optimal scheduling period; if If is positive, it means the load is transferred in, otherwise, it means the load is transferred out. That is, the transferable load constraint is:
[0101]
[0102] Where T is the scheduling period; is the load transfer amount of the kth industry at time t; is the lower limit of the load transfer amount of the kth industry at time t; It is the upper limit of the load transfer amount of the kth industry at time t.
[0103] The load reduction constraint combines load satisfaction and load reduction, and reduces load while ensuring user comfort. That is, the load reduction constraint is:
[0104]
[0105] in, is the load value of the reducible load c before reduction at time t; is the difference between the load before and after reduction of the reducible load c at time t; is the satisfaction level of the reduction of the industrial and commercial load c; α is the user satisfaction coefficient; is the upper limit of the reduction of load c that can be reduced at time t; is the lower limit of the reduction of class load c that can be reduced at time t.
[0106] S5: Using KKT conditions, duality theory and big M method, the two-layer optimization model of the virtual power plant is solved to determine the optimal solution to dispatch the virtual power plant. Under the premise of considering the virtual power plant and the load aggregator buying and selling demand response resources, the virtual power plant and the load aggregator simultaneously obtain the maximum net profit on the demand response day.
[0107] In practical applications, the method proposed in this application uses KKT conditions, duality theory and big M method to simplify the constructed virtual power plant optimization two-layer model into a linear programming problem for solution, as follows:
[0108] The conventional solution to the two-layer optimization model is usually to use multiple iterations to gradually achieve convergence. This method often takes a lot of time. In view of this, this application chooses to use the Karush-Kuhn-Tucker (KKT) optimization condition to transform the two-layer problem into a single-layer problem. The purpose of this is to use the KKT condition to replace the lower-level model with the constraints of the upper-level problem, thereby simplifying the model and making it easier to calculate. By introducing the equality constraint coefficient and the inequality constraint coefficients Construct a Lagrangian function L. After the Lagrangian function L is transformed by KKT, the additional constraints of the upper model can be obtained.
[0109]
[0110] Directly substituting the lower-level constraints into the upper-level model may result in the inability to obtain an exact solution to the model. In order to avoid the situation where the optimal solution cannot be obtained, the present application linearizes these relaxed constraints by using the big M method to make them easier to integrate with the upper-level model.
[0111]
[0112]
[0113] In the above transformation, sufficiently large constants M1, M2, M3, M4, M5 and auxiliary variables are introduced Their range is limited to (0, 1).
[0114] Based on the simulation of a certain province's power system, the impact of the uncertainty of renewable energy generation on the day-ahead optimal scheduling is not considered. The data used in the example are all from the actual operation data of the province, and scheduling is performed for 96 time periods within 24 hours. The operation and maintenance cost of the renewable energy unit is 0.255 yuan / kWh, the call cost of the energy storage power station is 0.4 yuan / kWh, the price of the electric vehicle response resources purchased by VPP from LA is 0.25 yuan / kWh, and the price of purchasing industrial and commercial response resources aggregated by LA is 1.5 yuan / kWh. The response compensation price paid by LA to electric vehicles is 0.15 yuan / kWh. For the response compensation price of industrial and commercial adjustable loads on the demand side, LA takes values according to the DR participation rate of each industry to verify the effectiveness of the two-layer optimization model of the virtual power plant proposed in this application.
[0115] To illustrate the effectiveness and advantages of the model of the present invention, the following four scenarios are set up.
[0116] Original calculation example: Energy storage power stations, electric vehicles and industrial and commercial loads are all considered. The supply side includes renewable energy generators composed of photovoltaic and wind power, thermal power units and external power grids; its demand side consists of industrial loads, commercial loads, energy storage power stations and electric vehicles.
[0117] Scenario (1) removes the supply-side energy storage power station, and the rest remains unchanged from the original example.
[0118] Scenario (2) removes the electric vehicles on the demand side, and the rest remains the same as the original example.
[0119] Scenario (3) removes the industrial and commercial load on the demand side, and the rest remains unchanged from the original example.
[0120] The results are shown in Table 1.
[0121] Table 1 Profit statistics of virtual power plants and load aggregators in various scenarios
[0122] Scenario VPP net profit (unit: yuan) LA net profit (unit: yuan) Consider all equipment loads 310998.25 980.20 No consideration of energy storage 290733.50 980.20 Not considering EV 303530.90 554.88 No consideration of industrial and commercial loads 289333.40 723.17
[0123] It can be seen from Table 1 that, considering the load of all equipment, the profits of the VPP and load aggregators after response scheduling are the highest, which verifies that the two-layer optimization scheduling model of the virtual power plant proposed in this application can further tap the load regulation potential on the demand side, while improving the overall net profit of load aggregators and virtual power plants, which has certain practical significance.
[0124] After the response optimization scheduling of the two-layer model proposed in this application, the net profits of VPP and LA both increased. This is because VPP can increase its own profits by calling energy storage equipment to charge at low load and discharge at high load. In this case, VPP can accept a certain degree of profit growth space for LA without damaging its own interests. The superiority of the model proposed in this invention is verified, which is conducive to scheduling more reasonably arranging supply-side power generation and demand-side response plans.
[0125] In an exemplary embodiment, a computer device is provided. The computer device may be a server or a terminal. The internal structure diagram thereof may be as follows: Figure 5 As shown. The computer device includes a processor, a memory, an input / output interface (Input / Output, referred to as I / O) and a communication interface. Among them, the processor, the memory and the input / output interface are connected through a system bus, and the communication interface is connected to the system bus through the input / output interface. Among them, the processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program and a database. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The database of the computer device is used to store daily load data. The input / output interface of the computer device is used to exchange information between the processor and an external device. The communication interface of the computer device is used to communicate with an external terminal through a network connection. When the computer program is executed by the processor, a two-layer optimization scheduling method for a virtual power plant is implemented.
[0126] Those skilled in the art will understand that Figure 5 The structure shown in the figure is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.
[0127] In an exemplary embodiment, a computer device is further provided, including a memory and a processor, wherein a computer program is stored in the memory, and the processor implements the steps in the above-mentioned method embodiments when executing the computer program.
[0128] In an exemplary embodiment, a computer-readable storage medium is provided, storing a computer program, and when the computer program is executed by a processor, the steps in the above method embodiments are implemented.
[0129] In an exemplary embodiment, a computer program product is provided, including a computer program, and when the computer program is executed by a processor, the steps in the above method embodiments are implemented.
[0130] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, stored data, displayed data, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties, and the collection, use and processing of relevant data must comply with relevant regulations.
[0131] Those of ordinary skill in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to the memory, database or other medium used in the embodiments provided in the present application can include at least one of non-volatile and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetic random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. By way of illustration and not limitation, RAM may be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM).
[0132] The database involved in each embodiment provided in this application may include at least one of a relational database and a non-relational database. The non-relational database may include a distributed database based on blockchain, etc., but is not limited thereto. The processor involved in each embodiment provided in this application may be a general-purpose processor, a central processing unit, a graphics processor, a digital signal processor, a programmable logic device, a data processing logic device based on quantum computing, etc., but is not limited thereto.
[0133] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
[0134] This article uses specific examples to illustrate the principles and implementation methods of this application. The description of the above embodiments is only used to help understand the method and core ideas of this application. At the same time, for those skilled in the art, according to the ideas of this application, there will be changes in the specific implementation methods and application scope. In summary, the content of this specification should not be understood as limiting this application.
Claims
1. A two-layer optimization scheduling method for virtual power plants, It is characterized in that include: Obtain historical daily load data for each industry; According to the historical daily load data of each industry, the daily load forecast curve of each industry is determined by using the Latin hypercube sampling method; Based on the daily load forecast curves of various industries, a user baseline load curve of adjustable loads of various industries is determined using a K-means++ clustering algorithm; Based on the user baseline load curves of adjustable loads in various industries, a two-layer optimization model of a virtual power plant is established; the two-layer optimization model of a virtual power plant includes an upper model and a lower model; the upper model includes a first objective function with the goal of maximizing the benefits of the virtual power plant and a first constraint condition with system power balance constraints, unit output constraints, power purchase constraints and energy storage constraints as constraints; the lower model includes a second objective function with the goal of maximizing the benefits of load aggregators and a second constraint condition with electric vehicle optimal scheduling constraints, transferable load constraints and reducible load constraints as constraints; The KKT condition, duality theory and big M method are used to solve the two-layer optimization model of the virtual power plant and determine the optimal solution to dispatch the virtual power plant.
2. The virtual power plant double-layer optimization scheduling method according to claim 1, It is characterized in that The first objective function is: Among them, f upper is the revenue of the upper virtual power plant; T is the dispatch period, is the energy sales revenue of the virtual power plant in period t; is the total operation and maintenance cost of the virtual power plant in period t; is the fuel cost of the thermal power unit in period t; The cost of using energy storage power by the virtual power plant during period t; is the cost of the virtual power plant purchasing electricity from the external power grid during period t; is the cost of the virtual power plant purchasing demand response resources from LA during period t.
3. The virtual power plant double-layer optimization scheduling method according to claim 1, It is characterized in that The system power balance constraint is: in, is the predicted power of the wind turbine in period t; is the predicted power of the photovoltaic unit during period t; is the charging power of the energy storage power station during period t; is the discharge power of the energy storage power station during period t; is the power generation capacity of the thermal power unit during period t; is the amount of electricity purchased by the virtual power plant from the external power grid during period t; is the sum of the power consumption of all loads in period t; The unit output constraint is: in, is the minimum output power of the thermal power unit; is the maximum output power of the thermal power unit; The power purchase constraints are: in, is the maximum value of the power that can be transmitted by the external power grid; The energy storage constraint is: in, is the energy storage power of the energy storage power station at time t; P ES is the rated input power of the energy storage power station; -P ES is the rated output power of the energy storage power station; is the remaining power of the energy storage power station during period t; E ES It is the maximum battery capacity of the energy storage power station.
4. The virtual power plant double-layer optimization scheduling method according to claim 1, It is characterized in that The second objective function is: Among them, f lower is the revenue of load aggregator; T is the dispatching period, is the revenue of the load aggregator from selling demand response resources to the virtual power plant at time t; is the cost of the load aggregator purchasing demand response resources from electric vehicles at time t; is the cost of the load aggregator purchasing demand response resources from industrial and commercial loads at time t.
5. The virtual power plant double-layer optimization scheduling method according to claim 1, It is characterized in that The electric vehicle optimization scheduling constraints are: Among them, P ev,0 is the initial power of the electric vehicle when it is just connected to the charging pile; T end E is the electric vehicle response adjustment period; min,i The minimum remaining power of the i-th electric vehicle; is the reduced power of the i-th electric vehicle at time t; is the increased power of the i-th electric vehicle at time t; is the response adjustment of the i-th electric vehicle at time t; ΔP EV,down The lower limit value of the electric vehicle power; ΔP EV,up Increase the power limit for electric vehicles; The transferable load constraint is: Where T is the scheduling period; is the load transfer amount of the kth industry at time t; is the lower limit of the load transfer amount of the kth industry at time t; is the upper limit of the load transfer amount of the kth industry at time t; The curtailable load constraint is: in, is the load value of the reducible load c before reduction at time t; is the difference between the load before and after reduction of the reducible load c at time t; is the satisfaction level of the reduction of the industrial and commercial load c; α is the user satisfaction coefficient; is the upper limit of the reduction of load c that can be reduced at time t; is the lower limit of the reduction of class load c that can be reduced at time t.
6. A computer device, include: A memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the computer program to implement the two-tier optimization scheduling method for a virtual power plant as described in any one of claims 1-5.
7. 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 two-layer optimization scheduling method for a virtual power plant described in any one of claims 1 to 5 is implemented.
8. A computer program product comprising a computer program, It is characterized in that When the computer program is executed by a processor, the two-layer optimization scheduling method for a virtual power plant described in any one of claims 1 to 5 is implemented.
Citation Information
Cited By
New energy consumption optimization method for multi-type subject power system and related device
CN119671322A
Regulation and control mode selection method for virtual power plant participating in demand response
CN120377292A
