CN119762642B - Station line-to-user penetration dynamic rendering method based on energy flow graph - Google Patents
Station line-to-user penetration dynamic rendering method based on energy flow graphInfo
- Publication number
- CN119762642B CN119762642B CN202411714821.1A CN202411714821A CN119762642B CN 119762642 B CN119762642 B CN 119762642B CN 202411714821 A CN202411714821 A CN 202411714821A CN 119762642 B CN119762642 B CN 119762642B
- Authority
- CN
- China
- Prior art keywords
- sub
- power
- node
- data
- energy flow
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Landscapes
- Supply And Distribution Of Alternating Current (AREA)
Abstract
The invention belongs to the technical field of power system visualization, and particularly relates to a station line-to-user penetration dynamic rendering method based on an energy flow graph. According to the method, edge computing nodes are arranged at station line-to-customer key points, time sequence data compression is improved, redundant transmission is reduced, and real-time accurate data are provided for dynamic rendering. And then, an improved hierarchical topology modeling algorithm is provided, the predicted power flow is accurately analyzed, and the rendering basis of the flow graph is enabled to be more scientific. And then, generating a local energy flow visual layer according to the user interaction requirement, reducing the calculation pressure, and improving the interaction response speed and the fluency of the energy flow diagram display. And finally, realizing smooth dynamic rendering of the two-dimensional and three-dimensional energy flow diagrams based on WebGPU and loader optimization. The method greatly reduces the calculation pressure, realizes quick interaction, and can smoothly display the dynamic local energy flow diagram.
Description
Technical Field
The invention belongs to the technical field of power system visualization, and particularly relates to a station line-to-user penetration dynamic rendering method based on an energy flow graph.
Background
In order to meet the rapid interaction requirement of users on detailed energy flow information of a local area and reduce the whole-network visual computing pressure, the invention dynamically generates a local energy flow data visual layer according to the user interaction requirement. In the present age, the power system is continuously and rapidly developed, and the complexity of the power grid structure presents an exponential growth situation. The change makes the visual analysis of the running state of the power grid an indispensable important link in the power industry, and the dynamic rendering of the energy flow graph is a core technical requirement.
The existing dynamic rendering method of the energy flow graph exposes a plurality of defects which are difficult to overcome in practical application. In the initial stage of data acquisition, due to the limitation of technical means, real-time data acquisition and processing work cannot be efficiently performed. The data acquisition often has obvious hysteresis, so that the energy flow graph is very slow in the aspect of dynamic update, and the instantaneous change of the real-time state of the power grid cannot be accurately and timely reflected. The power grid topology modeling links are also not fully satisfactory, and an effective strategy matched with the characteristics of the power grid hierarchy structure is lacked. The short board directly causes difficulty in accurately analyzing the power flow, so that the dynamic distribution and flow trend of the power in each part of the power grid cannot be accurately presented in the dynamic rendering process of the power flow graph, and reliable decision basis cannot be provided for operation and maintenance personnel. The problem is also quite serious in the visual computing process. Because the calculation mode is not effectively optimized, when the mass power grid data is faced, the whole-grid visualized calculation pressure such as the Taishan mountain is jacked. When the dynamic display of the two-dimensional and three-dimensional energy flow diagrams is carried out, the phenomena of blocking and frame dropping frequently occur, and the phenomenon is like continuous blocking of the pictures during playing. The dynamic sensing of the power grid energy flow information by the user is seriously disturbed, so that the power grid energy flow information cannot be clearly and continuously mastered, and the capability of the user for carrying out deep analysis and accurate judgment on the power grid running state is greatly hindered.
Disclosure of Invention
Aiming at the technical problems, the invention provides a station line-to-user penetration dynamic rendering method based on an energy flow graph.
In order to achieve the above purpose, the technical scheme adopted by the invention comprises the following steps:
s1, firstly, arranging edge computing nodes at key points of station line households to realize real-time acquisition and distributed processing of data, wherein the distributed processing improves time sequence data compression so as to reduce redundant data transmission;
s2, providing an improved hierarchical topology modeling algorithm, decomposing the power grid topology according to a hierarchy, introducing time sequence-based energy flow prediction, and supporting the combination of real-time data and prediction data;
S3, dynamically generating a visual layer of the local energy flow data according to the user interaction requirement, and reducing the whole-network visual computing pressure, wherein the method is specifically implemented as follows:
S31, firstly, calculating a minimum subgraph G sub of a user designated area based on layered topology G= (N, epsilon, W) of a power grid, concentrating whole network calculation to a local area of interest of a user, and dynamically adjusting according to real-time interaction;
S32, dynamically generating a local energy flow visualization layer according to the extracted subgraph G sub, and calculating energy flow intensity S ij for each edge e ij∈εsub,εsub which is an edge set of the subgraph G sub: wherein P ij is the power flow of nodes i to j, W ij is the power transmission capability of edge e ij, and the energy flow intensity is used for dynamically adjusting the thickness and color of the edge in the layer, and for each node i E N sub,Nsub the node set of sub-graph G sub is obtained by The method is characterized by comprising the following steps of aggregating formulas, wherein S i represents node load ratio, and the colors and the sizes of icons mapped to the nodes, drawing only key edges and the nodes based on the results of S ij and S i, and reducing rendering complexity;
S33, finally, through an improved intelligent region sensing algorithm, the fact that region sensing weight omega i is introduced under real-time interaction, only data in a region of interest N sub are processed, when user interaction changes, only newly added and reduced node sets delta N sub are updated for energy flow calculation and caching of generated local layer data is carried out, and a caching result is directly called when a user repeatedly inquires, so that the cost of multiple times of calculation is reduced;
and S4, finally, dynamically rendering based on WebGPU and loader optimization to realize smooth display of the two-dimensional and three-dimensional energy flow diagrams.
Preferably, the step S1 of implementing the distributed processing to improve time series data compression is to fit time series data { (x 1,y1),(x2,y2),...(xn,yn) } to a straight line y=αx+β using a least square method, whereinThe fitting error calculation formula is: Where x i is the time point, y i is the data value corresponding to the time point, n is the number of samples of the current segment, and when the error is less than the error tolerance threshold, the segment data is compressed into a starting point, an end point and a fitting parameter.
Preferably, the step S2 of implementing the hierarchical topology modeling algorithm includes:
S21, dividing the power grid topology into a station layer, a line layer, a variable layer and a household layer according to a hierarchy to form a multi-layer topology structure based on a graph, wherein a node set is N= { N 1,N2,N3,N4 }, N Station ,N Wire (C) ,N Variable ,N Household is a transformer station node, a power transmission station node, a transformer node and a user node respectively, ε= { e ij|i∈Nl,j∈Nl+1, l=1, 2 and 3} wherein e ij represents the connection relation between a node i in the hierarchy l and a node j in the hierarchy l+1, and a weighted directed graph G= (N, ε and W) is adopted, wherein a weight matrix W represents the power transmission capacity of the line;
s22, in the hierarchical topology structure, the power flow follows the physical rule of the power grid, and each node meets a power balance equation, P in,i=Pout,i+Ploss,i, wherein P in,i is the input power of a node i, P out,i is the output power of the node i, P loss,i is the power loss, and the power loss can be further defined as: wherein P ij is the power of nodes i to j, R ij is the resistance of the line, V i is the voltage of node i, the power transfer relation of each layer of nodes is calculated, and the whole network power flow state is recursively updated;
s23, predicting the power of the node i by adopting LSTM, optimizing the prediction result by utilizing interlayer coupling constraint, enabling the prediction results of the upper layer and the lower layer to be consistent, and enabling an objective function to be: Wherein the method comprises the steps of Is the future power prediction value for node i, i is the number of layers,Is the total predicted input power of all relevant nodes of the next layer;
S24, aiming at the problem that the real-time data and the predicted data have differences, a dynamic data fusion method is adopted, and the fusion power value is as follows: where P real,i,t+1 is the real-time data, Phi real,i,φpred,i is the credibility of the real-time data and the predicted data respectively.
Preferably, the constraint condition of the objective function in the step S23 is thatEnsuring that the input power of each node is equal to the sum of the output power and the loss power,The output power of each node cannot exceed its design capacity P capacity,i.
Compared with the prior art, the method has the advantages that by means of edge computing nodes and optimizing time sequence data compression, a more timely and simplified data base is provided for dynamic rendering, rendering content is ensured to reflect the latest state of a power grid, and data transmission is efficient. The improved hierarchical topology modeling algorithm is integrated into energy flow prediction, so that the rendering basis is more scientific and accurate, and the power flow trend can be better presented. When the visual image layer is generated, a user region of interest is focused, data is calculated in an optimized mode and cached, calculation pressure is greatly reduced, quick interaction is achieved, and a dynamic-change local energy flow diagram can be displayed smoothly.
Detailed Description
In order that the above objects, features and advantages of the application may be more clearly understood, a further description of the application will be provided with reference to the following examples. It should be noted that, without conflict, the embodiments of the present application and features in the embodiments may be combined with each other.
In the following description, numerous specific details are set forth in order to provide a thorough understanding of the present invention, but the present invention may be practiced otherwise than as described herein, and therefore the present invention is not limited to the specific embodiments of the disclosure that follow.
In the embodiment, with the development of a power system, a power grid structure is increasingly complex, and the requirement for visual analysis of the running state of the power grid is continuously increased, and especially, the dynamic rendering of an energy flow graph becomes a key technical requirement. The traditional dynamic rendering method of the energy flow graph has a plurality of defects. In the data acquisition link, efficient real-time data acquisition and processing cannot be realized, so that the dynamic update of the energy flow graph is slow, and the real-time state change of the power grid cannot be reflected in time. The power grid topology modeling lacks suitability, and is difficult to accurately analyze the power flow, so that the dynamic distribution and flow trend of the power cannot be accurately presented when the power flow diagram is dynamically rendered. In the visual computing process, as the computing mode is not effectively optimized, the whole network visual computing pressure is huge, and when two-dimensional and three-dimensional energy flow diagrams are dynamically displayed, the phenomena of blocking and frame dropping frequently occur, so that the dynamic perception, analysis and judgment of a user on the energy flow information of the power grid are seriously influenced.
In order to realize efficient acquisition and processing of station line-to-customer data in an electric power system and reduce data transmission redundancy, the invention adopts a scheme that edge computing nodes are arranged at station line-to-customer key points and time sequence data compression is improved. In traditional grid data processing, data acquisition efficiency is low and transmission redundancy is serious. According to the invention, edge computing nodes are arranged at key points of the station line change, so that real-time acquisition and distributed processing of data are realized. Fitting the time series data { (x 1,y1),(x2,y2),...(xn,yn) } to a straight line y=αx+β using the least squares method, whereinThe fitting error calculation formula is: Where x i is the time point, y i is the data value corresponding to the time point, n is the number of samples of the current segment, and when the error is less than the error tolerance threshold, the segment data is compressed into a starting point, an end point and a fitting parameter. By the mode, a large amount of similar or slowly-changing data can be effectively compressed, the data quantity required to be transmitted is reduced, and the real-time performance of data acquisition is improved.
Then, considering that the existing power grid topology modeling lacks an effective layering strategy, the power flow is difficult to accurately analyze, and in order to accurately construct a power grid topology model and accurately analyze and predict the power flow of the power grid, the invention provides an improved layering topology modeling algorithm. Dividing the power grid topology into stations, lines, transformers and four layers according to a hierarchy to form a multi-layer topology structure based on a graph, wherein a node set is N= { N 1,N2,N3,N4 }, N Station ,N Wire (C) ,N Variable ,N Household is a transformer station node, a power transmission station node, a transformer node and a user node respectively, ε= { e ij|i∈Nl,j∈Nl+1, l=1, 2 and 3} wherein e ij represents a connection relation between a node i in the hierarchy l and a node j in the hierarchy l+1, a weighted directed graph G= (N, ε and W) is adopted, wherein a weight matrix W represents the power transmission capacity of the line, in the hierarchical topology structure, a power flow follows the physical rule of the power grid, each node meets a power balance equation, P in,i=Pout,i+Ploss,i, wherein P in,i is the input power of the node i, P out,i is the output power of the node i, and P loss,i is the power loss, and the power loss can be further defined as: wherein P ij is the power of the nodes i to j, R ij is the resistance of a line, V i is the voltage of the node i, the power transfer relation of each layer of nodes is calculated, the state of the power flow of the whole network is recursively updated, then LSTM is adopted to predict the power of the node i, and the prediction result is optimized by utilizing interlayer coupling constraint, so that the prediction results of the upper layer and the lower layer are consistent, and the objective function is as follows: Wherein the method comprises the steps of Is the future power prediction value for node i, i is the number of layers,Is the total predicted input power of all relevant nodes of the next layer, and the constraint condition of the objective function is thatEnsuring that the input power of each node is equal to the sum of the output power and the loss power,Aiming at the problem that the difference exists between real-time data and predicted data, a dynamic data fusion method is adopted, and the fusion power value is as follows: where P real,i,t+1 is the real-time data, Phi real,i,φpred,i is the credibility of the real-time data and the predicted data respectively. Through the hierarchical topology modeling algorithm, when power flow analysis and prediction are carried out on an urban power grid, power transfer and change trend among different layers can be accurately simulated, and potential problems can be found in advance
And then, in order to meet the rapid interaction requirement of the user on the detailed energy flow information of the local area and reduce the whole-network visual computing pressure, the invention dynamically generates the local energy flow data visual layer according to the user interaction requirement. Firstly, based on the hierarchical topology G= (N, epsilon, W) of a power grid, calculating a minimum sub-graph G sub of a user-specified area, concentrating the whole-network calculation to a local area of interest of a user, dynamically adjusting according to real-time interaction, then dynamically generating a local energy flow visual layer according to the extracted sub-graph G sub, and calculating energy flow intensity S ij of each side e ij∈εsub,εsub for a side set of the sub-graph G sub: wherein P ij is the power flow of nodes i to j, W ij is the power transmission capability of edge e ij, and the energy flow intensity is used for dynamically adjusting the thickness and color of the edge in the layer, and for each node i E N sub,Nsub the node set of sub-graph G sub is obtained by The method comprises the steps of aggregating formulas, wherein S i represents node load proportion, mapping to colors of nodes and sizes of icons, drawing key edges and nodes based on results of S ij and S i, reducing rendering complexity, finally, introducing region perception weight omega i under real-time interaction, processing data in a region of interest N sub only, updating energy flow calculation only for a newly added and reduced node set delta N sub when user interaction changes, caching generated local layer data, and directly calling a caching result when a user repeatedly inquires, thereby reducing the cost of multiple times of calculation. By the method, a user can quickly acquire detailed energy flow information of a local area, the interactive response speed is remarkably improved, and meanwhile, the two-dimensional and three-dimensional energy flow diagrams are displayed more smoothly.
Finally, based on WebGPU and loader optimized dynamic rendering, webGPU fully utilizes the parallel processing capability of modern graphics hardware to accelerate visual rendering of the energy flow data. The loader optimizes vertex shaders, fragment shaders, etc. in the graphics rendering pipeline, and adjusts the computing mode of color and transparency according to the energy flow intensity, thereby reducing unnecessary computing overhead. When the two-dimensional and three-dimensional energy flow diagrams of the large-scale power grid are displayed, the phenomenon of blocking and delay can be effectively avoided, and a smooth dynamic rendering effect is realized.
The present invention is not limited to the above-mentioned embodiments, and any equivalent embodiments which can be changed or modified by the technical content disclosed above can be applied to other fields, but any simple modification, equivalent changes and modification made to the above-mentioned embodiments according to the technical substance of the present invention without departing from the technical content of the present invention still belong to the protection scope of the technical solution of the present invention.
Claims (3)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202411714821.1A CN119762642B (en) | 2024-11-27 | 2024-11-27 | Station line-to-user penetration dynamic rendering method based on energy flow graph |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202411714821.1A CN119762642B (en) | 2024-11-27 | 2024-11-27 | Station line-to-user penetration dynamic rendering method based on energy flow graph |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN119762642A CN119762642A (en) | 2025-04-04 |
| CN119762642B true CN119762642B (en) | 2025-11-07 |
Family
ID=95174019
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN202411714821.1A Active CN119762642B (en) | 2024-11-27 | 2024-11-27 | Station line-to-user penetration dynamic rendering method based on energy flow graph |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN119762642B (en) |
Citations (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN103093305A (en) * | 2012-12-17 | 2013-05-08 | 绍兴电力局 | Power dispatching automation master station system radiation visualization rendering method |
| CN113496354A (en) * | 2021-06-25 | 2021-10-12 | 上海交通大学 | Matrixing mathematical modeling method and system based on topology analysis |
Family Cites Families (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US9870629B2 (en) * | 2008-06-20 | 2018-01-16 | New Bis Safe Luxco S.À R.L | Methods, apparatus and systems for data visualization and related applications |
| GB0819015D0 (en) * | 2008-10-17 | 2008-11-26 | Romax Technology Ltd | A power tranmission analysis |
| US11388054B2 (en) * | 2019-04-30 | 2022-07-12 | Intel Corporation | Modular I/O configurations for edge computing using disaggregated chiplets |
| CN117827933B (en) * | 2024-01-02 | 2024-06-07 | 北京易成慧众能源科技有限公司 | Power transaction data graph generation method and system |
| CN118862384A (en) * | 2024-06-26 | 2024-10-29 | 国网宁夏电力有限公司 | Digital display system and method of distribution network structure based on topological knowledge |
-
2024
- 2024-11-27 CN CN202411714821.1A patent/CN119762642B/en active Active
Patent Citations (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN103093305A (en) * | 2012-12-17 | 2013-05-08 | 绍兴电力局 | Power dispatching automation master station system radiation visualization rendering method |
| CN113496354A (en) * | 2021-06-25 | 2021-10-12 | 上海交通大学 | Matrixing mathematical modeling method and system based on topology analysis |
Also Published As
| Publication number | Publication date |
|---|---|
| CN119762642A (en) | 2025-04-04 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| Zheng et al. | A hybrid energy-aware resource allocation approach in cloud manufacturing environment | |
| Zhao et al. | Optimization of China’s provincial carbon emission transfer structure under the dual constraints of economic development and emission reduction goals | |
| Zhang et al. | VNE-HPSO: Virtual network embedding algorithm based on hybrid particle swarm optimization | |
| CN103500237A (en) | Automatic image forming method for power distribution network based on logic layout | |
| CN110366193A (en) | A slice deployment method and device carried by network orchestration layer of smart grid | |
| CN103701619A (en) | Internet content distribution method based on CDN (Content Distribution Network) and data center dynamic selection | |
| He et al. | Management and real-time monitoring of interconnected energy hubs using digital twin: Machine learning based approach | |
| CN104317646A (en) | Cloud data central virtual machine scheduling method based on OpenFlow frame | |
| Shen et al. | The spatial network and its driving factors for sustainable total-factor ecology efficiency: The case of China | |
| CN119762642B (en) | Station line-to-user penetration dynamic rendering method based on energy flow graph | |
| CN112348352B (en) | Big data analysis-based automatic generation method for electric power budget proposal scheme | |
| CN117853269B (en) | Heating data optimization method, device and equipment based on machine learning | |
| Guo et al. | Multi-level federated learning mechanism with reinforcement learning optimizing in smart city | |
| CN107704981A (en) | A kind of method that power distribution network project planning is assessed | |
| CN111211557A (en) | A multi-level and multi-branch grid structure planning method and system | |
| CN113555880B (en) | Reactive compensation access point screening method based on retired synchronous generator set | |
| Peng et al. | Edge-cloud collaborative computation offloading for federated learning in smart city | |
| CN116684291A (en) | A method for intelligent allocation of service function chain mapping resources applicable to a generalized platform | |
| CN108280775A (en) | The layer distributed of power information physical system blendes together computing architecture system and method | |
| Qiao et al. | Development of small hydropower in China 1990–2015: Province-domain patterns of temporal-spatial evolution | |
| Huang et al. | Traffic load prediction of power communication network based on graph neural network | |
| CN101286898A (en) | Uncertain grid multi-QoS measurement method based on interval number | |
| CN114825334A (en) | Power distribution network open capacity optimization auxiliary method | |
| Liu et al. | Analysis of water resources carrying capacity in North China based on system dynamics | |
| CN119721879B (en) | A cloud-edge collaborative smart grid operation and maintenance carbon reduction method based on alternating direction multiplier method |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| PB01 | Publication | ||
| PB01 | Publication | ||
| SE01 | Entry into force of request for substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| GR01 | Patent grant | ||
| GR01 | Patent grant |