Calculation unloading method adaptive to virtual power plant VPP frequency modulation service

By building a cloud-edge collaborative processing system in the virtual power plant VPP, optimizing the data offloading solution solves the delay problem in frequency modulation services, improves performance and revenue, and achieves cost reduction.

CN118574162APending Publication Date: 2024-08-30CHONGQING UNIV
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410624257.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-05-20
Publication Date
2024-08-30

AI Technical Summary

Technical Problem

Virtual power plant VPP faces communication and computing latency issues when providing frequency modulation services, resulting in performance degradation and revenue loss. Existing improvement methods cannot effectively reduce latency or support growing communication needs.

Method used

The cloud-edge collaborative processing system is used to build a data offloading decision model and optimize the data offloading plan between the edge server and the cloud control center to minimize system operating costs and response delays and improve frequency modulation response performance.

Benefits of technology

It effectively reduces the communication and calculation delays of the frequency modulation service of the virtual power plant VPP, reduces costs, and increases revenue, especially in large-scale VPP systems, which shows an increase of more than 31% in revenue.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118574162A
    Figure CN118574162A
Patent Text Reader

Abstract

The invention belongs to the technical field of virtual power plant frequency control and communication, and particularly relates to a calculation unloading method adaptive to a virtual power plant VPP frequency modulation service, which comprises the following steps: S1, building a cloud edge cooperative processing system; s2, constructing a data unloading decision model by taking the lowest system operation cost as an objective function; the working process of the data unloading decision model comprises the following steps: calculating the cost of different unloading schemes of each DSR in a virtual power plant VPP; the unloading scheme comprises unloading the data of the DSR i to an edge server j or unloading the data of the DSR i to a cloud control center; recording the unloading scheme with the lowest cost of each DSR to obtain a VPP unloading decision scheme; s3, inputting corresponding data of an actual virtual power plant VPP into the data unloading decision model to obtain a VPP unloading decision scheme; and S4, executing the VPP unloading decision scheme. According to the method, the performance of the frequency modulation service FRS of the virtual power plant VPP can be effectively improved, so that the cost of the frequency modulation service FRS of the virtual power plant VPP is reduced, and the earnings of the VPP are improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the field of frequency control and communication technology of virtual power plants, and in particular to a calculation unloading method adapted for frequency modulation services of virtual power plants (VPPs). Background Art

[0002] With the rapid increase in the penetration of renewable energy, the reduction in grid inertia has raised concerns about frequency regulation [1]. Traditional fossil fuel generators have limited regulation capabilities and may not be able to support the power system frequency for different renewable energy sources. At the same time, demand side resources (DSR) such as flexible loads and energy storage can be integrated to provide frequency regulation services (FRS). Virtual power plants (VPPs) aggregate these DSRs to manage the power flow in the region.

[0003] VPPs equipped with fast-response DSRs (such as electric vehicles and energy storage) are able to provide FRS to the power system. In this context, it has a faster regulation speed than traditional synchronous generators. Therefore, the FRS provided by VPPs is usually located between the system inertia response and the main frequency control. For example, PJM, the regional transmission organization in the United States, requires all VPPs to respond to FRS within 2 seconds. According to a report by Guidehouse In-sights and Fortune Business Insights, VPP capacity is expected to increase from 2.8 GW in 2020 to nearly 36.9 GW in 2029. The global VPP market is expected to increase from less than $1 billion in 2021 to more than $6.5 billion in 2028. VPP FRS is becoming increasingly important for low-inertia power systems.

[0004] In order to provide FRS (frequency regulation service), VPP needs to collect a large amount of DSR status data and then generate DSR combinations in accordance with the regulatory instructions of the power system operator. This is a communication and computationally intensive task. For communication between geographically dispersed DSRs and VPP control centers, public cellular networks are preferred over dedicated networks as communication solutions due to scalability, flexibility, and economy. However, since DSR generates a large amount of data in each control cycle (e.g., every 2 seconds) and causes large communication delays, public cellular networks may become congested. In addition, the DSR combination determination process has high computational complexity and large computational delays. Communication and computational delays degrade FRS performance and may result in serious VPP revenue losses.

[0005] To improve the situation, some technicians have proposed two improvements to solve the communication delay problem. One approach is to use a flexible VPP management algorithm to determine the energy management operations of the DSR in its product portfolio under various communication delays. Well-known algorithms include distributed algorithms based on dual consensus, event-triggered algorithms, asynchronous decomposition algorithms, and delay compensation and adaptive disturbance suppression algorithms. However, since these algorithms cannot reduce communication delays, the improvement in FRS performance is limited. Another solution is to effectively manage communication resources and minimize overall delays, such as device access optimization, dynamic communication spectrum allocation, and interference management. However, due to limited communication resources, these methods may not be able to support the growing communication needs of VPP. In addition, communication resource management does not inherently improve computing delays.

[0006] Therefore, how to effectively improve the performance of the frequency regulation service FRS of the virtual power plant VPP, thereby reducing the cost of the virtual power plant VPP frequency regulation service FRS and increasing the revenue of VPP, has become a problem that needs to be solved urgently. Summary of the invention

[0007] In view of the above-mentioned deficiencies in the prior art, the present invention provides a computational offloading method adapted for the frequency regulation service of a virtual power plant VPP, which can effectively improve the performance of the frequency regulation service FRS of the virtual power plant VPP, thereby reducing the cost of the frequency regulation service FRS of the virtual power plant VPP and increasing the revenue of the VPP.

[0008] In order to solve the above technical problems, the present invention adopts the following technical solutions:

[0009] A calculation unloading method adapted for a virtual power plant (VPP) frequency modulation service comprises the following steps:

[0010] S1. Based on the regional communication base station map of the virtual power plant VPP and the distribution of each DSR in the VPP, a cloud-edge collaborative processing system is built, wherein the cloud-edge collaborative processing system includes multiple edge servers and a cloud control center;

