A virtual power plant energy management method, device, equipment and medium

By constructing the architecture and distribution robust optimization model of the virtual power plant, the coordinated control of temperature-controlled loads and distributed power sources is optimized, which solves the problem of difficulty in utilizing these resources by the dispatch center and improves the stability and economy of the power grid.

CN118572697BActive Publication Date: 2024-10-11国网浙江综合能源服务有限公司
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411034897.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-07-31
Publication Date
2024-10-11
Estimated Expiration
2044-07-31

AI Technical Summary

Technical Problem

It is difficult for the dispatch center to effectively utilize temperature-controlled loads and distributed power sources, resulting in unstable power grid operation and poor economic efficiency, especially when the power grid load fluctuates and reserve capacity is insufficient.

Method used

By building the architecture of a virtual power plant, including multiple microgrids, each microgrid contains temperature-controlled loads and distributed power supplies, day-ahead dispatching models and intraday adjustment models are used, combined with distributed robust optimization models, to optimize the dispatching and management of power resources. Ensure coordination and consistency in different scenarios.

Benefits of technology

It improves the virtual power plant's management capabilities for distributed power supplies and temperature-controlled loads, enhances its ability to adapt to changes and uncertainties in the power grid, reduces operating costs, and improves the stability and economic benefits of the power grid.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118572697B_ABST
    Figure CN118572697B_ABST
Patent Text Reader

Abstract

The present application relates to the technical field of power plant energy management, and discloses a virtual power plant energy management method, device, equipment and medium. The architecture of the virtual power plant includes multiple microgrids, each of which includes multiple temperature-controlled loads and multiple distributed power sources. The method includes: based on the architecture of the virtual power plant, constructing a virtual power plant day-ahead dispatching model for coordinated control of temperature-controlled loads and distributed power sources; regulating the temperature-controlled load in response to the regulation power allocated by the power grid, and constructing a virtual power plant intraday regulation model for coordinated control of temperature-controlled loads, distributed power sources and microgrids; based on the output uncertainty of distributed power sources, converting the virtual power plant day-ahead dispatching model and the virtual power plant intraday regulation model into a distributed blue-rod optimization model based on multiple discrete scenarios; solving the distributed blue-rod optimization model to obtain the optimal virtual power plant energy management strategy. The coordinated control energy management of the virtual power plant docking temperature-controlled loads and distributed power sources is realized.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of power plant energy management, and in particular to a virtual power plant energy management method, device, equipment and medium. Background Art

[0002] With the continuous development of economy and society, energy demand has increased significantly. The maturity and continuous decline of renewable energy technologies (such as photovoltaic and wind power generation) have helped to alleviate the energy crisis. However, renewable energy has significant volatility and intermittent characteristics, which increases the challenges of peak load regulation in power systems and may affect the reliable operation of power grids.

[0003] Thermostatically controlled load (TCL), represented by air conditioners, refrigerators, water heaters, etc., has become one of the main research objects of flexible loads due to its advantages such as fast response, energy storage, and high controllability. In cases where the grid load fluctuates greatly and the system spare capacity is insufficient, the abundant TCL can be used to improve the safety and economy of grid operation. However, due to the small capacity of TCL monomers, large number, dispersed distribution, and strong random response, it is not easy for the dispatch center to obtain information on its aggregated power consumption and response potential. Therefore, how to effectively utilize this part of resources is the main challenge currently faced by the dispatch center. Summary of the invention

[0004] The present application provides a virtual power plant energy management method, device, equipment and medium, which solves the technical problem of energy management of virtual power plants connected to temperature-controlled loads and distributed power sources, and achieves the technical effect of virtual power plant energy management.

[0005] In order to achieve the above objectives, the main technical solutions adopted in this application include:

[0006] In a first aspect, an embodiment of the present application provides a virtual power plant energy management method, wherein the architecture of the virtual power plant includes multiple microgrids, each of which includes multiple temperature-controlled loads and multiple distributed power sources, and the method includes:

[0007] Based on the architecture of the virtual power plant, a day-ahead dispatch model of the virtual power plant for coordinated control of the temperature control load and the distributed power source is constructed;

[0008] The temperature control load is adjusted in response to the adjustment power allocated by the power grid, and a virtual power plant intraday adjustment model for coordinated control of the temperature control load, the distributed power source and the microgrid is constructed;

[0009] Based on the output uncertainty of the distributed power source, the day-ahead dispatch model of the virtual power plant and the intraday regulation model of the virtual power plant are converted into a distributed robust optimization model based on multiple discrete scenarios;

[0010] Solve the distributed robust optimization model to obtain the optimal virtual power plant energy management strategy.

[0011] The present embodiment provides a virtual power plant energy management method, which integrates multiple distributed power sources and temperature control loads into a unified virtual power plant energy management system, and performs scheduling on an hourly time scale to achieve coordinated control of temperature control loads and distributed power sources. According to the regulated power allocated by the power grid, the temperature control load is regulated in real time on a minute-by-minute time scale to achieve coordinated control of temperature control loads, distributed power sources and microgrids. Considering the uncertainty of the output of distributed power sources, multiple possible scenarios are generated, and the day-ahead scheduling model of the virtual power plant and the intraday regulation model of the virtual power plant are converted into distributed robust optimization models based on multiple discrete scenarios to ensure consistency and coordination in different scenarios. The distributed robust optimization model is solved to evaluate the performance in different scenarios and obtain the optimal virtual power plant energy management strategy. The present embodiment can effectively improve the management and coordination capabilities of the virtual power plant for a variety of distributed power sources and temperature control loads, and enhance its adaptability to changes and uncertainties in the power grid.

[0012] Optionally, the virtual power plant day-ahead dispatching model for coordinated control of the temperature control load and the distributed power source is constructed based on the architecture of the virtual power plant, including:

[0013] Obtaining the day-ahead constraint conditions of the day-ahead dispatch model of the virtual power plant; wherein the day-ahead constraint conditions include at least one of the day-ahead power purchase constraint, the day-ahead distributed power generation operation constraint, the day-ahead temperature control load operation constraint and the day-ahead power flow constraint;

[0014] Determine the day-ahead objective function of the day-ahead scheduling model of the virtual power plant; wherein the day-ahead objective function is used to characterize the comprehensive operating cost of the virtual power plant;

[0015] According to the day-ahead constraints and the day-ahead objective function, a day-ahead scheduling model of the virtual power plant is constructed.

[0016] This embodiment ensures that the amount of electricity purchased by the virtual power plant from the power grid is balanced with the total output of the required load, distributed power sources and temperature control loads through the day-ahead power purchase constraints. The day-ahead distributed power operation constraints are used to optimize the operation strategy of the distributed power sources to minimize their operating costs. The day-ahead temperature control load operation constraints are used to limit the power output of the temperature control load to ensure its safe operation within the equipment capacity. The day-ahead flow constraints are used to ensure power balance and voltage stability of each node in the virtual power plant in each time period. The day-ahead scheduling model of the virtual power plant is then constructed in combination with the day-ahead objective function, so that the virtual power plant can effectively plan and optimize the use of power resources during the day-ahead scheduling stage, thereby achieving the goal of reducing operating costs, improving grid stability and economic benefits.

[0017] Optionally, the day-ahead power purchase constraint includes:

[0018]

[0019] in, N is the amount of electricity purchased by the virtual power plant from the grid during time period t; load is the number of nodes; is the active power required by the load at node i in time period t; N DG is the number of distributed power sources; is the active power output of the distributed power supply at node i in time period t; N TCL is the temperature control load quantity; is the active power output of the temperature control load at node i in time period t;

[0020] The day-ahead distributed generation operation constraints include:

[0021]

[0022]

[0023]

[0024] Among them, a i , b i and c i is the coefficient value of the relationship between the operating cost of the i-th distributed generation and the active power of the distributed generation; the cost function of the distributed generation is converted into a piecewise linear function and encoded as MILP in the Gurobi solver; is the operating cost of the distributed generation at node i in time period t; is the active power output of the distributed power source at node i in time period t; and They represent the maximum active power and minimum active power output by the distributed power source at node i in time period t respectively; is the reactive power output of the distributed power source at node i in time period t; is the installed capacity of distributed generation at node i;

[0025] The day-ahead temperature control load operation constraints include:

[0026]

[0027]

