Joint design method of power regulation and communication transmission under frequency regulation target of virtual power plant
Through the cloud-edge collaborative architecture, graph convolutional neural network routing optimization, and adaptive distributed auction algorithm, the communication network problem in the frequency control of the virtual power plant is solved, and the frequency adjustment and economic benefits of the virtual power plant in the power system are realized.
Patent Information
- Application Number
- CN202411064116.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-05
- Publication Date
- 2024-10-11
- Estimated Expiration
- 2044-08-05
Smart Images

Figure CN118589542B_ABST
Abstract
Description
Technical Field
[0001] The invention relates to a method for jointly designing power regulation and communication transmission under a frequency regulation target of a virtual power plant, and belongs to the technical field of power system operation and control. Background Art
[0002] Under the guidance of carbon reduction targets, large-scale renewable energy is connected to low-voltage distribution networks, resulting in a decreasing proportion of traditional unit capacity, which leads to the gradual insufficiency of the frequency regulation capacity of the power system, which poses a huge challenge to the stability of the system frequency. Therefore, more regulation resources are urgently needed to improve the safety of the system frequency. At the same time, there are widely penetrated distributed energy resources on the distribution network side, such as battery energy storage systems, which provide new opportunities for power system frequency regulation. However, a large number of battery energy storage systems with limited capacity may have a huge impact on the stable operation and flexible management of the system. To this end, the use of virtual power plants to aggregate and coordinate battery energy storage systems to provide frequency regulation services to the power system has become an emerging paradigm.
[0003] At present, there are relatively few studies on the application of virtual power plants in frequency control. These studies mainly use virtual power plant aggregation to implement hierarchical inertial control, participate in primary frequency control, and actively respond to automatic power generation control signals to provide frequency regulation services to ensure the safe and stable operation of the power system. Although such studies can effectively use virtual power plants to provide frequency support, few studies consider the economic benefits of virtual power plants while providing frequency regulation services. In addition, the above studies do not consider the impact of communication network problems on the frequency control of virtual power plants. When the virtual power plant responds to the power regulation instructions issued by the control center, the reliability of communication transmission needs to be guaranteed. The uncertainty of the network will affect the frequency response performance of the virtual power plant. Therefore, the present invention proposes a joint design method for power regulation and communication transmission under the frequency regulation target of a virtual power plant. Summary of the invention
[0004] The purpose of the present invention is to overcome the deficiencies in the prior art and provide a method for jointly designing power regulation and communication transmission under the frequency regulation target of a virtual power plant, effectively reducing the impact of communication network uncertainty on frequency control services, while ensuring the real-time and accuracy of frequency control services, and improving the economic benefits of frequency control services of virtual power plants. To achieve the above purpose, the present invention is implemented by adopting the following technical solutions, which specifically include the following steps:
[0005] (1) Build a virtual power plant coordinated frequency control architecture under cloud-edge collaboration;
[0006] (2) In order to overcome the impact of communication network uncertainty on power regulation and scheduling, a joint design of power regulation and scheduling and routing optimization under cloud-edge collaboration is proposed, in which a power regulation and scheduling method considering the impact of the communication network and a routing optimization strategy based on graph convolutional neural network are developed;
[0007] (3) In order to enable the virtual power plant to respond to the power regulation tasks of the control center with the optimal output power regulation, a dynamic power regulation strategy under edge-to-edge collaboration is proposed. According to the established modified control objective, a dynamic power regulation control method based on an adaptive distributed auction algorithm is designed.
[0008] Furthermore, the step (1) comprises:
[0009] The control architecture built involves the edge layer, communication layer and cloud layer. The edge layer deploys a large number of control gateways and the battery energy storage system inside the virtual power plant. The control gateway is responsible for collecting the operating data of the battery energy storage system and interacting with the virtual power plant control center through wired connections. The communication layer is composed of a wired Ethernet communication network based on software-defined networks. Its control plane is aggregated by a large number of controllers. The data plane contains many routers and communication links. The controller can generate routing strategies through the state perception of the global communication network and send them down to meet the frequency control business needs. The router can receive and forward data information according to the optimal routing strategy. The cloud layer is composed of the virtual power plant control center, which can directly make dispatch decisions and implement information interaction with the main power grid dispatch center.
[0010] Furthermore, the step (2) comprises the following steps:
[0011] (2.1) Power regulation scheduling considering the impact of communication network:
[0012] (2.1.1) Calculation of regulation capacity:
[0013] According to the maximum output power value and benchmark output power value of the virtual power plant in each region, the regulation capacity of the virtual power plant is calculated:
[0014] (1),
[0015] (2),
[0016] in, and Respectively Moment The upward and downward regulation of power of a virtual power plant, express Moment The maximum output power of a virtual power plant, express Moment The benchmark power of a virtual power plant, and denote the set of all virtual power plants and time respectively, and Respectively Adjust the power up and down of all virtual power plants at all times;
[0017] (2.1.2) Proportional power allocation:
[0018] Based on the regulation capability of the virtual power plant, the virtual power plant control center The adjustment tasks undertaken at all times It can be calculated as:
[0019] (3),
[0020] in, express The regulation power required by the main grid dispatching center at the moment, and then the control center allocates the regulation tasks undertaken to each regional virtual power plant in proportion based on the regulation capacity of the virtual power plant, which can be expressed as:
[0021] (4),
[0022] in, express Moment The allocated power of each virtual power plant;
[0023] (2.1.3) Power regulation and scheduling under the influence of communication network:
[0024] According to the triangular modulus operator, the multiple effects of network performance and security protection delay are integrated, and the fusion variable Calculated as:
[0025] (5),
[0026] in, and Respectively Moment The network performance and security delay of the transmission path experienced by the virtual power plant, security delay Calculated as:
[0027] (6),
[0028] in, Indicates the tolerable delay of the frequency control service. represents the path transmission delay, Indicates the execution delay of the device. It represents the lower bound of the safety protection delay;
[0029] Communication network under multiple influences Moment The actual regulation tasks undertaken by a virtual power plant , calculated as:
[0030] (7),
[0031] (8),
[0032] in, Indicates about the fusion variable The function of represents its adjustment coefficient;
[0033] (2.2) Routing optimization strategy to overcome the influence of communication network:
[0034] (2.2.1) Communication network status perception:
[0035] According to the controller in the communication layer, the topology and data information of the communication network are obtained, wherein the network topology adopts a connected undirected graph Indicates that Represents the set of all nodes in the network topology, Represents the set of all links in the network topology. Data information about network characteristics includes packet loss rate, throughput and latency.
[0036] (2.2.2) Path traversal:
[0037] A depth-first search algorithm is used to find all paths between the source node, i.e., the control center, and the destination node, i.e., the virtual power plant;
[0038] (2.2.3) Path performance calculation:
[0039] First, obtain the node network performance label: use the K-means algorithm to aggregate data information to find the node network performance label, where the Calinski-Harabasz index is used to determine the optimal number of clusters, and the multi-index comprehensive evaluation method and weighted average method are used to construct a comprehensive index to evaluate which type of network performance is better, calculated as:
[0040] (9),
[0041] in, Indicates The network performance of each network node, Represents a collection of network features, Indicates The weight of the network features, Represents the normalized network features;
[0042] Secondly, node classification: Based on the network performance corresponding to the clustering and obtained node features, the graph convolutional neural network model is used for supervised training to obtain node classification;
[0043] The network feature matrix of all nodes and the adjacent matrix representing the network topological connection relationship are input into the graph convolutional neural network model. The layer-by-layer propagation rule is applied to the above matrix to obtain the graph convolutional neural network layer output, which is calculated as:
[0044] (10),
[0045] in, Indicates The node feature matrix of the layer, represents the ReLU activation function, represents an adjacency matrix with self-loops, , represents the identity matrix, represents the self-normalized adjacency matrix, , Indicates a A two-layer graph convolutional neural network model is designed to predict the network performance of nodes. The final model output Calculated as:
[0046] (11),
[0047] The network model is trained using the cross entropy loss function, calculated as:
[0048] (12),
[0049] in, and represents the set of training and network label categories, and Indicates Network node labels and probability values;
[0050] Finally, performance calculation: the obtained node feature information is input into the trained model to determine the label of each node and its network performance, and then obtain the first Network performance of the virtual power plant transmission path , calculated as:
[0051] (13),
[0052] in, Indicates A collection of virtual power plant transmission paths;
[0053] (2.2.4) Transmission path selection:
[0054] The network performance of the transmission path should meet the defined minimum requirements , the expression is:
[0055] (14),
[0056] The security protection delay needs to be maximized as much as possible and is calculated as:
[0057] (15),
[0058] Combined with equation (6), assuming that the control tolerance delay and device execution delay are constants, we only need to minimize the delay of the transmission path. The expression is:
[0059] (16),
[0060] in, Indicates The delay of each transmission path;
[0061] In summary, the adopted transmission path selection mathematical model is:
[0062] (17).
[0063] Furthermore, the step (3) comprises the following steps:
[0064] (3.1) Establish control objectives:
[0065] Compare the total system cost caused by the corrected regulated power and the original allocated power, and obtain the constructed optimal corrected control objective expression:
[0066] (18),
[0067] (19),
[0068] (20),
[0069] (twenty one),
[0070] in, express The total objective function of the virtual power plant participating in frequency control at each moment is: and They represent the total system cost caused by the modified and original allocated power adjustment, respectively. The expression of Similar, for simplicity, it is omitted here. and Respectively represent The operating costs and loss costs of a virtual power plant, , , Respectively represent The operating cost coefficient of a virtual power plant, express Moment The modified regulation power of a virtual power plant, represents the loss cost discount factor;
[0071] The total corrected regulation power of the virtual power plant needs to meet the total regulation task from the virtual power plant control center, and the expression is:
[0072] (twenty two),
[0073] The regulation power of each virtual power plant is subject to its regulation capability, which is expressed as:
[0074] (twenty three),
[0075] in, and Respectively Moment The upward and downward regulation boundaries of a virtual power plant;
[0076] (3.2) Dynamic power regulation control method based on adaptive distributed auction algorithm:
[0077] Each virtual power plant is considered as an agent that interacts with adjacent agents and can continuously update and adjust power. An undirected graph is used to represent the interaction network. With Agent connected, then the elements in the adjacency matrix represents 1, otherwise it is 0, and then we can get the intelligent agent The set of neighboring agents , the expression is:
[0078] (twenty four),
[0079] Determining the optimal modified regulation power of each virtual power plant includes the following steps:
[0080] (3.2.1) Bid evaluation:
[0081] According to the power bid, each virtual power plant calculates the corresponding target change, which is expressed as:
[0082] (25),
[0083] (26),
[0084] in, Indicates that the power is adjusted from Increase to The corresponding target value increase, Indicates that the power is adjusted from Reduce to The corresponding target value reduction, represents the swap size, where , Indicates The objective function value of each agent;
[0085] (3.2.2) Consensus Protocol:
[0086] In order to ensure that the increase in power regulation of each virtual power plant can be balanced by an adjacent virtual power plant, Agents added , then its adjacent The number of intelligent agents is reduced , using the target deviation value , calculated as
[0087] (27),
[0088] Each agent selects the agent with the largest target deviation value as the neighboring agent of the auction transaction, expressed as
[0089] (28),
[0090] (29),
[0091] in, represents the maximum target deviation caused by power bidding, represents the best neighboring agent;
[0092] (3.2.3) Auction Resolution and Exchange Operations:
[0093] According to the maximum target deviation , determine the auction resolution, the expression is
[0094] (30),
[0095] (31),
[0096] Then, power exchange is performed between the two virtual power plants that form the maximum target deviation, expressed as
[0097] (32),
[0098] (33),
[0099] in, Indicates the number of iterations;
[0100] (3.2.4) Swap size iteration:
[0101] After the exchange operation is performed, a solution based on adaptive exchange size is used to adjust the exchange power, which is expressed as
[0102] (34),
[0103] in, Indicates the gain size, ;
[0104] Before starting the auction algorithm, each virtual power plant allocates initial regulation power according to its own regulation capacity, which is calculated as
[0105] (35),
[0106] After exchanging power, each virtual power plant needs to limit its updated regulation power using the following formula:
[0107] (36).
[0108] An electronic device comprises: a processor, a memory for storing instructions executable by the processor;
[0109] Among them, the processor is configured to execute the instructions to implement the joint design method of power regulation and communication transmission under the frequency regulation target of the virtual power plant.
[0110] A computer-readable storage medium stores computer instructions, which, when executed by a processor, implement the method for jointly designing power regulation and communication transmission under the frequency regulation target of a virtual power plant.
[0111] Compared with the prior art, the method for jointly designing power regulation and communication transmission under the frequency regulation target of a virtual power plant provided by the embodiment of the present invention has the following beneficial effects:
[0112] (1) The virtual power plant coordinated frequency control architecture under cloud-edge collaboration proposed in this invention can effectively tap the regulation potential of the massive battery energy storage system on the distribution network side aggregated by the virtual power plant to support the frequency control needs of the power system;
[0113] (2) In view of the fact that current studies have not considered the impact of communication network issues on the frequency control of virtual power plants, this invention proposes a joint design of control and communication under cloud-edge collaboration, which takes into account both power regulation and transmission optimization. It can not only effectively reduce the impact of communication network uncertainty on frequency control services, but also ensure the frequency response control performance.
[0114] (3) The present invention proposes a dynamic power regulation strategy under edge-to-edge collaboration to determine the optimal regulation power of the virtual power plant, which effectively improves the economic benefits of the frequency control service provided by the virtual power plant. BRIEF DESCRIPTION OF THE DRAWINGS
[0115] Figure 1 It is a flow chart of a method for jointly designing power regulation and communication transmission under a frequency regulation target of a virtual power plant provided by an embodiment of the present invention;
[0116] Figure 2 This is a diagram of a coordinated frequency control architecture of a virtual power plant under cloud-edge collaboration provided by an embodiment of the present invention;
[0117] Figure 3 is a performance comparison result diagram of different model node classifications provided by an embodiment of the present invention;
[0118] Figure 4 This is a comparison result diagram of the path performance experienced by each virtual power plant under different routing methods provided in an embodiment of the present invention. DETAILED DESCRIPTION
[0119] The present invention will be further described below in conjunction with the accompanying drawings. The following embodiments are only used to more clearly illustrate the technical solution of the present invention, and cannot be used to limit the protection scope of the present invention.
[0120] Example 1: Figure 1 As shown, this embodiment provides a method for jointly designing power regulation and communication transmission under a frequency regulation target of a virtual power plant, including:
[0121] (1) Build a virtual power plant coordinated frequency control architecture under cloud-edge collaboration;
[0122] (2) In order to overcome the impact of communication network uncertainty on power regulation and scheduling, a joint design of power regulation and scheduling and routing optimization under cloud-edge collaboration is proposed, in which a power regulation and scheduling method considering the impact of the communication network and a routing optimization strategy based on graph convolutional neural network are developed;
[0123] (3) In order to enable the virtual power plant to respond to the power regulation tasks of the control center with the optimal output power regulation, a dynamic power regulation strategy under edge-to-edge collaboration is proposed. According to the established modified control objective, a dynamic power regulation control method based on an adaptive distributed auction algorithm is designed.
[0124] The specific steps include:
[0125] Step 1: Build a virtual power plant coordinated frequency control architecture under cloud-edge collaboration. In this embodiment, Figure 2 The diagram of the coordinated frequency control architecture of a virtual power plant under cloud-edge collaboration is shown in the figure. The control architecture involves the edge layer, the communication layer, and the cloud layer. A large number of control gateways are deployed at the edge layer to connect to the battery energy storage system inside the virtual power plant. The control gateway is responsible for collecting the operating data of the battery energy storage system and interacting with the virtual power plant control center through wired connections. The communication layer is composed of a wired Ethernet communication network based on software-defined networks. Its control plane is aggregated by a large number of controllers. The data plane contains many routers and communication links. The controller can generate routing strategies through the state perception of the global communication network and send them down to meet the frequency control business needs. The router can receive and forward data information according to the optimal routing strategy. The cloud layer is composed of the virtual power plant control center, which can directly make scheduling decisions and implement information interaction with the main power grid dispatch center.
[0126] Step 2: In order to overcome the impact of communication network uncertainty on power regulation and scheduling, a joint design of power regulation and scheduling and routing optimization under cloud-edge collaboration is proposed, which develops a power regulation and scheduling method that considers the impact of the communication network and a routing optimization strategy based on graph convolutional neural network.
[0127] Step 2.1: Power regulation scheduling considering the impact of communication network:
[0128] (2.1.1) Calculation of regulation capacity:
[0129] According to the maximum output power value and benchmark output power value of the virtual power plant in each region, the regulation capacity of the virtual power plant is calculated:
[0130] (1),
[0131] (2),
[0132] in, and Respectively Moment The upward and downward regulation of power of a virtual power plant, express Moment The maximum output power of a virtual power plant, express Moment The benchmark power of a virtual power plant, and denote the set of all virtual power plants and time respectively, and Respectively Adjust the power up and down of all virtual power plants at all times;
[0133] (2.1.2) Proportional power allocation:
[0134] Based on the regulation capability of the virtual power plant, the virtual power plant control center The adjustment tasks undertaken at all times It can be calculated as:
[0135] (3),
[0136] in, express The regulation power required by the main grid dispatching center at the moment, and then the control center allocates the regulation tasks undertaken to each regional virtual power plant in proportion based on the regulation capacity of the virtual power plant, which can be expressed as:
[0137] (4),
[0138] in, express Moment The allocated power of a virtual power plant;
[0139] (2.1.3) Power regulation and scheduling under the influence of communication network:
[0140] According to the triangular modulus operator, the multiple effects of network performance and security protection delay are integrated, and the fusion variable Calculated as:
[0141] (5),
[0142] in, and Respectively Moment The network performance and security delay of the transmission path experienced by the virtual power plant, security delay Calculated as:
[0143] (6),
[0144] in, Indicates the tolerable delay of the frequency control service. represents the path transmission delay, Indicates the execution delay of the device. It represents the lower bound of the safety protection delay;
[0145] Communication network under multiple influences Moment The actual regulation tasks undertaken by a virtual power plant , calculated as:
[0146] (7),
[0147] (8),
[0148] in, Indicates about the fusion variable The function of represents its adjustment coefficient;
[0149] (2.2) Routing optimization strategy to overcome the influence of communication network:
[0150] (2.2.1) Communication network status perception:
[0151] According to the controller in the communication layer, the topology and data information of the communication network are obtained, wherein the network topology adopts a connected undirected graph Indicates that Represents the set of all nodes in the network topology, Represents the set of all links in the network topology. Data information about network characteristics includes packet loss rate, throughput and latency.
[0152] (2.2.2) Path traversal:
[0153] A depth-first search algorithm is used to find all paths between the source node, i.e., the control center, and the destination node, i.e., the virtual power plant;
[0154] (2.2.3) Path performance calculation:
[0155] First, obtain the node network performance label: use the K-means algorithm to aggregate data information to find the node network performance label, where the Calinski-Harabasz index is used to determine the optimal number of clusters, and the multi-index comprehensive evaluation method and weighted average method are used to construct a comprehensive index to evaluate which type of network performance is better, calculated as:
[0156] (9),
[0157] in, Indicates The network performance of each network node, Represents a collection of network features, Indicates The weight of the network features, Represents the normalized network features;
[0158] Secondly, node classification: Based on the network performance corresponding to the clustering and obtained node features, the graph convolutional neural network model is used for supervised training to obtain node classification;
[0159] The network feature matrix of all nodes and the adjacent matrix representing the network topological connection relationship are input into the graph convolutional neural network model. The layer-by-layer propagation rule is applied to the above matrix to obtain the graph convolutional neural network layer output, which is calculated as:
[0160] (10),
[0161] in, Indicates The node feature matrix of the layer, represents the ReLU activation function, represents an adjacency matrix with self-loops, , represents the identity matrix, represents the self-normalized adjacency matrix, , Indicates a A two-layer graph convolutional neural network model is designed to predict the network performance of nodes. The final model output Calculated as:
[0162] (11),
[0163] The network model is trained using the cross entropy loss function, calculated as:
[0164] (12),
[0165] in, and represents the set of training and network label categories, and Indicates Network node labels and probability values;
[0166] Finally, performance calculation: the obtained node feature information is input into the trained model to determine the label of each node and its network performance, and then obtain the first Network performance of the virtual power plant transmission path , calculated as:
[0167] (13),
[0168] in, Indicates A collection of virtual power plant transmission paths;
[0169] In this embodiment, the construction, training and testing of the graph convolutional neural network model are completed by software MATLAB. In order to verify the effectiveness of the proposed graph convolutional neural network model in node label prediction, four benchmark models, decision tree (DT), fully connected network (FCN), support vector machine (SVM) and convolutional neural network (CNN), are established for comparison. Figure 3 The prediction performance results of different models are compared, and the following four common indicators are used to evaluate the prediction model performance: accuracy, precision, recall and F1-Score. Figure 3 It can be seen that the prediction performance of the proposed model is better than all the baseline models. Taking accuracy as an example, the accuracy of all models is above 90%, and compared with other models, the proposed graph convolutional neural network model has a higher node label prediction accuracy performance.
[0170] Step 2.2.4: Transmission path selection:
[0171] The network performance of the transmission path should meet the defined minimum requirements , the expression is:
[0172] (14),
[0173] The security protection delay needs to be maximized as much as possible and is calculated as:
[0174] (15),
[0175] Combined with equation (6), assuming that the control tolerance delay and device execution delay are constants, we only need to minimize the delay of the transmission path. The expression is:
[0176] (16),
[0177] in, Indicates The delay of each transmission path;
[0178] In summary, the adopted transmission path selection mathematical model is:
[0179] (17).
[0180] In this embodiment, by Figure 4 The path performance comparison results experienced by each virtual power plant in the simulation verify the effectiveness of the proposed routing optimization strategy based on graph convolutional neural network. The hop-based routing method (comparison method 1) and the Dijkstra-based routing method (comparison method 2) are used to compare and simulate the proposed routing optimization strategy based on graph convolutional neural network. Figure 4 As shown, it can be seen that although the comparison method 2 has a slight advantage over the proposed method in terms of packet loss rate, it has obvious shortcomings in other aspects. In addition, although the comparison method 1 and the proposed method have similar performances in terms of packet loss rate, throughput and network performance, the comparison methods 1 and 2 fail to effectively solve the delay problem, and the advantages of the proposed method become obvious. This is mainly because the proposed method can fully consider the network performance and dynamically select the optimal path with the minimum transmission delay. However, the comparison method can only select the path with the shortest distance or the smallest number of hops, and cannot take into account both network performance and minimum delay at the same time. Therefore, the simulation results can guarantee the effectiveness of the proposed routing optimization strategy in reducing the impact of communication network uncertainty on frequency control services.
[0181] Step 3: In order to enable the virtual power plant to respond to the power regulation task of the control center with the optimal output power regulation, a dynamic power regulation strategy under edge-to-edge collaboration is proposed, in which a dynamic power regulation control method based on an adaptive distributed auction algorithm is designed according to the established modified control target.
[0182] Step 3.1: Build the control target:
[0183] Compare the total system cost caused by the corrected regulated power and the original allocated power, and obtain the constructed optimal corrected control objective expression:
[0184] (18),
[0185] (19),
[0186] (20),
[0187] (twenty one),
[0188] in, express The total objective function of the virtual power plant participating in frequency control at each moment is: and They represent the total system cost caused by the modified and original allocated power adjustment, respectively. The expression of Similar, for simplicity, it is omitted here. and Respectively represent The operating costs and loss costs of a virtual power plant, , , Respectively represent The operating cost coefficient of a virtual power plant, express Moment The modified regulation power of a virtual power plant, represents the loss cost discount factor;
[0189] The total corrected regulation power of the virtual power plant needs to meet the total regulation task from the virtual power plant control center, and the expression is:
[0190] (twenty two),
[0191] The regulation power of each virtual power plant is subject to its regulation capability, which is expressed as:
[0192] (twenty three),
[0193] in, and Respectively Moment The upward and downward regulation boundaries of a virtual power plant;
[0194] (3.2) Dynamic power regulation control method based on adaptive distributed auction algorithm:
[0195] Each virtual power plant is considered as an agent that interacts with adjacent agents and can continuously update and adjust power. An undirected graph is used to represent the interaction network. With Agent connected, then the elements in the adjacency matrix represents 1, otherwise it is 0, and then we can get the intelligent agent The set of neighboring agents , the expression is:
[0196] (twenty four),
[0197] Determining the optimal modified regulation power of each virtual power plant includes the following steps:
[0198] (3.2.1) Bid evaluation:
[0199] According to the power bid, each virtual power plant calculates the corresponding target change, which is expressed as:
[0200] (25),
[0201] (26),
[0202] in, Indicates that the power is adjusted from Increase to The corresponding target value increase, Indicates that the power is adjusted from Reduce to The corresponding target value reduction, represents the swap size, where , Indicates The objective function value of each agent;
[0203] (3.2.2) Consensus Protocol:
[0204] In order to ensure that the increase in power regulation of each virtual power plant can be balanced by an adjacent virtual power plant, Agents added , then its adjacent The number of intelligent agents is reduced , using the target deviation value , calculated as
[0205] (27),
[0206] Each agent selects the agent with the largest target deviation value as the neighboring agent of the auction transaction, expressed as
[0207] (28),
[0208] (29),
[0209] in, represents the maximum target deviation caused by power bidding, represents the best neighboring agent;
[0210] (3.2.3) Auction Resolution and Exchange Operations:
[0211] According to the maximum target deviation , determine the auction resolution, the expression is
[0212] (30),
[0213] (31),
[0214] Then, power is exchanged between the two virtual power plants that form the maximum target deviation, expressed as
[0215] (32),
[0216] (33),
[0217] in, Indicates the number of iterations;
[0218] (3.2.4) Swap size iteration:
[0219] After the exchange operation is performed, a solution based on adaptive exchange size is used to adjust the exchange power, which is expressed as
[0220] (34),
[0221] in, Indicates the gain size, ;
[0222] Before starting the auction algorithm, each virtual power plant allocates initial regulation power according to its own regulation capacity, which is calculated as
[0223] (35),
[0224] After exchanging power, each virtual power plant needs to limit its updated regulation power using the following formula:
[0225] (36).
[0226] In this embodiment, Table 1 provides a comparison result of the frequency control performance of the virtual power plant. Among them, comparison method 1 is a frequency control method for proportional power allocation without considering the influence of the communication network, and comparison method 2 is a frequency control method for considering the influence of the communication network under comparison method 1.
[0227] Table 1 Comparison of performance results of different frequency control methods
[0228]
[0229] It can be seen from Table 1 that although the comparison method 1 has a lower average total cost, it is affected by the communication network and will lead to a decrease in frequency control performance. Compared with the comparison method 1, the average power deviation and the maximum power deviation of the proposed method are reduced by 93.33% and 10.46% respectively. In addition, both the proposed method and the comparison method 2 can effectively reduce the power deviation, but the comparison method 2 has a low cost benefit. Therefore, the simulation results show that the proposed frequency control method can improve its economic benefits while ensuring the frequency control performance.
[0230] The above is only a preferred embodiment of the present invention. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the technical principles of the present invention. These improvements and modifications should also be regarded as the scope of protection of the present invention.
Claims
1. Joint design method of power regulation and communication transmission under the frequency regulation target of virtual power plant, It is characterized in that The following steps are involved: (1) Build a virtual power plant coordinated frequency control architecture under cloud-edge collaboration, (2) In order to overcome the impact of communication network uncertainty on power regulation and scheduling, a joint design of power regulation and scheduling and routing optimization under cloud-edge collaboration is proposed, in which a power regulation and scheduling method considering the impact of the communication network and a routing optimization strategy based on graph convolutional neural network are developed. (3) In order to realize the virtual power plant to respond to the power regulation task of the control center with the optimal output power regulation, a dynamic power regulation strategy under edge-to-edge coordination is proposed. According to the established modified control target, a dynamic power regulation control method based on an adaptive distributed auction algorithm is designed; Wherein, step (2) includes the following steps: (2.1) Power regulation and scheduling considering the impact of communication network: (2.1.1) Calculation of adjustment capacity: According to the maximum output power value and benchmark output power value of the virtual power plant in each region, the regulation capacity of the virtual power plant is calculated: in, and They represent the upward and downward adjustment power of the i-th virtual power plant at time t, represents the maximum output power of the ith virtual power plant at time t, represents the base power of the ith virtual power plant at time t, and denotes the set of all virtual power plants and time, P up (t) and P dn (t) represents the upward and downward adjustment power of all virtual power plants at time t, respectively; (2.1.2) Proportional power allocation: Based on the regulation capability of the virtual power plant, the regulation task P undertaken by the virtual power plant control center at time t is re (t) is calculated as: Among them, P AGC (t) represents the regulation power required by the main grid dispatching center at time t. Then the control center allocates the regulation task to each regional virtual power plant in proportion based on the regulation capacity of the virtual power plant, which is expressed as: in, represents the allocated power of the ith virtual power plant at time t; (2.1.3) Power regulation and scheduling under the influence of communication network: According to the triangular modulus operator, the multiple effects of network performance and security protection delay are integrated, and the fusion variable Q i (t) is calculated as: Among them, f i tp (t) and d i (t) respectively represent the network performance and safety protection delay of the transmission path experienced by the i-th virtual power plant at time t. The safety protection delay d(t) is calculated as: Where O(t) represents the tolerable delay of the frequency control service, T(t) represents the path transmission delay, E(t) represents the execution delay of the device, and d 0 (t) represents the lower bound of the safety protection delay; The actual regulation task undertaken by the i-th virtual power plant at time t under the multiple influences of the communication network Calculated as: Among them, F(·) represents the fusion variable Q i (t), α represents its adjustment coefficient; (2.2) Routing optimization strategy to overcome the influence of communication network: (2.2.1) Communication network status perception: According to the controller in the communication layer, the topology and data information of the communication network are obtained, where the topology is a connected undirected graph. Indicates that represents the set of all nodes in the network topology, ε represents the set of all links in the network topology, and the data information about network characteristics includes packet loss rate, throughput and delay; (2.2.2) Path traversal: A depth-first search algorithm is used to find all paths between the source node, i.e., the control center, and the destination node, i.e., the virtual power plant; (2.2.3) Path performance calculation: First, obtain the node network performance label: use the K-means algorithm to aggregate data information to find the node network performance label, where the Calinski-Harabasz index is used to determine the optimal number of clusters, and the multi-index comprehensive evaluation method and weighted average method are used to construct a comprehensive index to evaluate which type of network performance is better, calculated as: Among them, f i up represents the network performance of the ith network node, Represents the set of network features, α j represents the weight of the jth network feature, x ij ' represents the normalized network features; Secondly, node classification: Based on the network performance corresponding to the clustering and obtained node features, the graph convolutional neural network model is used for supervised training to obtain node classification; The network feature matrix of all nodes and the adjacent matrix representing the network topological connection relationship are input into the graph convolutional neural network model. The layer-by-layer propagation rule is applied to the above matrix to obtain the graph convolutional neural network layer output, which is calculated as: Among them, H (l+1) represents the node feature matrix of the l+1th layer, σ represents the ReLU activation function, represents an adjacency matrix with self-loops, I represents the identity matrix, represents the self-normalized adjacency matrix, W (l) Represents a trainable weight matrix of the lth layer. A two-layer graph convolutional neural network model is designed to predict the network performance of the node. The final model output Z is calculated as: The network model is trained using the cross entropy loss function, calculated as: in, and Represents the set of training and network label categories, y ij and Represents the label and probability value of the i-th network node; Finally, performance calculation: the obtained node feature information is input into the trained model to determine the label of each node and its network performance, and then the network performance of the i-th virtual power plant transmission path is obtained. Calculated as: in, represents the set of transmission paths of the i-th virtual power plant; (2.2.4) Transmission path selection: The network performance of the transmission path should meet the defined minimum requirements The expression is: The security protection delay needs to be maximized and is calculated as: Combined with formula (6), assuming that the control tolerance delay and device execution delay are constants, we only need to minimize the delay of the transmission path. The expression is: Among them, T j represents the delay of the jth transmission path; In summary, the adopted transmission path selection mathematical model is: Wherein, step (3) includes the following steps: (3.1) Construct control objectives: Compare the total system cost caused by the corrected regulated power and the original allocated power, and obtain the constructed optimal corrected control objective expression: Where Φ(t) represents the total objective function of the virtual power plant participating in frequency control at time t, and They represent the total system cost caused by the modified and original allocated power regulation, and They represent the operating cost and loss cost of the i-th virtual power plant, respectively. i , b i , c i They represent the operating cost coefficient of the i-th virtual power plant, P i re (t) represents the corrected regulation power of the ith virtual power plant at time t, c a represents the loss cost discount factor; The total corrected regulation power of the virtual power plant needs to meet the total regulation task from the virtual power plant control center, and the expression is: The regulation power of each virtual power plant is subject to its regulation capability, which is expressed as: in, and They represent the upward and downward regulation boundaries of the ith virtual power plant at time t respectively; (3.2) Dynamic power regulation control method based on adaptive distributed auction algorithm: Each virtual power plant is considered as an agent that interacts with adjacent agents and continuously updates and adjusts power. An undirected graph is used to represent the interaction network. If agent i is connected to agent j, then the element A in the adjacency matrix ij represents 1, otherwise 0, and then the set Ξ of the neighboring agents of agent i is obtained. i , the expression is: Determining the optimal modified regulation power of each virtual power plant includes the following steps: (3.2.1) Bid evaluation: According to the power bid, each virtual power plant calculates the corresponding target change, which is expressed as: Among them, β i Indicates that the power is adjusted from P i re Increase to P i re +ΔP i The corresponding target value increase, γ i Indicates that the power is adjusted from P i re Reduce to P i re -ΔP i Corresponding target value reduction, ΔP i represents the exchange size, where ΔP i >0,f i (t) represents the objective function value of the i-th agent; (3.2.2) Consensus Protocol: In order to ensure that the increase in power regulation of each virtual power plant can be balanced by an adjacent virtual power plant, the i-th agent increases ΔP i , then its adjacent j-th agent will reduce ΔP i , using the target deviation value λ ij , calculated as Each agent selects the agent with the largest target deviation value as the neighboring agent of the auction transaction, expressed as Among them, λ i max represents the maximum target deviation caused by power bidding, ρ i represents the best neighboring agent; (3.2.3) Auction Resolution and Exchange Operations: According to the maximum target deviation λ i max , determine the auction resolution, the expression is Then, power exchange is performed between the two virtual power plants that form the maximum target deviation, expressed as Where k represents the number of iterations; (3.2.4) Swap size iteration: After the exchange operation is performed, a solution based on adaptive exchange size is used to adjust the exchange power, which is expressed as Among them, θ represents the gain size, θ>1; Before starting the auction algorithm, each virtual power plant allocates initial regulation power according to its own regulation capacity, which is calculated as After exchanging power, each virtual power plant needs to limit its updated regulation power using the following formula:
2. The method for jointly designing power regulation and communication transmission under the frequency regulation target of a virtual power plant according to claim 1, It is characterized in that In step (1), the control architecture constructed involves the edge layer, the communication layer and the cloud layer. The edge layer deploys a large number of control gateways and the battery energy storage system inside the virtual power plant. The control gateway is responsible for collecting the operating data of the battery energy storage system and interacting with the virtual power plant control center through wired connections. The communication layer is composed of a wired Ethernet communication network based on a software-defined network. Its control plane is aggregated by a large number of controllers. The data plane contains many routers and communication links. The controller can generate routing strategies through the state perception of the global communication network and issue them to meet the frequency control business needs. The router receives and forwards data information according to the optimal routing strategy. The cloud layer is composed of the virtual power plant control center, which directly makes scheduling decisions and implements information interaction with the main power grid scheduling center.
3. An electronic device, It is characterized in that include: a processor, a memory for storing instructions executable by the processor; Wherein, the processor is configured to execute the instructions to implement the joint design method of power regulation and communication transmission under the frequency regulation target of a virtual power plant as described in any one of claims 1 to 2.
4. A computer-readable storage medium having computer instructions stored thereon, Features: When the computer instruction is executed by the processor, the method for jointly designing power regulation and communication transmission under the frequency regulation target of a virtual power plant as described in any one of claims 1-2 is implemented.
Citation Information
Patent Citations
Virtual power plant communication network hierarchical control method under cloud-side-end architecture
CN114244679A
Virtual power plant collaborative management and control method and system based on digital twinning
CN116050754A