[0011] S2. Taking the lowest system operation cost as the objective function, a data offloading decision model is constructed; the objective function of the data offloading decision model is:

[0012]

[0013] In the formula, u t is the system operation cost of VPP; VPP,t Represents the income that VPP receives without delay; π VPP is the frequency modulation response performance of VPP, π VPP ∈[0, 1) indicates that there is a delay and the larger the value, the lower the delay. VPP =1 means no delay; is the operating cost of the edge server, m is the number of edge servers; The operating cost of the cloud control center; is the m-order identity matrix;

[0014] The working process of the data offloading decision model includes calculating the cost of different offloading schemes for each DSR in the virtual power plant VPP; the offloading scheme includes offloading the data of DSR i to edge server j or to the cloud control center; and recording the offloading scheme with the lowest cost for each DSR to obtain the VPP offloading decision scheme;

[0015] S3, inputting the corresponding data of the actual virtual power plant VPP into the data unloading decision model constructed in S2 to obtain the actual VPP unloading decision plan; the corresponding data includes edge computing power parameters, edge computing power distribution, and demand-side resource distribution;

[0016] S4. Execute the VPP unloading decision plan obtained in S3.

[0017] Preferably, in the objective function of the data offloading decision model:

[0018]

[0019] Where, T S is the settlement period; P VPP,t is the actual response power; is the predetermined power of VPP;

[0020]

[0021] In the formula, α t is the income coefficient of VPP;

[0022]

[0023] In the formula, is the cost coefficient; is the data size of edge server j;

[0024]

[0025] In the formula, μ C is the cost coefficient; is the data size of the cloud control center.

[0026] Noun description: α t is the revenue coefficient of the VPP; that is, α t It is the market reward for VPP response per MW. The unit is RMB / MW.

[0027] Preferably, the frequency modulation response performance of VPP is VPPThe calculation formula is:

[0028]

[0029] Where, T S is the settlement period; T C is the control period; n C is the number of DSRs; n C,k represents the number of DSRs activated in the kth control cycle; P i,t represents the dynamic response of DSR i; is the response delay of DSR i; is the data transmission time of DSR i; is the adjustment signal of DSR i; adjustment signal Indicates that DSR i should increase its charging power or reduce its discharging power.

[0030] Preferably, the response delay of DSR i The calculation formula is:

[0031]

[0032]

[0033]

[0034] In the formula, represents the downlink transmission time of the adjustment signal of DSR i; Calculate the time for data in the cloud control center; The data computation time for edge server j; is the data uplink transmission time of the adjustment signal of DSR i; Data representing the regulation signal of DSR i is offloaded to the cloud control center; Data representing the conditioned signal of DSR i is offloaded to edge server j.

[0035] Preferably, the data uplink transmission time of the adjustment signal of DSR i The calculation formula is as follows:

[0036]

[0037]

[0038]

[0039] In the formula, x i,j,t is the uninstall variable; if x i,j,t = 1, then the data of DSR i is unloaded to edge server j at time t, and the uplink transmission time is Among them G i,t is the data size of the status message of DSR i; if x i,j,t = 0, then the data of DSR i is unloaded to the cloud control center at time t, and the uplink transmission time is Where w is the average transmission rate between the wireless access point AP and the cloud control center; R i,j represents the data transmission rate R from DSR i to edge server j i,j .

[0040] Preferably, the data transmission rate R from DSR i to edge server j is i,j The calculation formula is:

[0041]

[0042]

[0043] Where W is the channel bandwidth; is the data transmission power from DSR i to edge server j; is the ambient noise power of data transmission; Ω j represents the coverage of edge server j; Ω E is the set of edge servers; i,j is the channel gain; ε i,j is the relevant Rayleigh fading channel coefficient, d i,j is the Euclidean distance between DSR i and edge server j, and η is the data transmission coefficient.

[0044] Preferably, the downlink transmission time of the adjustment signal of DSR i The calculation formula is:

[0045]

[0046] In the formula, G′ i,t is the data size of the adjustment signal of DSR i; w′ is the downlink transmission rate; Λ k is the set of DSRs selected for adjustment at the kth control interval.

[0047] Preferably, the data computation time T of edge server j is j CO , data calculation time of the cloud control center The calculation formulas are:

[0048]

[0049]

[0050]

[0051]

[0052] In the formula, ρ is the preset computational task complexity coefficient; is the CPU processing speed of edge server j; s C is the CPU processing speed of the cloud control center, and is the sum of the data sizes processed by edge server j; Is the total size of data processed by the VPP cloud control center; Ω E Represents a collection of edge servers.

[0053] Preferably, the DSR includes energy storage and flexible loads; wherein the flexible loads include flexible loads that work continuously and flexible loads that provide discrete power response:

[0054] When building a data offloading decision model, the constraints of energy storage include:

[0055]

[0056]

[0057]

[0058]

[0059] is the rated power of energy storage i; is the basic power of energy storage i; To adjust the signal; if Indicates that the energy storage device i is being charged before receiving the adjustment signal. Indicates that the energy storage device i is discharging; adjust the signal Indicates that energy storage device i should increase its charging power or reduce its discharging power; σ i,t is a binary variable of charge / discharge; after receiving a 0 adjustment signal, if Then the energy storage i is in the charging state; if Then the energy storage i is in the discharge state; Indicates that the energy storage i stops charging or discharging; b i,t is the actual power of energy storage i; S i,t represents the charging state of energy storage i; is the rated energy of energy storage i, is the charging efficiency of energy storage i; is the discharge efficiency of energy storage i; T C is the control period; N ES A collection of energy storage;S i is the lower limit of the charging state; The upper limit of the charging state.