[0028] in, is the active power output of the temperature control load at node i in time period t; β is the power conversion coefficient of the temperature control load; ∆H max is the maximum increment of the internal temperature of the temperature-controlled load; ∆H is the internal temperature adjustment amount of the temperature-controlled load;

[0029] The day-ahead power flow constraints include:

[0030]

[0031]

[0032]

[0033]

[0034]

[0035]

[0036] Among them, P ij,t and Q ij,t are the active power and reactive power input from node i to line ij in time period t respectively; P jl,t and Q ji,t are the active power and reactive power input from node j to line jl in time period t respectively; P j,t and Q j,t are the active power and reactive power input to node j in time period t respectively; is the active power output of the distributed power source at node j in time period t; is the active power output of the temperature control load at node j in time period t; is the active power required by the load at node j in time period t; Ω line A collection of lines for virtual power plants; is the reactive power output by the distributed power source at node j in time period t; is the reactive power required by the load at node j during time period t; U j,t is the voltage at node j during time period t; U i,t is the voltage at node i during time period t; r ij is the resistance of line ij; x ji is the reactance of line ij; and are the minimum and maximum voltages at node i, respectively.

[0037] Optionally, the day-ahead objective function includes:

[0038]

[0039] in, is the electricity price that the virtual power plant purchases from the grid during time period t; N is the amount of electricity purchased by the virtual power plant from the grid during time period t; DG is the number of distributed power sources; is the operating cost of the distributed generation at node i in time period t.

[0040] Optionally, the temperature control load is adjusted in response to the adjustment power allocated by the power grid, and a virtual power plant intraday adjustment model for coordinated control of the temperature control load, the distributed power source and the microgrid is constructed, including:

[0041] The temperature control load is adjusted in response to the adjustment power allocated by the power grid to obtain the intraday constraint conditions of the intraday adjustment model of the virtual power plant; wherein the intraday constraint conditions include at least one of the intraday distributed power supply operation constraint, the intraday adjustment power constraint, the intraday temperature control load operation constraint and the intraday power flow constraint;

[0042] Determine the intraday objective function of the intraday regulation model of the virtual power plant; wherein the intraday objective function is used to characterize the intraday scheduling and operation cost of the virtual power plant;

[0043] According to the intra-day constraints and the intra-day objective function, the intra-day regulation model of the virtual power plant is constructed.

[0044] This embodiment ensures that distributed power sources operate according to maximum / minimum power limits and cost factors during the intraday scheduling process through intraday distributed power source operation constraints, which helps maintain the stability of the power system. By adjusting power constraints intraday, it is ensured that the microgrid adjusts energy input according to actual needs in different time periods to balance power supply and demand, thereby avoiding excessive dependence on the external power grid. The internal and external temperatures of the temperature-controlled load are monitored in real time through the intraday temperature-controlled load operation constraints, and the output of the temperature-controlled load is adjusted according to the grid demand to ensure safe operation and energy management. The balance of power flow and the safe maintenance of voltage levels are ensured through intraday power flow constraints to avoid virtual power plants from malfunctioning due to power overload or voltage instability. The combination of these constraints and objective functions constitutes the core part of the intraday regulation model of the virtual power plant, which aims to minimize costs, maximize efficiency and improve the stability of the power system through energy management and resource utilization.

[0045] Optionally, the intraday distributed power supply operation constraints include:

[0046]

[0047]

[0048]

[0049] Among them, a i , b i and c i is the coefficient value of the relationship between the operating cost of the i-th distributed generation and the active power of the distributed generation; the cost function of the distributed generation is converted into a piecewise linear function and encoded as MILP in the Gurobi solver; is the operating cost of the distributed generation at node i at time t+dθ; is the active power output of the distributed generation at node i at time t+dθ; and They represent the maximum active power and minimum active power output of the distributed generation at node i at time t+dθ in the virtual power plant respectively; is the active power output of the distributed generation at node i at time t+dθ; is the reactive power output by the distributed generation at node i at time t+dθ; is the installed capacity of distributed generation at node i;

[0050] The intraday power regulation constraints include:

[0051]

[0052]

[0053] Among them, R n,t+dθ is the ratio of power input to power demand of the nth microgrid at time t+dθ; is the total active power required by the load in the nth microgrid at time t+dθ; is the regulated power allocated to the nth microgrid at time t+dθ; is the regulated electricity price of the nth microgrid at time t+dθ; c1 is the price of electricity purchased from the grid; c2 is the average price of electricity purchased when the virtual power plant maximizes the use of local resources;

[0054] The daily temperature control load operation constraints include:

[0055]

[0056]

[0057]

[0058]

[0059]

[0060]

[0061]

[0062] in, is the active power output of the temperature control load at node i at time t+dθ; and are the minimum active power and maximum active power output by the temperature control load at node i in time period t, respectively; is the charging power of the temperature control load at node i at time t+dθ; μ1, μ2, μ3 are the charging power coefficients of the temperature control load; and are the minimum charging power and maximum charging power of the temperature control load at node i respectively; H out is the external ambient temperature of the temperature-controlled load; is the internal temperature of the temperature-controlled load during time period t; l is the output power adjustment coefficient of the temperature-controlled load; ∆H max is the maximum increment of the internal temperature of the temperature control load; β is the power conversion coefficient of the temperature control load; ε is the temperature adjustment proportional coefficient of the temperature control load; is the initial charging power of the temperature control load at node i in time period t; κ is the proportional coefficient of the initial charging power;

[0063] The intraday power flow constraints include:

[0064]

[0065]

[0066]

[0067]

[0068]

[0069]

[0070] Among them, P ij,t+dθ and Q ij,t+dθ are the active power and reactive power input from node i to line ij at time t+dθ respectively; P jl,t+dθ and Q jl,t+dθ are the active power and reactive power input from node j to line jl at time t+dθ respectively; P j,t+dθ and Q j,t+dθ are the active power and reactive power input to node j at time t+dθ respectively; is the active power output of the distributed generation at node j at time t+dθ; is the active power output of the temperature control load at node j at time t+dθ; is the active power required by the load at node j at time t+dθ; Ω line A collection of lines for virtual power plants; is the reactive power output of the distributed generation at node j at time t+dθ; is the reactive power required by the load at node j at time t+dθ; U j,t+dθ is the voltage at node j at time t+dθ; U i,t+dθ is the voltage at node i at time t+dθ; r ij is the resistance of line ij; x ij is the reactance of line ij; and are the minimum and maximum voltages at node i, respectively.

[0071] Optionally, the intraday objective function includes:

[0072]

[0073] Where d is the sampling time step of intraday scheduling; L is the total number of sampling segments of intraday scheduling; θ is the sampling time of intraday minute-level scheduling; N MG is the number of microgrids; is the regulated electricity price of the nth microgrid at time t+dθ; R n,t+dθ is the ratio of power input to power demand of the nth microgrid at time t+dθ.

[0074] In a second aspect, an embodiment of the present application provides a virtual power plant energy management device, wherein the architecture of the virtual power plant includes a plurality of microgrids, each of the microgrids includes a plurality of temperature-controlled loads and a plurality of distributed power sources, and the device includes:

[0075] A day-ahead scheduling module, used to construct a day-ahead scheduling model of a virtual power plant for coordinated control of the temperature control load and the distributed power source based on the architecture of the virtual power plant;

[0076] An intraday scheduling module, used to adjust the temperature control load in response to the adjustment power allocated by the power grid, and to construct an intraday adjustment model of a virtual power plant for coordinated control of the temperature control load, the distributed power source and the microgrid;

[0077] A scenario optimization module, used for converting the virtual power plant day-ahead dispatch model and the virtual power plant intraday regulation model into a distributed robust optimization model based on multiple discrete scenarios based on the output uncertainty of the distributed power source;

[0078] The solution module is used to solve the distributed robust optimization model and obtain the optimal virtual power plant energy management strategy.

[0079] In a third aspect, an embodiment of the present application provides a computer device, including:

[0080] A memory and a processor, wherein the memory and the processor are communicatively connected to each other, computer instructions are stored in the memory, and the processor executes the virtual power plant energy management method described above by executing the computer instructions.

[0081] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, on which computer instructions are stored, and the computer instructions are used to enable a computer to execute the virtual power plant energy management method described above. BRIEF DESCRIPTION OF THE DRAWINGS

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