[0060] Preferably, when constructing a data offloading decision model, the constraints of the flexible load include:

[0061] For flexible loads that work continuously, the dispatchable power meets the following requirements:

[0062]

[0063] In the formula, is the base power of the flexible load i; represents the rated power of flexible load i; A collection of flexible loads that work continuously;

[0064] For flexible loads that provide discrete power response, the dispatchable power meets the following requirements:

[0065]

[0066] In the formula, z i,t represents a discrete regulation signal. If the flexible load only participates in the FRS in a switching manner, then z i,t ∈{0, 1}; represents a collection of flexible loads providing discrete power responses;

[0067] And each flexible load in a settlement period T S The FRS can only be adjusted once:

[0068]

[0069]

[0070] Where N FL is a collection of flexible loads, y i,t is the manipulated variable of flexible load i at time t.

[0071] Compared with the prior art, the present invention has the following beneficial effects:

[0072] 1. This method uses the idea of ​​cloud-edge collaboration to improve the communication and computing solutions of the FRS performance of the virtual power plant VPP; the edge server helps to offload the heavy computing tasks of FRS from the VPP cloud control center, thereby reducing the burden on the VPP cloud control center. Such a setting can accelerate DSR power prediction and optimal power flow calculation, guarantee the privacy of DSR owners, improve the accuracy of anomaly identification to resist network attacks, and improve energy management efficiency.

[0073] 2. Some discussions in conventional cloud-edge collaboration technology may not be important for VPP frequency modulation services. For example, the energy consumption of edge servers may not be very important for VPP, but the operating costs of cloud and edge servers are important, because excessive operating costs will reduce the profits of VPP. In addition, the cloud-edge collaboration models discussed in existing studies focus on vehicle networks or general Internet of Things (IoT), which may not be suitable for VPP. Compared with existing conventional cloud-edge collaboration technologies, this method is specifically adapted to the computational offloading of VPP services. This method can balance the economic benefits of cloud-edge collaboration and the associated operating costs. Cloud servers have stronger computing power than edge servers; but they are farther away from DSRs, have longer communication distances, longer communication delays, and higher service prices. Edge computing is cheaper, close to DSRs, has smaller communication delays, but has limited computing power. The appropriate computational offloading method (VPP offloading decision scheme) obtained by this method can not only reduce communication and computational delays to improve FRS performance and VPP revenue, but also limit the additional costs of cloud and edge servers.

[0074] 3. Actual numerical studies show that the proposed unloading method can increase the virtual power plant revenue by more than 31% compared with the method without computational unloading.

[0075] In summary, this method can effectively improve the performance of the frequency regulation service FRS of the virtual power plant VPP, thereby reducing the cost of the frequency regulation service FRS of the virtual power plant VPP and increasing the revenue of the VPP. BRIEF DESCRIPTION OF THE DRAWINGS

[0076] In order to make the purpose, technical solution and advantages of the invention more clear, the present invention will be further described in detail below with reference to the accompanying drawings, in which:

[0077] Figure 1 A flowchart of the method is shown in FIG.

[0078] Figure 2 This is a schematic diagram of the actual 4G access point map of City C in Example 2;

[0079] Figure 3 A schematic diagram of the amount of DSR status data processed by the cloud server and the DSR status data processed by the edge server for different computing offloading solutions in Example 2;

[0080] Figure 4 A schematic diagram of the virtual power plant response delay, frequency regulation performance and operating cost corresponding to various computational unloading schemes in Example 2;

[0081] Figure 5 Schematic diagram of the effect of the computational complexity coefficient on the number of DSRs offloaded to the cloud server, the average response delay, and the VPP costs corresponding to various computational offloading solutions in Example 2;

[0082] Figure 6 A schematic diagram of frequency regulation performance of a virtual power plant with different resource structures in Example 2;

[0083] Figure 7 Schematic diagram of the impact of VPP scale on VPP performance in Example 2. DETAILED DESCRIPTION

[0084] The following is a further detailed description through specific implementation methods:

[0085] Embodiment 1

[0086] In specific implementation, DSR includes energy storage and flexible loads; wherein the flexible loads include flexible loads that work continuously and flexible loads that provide discrete power response.

[0087] like Figure 1 As shown, this embodiment discloses a calculation unloading method adapted for a virtual power plant VPP frequency modulation service, comprising the following steps:

[0088] S1. Based on the regional communication base station map of the virtual power plant VPP and the distribution of each DSR in the VPP, a cloud-edge collaborative processing system is built, wherein the cloud-edge collaborative processing system includes multiple edge servers and a cloud control center;

[0089] S2. Taking the lowest system operation cost as the objective function, a data offloading decision model is constructed; the objective function of the data offloading decision model is:

[0090]

[0091] In the formula, u t is the system operation cost of VPP; VPP,t Represents the income that VPP receives without delay; π VPP is the frequency modulation response performance of VPP, π VPP ∈[0, 1) indicates that there is a delay and the larger the value, the lower the delay. VPP =1 means no delay; is the operating cost of the edge server, m is the number of edge servers; The operating cost of the cloud control center; is the m-order identity matrix;

[0092] In the objective function of the data offloading decision model:

[0093]

[0094] Where, T S is the settlement period; P VPP,t is the actual response power; is the predetermined power of VPP;

[0095]

[0096] In the formula, α t is the income coefficient of VPP. t is the revenue coefficient of the VPP; that is, α t It is the market reward for VPP response per MW. The unit is RMB / MW.

[0097]

[0098] In the formula, is the cost coefficient; is the data size of edge server j;

[0099]

[0100] In the formula, μ C is the cost coefficient; is the data size of the cloud control center.