[0083] Figure 1 A specific scenario example diagram of a virtual power plant energy management method;

[0084] Figure 2 A flowchart of a virtual power plant energy management method provided in an embodiment of the present application;

[0085] Figure 3 A flowchart of step S1 provided in an embodiment of the present application;

[0086] Figure 4 A flowchart of step S3 provided in an embodiment of the present application;

[0087] Figure 5 The cost change curve solved by the virtual power plant energy management method proposed in the embodiment of the present application under different KL divergences ζ is shown;

[0088] Figure 6 A block diagram of a virtual power plant energy management device provided in an embodiment of the present application;

[0089] Figure 7 A schematic diagram of the structure of a computer device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0090] In order to make the purpose, technical solution and advantages of the embodiments of the present application clearer, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are 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 those skilled in the art without creative work are within the scope of protection of the present application.

[0091] With the continuous development of the economy and society, energy demand has increased significantly. The maturity of renewable energy technologies (such as photovoltaic and wind power generation) and the continuous decline in costs have helped alleviate the energy crisis. However, renewable energy has significant volatility and intermittency, which increases the challenges of peak load regulation in the power system and may affect the reliable operation of the power grid. The mainstream of modern power grid construction tends to adopt grid-connected units consisting of generator sets and standby generator sets, and perform appropriate control. The stability, flexibility and economy of the energy management system (EMS) make the energy management system more effective in both grid-connected and island operation modes.

[0092] Although renewable energy forecasting has many advantages, inaccurate forecasting leads to uncertainty in operation and scheduling. Through distributed energy (DG), microgrids (MGs) are interconnected to form virtual power plants (VPPs), which can improve the utilization of renewable energy and enhance the stability of the entire system.

[0093] Thermostatically controlled load (TCL), represented by air conditioners, refrigerators, water heaters, etc., has become one of the main research objects of flexible loads due to its advantages such as fast response, energy storage, and high controllability. In the case of large fluctuations in grid load and insufficient system spare capacity, TCL with abundant reserves is regarded as a potential resource for promoting renewable energy consumption and achieving carbon emission reduction. TCL exhibits different characteristics according to different control methods and is adjusted through temperature regulation and frequency control. Temperature regulation can achieve power regulation for a long time, but the response speed is slow; frequency control has a faster response speed, but cannot maintain high power adjustment for a long time. However, due to the small capacity, large number, dispersed distribution, and strong randomness of response of TCL monomers, it is not easy for the dispatch center to obtain its aggregated power consumption and response potential information. Therefore, how to effectively use this part of resources is the main challenge currently faced by the dispatch center.

[0094] According to an embodiment of the present application, an embodiment of a virtual power plant energy management method is provided. It should be noted that the steps shown in the flowchart of the accompanying drawings can be executed in a computer system such as a set of computer executable instructions, and although the logical order is shown in the flowchart, in some cases, the steps shown or described can be executed in an order different from that shown here.

[0095] This specification provides a virtual power plant energy management method, which can be used in a specific scenario example. Figure 1 The architecture of the virtual power plant includes multiple microgrids MG, each of which includes multiple temperature-controlled loads TCL and multiple distributed power sources DG. In the figure, MG1 includes DG1, DG2, DG3, TCL1, and TCL2; MG2 includes DG4 and TCL3; MG3 includes DG5, DG6, and TCL4; MG4 includes DG7 and TCL5.

[0096] In this embodiment, a virtual power plant energy management method is provided. Figure 2 A flowchart of a virtual power plant energy management method provided in an embodiment of the present application, such as Figure 2 As shown, the process includes the following steps:

[0097] Step S1, based on the architecture of the virtual power plant, construct a day-ahead scheduling model of the virtual power plant for coordinated control of the temperature control load and the distributed power source.

[0098] Specifically, the virtual power plant integrates multiple distributed power sources and temperature control loads into a unified energy management system, constructs a virtual power plant day-ahead scheduling model based on an hourly time scale, and realizes coordinated control of temperature control loads and distributed power sources.

[0099] Step S3, regulating the temperature control load in response to the regulation power allocated by the power grid, and constructing a virtual power plant intraday regulation model for coordinated control of the temperature control load, the distributed power source and the microgrid.

[0100] Specifically, according to the regulation power allocated by the power grid, the virtual power plant performs real-time power regulation on the temperature control load on a time scale of minutes, and constructs a daily regulation model of the virtual power plant with coordinated control of the temperature control load, distributed power sources and microgrids.

[0101] Step S5, based on the output uncertainty of the distributed power sources, converting the virtual power plant day-ahead dispatch model and the virtual power plant intraday regulation model into a distributed robust optimization model based on multiple discrete scenarios.

[0102] Specifically, in order to cope with the uncertainty of distributed power output, it is necessary to generate multiple possible scenarios based on historical data to cover various distributed power output situations. In these scenarios, the virtual power plant day-ahead dispatch model and the virtual power plant intraday regulation model are transformed into a distributed robust optimization model based on multiple discrete scenarios to ensure consistency and coordination at different time scales.

[0103] Step S7, solving the distributed robust optimization model to obtain the optimal virtual power plant energy management strategy.

[0104] Specifically, the distributed robust optimization model is solved, the performance under different scenarios is evaluated, and the optimal virtual power plant energy management strategy is obtained. Solvers such as MATLAB, Gurobi, and CPLEX can be used for solving. Preferably, the Gurobi solver is used to ensure efficient and accurate solution of the optimization model.

[0105] The present embodiment provides a virtual power plant energy management method, which integrates multiple distributed power sources and temperature control loads into a unified virtual power plant energy management system, and performs scheduling on an hourly time scale to achieve coordinated control of temperature control loads and distributed power sources. According to the regulated power allocated by the power grid, the temperature control load is regulated in real time on a minute-by-minute time scale to achieve coordinated control of temperature control loads, distributed power sources and microgrids. Considering the uncertainty of the output of distributed power sources, multiple possible scenarios are generated, and the day-ahead scheduling model of the virtual power plant and the intraday regulation model of the virtual power plant are converted into distributed robust optimization models based on multiple discrete scenarios to ensure consistency and coordination in different scenarios. The distributed robust optimization model is solved to evaluate the performance in different scenarios and obtain the optimal virtual power plant energy management strategy. The present embodiment can effectively improve the management and coordination capabilities of the virtual power plant for a variety of distributed power sources and temperature control loads, and enhance its adaptability to changes and uncertainties in the power grid.

[0106] Figure 3 The flowchart of step S1 provided in the embodiment of the present application may include the following steps:

[0107] Step S11, obtaining the day-ahead constraint conditions of the day-ahead dispatch model of the virtual power plant; wherein the day-ahead constraint conditions include at least one of the day-ahead power purchase constraint, the day-ahead distributed power source operation constraint, the day-ahead temperature control load operation constraint and the day-ahead power flow constraint.

[0108] In some embodiments, the day-ahead power purchase constraints include:

[0109]

[0110] in, N is the amount of electricity purchased by the virtual power plant from the grid during time period t; load is the number of nodes; is the active power required by the load at node i in time period t; N DG is the number of distributed power sources; is the active power output of the distributed power supply at node i in time period t; N TCL is the temperature control load quantity; is the active power output by the temperature control load at node i in time period t.

[0111] Specifically, in the day-ahead power purchase constraint, the amount of electricity that the virtual power plant needs to purchase from the grid is equal to the total active power required by all load nodes minus the active power output of all distributed power sources and the active power output of all temperature-controlled loads. This ensures that within a specific time period, the amount of electricity purchased by the virtual power plant from the grid is balanced with the load demand, distributed power output, and temperature-controlled load output. This constraint can reasonably plan and purchase the required amount of electricity to ensure the stability and reliability of the virtual power plant in actual operation.

[0112] In some embodiments, the day-ahead distributed power generation operation constraints include:

[0113]

[0114]

[0115]

[0116] Among them, a i 、b i and c i is the coefficient value of the relationship between the operating cost of the i-th distributed generation and the active power of the distributed generation; the cost function of the distributed generation is converted into a piecewise linear function and encoded as MILP in the Gurobi solver; is the operating cost of the distributed generation at node i in time period t; is the active power output of the distributed power source at node i in time period t; and They represent the maximum active power and minimum active power output by the distributed power source at node i in time period t respectively; is the reactive power output of the distributed power source at node i in time period t; is the installed capacity of distributed generation at node i.