[0101] Frequency response performance of VPP VPP It depends on the response delay and response accuracy of the selected DSR. Since only a part of DSR is activated in each control cycle of the frequency modulation service. Assume that in the kth control interval [(k-1)T C , kT C ) Select n C,k DSR i will be at time After the scheduled power is fully delivered, the ramp rate is Then the dynamic response of DSR i can be expressed as:

[0102]

[0103] Delay the response of these DSRs With transmission time The sum is arranged in ascending order, Then the actual response power P of VPP VPP,t This can be expressed as C Aggregation of DSRs: To adjust the signal; if Indicates that the energy storage device i is being charged before receiving the adjustment signal. Indicates that the energy storage device i is discharging; adjust the signal Indicates that energy storage device i should increase its charging power or reduce its discharging power;

[0104]

[0105] Therefore, the frequency modulation response performance of VPP can be obtained as VPP The calculation formula for FM response delay is:

[0106]

[0107] Where, T S is the settlement period; T C is the control period; n C is the number of DSRs; n C,k represents the number of DSRs activated in the kth control cycle; P i,t represents the dynamic response of DSR i; is the response delay of DSR i; is the data transmission time of DSR i; is the adjustment signal of DSR i; adjustment signal Indicates that DSR i should increase its charging power or reduce its discharging power.

[0108] In specific implementation, the response delay of DSR i The calculation formula is:

[0109]

[0110]

[0111]

[0112] In the formula, represents the downlink transmission time of the adjustment signal of DSR i; Calculate the time for data in the cloud control center; The data computation time for edge server j; is the data uplink transmission time of the adjustment signal of DSR i; Data representing the regulation signal of DSR i is offloaded to the cloud control center; Data representing the conditioned signal of DSR i is offloaded to edge server j.

[0113] DSR i adjusts the data uplink transmission time of the signal The calculation formula is as follows:

[0114]

[0115]

[0116]

[0117] In the formula, x i,j,t is the uninstall variable; if x i,j,t= 1, then the data of DSR i is unloaded to edge server j at time t, and the uplink transmission time is Among them G i,t is the data size of the status message of DSR i; if x i,j,t = 0, then the data of DSR i is unloaded to the cloud control center at time t, and the uplink transmission time is Where w is the average transmission rate between the wireless access point AP and the cloud control center; R i,j represents the data transmission rate R from DSR i to edge server j i,j .

[0118] Consider the uplink communication from DSR to wireless access point (AP). VPPs are generally concentrated in urban power grids, and due to the presence of commercial and industrial buildings, wireless communication signals are affected by Rayleigh fading. Assume that the communication channels are independent and identically distributed. Then, the quasi-static Rayleigh block fading communication channel model is reasonable for VPPs. It is also assumed that the communication between DSR and AP follows an orthogonal frequency division multiplexing access mechanism with an interference cancellation method that handles interference between any two adjacent cells. One DSR can only use 1 channel.

[0119] Therefore, under the quasi-static fading channel, the data transmission rate from DSR i to edge server j is R i,j The calculation formula is:

[0120]

[0121]

[0122] Where W is the channel bandwidth; is the data transmission power from DSR i to edge server j; is the ambient noise power of data transmission; Ω j represents the coverage of edge server j; Ω E is the set of edge servers; i,j is the channel gain; ε i,j is the relevant Rayleigh fading channel coefficient, d i,j is the Euclidean distance between DSR i and edge server j, and η is the data transmission coefficient.

[0123] DSR i adjusts the downlink transmission time of the signal The calculation formula is:

[0124]

[0125] In the formula, G′ i,tis the data size of the adjustment signal of DSR i; w′ is the downlink transmission rate; Λ k is the set of DSRs selected for adjustment at the kth control interval.

[0126] Data computation time T of edge server j j CO , data calculation time of the cloud control center The calculation formulas are: (18)-(21)

[0127]

[0128]

[0129]

[0130]

[0131] In the formula, ρ is the preset computational task complexity coefficient; is the CPU processing speed of edge server j; s C is the CPU processing speed of the cloud control center, and is the sum of the data sizes processed by edge server j; Is the total size of data processed by the VPP cloud control center; Ω E Represents a collection of edge servers.

[0132] When building a data offloading decision model, the constraints of energy storage include:

[0133]

[0134]

[0135]

[0136]

[0137] is the rated power of energy storage i; is the basic power of energy storage i; To adjust the signal; if Indicates that the energy storage device i is being charged before receiving the adjustment signal. Indicates that the energy storage device i is discharging; adjust the signal Indicates that energy storage device i should increase its charging power or reduce its discharging power; σ i,t is a binary variable of charge / discharge; after receiving a 0 adjustment signal, if Then the energy storage i is in the charging state; if Then the energy storage i is in the discharge state; Indicates that the energy storage i stops charging or discharging; b i,t is the actual power of energy storage i; S i,t represents the charging state of energy storage i; is the rated energy of energy storage i, is the charging efficiency of energy storage i; is the discharge efficiency of energy storage i; T C is the control period; N ES A collection of energy storage; S i is the lower limit of the charging state; The upper limit of the charging state.

[0138] In specific implementation, the above constraints are also applicable to electric vehicles.

[0139] When building a data offloading decision model, the constraints of flexible load include:

[0140] For flexible loads that work continuously, the dispatchable power meets the following requirements:

[0141]

[0142] In the formula, is the base power of the flexible load i; represents the rated power of flexible load i; A collection of flexible loads that work continuously;

[0143] For flexible loads that provide discrete power response, the dispatchable power meets the following requirements:

[0144]

[0145] In the formula, z i,t represents a discrete regulation signal. If the flexible load only participates in the FRS in a switching manner, then z i,t ∈{0,1}; represents a collection of flexible loads providing discrete power responses;

[0146] And each flexible load in a settlement period T S The FRS can only be adjusted once:

[0147]

[0148]

[0149] Where N FL is a collection of flexible loads, y i,t is the manipulated variable of flexible load i at time t.