[0117] Specifically, the coefficient value (a i 、b i and c i ) describes the coefficient value of the relationship between the operating cost of the ith distributed generation and the active power of the distributed generation. These coefficient values ​​define the shape of the distributed generation cost function and are obtained by fitting historical data. The installed capacity ensures that the total active power and reactive power output of the distributed power generation in operation does not exceed its installed capacity. The operation constraints of the distributed power generation can optimize the operation cost of the distributed power generation, thereby reducing the overall operating cost. At the same time, the constraints limit the output power of the distributed power generation to prevent overload or voltage instability.

[0118] In some embodiments, the day-ahead temperature control load operation constraints include:

[0119]

[0120]

[0121] in, is the active power output of the temperature control load at node i in time period t; β is the power conversion coefficient of the temperature control load; ∆H max is the maximum temperature increment inside the temperature-controlled load; ∆H is the temperature adjustment amount inside the temperature-controlled load.

[0122] Specifically, the power conversion coefficient of the temperature-controlled load is used to convert temperature changes into active power output. This power conversion coefficient is determined according to the technical specifications of the temperature-controlled load and is usually provided by the equipment manufacturer. The internal temperature adjustment amount of the temperature-controlled load represents the amount of temperature change that the temperature-controlled load can adjust within a specific time period. The day-ahead temperature-controlled load operation constraint ensures that it operates within the safety and equipment capacity range by constraining the power output of the temperature-controlled load. As a demand-side resource, the temperature-controlled load can respond to the needs of the virtual power plant, provide the necessary adjustment capabilities, and help balance the supply and demand relationship.

[0123] In some embodiments, the day-ahead power flow constraint includes:

[0124]

[0125]

[0126]

[0127]

[0128]

[0129]

[0130] Among them, P ij,t and Q ij,t are the active power and reactive power input from node i to line ij in time period t respectively; P jl,t and Q ji,t are the active power and reactive power input from node j to line jl in time period t respectively; P j,t and Q j,t are the active power and reactive power input to node j in time period t respectively; is the active power output of the distributed power source at node j in time period t; is the active power output of the temperature control load at node j in time period t; is the active power required by the load at node j in time period t; Ωline A collection of lines for virtual power plants; is the reactive power output by the distributed power source at node j in time period t; is the reactive power required by the load at node j during time period t; U j,t is the voltage at node j during time period t; U i,t is the voltage at node i during time period t; r ij is the resistance of line ij; x ji is the reactance of line ij; and are the minimum and maximum voltages at node i, respectively.

[0131] Specifically, the day-ahead power flow constraint ensures the power balance and voltage stability of each node in the virtual power plant in each time period. By properly scheduling distributed power sources and temperature control loads, energy utilization efficiency can be improved.

[0132] Step S13, determining the day-ahead objective function of the day-ahead scheduling model of the virtual power plant; wherein the day-ahead objective function is used to characterize the comprehensive operating cost of the virtual power plant.

[0133] In some embodiments, the day-ahead objective function includes:

[0134]

[0135] in, is the electricity price that the virtual power plant purchases from the grid during time period t; N is the amount of electricity purchased by the virtual power plant from the grid during time period t; DG is the number of distributed power sources; is the operating cost of the distributed generation at node i in time period t.

[0136] Specifically, the day-ahead objective function of the virtual power plant day-ahead scheduling model aims to minimize the comprehensive operating cost of the virtual power plant within a day. By optimizing the day-ahead objective function, the virtual power plant can reduce operating costs and improve economic benefits while meeting the supply and demand balance.

[0137] Step S15, constructing the day-ahead dispatch model of the virtual power plant according to the day-ahead constraint conditions and the day-ahead objective function.

[0138] Specifically, according to the day-ahead constraints and the day-ahead objective function, a day-ahead dispatch model for virtual power plants is constructed. The purpose of this model is to optimize the power dispatch of virtual power plants within a day to minimize the comprehensive operating costs.

[0139] and Figure 2Compared with the embodiment shown, this embodiment ensures that the amount of electricity purchased by the virtual power plant from the power grid is balanced with the total output of the required load, distributed power sources and temperature control loads through the day-ahead power purchase constraint. The operation strategy of the distributed power source is optimized through the day-ahead distributed power source operation constraint to minimize its operating cost. The power output of the temperature control load is limited by the day-ahead temperature control load operation constraint to ensure its safe operation within the equipment capacity. The day-ahead flow constraint is used to ensure the power balance and voltage stability of each node in the virtual power plant in each time period. Then, the day-ahead scheduling model of the virtual power plant is constructed in combination with the day-ahead objective function, so that the virtual power plant can effectively plan and optimize the use of power resources during the day-ahead scheduling stage, thereby achieving the goal of reducing operating costs, improving grid stability and economic benefits.

[0140] Figure 4 The flowchart of step S3 provided in the embodiment of the present application may include the following steps:

[0141] Step S31, adjust the temperature control load in response to the regulation power allocated by the power grid, and obtain the intraday constraints of the virtual power plant's intraday regulation model; wherein the intraday constraints include at least one of intraday distributed power source operation constraints, intraday regulation power constraints, intraday temperature control load operation constraints and intraday power flow constraints.

[0142] In some embodiments, the intraday distributed power supply operation constraints include:

[0143]

[0144]

[0145]

[0146] Among them, a i , b i and c i is the coefficient value of the relationship between the operating cost of the i-th distributed generation and the active power of the distributed generation; the cost function of the distributed generation is converted into a piecewise linear function and encoded as MILP in the Gurobi solver; is the operating cost of the distributed generation at node i at time t+dθ; is the active power output of the distributed generation at node i at time t+dθ; and They represent the maximum active power and minimum active power output of the distributed generation at node i at time t+dθ in the virtual power plant respectively; is the active power output of the distributed generation at node i at time t+dθ; is the reactive power output by the distributed generation at node i at time t+dθ; is the installed capacity of distributed generation at node i.

[0147] Specifically, the intraday distributed generation operation constraints ensure that in the intraday scheduling of the virtual power plant, each distributed generation can operate reasonably according to its cost, maximum / minimum power constraints and power balance requirements. This optimization method can not only reduce the operating costs of the virtual power plant, but also improve the stability and efficiency of the power system.

[0148] In some embodiments, the intra-day adjustment power constraint includes:

[0149]

[0150]

[0151] Among them, R n,t+dθ is the ratio of power input to power demand of the nth microgrid at time t+dθ; is the total active power required by the load in the nth microgrid at time t+dθ; is the regulated power allocated to the nth microgrid at time t+dθ; is the regulated electricity price of the nth microgrid at time t+dθ; c1 is the electricity price purchased from the grid; c2 is the average electricity price purchased when the virtual power plant maximizes the use of local resources.

[0152] Specifically, R n,t+dθ =0, indicating that all power demand of the microgrid 𝑛 at time t+dθ is provided by the grid. This means that the microgrid does not use any local resources (such as distributed generation DG or temperature control load TCL), so it may face the highest regulation price , because it is completely dependent on the purchase of electricity. 0≤R n,t+dθ ≤1, indicating that the power demand of the microgrid is partially provided by the grid and partially by local resources. In this case, the microgrid can use lower-cost local resources to meet part of the power demand, thereby reducing the overall operating cost. n,t+dθ <0, indicating that the amount of electricity provided by the grid exceeds the actual demand of the microgrid. In this case, the excess electricity can be stored in the temperature-controlled load. At this point, the microgrid may have the opportunity to further optimize costs by storing energy or selling electricity back to the grid.

[0153] The intraday power regulation constraint ensures that the microgrid can reasonably adjust its energy input according to the power demand and regulation capacity, and calculate the corresponding regulation price. By optimizing the regulation power and electricity price, the virtual power plant can reduce operating costs and improve economic benefits. Secondly, ensure the balance of power supply and demand of the microgrid in different time periods, and encourage virtual power plants to maximize the use of local resources (including distributed power sources and temperature control loads) to avoid over-reliance on the external power grid.

[0154] In some embodiments, the intraday temperature control load operation constraints include:

[0155]

[0156]

[0157]

[0158]

[0159]

[0160]

[0161]