[0150] The working process of the data offloading decision model includes calculating the cost of different offloading schemes for each DSR in the virtual power plant VPP; the offloading scheme includes offloading the data of DSR i to the edge server j or to the cloud control center; and recording the offloading scheme with the lowest cost for each DSR to obtain the VPP offloading decision scheme.

[0151] S3, inputting the corresponding data of the actual virtual power plant VPP into the data unloading decision model constructed in S2 to obtain the actual VPP unloading decision plan; the corresponding data includes edge computing power parameters, edge computing power distribution, and demand-side resource distribution;

[0152] S4. Execute the VPP unloading decision plan obtained in S3.

[0153] This method uses the idea of ​​cloud-edge collaboration to improve the communication and computing solutions of the FRS performance of the virtual power plant VPP; the edge server helps to offload the heavy computing tasks of FRS from the VPP cloud control center, thereby reducing the burden on the VPP cloud control center. Such a setting can accelerate DSR power prediction and optimal power flow calculation, guarantee the privacy of DSR owners, improve the accuracy of anomaly identification to resist network attacks, and improve energy management efficiency.

[0154] However, some discussions in conventional cloud-edge collaboration technology may not be important for VPP frequency modulation services. For example, the energy consumption of edge servers may not be very important for VPP, but the operating costs of cloud and edge servers are important, because excessive operating costs will reduce the profits of VPP. In addition, the cloud-edge collaboration models discussed in existing studies focus on vehicle networks or general Internet of Things (IoT), which may not be suitable for VPP. Compared with existing conventional cloud-edge collaboration technologies, this method is specifically adapted to the computational offloading of VPP services. This method can balance the economic benefits of cloud-edge collaboration and the associated operating costs. Cloud servers have stronger computing power than edge servers; but they are farther away from DSRs, have longer communication distances, longer communication delays, and higher service prices. Edge computing is cheaper, close to DSRs, has smaller communication delays, but has limited computing power. The appropriate computational offloading method (VPP offloading decision scheme) obtained by this method can not only reduce communication and computational delays to improve FRS performance and VPP revenue, but also limit the additional costs of cloud and edge servers.

[0155] Embodiment 2

[0156] In order to illustrate that this method is more suitable for computing offloading of VPP services compared with conventional cloud-edge collaboration technology, the following evaluation experiment is used to illustrate.

[0157] In this evaluation experiment, the cloud-edge collaboration model was evaluated to evaluate the advantages of the proposed computation offloading strategy. The experiment studied the impact of complexity coefficient, VPP system composition, and VPP scale on FRS performance.

[0158] Seven cloud-edge collaboration strategies are considered in the experiments.

[0159] Solution 1 (O1) represents a cloud computing solution only. All tasks are offloaded to the cloud control center.

[0160] Solution 2 (O2) represents an edge computing solution only. All tasks are offloaded to the relevant edge servers.

[0161] Solution 3 (O3) means that the cloud server and edge server each bear half of the computing tasks. Half of the DSR status data is processed on the edge server, and the other half is processed on the cloud server.

[0162] Solution 4 (O4) is the cloud-edge collaboration strategy proposed in this study.

[0163] Solution 5 (O5) is a cloud-edge collaboration solution using the Hermes algorithm.

[0164] Solution 6 (O6) is a cloud-edge collaboration solution using a greedy algorithm.

[0165] Solution 7 (O7) is a cloud-edge collaboration solution using an implicit enumeration algorithm.

[0166] O4 is the collaborative strategy proposed in this study. O1 represents the centralized control framework of VPP. O2 represents the fully distributed control framework, and O3-O7 represent the hybrid control framework. O5 can obtain the approximate optimal solution of the optimization problem. O6 can obtain an approximate solution. O7 can obtain the optimal solution of a small-scale VPP system, but the computational complexity is exponential.

[0167] (1) VPP test system

[0168] VPP test system Figure 2 This experiment considers two VPP test systems. One is a large-scale VPP system covering an area of ​​17.2km 2 , there are 415 LTE base station access points (i.e. wireless access points AP). The other is a small-scale VPP system, which is the red polygon area in the figure, including 12 LTE base station access points. Figure 2This is a map of actual 4G access points in City C. The blue symbols indicate the locations of LTE base station access points, and the polygons around each access point (called Voronoi diagrams) indicate the communication coverage of the access point. The parts of the city with dense access points are set as commercial and residential areas, and it is assumed that WiFi access points are evenly distributed. The remaining parts are set as industrial areas. Edge servers are installed in these access points. Figure 2 As shown, the red polygons are far apart, indicating that DSR is geographically widespread.

[0169] In a small-scale VPP test system, the CPU processing speed of the edge server 3.6×10 9 cycles / second, which is faster than the computing speed of the cloud control center server 10 times smaller. For large-scale VPP test systems, 7.2×10 9 cycles / second, 3.6×10 11 Cycles / second. Cloud server operating cost coefficient μ C Depends on the amount of data and system scale. Refer to the operating cost of Tencent Cloud. The operating cost coefficient μ of the small-scale VPP test system C = 0.1 yuan / MB, the operating cost coefficient of the large-scale VPP test system μ C = 0.8 yuan / MB. VPP only needs to pay for the edge servers used. Assuming that the cost coefficient of the edge server is 4 times smaller than that of the cloud server, Table 1 lists the detailed communication parameters.

[0170] Table 1 Communication parameters

[0171]

[0172]

[0173] Assume that the small-scale VPP test system contains 14 commercial loads and 10 energy storage devices. The total regulation capacity is 544.6kW. These DSRs are distributed in Figure 2 The small-scale VPP is used to compare the advantages of the proposed computation offloading method and the quality of the proposed method with the optimal solution. It should be noted that the implicit enumeration algorithm (O7) requires 2 24 times of calculations to obtain the optimal solution, while O4 only requires (24×(1+24)) / 2=300 times of calculations.