[0162] in, is the active power output of the temperature control load at node i at time t+dθ; and are the minimum active power and maximum active power output by the temperature control load at node i in time period t, respectively; is the charging power of the temperature control load at node i at time t+dθ; μ1, μ2, μ3 are the charging power coefficients of the temperature control load; and are the minimum charging power and maximum charging power of the temperature control load at node i respectively; H out is the external ambient temperature of the temperature-controlled load; is the internal temperature of the temperature-controlled load during time period t; l is the output power adjustment coefficient of the temperature-controlled load; ∆H max is the maximum increment of the internal temperature of the temperature control load; β is the power conversion coefficient of the temperature control load; ε is the temperature adjustment proportional coefficient of the temperature control load; is the initial charging power of the temperature control load at node i in time period t; κ is the proportional coefficient of the initial charging power.

[0163] Specifically, the charging power coefficient (μ1, μ2), the output power adjustment coefficient l, the power conversion coefficient β, the temperature adjustment proportional coefficient ε, and the proportional coefficient κ of the initial charging power are determined according to the technical specifications of the temperature control load and are usually provided by the equipment manufacturer.

[0164] The intraday operation constraints of temperature-controlled loads require real-time monitoring of the internal and external temperatures of the temperature-controlled loads to ensure that they operate within a safe range and can be effectively adjusted according to grid demand.

[0165] In some embodiments, the intraday power flow constraints include:

[0166]

[0167]

[0168]

[0169]

[0170]

[0171]

[0172] Among them, P ij,t+dθ and Q ij,t+dθ are the active power and reactive power input from node i to line ij at time t+dθ respectively; P jl,t+dθ and Q jl,t+dθ are the active power and reactive power input from node j to line jl at time t+dθ respectively; P j,t+dθ and Q j,t+dθ are the active power and reactive power input to node j at time t+dθ respectively; is the active power output of the distributed generation at node j at time t+dθ; is the active power output of the temperature control load at node j at time t+dθ; is the active power required by the load at node j at time t+dθ; Ω line A collection of lines for virtual power plants; is the reactive power output of the distributed generation at node j at time t+dθ; is the reactive power required by the load at node j at time t+dθ; U j,t+dθ is the voltage at node j at time t+dθ; U i,t+dθ is the voltage at node i at time t+dθ; r ij is the resistance of line ij; x ij is the reactance of line ij; and are the minimum and maximum voltages at node i, respectively.

[0173] Specifically, intraday power flow constraints ensure that the real-time power balance and voltage level of the virtual power plant are maintained within a safe range. By real-time monitoring and adjusting the power flow, it is ensured that the virtual power plant will not fail due to overload or voltage instability. Active and reactive power are reasonably allocated to improve the utilization efficiency of power resources. The voltage level is maintained within a safe range to ensure the reliability of power supply and power quality.

[0174] Step S33, determining the intraday objective function of the intraday regulation model of the virtual power plant; wherein the intraday objective function is used to characterize the intraday scheduling and operation cost of the virtual power plant.

[0175] In some embodiments, the intraday objective function includes:

[0176]

[0177] Where d is the sampling time step of intraday scheduling; L is the total number of sampling segments of intraday scheduling; θ is the sampling time of intraday minute-level scheduling; N MG is the number of microgrids; is the regulated electricity price of the nth microgrid at time t+dθ; R n,t+dθ is the ratio of power input to power demand of the nth microgrid at time t+dθ.

[0178] Specifically, the intraday objective function aims to minimize the total dispatch cost of all microgrids in the entire virtual power plant within a day.

[0179] Step S35, constructing the intraday regulation model of the virtual power plant according to the intraday constraints and the intraday objective function.

[0180] Specifically, according to the intraday constraints and intraday objective functions, a virtual power plant intraday regulation model is constructed. The purpose of this model is to minimize the total dispatch cost of all microgrids in the entire virtual power plant within a day.

[0181] and Figure 2 Compared with the embodiment shown, this embodiment ensures that the distributed power source operates according to the maximum / minimum power limit and cost factors during the intraday scheduling process through the intraday distributed power source operation constraints, which helps to maintain the stability of the power system. Through the intraday adjustment of power constraints, it is ensured that the microgrid adjusts the energy input according to actual needs in different time periods to balance the power supply and demand, thereby avoiding excessive dependence on the external power grid. Through the intraday temperature control load operation constraints, the internal and external temperatures of the temperature control load are monitored in real time, and the output of the temperature control load is adjusted according to the grid demand to ensure safe operation and energy management. Through the intraday flow constraints, the balance of power flow and the safe maintenance of voltage levels are ensured to avoid virtual power plants from malfunctioning due to power overload or voltage instability. The combination of these constraints and objective functions constitutes the core part of the intraday regulation model of the virtual power plant, which aims to minimize costs, maximize efficiency and improve the stability of the power system through energy management and resource utilization.

[0182] In some embodiments, the virtual power plant day-ahead dispatch model and the virtual power plant intraday regulation model are converted into a distributed robust optimization model based on multiple discrete scenarios, including:

[0183] KL divergence and K-means algorithms are used to deal with the uncertainty of distributed power output, and the virtual power plant day-ahead scheduling model and the virtual power plant intraday regulation model are transformed into distributed robust optimization models based on multiple discrete scenarios.

[0184] Specifically, the K-means algorithm is used to analyze the historical data of distributed power output and cluster it into N s feature scenes, each of which represents a specific output mode. Each clustered feature scene s is assigned an initial probability , indicating the possibility of the occurrence of the feature scene. Then KL divergence is used to quantify the initial probability obtained by the K-means algorithm. With the true probability p s The difference between them. KL divergence is used to construct an uncertainty set Ω containing the probability distribution of all possible real scenes. n , this set limits the difference between the actual probability and the initial probability to no more than a preset threshold ζ.

[0185]

[0186] Among them, N s is the number of feature scenes after clustering by K-means; p s is the true probability under the feature scenario s; is the initial probability of the feature scene s obtained by K-means clustering; ζ is the KL divergence value between the initial probability and the true scene probability.

[0187] In some embodiments, solving the distributed robust optimization model to obtain an optimal virtual power plant energy management strategy includes:

[0188] The C&CG algorithm is used to decompose the solution of the distributed robust optimization model into a main problem and a sub-problem; wherein the main problem provides a lower bound based on the distributed robust optimization model, and the sub-problem provides an upper bound for the distributed robust optimization model;

[0189] Through continuous iteration, the upper bound and the lower bound gradually approach each other. When the difference between the upper bound and the lower bound is less than the preset value, the iteration is stopped and the optimal solution is returned to obtain the optimal virtual power plant energy management strategy; among which, the optimal virtual power plant energy management strategy includes the amount of electricity traded between the power grid and the virtual power plant during the day under uncertain scenarios, operating costs and various operating parameters.

[0190] Specifically, the relevant variables of the temperature control load are set as the first-stage decision variables x:

[0191]

[0192] The remaining variables are set as the second-stage decision variables y s ,These variables are determined for each characteristic scenario s in response to the actual output conditions that occur.

[0193]

[0194] Distributed robust optimization model:

[0195]

[0196]

[0197]

[0198] Among them, Ω x is the constraint set of the variables in the first stage; Ω y is the constraint set of the second-stage variables; o, a, A, b, C, D, e, F, g, G, us are the constant matrices corresponding to the variable constraints.

[0199] First, at the current iteration k, solve the main problem and obtain the optimal solution x* and lower bound L of the first stage. B , at each iteration k, the goal of the main problem is to minimize the first-stage cost plus an estimated second-stage cost , Depends on the probability distribution p of the feature scenario considered in the current iteration s,k and the second-stage decision variable y s,k .

[0200]

[0201]

[0202]

[0203]

[0204] Next, under the condition of x*, solve the subproblem and find the true probability distribution p of the characteristic scenario in the worst case. s,k+1 , thereby calculating the upper bound U of the second stage cost B , the subproblem needs to be in the uncertainty set Ω n This involves solving the problem under the constraints of s and the second-stage decision variable y s Optimization.

[0205]

[0206]

[0207]

[0208] Among them, h s For each scenario s, calculate the minimum cost given x*; η is the expected cost in the worst case, which serves as the upper bound of the cost of the second stage.

[0209] When the difference between the upper bound and the lower bound is less than the preset value, the iteration stops and the optimal solution is returned to obtain the optimal virtual power plant energy management strategy. The preset value range here is 10 -3 -10 -7 , preferably 10 -3 .

[0210] This embodiment uses the C&CG algorithm to formulate a robust scheduling strategy for the virtual power plant in an uncertain environment, ensuring cost-effectiveness and system stability in various possible scenarios.

[0211] In order to illustrate the technical effects achieved by the embodiments of the present application, three different energy management methods are compared:

[0212] Strategy 1: Flexible operation of TCL without considering temperature control load.

[0213] Strategy 2: Do not consider the interconnection of microgrid MGs.

[0214] Strategy 3: The embodiment of the present application proposes a flexible operation strategy that considers both the temperature control load TCL and the interconnection coordination of the microgrid MG.

[0215] Table 1 shows the operating results of these three strategies. As can be seen from the table, since Strategy 1 does not consider the flexible operation of the temperature control load TCL, when the load demand in the virtual power plant exceeds the amount of electricity that the distributed power source DG can generate, it can only purchase electricity from the upper-level power grid, which increases the operating cost of the virtual power plant, an increase of 32.84% compared to Strategy 3. Strategy 2 does not consider the interconnection of the microgrid MG. When the power supply in the microgrid MG is insufficient, it is impossible to coordinate electricity through the interconnected lines, and it can only purchase electricity from the upper-level power grid, thus increasing the operating cost of the virtual power plant, an increase of 15.07% compared to Strategy 3. These results demonstrate the effectiveness of the virtual power plant energy management method proposed in this application that considers the coordinated control of the temperature control load TCL and the interconnected microgrid MG.

[0216] Table 1

[0217]

[0218] Figure 5The cost change curve obtained by using the virtual power plant energy management method proposed in the embodiment of the present application under different KL divergences ζ is shown. As can be seen from the figure, by setting different KL divergences ζ, the conservatism of the solution result can be flexibly adjusted, which verifies the flexibility of the virtual power plant energy management method proposed in the present application that considers the uncertainty of renewable energy output.

[0219] Accordingly, please refer to Figure 6 , an embodiment of the present application provides a virtual power plant energy management device, the architecture of the virtual power plant includes multiple microgrids, each of the microgrids includes multiple temperature control loads and multiple distributed power sources, and the device includes:

[0220] The day-ahead scheduling module 101 is used to construct a day-ahead scheduling model of a virtual power plant for coordinated control of the temperature control load and the distributed power source based on the architecture of the virtual power plant.

[0221] The intraday scheduling module 103 is used to adjust the temperature control load in response to the adjustment power allocated by the power grid, and to construct an intraday adjustment model of a virtual power plant for coordinated control of the temperature control load, the distributed power source and the microgrid.

[0222] The scenario optimization module 105 is used to convert the virtual power plant day-ahead dispatch model and the virtual power plant intraday regulation model into a distributed robust optimization model based on multiple discrete scenarios based on the output uncertainty of the distributed power sources.

[0223] The solution module 107 is used to solve the distributed robust optimization model to obtain the optimal virtual power plant energy management strategy.

[0224] Optionally, the day-ahead scheduling module 101 includes:

[0225] Obtaining the day-ahead constraint conditions of the day-ahead dispatch model of the virtual power plant; wherein the day-ahead constraint conditions include at least one of the day-ahead power purchase constraint, the day-ahead distributed power generation operation constraint, the day-ahead temperature control load operation constraint and the day-ahead power flow constraint;

[0226] Determine the day-ahead objective function of the day-ahead scheduling model of the virtual power plant; wherein the day-ahead objective function is used to characterize the comprehensive operating cost of the virtual power plant;

[0227] According to the day-ahead constraints and the day-ahead objective function, a day-ahead scheduling model of the virtual power plant is constructed.

[0228] Optionally, the day-ahead power purchase constraint includes:

[0229]

[0230] in, N is the amount of electricity purchased by the virtual power plant from the grid during time period t; load is the number of nodes; is the active power required by the load at node i in time period t; N DG is the number of distributed power sources; is the active power output of the distributed power supply at node i in time period t; N TCL is the temperature control load quantity; is the active power output of the temperature control load at node i in time period t;

[0231] The day-ahead distributed generation operation constraints include:

[0232]

[0233]

[0234]

[0235] Among them, a i 、b i and c i is the coefficient value of the relationship between the operating cost of the i-th distributed generation and the active power of the distributed generation; the cost function of the distributed generation is converted into a piecewise linear function and encoded as MILP in the Gurobi solver; is the operating cost of the distributed generation at node i in time period t; is the active power output of the distributed power source at node i in time period t; and They represent the maximum active power and minimum active power output by the distributed power source at node i in time period t respectively; is the reactive power output of the distributed power source at node i in time period t; is the installed capacity of distributed generation at node i;

[0236] The day-ahead temperature control load operation constraints include:

[0237]

[0238]

[0239] in, is the active power output of the temperature control load at node i in time period t; β is the power conversion coefficient of the temperature control load; ∆H max is the maximum increment of the internal temperature of the temperature-controlled load; ∆H is the internal temperature adjustment amount of the temperature-controlled load;

[0240] The day-ahead power flow constraints include:

[0241]

[0242]

[0243]

[0244]

[0245]

[0246]

[0247] Among them, P ij,t and Q ij,t are the active power and reactive power input from node i to line ij in time period t respectively; P jl,t and Q ji,t are the active power and reactive power input from node j to line jl in time period t respectively; P j,t and Q j,t are the active power and reactive power input to node j in time period t respectively; is the active power output of the distributed power source at node j in time period t; is the active power output of the temperature control load at node j in time period t; is the active power required by the load at node j in time period t; Ω line A collection of lines for virtual power plants; is the reactive power output by the distributed power source at node j in time period t; is the reactive power required by the load at node j during time period t; U j,t is the voltage at node j during time period t; U i,t is the voltage at node i during time period t; r ij is the resistance of line ij; x ji is the reactance of line ij; and are the minimum and maximum voltages at node i, respectively.

[0248] Optionally, the day-ahead objective function includes:

[0249]

[0250] in, is the electricity price that the virtual power plant purchases from the grid during time period t; N is the amount of electricity purchased by the virtual power plant from the grid during time period t; DG is the number of distributed power sources; is the operating cost of the distributed generation at node i in time period t.

[0251] Optionally, the intraday scheduling module 103 includes:

[0252] The temperature control load is adjusted in response to the adjustment power allocated by the power grid to obtain the intraday constraint conditions of the intraday adjustment model of the virtual power plant; wherein the intraday constraint conditions include at least one of the intraday distributed power supply operation constraint, the intraday adjustment power constraint, the intraday temperature control load operation constraint and the intraday power flow constraint;

[0253] Determine the intraday objective function of the intraday regulation model of the virtual power plant; wherein the intraday objective function is used to characterize the intraday scheduling and operation cost of the virtual power plant;

[0254] According to the intra-day constraints and the intra-day objective function, the intra-day regulation model of the virtual power plant is constructed.

[0255] Optionally, the intraday distributed power supply operation constraints include:

[0256]

[0257]

[0258]

[0259] Among them, a i , b i and c i is the coefficient value of the relationship between the operating cost of the i-th distributed generation and the active power of the distributed generation; the cost function of the distributed generation is converted into a piecewise linear function and encoded as MILP in the Gurobi solver; is the operating cost of the distributed generation at node i at time t+dθ; is the active power output of the distributed generation at node i at time t+dθ; and They represent the maximum active power and minimum active power output of the distributed generation at node i at time t+dθ in the virtual power plant respectively; is the active power output of the distributed generation at node i at time t+dθ; is the reactive power output by the distributed generation at node i at time t+dθ; is the installed capacity of distributed generation at node i;

[0260] The intraday power regulation constraints include:

[0261]

[0262]

[0263] Among them, Rn,t+dθ is the ratio of power input to power demand of the nth microgrid at time t+dθ; is the total active power required by the load in the nth microgrid at time t+dθ; is the regulated power allocated to the nth microgrid at time t+dθ; is the regulated electricity price of the nth microgrid at time t+dθ; c1 is the price of electricity purchased from the grid; c2 is the average price of electricity purchased when the virtual power plant maximizes the use of local resources;

[0264] The daily temperature control load operation constraints include:

[0265]

[0266]

[0267]

[0268]

[0269]

[0270]

[0271]

[0272] in, is the active power output of the temperature control load at node i at time t+dθ; and are the minimum active power and maximum active power output by the temperature control load at node i in time period t, respectively; is the charging power of the temperature control load at node i at time t+dθ; μ1, μ2, μ3 are the charging power coefficients of the temperature control load; and are the minimum charging power and maximum charging power of the temperature control load at node i respectively; H out is the external ambient temperature of the temperature-controlled load; is the internal temperature of the temperature-controlled load during time period t; l is the output power adjustment coefficient of the temperature-controlled load; ∆H max is the maximum increment of the internal temperature of the temperature control load; β is the power conversion coefficient of the temperature control load; ε is the temperature adjustment proportional coefficient of the temperature control load; is the initial charging power of the temperature control load at node i in time period t; κ is the proportional coefficient of the initial charging power;

[0273] The intraday power flow constraints include:

[0274]

[0275]

[0276]

[0277]

[0278]

[0279]

[0280] Among them, P ij,t+dθ and Q ij,t+dθ are the active power and reactive power input from node i to line ij at time t+dθ respectively; P jl,t+dθ and Q jl,t+dθ are the active power and reactive power input from node j to line jl at time t+dθ respectively; P j,t+dθ and Q j,t+dθ are the active power and reactive power input to node j at time t+dθ respectively; is the active power output of the distributed generation at node j at time t+dθ; is the active power output of the temperature control load at node j at time t+dθ; is the active power required by the load at node j at time t+dθ; Ω line A collection of lines for virtual power plants; is the reactive power output of the distributed generation at node j at time t+dθ; is the reactive power required by the load at node j at time t+dθ; U j,t+dθ is the voltage at node j at time t+dθ; U i,t+dθ is the voltage at node i at time t+dθ; r ij is the resistance of line ij; x ij is the reactance of line ij; and are the minimum and maximum voltages at node i, respectively.

[0281] Optionally, the intraday objective function includes:

[0282]

[0283] Where d is the sampling time step of intraday scheduling; L is the total number of sampling segments of intraday scheduling; θ is the sampling time of intraday minute-level scheduling; N MG is the number of microgrids; is the regulated electricity price of the nth microgrid at time t+dθ; R n,t+dθ is the ratio of power input to power demand of the nth microgrid at time t+dθ.

[0284] The further functional description of each of the above modules and units is the same as that of the above corresponding embodiments and will not be repeated here.

[0285] In this embodiment, a virtual power plant energy management device is presented in the form of a functional unit, where the unit refers to an ASIC (Application Specific Integrated Circuit) circuit, a processor and memory that executes one or more software or fixed programs, and / or other devices that can provide the above functions.

[0286] See also Figure 7 , Figure 7 A schematic diagram of the structure of a computer device provided in an embodiment of the present application is shown in FIG. Figure 7 As shown, the computer device includes: one or more processors 10, a memory 20, and interfaces for connecting various components, including high-speed interfaces and low-speed interfaces. Various components are connected to each other using different buses for communication, and can be installed on a common mainboard or installed in other ways as needed. The processor can process the instructions executed in the computer device, including instructions stored in or on the memory to display the graphical information of the GUI on an external input / output device (such as, a display device coupled to the interface). In some optional embodiments, if necessary, multiple processors and / or multiple buses can be used together with multiple memories and multiple memories. Similarly, multiple computer devices can be connected, and each device provides some necessary operations (for example, as a server array, a group of blade servers, or a multi-processor system). Figure 7 A processor 10 is taken as an example.

[0287] The processor 10 may be a central processing unit, a network processor or a combination thereof. The processor 10 may further include a hardware chip. The hardware chip may be a dedicated integrated circuit, a programmable logic device or a combination thereof. The programmable logic device may be a complex programmable logic device, a field programmable gate array, a general purpose array logic or any combination thereof.

[0288] The memory 20 stores instructions executable by at least one processor 10, so that the at least one processor 10 executes the method shown in the above embodiment.

[0289] The memory 20 may include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application required for at least one function; the data storage area may store data created according to the use of the computer device, etc. In addition, the memory 20 may include a high-speed random access memory, and may also include a non-transient memory, such as at least one disk storage device, a flash memory device, or other non-transient solid-state storage device. In some optional embodiments, the memory 20 may optionally include a memory remotely arranged relative to the processor 10, and these remote memories may be connected to the computer device via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.

[0290] The memory 20 may include a volatile memory, such as a random access memory; the memory may also include a non-volatile memory, such as a flash memory, a hard disk or a solid state drive; the memory 20 may also include a combination of the above types of memory.

[0291] The computer device further comprises a communication interface 30 for the computer device to communicate with other devices or a communication network.

[0292] The embodiment of the present application also provides a computer-readable storage medium. The above method according to the embodiment of the present application can be implemented in hardware, firmware, or can be implemented as a computer code that can be recorded in a storage medium, or can be implemented as a computer code that is originally stored in a remote storage medium or a non-temporary machine-readable storage medium and will be stored in a local storage medium through a network download, so that the method described herein can be stored in such software processing on a storage medium using a general-purpose computer, a dedicated processor, or programmable or dedicated hardware. Among them, the storage medium can be a magnetic disk, an optical disk, a read-only storage memory, a random access memory, a flash memory, a hard disk or a solid-state hard disk, etc.; further, the storage medium can also include a combination of the above types of memories. It can be understood that a computer, a processor, a microprocessor controller, or programmable hardware includes a storage component that can store or receive software or computer code. When the software or computer code is accessed and executed by a computer, a processor, or hardware, the method shown in the above embodiment is implemented.

[0293] The devices, modules or units described in the above embodiments may be implemented by computer chips or entities, or by products with certain functions. A typical implementation device is a computer. Specifically, the computer may be, for example, a personal computer, a laptop computer, a cellular phone, a camera phone, a smart phone, a personal digital assistant, a media player, a navigation device, an email device, a game console, a tablet computer, a wearable device, or a combination of any of these devices.

[0294] For the convenience of description, the above device is described in various units according to their functions. Of course, when implementing the present application, the functions of each unit can be implemented in the same or multiple software and / or hardware.

[0295] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods and devices. Therefore, the present application may take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, the present application may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program codes.

[0296] The present application is described with reference to the flowcharts and / or block diagrams of the methods and devices according to the embodiments of the present application. It should be understood that each process and / or block in the flowchart and / or block diagram, as well as the combination of the processes and / or blocks in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0297] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.

[0298] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.

[0299] It should also be noted that the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, commodity or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, commodity or device. In the absence of more restrictions, the elements defined by the sentence "comprises a ..." do not exclude the existence of other identical elements in the process, method, commodity or device including the elements.

[0300] Each embodiment in this specification is described in a progressive manner, and the same or similar parts between the embodiments can be referred to each other, and each embodiment focuses on the differences from other embodiments. In particular, for the system embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment.

[0301] The above is only an embodiment of the present application and is not intended to limit the present application. For those skilled in the art, the present application may have various changes and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application should be included in the scope of the claims of the present application.

[0302] Although the embodiments of the present application have been described in conjunction with the accompanying drawings, those skilled in the art may make various modifications and variations without departing from the spirit and scope of the present application, and such modifications and variations are all within the scope defined by the appended claims.

Claims