[0174] Table 2 lists the dispatchable power of DSR in large-scale VPP systems.

[0175] Table 2 Main parameters of large-scale VPP

[0176]

[0177] The system has 9,200 DSRs, including 2,000 energy storage devices, 6,000 electric vehicles, 1,000 residential buildings (each with 1 dispatchable smart device), 10 industrial factories (each with 10 workshops), and 10 commercial buildings (each with 10 floors). Set to any value in the range [2,10]kW. The real-time power is evenly distributed in The maximum capacity is set to Minimum The initial capacity is distributed in For electric vehicles, the maximum charge and discharge power is set to Capacity [20,80]kWh. The initial capacity of the equipment is distributed in The initial charging power is set to The adjustable power of residential, commercial and industrial loads is distributed in [2,4], [20,50] and [100,1000] kW respectively. There are 1100 WiFi access points for residential and commercial loads. Energy storage and electric vehicles are distributed throughout the area. The sending time of DSR is set to [0.01s,0.1s].

[0178] According to the policy of the C City Government, the profit coefficient of industrial load is 10 yuan / kW, and the profit coefficient of other DSR is 15 yuan / kW. In this case, the income of the small-scale VPP system is 544.6×15=8169 yuan. The reserve power of the large-scale VPP system is 145.1MW, and the ideal total income is 1936200 yuan. According to the requirements of the State Grid C City Power Company, the control period T C and the required response delay T re Both are 2s. Settlement time T S Set it as half an hour. The power dispatch center of City C provides the VPP with regulation instruction data of a representative settlement time.

[0179] (2) Analysis of cloud collaboration examples when parameters are constant

[0180] This section analyzes the necessity of computational offloading in large-scale VPP systems. Let the computational complexity coefficient be ρ = 4500 cycles / byte.

[0181] Figure 3 The figure shows the amount of DSR status data processed by the cloud server and the amount of DSR status data processed by the edge server when the VPP test system uses different computing offloading schemes. Figure 3(a) It can be seen that for a small-scale VPP, no DSR state data is offloaded to any edge server in O1, all DSR state data is offloaded to edge servers in O2, half of the data is offloaded to edge servers and half of the data is offloaded to the control center in O3, 54% of the data is offloaded to edge servers in O4 and O7, 67% of the data is offloaded to edge servers in O5, and 58% of the data is offloaded to edge servers in O6. The offload ratios of O4 and O7 are the same. This shows that the method adopted by the present invention provides the same solution as the implicit enumeration method. Figure 3 (b) shows the computation offloading results of a large-scale VPP test system. Figure 3 It can be found that the dynamic offloading strategy proposed in this study and other dynamic offloading strategies will offload more data to the edge servers of large-scale VPPs compared to small-scale VPPs. For example, in large-scale VPPs, O4 offloads 89% of the data to the edge servers, while in small-scale VPPs, it only offloads 54% of the data.

[0182] Figure 4 Shows the average response delay under different schemes VPP performance indexπ VPP , cloud and edge server costs and the total VPP cost u t (1). The upper figure shows a small-scale VPP system, and the lower figure shows a large-scale VPP system. Figure 4 As can be seen from the graphs (ab) above, O2 has the largest response delay and the smallest performance index, while O4 and O7 have the smallest response delay and the largest performance index. Therefore, among all the solutions, O4 and O7 have the lowest total VPP cost. Figure 4 It can also be seen that the cloud and edge server costs of O4 and O7 reached 27 yuan, almost three times that of O2. However, the VPP cost of O4 and O7 was 164 yuan, while the VPP cost of O2 was 551 yuan. This shows that O4 reduces the cost of VPP by more than 70% compared with O2. The ROI of offloading is calculated as (551-164) / 164×100%=236%.

[0183] Similar discussions can also be extended to large-scale VPP test systems. Figure 4 (cd) It can be seen that the response delay of O1 is greater than 2s, that is, the cloud control center server cannot handle all computing tasks alone within the specified time. Therefore, large-scale VPP requires computing offloading. The computing offloading solutions given in O4 to O6 reduce response delays and improve performance indicators. A careful observation shows that the improvement based on O4 is better than the improvements based on O5 and O6. Figure 4 The bottom panel also shows that the VPP cost of O4 is only 3.4×105 Yuan, better than O5 (3.6×10 5 Yuan) and O6 (8.6×10 5 Yuan) results.

[0184] (3) Influence of complexity coefficient

[0185] Consider the impact of the complexity factor on the performance of the VPP scheme. Assume that the complexity factor ranges from 100 cycles / byte to 5000 cycles / byte. Figure 5 The number of DSR status data and average response delay offloaded to the cloud control center under different complexity coefficients are shown. Figure 5 (ac) It can be seen that as the complexity coefficient increases, the O4-O7 schemes offload more data to the cloud control center. In contrast, O1-O3 maintains the same offloading decision. A higher complexity coefficient means longer computing time and therefore greater latency. The computing power of edge servers is limited and usually cannot handle heavy computing tasks well, while the computing power of the cloud control center is stronger than that of edge servers. Therefore, O4-O7 recommends offloading more data to the cloud control center to reduce response latency. In terms of VPP cost, the O1-O3 schemes require more VPP costs than the O4-O7 schemes. Under different complexity coefficients, the average VPP cost of O2 is 318.8 yuan, while that of O4 is 108.2 yuan; that is, the computational offloading method based on O4 saves 66.1% of VPP costs compared to O2.