1. A virtual power plant energy management method, characterized in that: The architecture of the virtual power plant includes a plurality of microgrids, each of which includes a plurality of temperature-controlled loads and a plurality of distributed power sources. The method includes: Based on the architecture of the virtual power plant, a day-ahead dispatch model of the virtual power plant for coordinated control of the temperature control load and the distributed power source is constructed; The virtual power plant day-ahead dispatching model for coordinated control of the temperature control load and the distributed power source is constructed based on the architecture of the virtual power plant, including: Obtaining the day-ahead constraint conditions of the day-ahead dispatch model of the virtual power plant; wherein the day-ahead constraint conditions include at least one of the day-ahead power purchase constraint, the day-ahead distributed power generation operation constraint, the day-ahead temperature control load operation constraint and the day-ahead power flow constraint; The day-ahead power purchase constraints include: in, N is the amount of electricity purchased by the virtual power plant from the grid during time period t; load is the number of nodes; is the active power required by the load at node i in time period t; N DG is the number of distributed power sources; is the active power output of the distributed power supply at node i in time period t; N TCL is the temperature control load quantity; is the active power output of the temperature control load at node i in time period t; The day-ahead distributed generation operation constraints include: Among them, a i 、b i and c i is the coefficient value of the relationship between the operating cost of the i-th distributed generation and the active power of the distributed generation; the cost function of the distributed generation is converted into a piecewise linear function and encoded as MILP in the Gurobi solver; is the operating cost of the distributed generation at node i in time period t; is the active power output of the distributed power source at node i in time period t; and They represent the maximum active power and minimum active power output by the distributed power source at node i in time period t respectively; is the reactive power output of the distributed power source at node i in time period t; is the installed capacity of distributed generation at node i; The day-ahead temperature control load operation constraints include: in, is the active power output of the temperature control load at node i in time period t; β is the power conversion coefficient of the temperature control load; ∆H max is the maximum increment of the internal temperature of the temperature-controlled load; ∆H is the internal temperature adjustment amount of the temperature-controlled load; The day-ahead power flow constraints include: Among them, P ij,t and Q ij,t are the active power and reactive power input from node i to line ij in time period t respectively; P jl,t and Q ji,t are the active power and reactive power input from node j to line jl in time period t respectively; P j,t and Q j,t are the active power and reactive power input to node j in time period t respectively; is the active power output of the distributed power source at node j in time period t; is the active power output of the temperature control load at node j in time period t; is the active power required by the load at node j in time period t; Ω line A collection of lines for virtual power plants; is the reactive power output by the distributed power source at node j in time period t; is the reactive power required by the load at node j during time period t; U j,t is the voltage at node j during time period t; U i,t is the voltage at node i during time period t; r ij is the resistance of line ij; x ji is the reactance of line ij; and are the minimum and maximum values ​​of the voltage at node i respectively; Determine the day-ahead objective function of the day-ahead scheduling model of the virtual power plant; wherein the day-ahead objective function is used to characterize the comprehensive operating cost of the virtual power plant; According to the day-ahead constraint and the day-ahead objective function, the day-ahead dispatch model of the virtual power plant is constructed; the temperature control load is adjusted in response to the adjustment power allocated by the power grid, and an intraday adjustment model of the virtual power plant coordinatedly controlled by the temperature control load, the distributed power source and the microgrid is constructed; The temperature control load is adjusted in response to the adjustment power allocated by the power grid, and a virtual power plant intraday adjustment model for coordinated control of the temperature control load, the distributed power source and the microgrid is constructed, including: The temperature control load is adjusted in response to the adjustment power allocated by the power grid to obtain the intraday constraint conditions of the intraday adjustment model of the virtual power plant; wherein the intraday constraint conditions include at least one of the intraday distributed power supply operation constraint, the intraday adjustment power constraint, the intraday temperature control load operation constraint and the intraday power flow constraint; The intraday distributed power generation operation constraints include: Among them, a i 、b i and c i is the coefficient value of the relationship between the operating cost of the i-th distributed generation and the active power of the distributed generation; the cost function of the distributed generation is converted into a piecewise linear function and encoded as MILP in the Gurobi solver; is the operating cost of the distributed generation at node i at time t+dθ; is the active power output of the distributed generation at node i at time t+dθ; and They represent the maximum active power and minimum active power output of the distributed generation at node i at time t+dθ in the virtual power plant respectively; is the active power output of the distributed generation at node i at time t+dθ; is the reactive power output by the distributed generation at node i at time t+dθ; is the installed capacity of distributed generation at node i; The intraday power regulation constraints include: Among them, R n,t+dθ is the ratio of power input to power demand of the nth microgrid at time t+dθ; is the total active power required by the load in the nth microgrid at time t+dθ; is the regulated power allocated to the nth microgrid at time t+dθ; is the regulated electricity price of the nth microgrid at time t+dθ; c1 is the price of electricity purchased from the grid; c2 is the average price of electricity purchased when the virtual power plant maximizes the use of local resources; The daily temperature control load operation constraints include: in, is the active power output of the temperature control load at node i at time t+dθ; and are the minimum active power and maximum active power output by the temperature control load at node i in time period t, respectively; is the charging power of the temperature control load at node i at time t+dθ; μ1, μ2, μ3 are the charging power coefficients of the temperature control load; and are the minimum charging power and maximum charging power of the temperature control load at node i respectively; H out is the external ambient temperature of the temperature-controlled load; is the internal temperature of the temperature-controlled load during time period t; l is the output power adjustment coefficient of the temperature-controlled load; ∆H max is the maximum increment of the internal temperature of the temperature control load; β is the power conversion coefficient of the temperature control load; ε is the temperature adjustment proportional coefficient of the temperature control load; is the initial charging power of the temperature control load at node i in time period t; κ is the proportional coefficient of the initial charging power; The intraday power flow constraints include: Among them, P ij,t+dθ and Q ij,t+dθ are the active power and reactive power input from node i to line ij at time t+dθ respectively; P jl,t+dθ and Q jl,t+dθ are the active power and reactive power input from node j to line jl at time t+dθ respectively; P j,t+dθ and Q j,t+dθ are the active power and reactive power input to node j at time t+dθ respectively; is the active power output of the distributed generation at node j at time t+dθ; is the active power output of the temperature control load at node j at time t+dθ; is the active power required by the load at node j at time t+dθ; Ω line A collection of lines for virtual power plants; is the reactive power output of the distributed generation at node j at time t+dθ; is the reactive power required by the load at node j at time t+dθ; U j,t+dθ is the voltage at node j at time t+dθ; U i,t+dθ is the voltage at node i at time t+dθ; r ij is the resistance of line ij; x ij is the reactance of line ij; and are the minimum and maximum values ​​of the voltage at node i respectively; Determine the intraday objective function of the intraday regulation model of the virtual power plant; wherein the intraday objective function is used to characterize the intraday scheduling and operation cost of the virtual power plant; Constructing the intraday regulation model of the virtual power plant according to the intraday constraints and the intraday objective function; Based on the output uncertainty of the distributed power source, the day-ahead dispatch model of the virtual power plant and the intraday regulation model of the virtual power plant are converted into a distributed robust optimization model based on multiple discrete scenarios; Solve the distributed robust optimization model to obtain the optimal virtual power plant energy management strategy.

2. The method according to claim 1, characterized in that The day-ahead objective function includes: in, is the electricity price that the virtual power plant purchases from the grid during time period t; N is the amount of electricity purchased by the virtual power plant from the grid during time period t; DG is the number of distributed power sources; is the operating cost of the distributed generation at node i in time period t.

3. The method according to claim 1, characterized in that The intraday objective function includes: Where d is the sampling time step of intraday scheduling; L is the total number of sampling segments of intraday scheduling; θ is the sampling time of intraday minute-level scheduling; N MG is the number of microgrids; is the regulated electricity price of the nth microgrid at time t+dθ; R n,t+dθ is the ratio of power input to power demand of the nth microgrid at time t+dθ.

4. A device for implementing the virtual power plant energy management method according to any one of claims 1 to 3, characterized in that: The architecture of the virtual power plant includes a plurality of microgrids, each of which includes a plurality of temperature-controlled loads and a plurality of distributed power sources, and the device includes: A day-ahead scheduling module, used to construct a day-ahead scheduling model of a virtual power plant for coordinated control of the temperature control load and the distributed power source based on the architecture of the virtual power plant; An intraday scheduling module, used to adjust the temperature control load in response to the adjustment power allocated by the power grid, and to construct an intraday adjustment model of a virtual power plant for coordinated control of the temperature control load, the distributed power source and the microgrid; A scenario optimization module, used for converting the virtual power plant day-ahead dispatch model and the virtual power plant intraday regulation model into a distributed robust optimization model based on multiple discrete scenarios based on the output uncertainty of the distributed power source; The solution module is used to solve the distributed robust optimization model and obtain the optimal virtual power plant energy management strategy.

5. A computer device, characterized in that: include: A memory and a processor, wherein the memory and the processor are communicatively connected to each other, the memory stores computer instructions, and the processor executes the virtual power plant energy management method according to any one of claims 1 to 3 by executing the computer instructions.

6. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a computer to execute the virtual power plant energy management method according to any one of claims 1 to 3.