[0186] The advantage of computation offloading is more obvious in large-scale VPP test systems. Figure 5 (c)(d) show that as the complexity coefficient increases, O4 offloads more data to the cloud control center. Figure 5 It also shows that among the schemes O1-O6, with the increase of the complexity coefficient, the VPP response delay of the scheme O4 is the smallest and the cost increases the slowest. For example, when the complexity coefficient is 5000 times / byte, the costs of O1-O4 are 3.1×10 6 Yuan, 6.7×10 5 Yuan, 1.5×10 6 Yuan, 3.8×10 5 The VPP cost of O4 is at least 43.3% lower than that of O1-O3.

[0187] Next, we discuss the advantages and disadvantages of the algorithm (O4) proposed in this method compared with O5-O7. Figure 5Panels (ac) show that when the complexity factor is in the range of 800 to 5000 cycles / byte, the offloading solution provided by O4 is the same as the optimal solution of O7. In the duration of [100,800] cycles / byte, the offloading solution of O4 has errors. However, O5 and O6 cannot provide optimal solutions, and the errors of their offloading solutions exist in the entire duration of [100,5000] cycles / byte. Figure 5 (c)(f) show that the average errors of VPP costs for O4-O6 are 1.3%, 52.5%, and 4.3%, respectively. For larger-scale VPPs, the proposed algorithm also provides better solutions compared to the Hermes algorithm and the greedy algorithm in terms of VPP costs at different complexity coefficients. The cost of the Hermes algorithm (O5) is 2.6% higher than that of O4, and the cost of the greedy algorithm (O6) is 134.8% higher than that of O4.

[0188] (4) Effect of VPP composition

[0189] Next, we analyze how the composition of VPP affects the total regulation power, the amount of DSR state data offloaded to the cloud control center, and the performance of VPP cost. The composition of VPP refers to the percentage of small or large devices in VPP. It can be represented by the composition ratio σ∈[0,1], which is defined as the ratio of the number of small DSRs in VPP to the number of all DSRs.

[0190] As we all know, some VPPs may mainly contain large DSRs, such as electric vehicles and energy storage. Some VPPs are mainly composed of many small DSRs with a few kilowatts of regulation capacity. In this study, small DSRs refer to devices less than 10kW, while large DSRs refer to devices greater than 10kW. Assume that the total number of DSRs in a VPP is 10,000 and the complexity factor is 6,000 times / byte.

[0191] Figure 6 The performance of different schemes at different composition ratios is shown. Figure 6 (a) It can be seen that the regulation ability of VPP decreases with the increase of composition ratio. This is because more and more small DSRs participate in VPP. Figure 6 (b) shows that since the computational tasks are fixed, the offloading decisions of O4, O5, and O6 remain stable as the composition ratio changes.

[0192] Figure 6 (c) shows that VPP cost decreases as σ increases. This is because VPP cost depends mainly on the reduction in VPP revenue (1-π VPP )r t , because the cost of cloud servers and edge servers Much smaller than the reduction in VPP income, i.e. (1- Then, the increase in participation of small DSRs will reduce VPP revenue. t Conversely, even if π VPP Same, the relevant income decreases (1-π VPP )r t It will also decrease, but this does not mean that computational offloading has no benefits. Figure 6 (c) shows that among all options, the VPP cost of O4 is always the smallest. When the VPP cost is the lowest, the composition ratio is 0.8. The VPP costs of O1-O4 are 1.5×10 6 Yuan, 2.9×10 5 Yuan, 7.5×10 5 Yuanhe 2.0×10 5 The VPP cost of O4 is at least 31% lower than that of O1-O3.

[0193] (5) Impact of VPP scale

[0194] This section studies the impact of different VPP scales on VPP performance through different computation offloading schemes. Assume that the number of DSRs in the VPP is between 1000 and 10000, and the complexity coefficient is set to 2000 cycles / byte. It is noted that the scale of VPP may be expanded under policy encouragement and economic incentives.

[0195] Figure 7 The results show the VPP regulation capacity, the number of DSRs that offload data to the cloud control center, and the VPP cost under different VPP scales. Figure 7 (a) It can be seen that the regulation ability of VPP increases with the increase of VPP scale. Figure 7 As shown in (b), when the computational burden increases, O2-O6 offload more computational tasks to the cloud control center. Figure 7 (c) shows that as the VPP scale increases, the VPP cost of all solutions increases sharply. However, the VPP cost of the computation offloading solution proposed by O4 increases the slowest. Figure 7 (c) It can also be found that as the scale of VPP increases, the cost of O4 increases much slower than other solutions. Therefore, the larger the scale of VPP, the more effective the computation offloading solution proposed by this method is.

[0196] Finally, it should be noted that the above embodiments are only used to illustrate the technical solution of the present invention rather than to limit the technical solution. Those skilled in the art should understand that those modifications or equivalent substitutions of the technical solution of the present invention that do not depart from the purpose and scope of the technical solution should be included in the scope of the claims of the present invention.

Claims

1. A calculation offloading method adapted for frequency modulation service of virtual power plant VPP, characterized in that: The following steps are involved: S1. Based on the regional communication base station map of the virtual power plant VPP and the distribution of each DSR in the VPP, a cloud-edge collaborative processing system is built, wherein the cloud-edge collaborative processing system includes multiple edge servers and a cloud control center; S2. Taking the lowest system operation cost as the objective function, a data offloading decision model is constructed; the objective function of the data offloading decision model is: In the formula, u t is the system operation cost of VPP; VPP,t Represents the income that VPP receives without delay; π VPP is the frequency modulation response performance of VPP, π VPP ∈[0,1) indicates that there is a delay and the larger the value, the lower the delay. VPP =1 means no delay; is the operating cost of the edge server, m is the number of edge servers; The operating cost of the cloud control center; is the m-order identity matrix; The working process of the data offloading decision model includes calculating the cost of different offloading schemes for each DSR in the virtual power plant VPP; the offloading scheme includes offloading the data of DSR i to edge server j or to the cloud control center; and recording the offloading scheme with the lowest cost for each DSR to obtain the VPP offloading decision scheme; S3, inputting the corresponding data of the actual virtual power plant VPP into the data unloading decision model constructed in S2 to obtain the actual VPP unloading decision plan; the corresponding data includes edge computing power parameters, edge computing power distribution, and demand-side resource distribution; S4. Execute the VPP unloading decision plan obtained in S3.

2. The calculation offloading method adapted for the frequency modulation service of a virtual power plant (VPP) according to claim 1, characterized in that: In the objective function of the data offloading decision model: Where, T S is the settlement period; P VPP,t is the actual response power; is the predetermined power of VPP; In the formula, α t is the income coefficient of VPP; In the formula, is the cost coefficient; is the data size of edge server j; In the formula, μ C is the cost coefficient; is the data size of the cloud control center.

3. The calculation offloading method adapted for the frequency modulation service of a virtual power plant (VPP) according to claim 2, characterized in that: Frequency response performance of VPP VPP The calculation formula is: Where, T S is the settlement period; T C is the control period; n C is the number of DSRs; n C,k represents the number of DSRs activated in the kth control cycle; P i,t represents the dynamic response of DSRi; is the response delay of DSRi; is the data transmission time of DSRi; is the regulation signal of DSRi; regulation signal Indicates that DSRi should increase its charging power or reduce its discharging power.

4. The calculation offloading method adapted for the frequency modulation service of a virtual power plant (VPP) as claimed in claim 3 is characterized in that: DSRi response delay The calculation formula is: In the formula, represents the downlink transmission time of the adjustment signal of DSRi; Calculate the time for data in the cloud control center; The data computation time for edge server j; is the data uplink transmission time of the DSRi adjustment signal; Data representing the regulation signal of DSRi is offloaded to the cloud control center; The data representing the conditioned signal of DSRi is offloaded to the edge server j.

5. The calculation offloading method adapted for the frequency modulation service of a virtual power plant VPP according to claim 4, characterized in that: DSRi adjusts the data uplink transmission time of the signal The calculation formula is as follows: In the formula, x i,j,t is the uninstall variable; if x i,j,t = 1, then the DSRi data is unloaded to the edge server j at time t, and the uplink transmission time is Among them G i,t is the data size of the DSRi status message; if x i,j,t = 0, then the DSRi data is unloaded to the cloud control center at time t, and the uplink transmission time is Where w is the average transmission rate between the wireless access point AP and the cloud control center; R i,j represents the data transmission rate R from DSRi to edge server j i,j .

6. The calculation offloading method adapted for the frequency modulation service of a virtual power plant (VPP) according to claim 5, characterized in that: The data transmission rate R from DSRi to edge server j i,j The calculation formula is: Where W is the channel bandwidth; is the data transmission power from DSRi to edge server j; is the ambient noise power of data transmission; Ω j represents the coverage of edge server j; Ω E is the set of edge servers; i,j is the channel gain; ε i,j is the relevant Rayleigh fading channel coefficient, d i,j is the Euclidean distance between DSRi and edge server j, and η is the data transmission coefficient.

7. The calculation offloading method adapted for the frequency modulation service of a virtual power plant (VPP) according to claim 6, characterized in that: DSRi adjusts the downlink transmission time of the signal The calculation formula is: In the formula, G′ i,t is the data size of the DSRi adjustment signal; w′ is the downlink transmission rate; Λ k is the set of DSRs selected for adjustment at the kth control interval.

8. The calculation offloading method adapted for the frequency modulation service of a virtual power plant (VPP) according to claim 7, characterized in that: Data computation time T of edge server j j CO , data calculation time of the cloud control center The calculation formulas are: In the formula, ρ is the preset computational task complexity coefficient; is the CPU processing speed of edge server j; s C is the CPU processing speed of the cloud control center, and is the sum of the data sizes processed by edge server j; Is the total size of data processed by the VPP cloud control center; Ω E Represents a collection of edge servers.

9. The calculation offloading method adapted for the frequency modulation service of a virtual power plant (VPP) according to claim 8, characterized in that: DSR includes energy storage and flexible loads; the flexible loads include flexible loads that work continuously and flexible loads that provide discrete power response: When building a data offloading decision model, the constraints of energy storage include: is the rated power of energy storage i; is the basic power of energy storage i; To adjust the signal; if Indicates that the energy storage device i is being charged before receiving the adjustment signal. Indicates that the energy storage device i is discharging; adjust the signal Indicates that energy storage device i should increase its charging power or reduce its discharging power; σ i,y is a binary variable of charge / discharge; after receiving a 0 adjustment signal, if Then the energy storage i is in the charging state; if Then the energy storage i is in the discharge state; Indicates that the energy storage i stops charging or discharging; b i,t is the actual power of energy storage i; S i,t represents the charging state of energy storage i; is the rated energy of energy storage i, is the charging efficiency of energy storage i; is the discharge efficiency of energy storage i; T C is the control period; N ES A collection of energy storage; S i is the lower limit of the charging state; The upper limit of the charging state.

10. The calculation offloading method adapted for the frequency modulation service of a virtual power plant (VPP) according to claim 9, characterized in that: When building a data offloading decision model, the constraints of flexible load include: For flexible loads that work continuously, the dispatchable power meets the following requirements: In the formula, is the base power of the flexible load i; represents the rated power of flexible load i; A collection of flexible loads that work continuously; For flexible loads that provide discrete power response, the dispatchable power meets the following requirements: In the formula, z i,t represents a discrete regulation signal. If the flexible load only participates in the FRS in a switching manner, then z i,t ∈{0,1}; represents a collection of flexible loads providing discrete power responses; And each flexible load in a settlement period T S The FRS can only be adjusted once: Where N FL is a collection of flexible loads, y i,t is the manipulated variable of flexible load i at time t.