Gim model dynamic fidelity light-weight method and related device for power grid dispatching service

By combining edge folding operations and adaptive error optimization with chaotic evolutionary algorithms, the problems of geometric feature protection and electrical attribute fidelity of GIM models in power grid dispatching operations are solved, achieving the effect of efficient data compression and model authenticity.

CN123139748APending Publication Date: 2026-11-20STATE GRID BEIJING ELECTRIC POWER CO +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202611306862.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-08-26
Publication Date
2026-11-20

AI Technical Summary

Technical Problem

Existing technologies for processing GIM models in power grid dispatching operations suffer from problems such as rigid geometric feature protection mechanisms, neglect of electrical and physical attributes, and susceptibility to local optima. As a result, the simplified models cannot accurately reflect the actual operating status of equipment, affecting power system status monitoring and decision support.

Method used

Error optimization is achieved by combining edge folding operations with vertex curvature, edge folding factor, adaptive weighting factor, and area normalization factor. An objective function that integrates geometric error and electrical feature loss is constructed, and iterative optimization is performed through a chaotic evolutionary optimization algorithm to ensure the comprehensive optimality of geometric and electrical fidelity.

Benefits of technology

It achieves efficient compression of power grid GIM model data while maintaining global dynamic fidelity of key geometric appearance and core electrical properties, ensuring the physical guidance significance of the model in power system analysis.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123139748A_ABST
    Figure CN123139748A_ABST
Patent Text Reader

Abstract

The present application relates to the technical field of power grid three-dimensional model processing, and discloses a GIM model dynamic fidelity lightweight method for power grid dispatching business and a related device. In view of the problem that existing lightweight may easily lead to rigid feature protection and loss of electrical properties, the present application acquires original data containing attribute and geometric information; edge folding operation is performed on the edges on the triangular mesh surface, a new vertex with minimum folding cost of quadratic error measurement is solved, and total error is calculated; the total error is corrected based on the new vertex to establish vertex curvature, edge folding factor, adaptive weight and area normalization factor, and a lightweight scheme to be selected is determined; a target function is constructed in combination with geometric error and electrical feature loss; a chaotic evolutionary optimization algorithm is used to iteratively optimize the target function, and a comprehensive optimal edge folding operation priority order and topology configuration are obtained. The present application realizes model lightweight while guaranteeing comprehensive fidelity of geometric and electrical properties.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of power grid 3D model processing technology, specifically to a dynamic fidelity lightweight method and related apparatus for power grid dispatching operations using GIM models. Background Technology

[0002] Grid Information Model (GIM) 3D models for power grid dispatching and operation scenarios are characterized by their large scale and high detail. In practical applications, because GIM models contain massive amounts of point, line, and surface information, as well as a large number of triangular patches, computers are prone to encountering performance bottlenecks when performing scene visualization rendering and shared model loading. Furthermore, since the geometry and textures of the model are often repeatedly called, the industry typically requires lightweight processing of 3D models to reduce model complexity and file size, thereby ensuring that the model can adapt to diverse software and hardware environments.

[0003] Currently, lightweight processing of 3D mesh models often employs the classic QEM (Quadric Error Metric) algorithm for facet simplification. Traditional QEM algorithms primarily focus on geometric fidelity, iteratively obtaining the optimal simplified model and discarding unnecessary information, thereby significantly reducing the number of triangles and accelerating graphics processing and rendering. However, power grid equipment models possess highly unique characteristics, including sharp geometric features, regular geometry, high-frequency details, and critical boundaries, while also carrying crucial electrical properties and physical constraints. Existing lightweight techniques exhibit significant limitations when processing such complex, high-dimensional GIM models.

[0004] Specifically: (1) Existing QEM algorithms typically use a fixed-weight error measurement method, resulting in a rigid feature protection mechanism. For complex power grid equipment models that simultaneously contain extremely sharp features and vast flat areas, fixed weights are difficult to achieve the optimal balance globally. This approach is prone to causing key geometric details such as high curvature regions (e.g., sharp edges, corners) to be excessively smoothed during the simplification process, leading to the degradation of boundary features and distortion of the overall equipment outline, which seriously affects the visual fidelity and spatial relationship judgment at low resolution. (2) Existing multi-objective optimization schemes often ignore the electrical and physical attributes carried by the GIM model, and the simplification process only takes minimizing geometric errors as the sole objective. This mechanism of optimizing only geometric errors will lead to the loss or distortion of core electrical attributes such as current distribution and temperature gradient of key equipment. Since static weights cannot adapt to fluctuations in equipment load, the model fidelity is often insufficient during peak scheduling periods, resulting in the simplified model failing to accurately reflect the actual operating state of the equipment, thus weakening the physical guidance significance of digital twin models in power system status monitoring, risk warning, and decision support. (3) Since the edge folding in the QEM algorithm framework is a greedy algorithm, its optimization process lacks a more powerful global optimization mechanism, and it is very easy to get trapped in local optima when dealing with problems. Especially when solving the high-dimensional nonlinear optimization problem of lightweighting the power grid GIM model that integrates complex geometric feature constraints and electrical safety constraints, the existing methods are difficult to efficiently find a high-quality solution that is optimal in terms of both geometric fidelity and electrical fidelity. Summary of the Invention

[0005] To address the problems existing in the prior art, this invention provides a lightweight method and related apparatus for dynamic fidelity of GIM models for power grid dispatching operations. Its purpose is to overcome the shortcomings of existing protection systems, such as rigidity, loss of physical attributes, and susceptibility to local optima. While efficiently compressing the amount of power grid GIM model data, it achieves global dynamic fidelity of key geometric appearance and core electrical attributes.

[0006] To solve the above-mentioned technical problems, the present invention is achieved through the following technical solution: According to a first aspect of the present invention, a dynamic fidelity lightweight method for GIM models oriented towards power grid dispatching services is provided, comprising: Obtain the raw data of the power grid GIM 3D model, the raw data including attribute information and geometric information, the geometric information including triangular mesh surfaces; An edge folding operation is performed on the edges of the triangular mesh surface. The goal is to minimize the quadratic error metric folding cost of the new vertices generated by the edge folding operation. The new vertices are then solved, and the total quadratic error metric of the edge folding operation is calculated based on the new vertices. Based on the new vertex, vertex curvature, edge folding factor, adaptive weighting factor, and area normalization factor are established. The total error of the secondary error metric is corrected and optimized using the vertex curvature, edge folding factor, adaptive weighting factor, and area normalization factor to obtain the optimized total error. The initial priority order of the edge folding operation is determined according to the optimized total error. Based on the initial priority order and the new vertex, the candidate lightweight schemes of the GIM model are determined. For the proposed lightweight solution, an objective function is constructed that integrates the geometric error caused by the change in geometric information and the electrical feature loss caused by the change in attribute information, thereby minimizing the geometric error, minimizing the electrical feature loss, and the penalty term. The objective function is iteratively optimized using a chaotic evolutionary optimization algorithm to obtain the optimal priority order of edge folding operations and the lightweight vertex and topology configuration of the GIM model.

[0007] In one possible implementation of the first aspect, the step of performing an edge folding operation on the edges of the triangular mesh surface, aiming to minimize the quadratic error metric folding cost of the new vertices generated by the edge folding operation, solving for the new vertices, and calculating the total quadratic error metric of the edge folding operation based on the new vertices, includes: Obtain the two vertex vectors of the edge to be folded; Calculate the quadratic error metric matrix corresponding to the two vertex vectors respectively, and add the quadratic error metric matrices corresponding to the two vertex vectors to obtain the merged quadratic error metric matrix; With the goal of minimizing the folding cost of the quadratic error metric of the new vertex, the new vertex vector corresponding to the new vertex is obtained by solving the product of the inverse matrix of the merged quadratic error metric matrix and the constant vector. Multiply the transpose of the new vertex vector, the merged quadratic error metric matrix, and the new vertex vector to obtain the total quadratic error metric of the edge folding operation; The specific calculation formula is as follows:

[0008]

[0009]

[0010] in, This is the combined quadratic error metric matrix; and The two vertex vectors are respectively and The corresponding quadratic error metric matrix; The new vertex vector obtained by solving; Let be the constant vector; The total error is a quadratic error measure for the edge folding operation.

[0011] In one possible implementation of the first aspect, the step of establishing vertex curvature, edge folding factor, adaptive weighting factor, and area normalization factor based on the new vertex, and using the vertex curvature, edge folding factor, adaptive weighting factor, and area normalization factor to correct and optimize the total error of the quadratic error metric to obtain the optimized total error includes: Obtain the two vertices of the edge to be folded. Estimate the unit normal vector of the two vertices based on the normal vector of the adjacent triangle facets of the two vertices. Calculate the average value of the directional curvature of the two vertices along all their directly connected adjacent edges. Use the average value of the directional curvature of the two vertices as the vertex curvature. For the edge to be folded, traverse all adjacent triangular faces that share the edge, and calculate the average angle between the unit normal vectors of any two adjacent triangular faces as the edge folding factor. The curvature of the vertex is mapped to the adaptive weighting factor using the hyperbolic tangent function. The adaptive weighting factor is used to dynamically adjust the weight ratio of high curvature regions and flat regions. The total error of the quadratic error metric is corrected using the adaptive weighting factor, the vertex curvature, and the edge folding factor. The total error of the corrected quadratic error metric is then normalized using the sum of the areas of the adjacent faces of the two vertices as the area normalization factor, thus obtaining the optimized total error.

[0012] In one possible implementation of the first aspect, determining the initial priority order of the edge folding operation based on the total optimization error, and determining the candidate lightweight schemes of the GIM model based on the initial priority order and the new vertices, includes: The edge folding operation corresponding to the maximum value of the total optimization error is placed in the lowest priority position, and the edge folding operation corresponding to the minimum value of the total optimization error is placed in the highest priority position, so that the edge folding operation with the minimum total optimization error is processed first. When the lightweighting rate of the GIM model meets the preset threshold requirement, isolated triangular faces are deleted, and the candidate lightweighting scheme is output.

[0013] In one possible implementation of the first aspect, the objective function is formulated as follows:

[0014] in, The objective function is... This is the function that minimizes the geometric error; The function is the electrical characteristic loss function that minimizes the electrical characteristics. For the aforementioned penalty item; These are weighting coefficients used to adjust the relative emphasis between geometric error and electrical characteristic loss; The minimized geometric error function The minimized electrical characteristic loss function and the aforementioned penalty item The specific expressions are as follows:

[0015] in, This represents the total number of vertices in the GIM model before lightweighting. For lightweighting Vertex vectors, For the lightweight version Vertex vectors, This refers to the centroid vectors of all vertices in the GIM model described before lightweighting.

[0016] in, This refers to the collection of the aforementioned key equipment. For the key equipment in the set, Key equipment before lightweighting The per-unit value of the current. For lightweight key equipment The per-unit value of the current. Key equipment before lightweighting Temperature gradient magnitude, For lightweight key equipment Temperature gradient magnitude, The preset temperature gradient error weights;

[0017] in, This refers to the set of geometric vertices corresponding to the key equipment. This represents the maximum allowed offset of the vertex. Key equipment before lightweighting The actual current, For lightweight key equipment The actual current.

[0018] In one possible implementation of the first aspect, the iterative optimization of the objective function using a chaotic evolutionary optimization algorithm includes: The hyperchaotic properties of the two-dimensional discrete memristor hyperchaotic mapping are used to provide mutation directions for individuals in the population, thereby generating mutated individuals; A binary crossover operator is used to perform a crossover operation on the current individual and the mutated individual to generate an experimental vector; Based on the greedy criterion, the experimental vector is selected according to the objective function, and the optimal solution for the current population is updated.

[0019] In one possible implementation of the first aspect, the attribute information includes the equipment type identifier of the key equipment, the rated electrical parameters of the equipment, and the operating status parameters of the equipment; The geometric information also includes the vertex coordinate sequence, triangle patch index sequence, normal vector information, and texture coordinate information of the triangular mesh surface.

[0020] According to a second aspect of the present invention, a lightweight device for dynamic fidelity of GIM models for power grid dispatching operations is provided, comprising: The data acquisition module is used to acquire the raw data of the power grid GIM 3D model. The raw data includes attribute information and geometric information, and the geometric information includes triangular mesh surfaces. The basic error calculation module is used to perform edge folding operations on the edges of the triangular mesh surface, with the goal of minimizing the folding cost of the new vertex generated by the edge folding operation, to solve for the new vertex, and to calculate the total error of the edge folding operation based on the new vertex. The cost optimization module is used to establish vertex curvature, edge folding factor, adaptive weight factor and area normalization factor based on the new vertex, and use the vertex curvature, the edge folding factor, the adaptive weight factor and the area normalization factor to correct and optimize the total error of the secondary error metric to obtain the optimized total error. The initial priority order of the edge folding operation is determined according to the optimized total error, and the candidate lightweight scheme of the GIM model is determined according to the initial priority order and the new vertex. The objective construction module is used to construct an objective function that integrates minimizing geometric error, minimizing electrical feature loss, and a penalty term for the candidate lightweight scheme, taking into account the geometric error caused by the change in geometric information and the electrical feature loss caused by the change in attribute information. The model optimization output module is used to iteratively optimize the objective function using a chaotic evolutionary optimization algorithm to obtain the optimal edge folding operation priority order and the lightweight GIM model vertex and topology configuration.

[0021] According to a third aspect of the present invention, a computer device is provided, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor, when executing the computer program, implements the aforementioned method for dynamic fidelity lightweighting of GIM models for power grid dispatching services.

[0022] According to a fourth aspect of the present invention, a computer-readable storage medium is provided, the computer-readable storage medium storing a computer program, which, when executed by a processor, implements the aforementioned method for dynamic fidelity lightweighting of GIM models for power grid dispatching services.

[0023] According to a fifth aspect of the present invention, a computer program product is provided, which, when executed by a processor, implements the aforementioned method for dynamic fidelity lightweighting of GIM models for power grid dispatching services.

[0024] Compared with the prior art, the present invention has at least the following beneficial effects: This invention presents a dynamic, fidelity-preserving, lightweight GIM model simplification method for power grid dispatching. It acquires the geometric information of the GIM model, including triangular mesh surfaces, and attribute information containing equipment operating status. A unique quadratic error metric optimization mechanism is introduced during edge folding operations. This mechanism establishes and integrates vertex curvature, edge folding factor, adaptive weighting factor, and area normalization factor to correct the total error of the quadratic error metric. This enables accurate identification of both extremely sharp features and vast flat areas simultaneously existing in power grid equipment, achieving focused protection of high-curvature areas and efficient simplification of flat areas. It effectively overcomes the problems of geometric quality degradation and local feature distortion caused by fixed weights in traditional QEM algorithms. Furthermore, this invention combines the geometric error caused by geometric information with the electrical feature loss caused by attribute information to construct the objective function. This ensures that the simplification process no longer solely pursues geometric approximation but also considers the actual operating status and physical constraints of the equipment, thereby maintaining the physical guiding significance of the digital twin model in power system analysis. Meanwhile, this method employs a chaotic evolutionary optimization algorithm to iteratively optimize the objective function. With its global optimization capability, it reduces the tendency of traditional edge-folding greedy algorithms to get trapped in local optima, ensuring that a high-quality solution that is both geometrically and electrically optimal can be found efficiently when solving the high-dimensional nonlinear problem of lightweighting the power grid GIM model. Attached Figure Description

[0025] To more clearly illustrate the technical solutions in the specific embodiments of the present invention, the drawings used in the description of the specific embodiments will be briefly introduced below. Obviously, the drawings described below are some embodiments of the present invention. For those skilled in the art, other drawings can be obtained from these drawings without creative effort.

[0026] Figure 1 This is a flowchart of a dynamic fidelity lightweight method for GIM models oriented towards power grid dispatching services, according to the present invention. Detailed Implementation

[0027] To make the objectives, technical solutions, and advantages of the embodiments of the present invention clearer, the technical solutions of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.

[0028] This embodiment provides a dynamic, fidelity-preserving, lightweight GIM model simplification method for power grid dispatching operations. It addresses the technical problems of existing lightweighting techniques when processing power grid GIM models, such as rigid feature protection mechanisms, neglect of electrical and physical attributes, and susceptibility to local optima. The core idea of ​​this embodiment is based on the classic quadratic error metric edge folding algorithm, introducing local geometric feature factors and an adaptive weighting mechanism to optimize edge folding costs and achieve differentiated protection of geometric features. Furthermore, a multi-objective optimization function integrating geometric error, electrical feature loss, and safety penalty terms is constructed, incorporating electrical and physical constraints into the lightweighting process. Finally, a chaotic evolutionary optimization algorithm is used for global optimization, ensuring both lightweight compression efficiency and maintaining the model's geometric fidelity and electrical and physical accuracy, thus adapting to the application requirements of different power grid dispatching scenarios. This method effectively solves the performance bottleneck caused by massive 3D power grid model data, ensuring that the simplified model can still effectively support key applications of smart grid dispatching.

[0029] like Figure 1 As shown, the overall process of this method is implemented in the following steps: S1. Obtain the raw data of the power grid GIM 3D model. The raw data includes attribute information and geometric information. The geometric information includes triangular mesh surfaces.

[0030] GIM stands for Grid Information Model, and the raw data obtained serves as the basic input for lightweight processing.

[0031] Specifically, the attribute information includes the equipment type identifier of the key equipment, the rated electrical parameters of the equipment, and the equipment operating status parameters. The rated electrical parameters of the equipment include rated voltage, rated current, and rated power, while the equipment operating status parameters include real-time current and real-time temperature. The geometric information also includes the vertex coordinate sequence, triangular facet index sequence, normal vector information, and texture coordinate information of the triangular mesh surface.

[0032] S2. Perform edge folding operation on the edges of the triangular mesh surface. With the goal of minimizing the folding cost of the new vertices generated by the edge folding operation, solve for the new vertices and calculate the total error of the edge folding operation based on the new vertices.

[0033] The Quadric Error Metric (QEM) is the most classic and widely used algorithm in the field of mesh simplification. Its core method of calculating the sum of squared distances from points to planes is simple and efficient, and can effectively handle complex mesh simplification. However, the single error metric cannot adaptively optimize according to the local geometric features of the model, which can easily lead to feature loss and boundary degradation. On the one hand, it fails to protect high curvature areas with sharp changes such as creases and corners, resulting in the loss of key geometric details, which is rooted in the tendency of uniform distribution. On the other hand, it fails to protect important boundary features such as contour edges and vertices, resulting in distortion of the overall shape of the model, which has a particularly serious impact on the visual effect of low-resolution models.

[0034] A GIM model is essentially a triangular mesh surface in three-dimensional space. Edges are the basic topological elements on the triangular mesh surface and form the skeleton of the model's geometry. An edge on the triangular mesh surface to be folded is denoted as... ,in , The two vertices of the edge are respectively. The edge folding operation will generate a new vertex. The QEM folding cost represents the geometric shape deviation caused by a single edge folding operation. The new vertex that minimizes the QEM folding cost is the core computational benchmark for measuring the geometric fidelity of a single edge folding operation.

[0035] Vertex vectors in three-dimensional space The QEM folding cost is the sum of the squared distances from the vertex to all the triangular meshes containing it, where Let be the coordinates of a vertex in three-dimensional space. The 1 represents the scale normalization term for homogeneous coordinates, used to extend three-dimensional Cartesian coordinates to four-dimensional homogeneous coordinates, thus unifying the matrix operations for planar distance calculations and geometric transformations. The four-dimensional vector of the plane containing the triangular plane is... ,in These are the plane normal vectors of the associated triangular facets. , , The amount, The constant term is a plane constant that satisfies the plane equation. The quadratic error matrix corresponding to a single triangular plane , is a 4×4 symmetric matrix.

[0036] Therefore, the edge New vertex vector after folding The QEM folding cost is shown in the following formula:

[0037] In the formula, , Each contains vertices ,vertex The set of all triangular facets; For a four-dimensional vector The generated 4×4 symmetric quadratic error matrix; , Vertices ,vertex The QEM matrix is ​​formed by the sum of all adjacent triangles of the corresponding vertex. The summation is used to merge the QEM matrices. .

[0038] QEM folding cost Finding the minimum as the objective extreme value allows us to derive a system of linear equations. Deformation yields Through the Inverse the vector and multiply it by the constant vector on the right to obtain the optimal new vertex. As shown in the following formula:

[0039] In the formula, To merge QEM matrices The Middle Line number The elements of the column, where For all plane normal vector components The sum of squares, For all plane normal vector components and The product of accumulation and addition, For all plane normal vector components and The product of accumulation and addition, For all plane normal vector components With plane constant term The product of accumulation and addition, For all plane normal vector components The sum of squares, For all plane normal vector components and The product of accumulation and addition, For all plane normal vector components With plane constant term The product of accumulation and addition, For all plane normal vector components The sum of squares, For all plane normal vector components With plane constant term The product of the product is accumulated and added.

[0040] Finally, the total QEM error of the edge folding operation is obtained based on the optimal new vertex. The complete calculation formula is as follows:

[0041]

[0042]

[0043] In the formula, The optimal new vertex vector obtained by solving; It is a constant vector, corresponding to the scale normalization constraint of four-dimensional homogeneous coordinates; This represents the total QEM error of the edge folding operation.

[0044] S3. Based on the new vertices, establish vertex curvature, edge folding factor, adaptive weight factor, and area normalization factor. Use vertex curvature, edge folding factor, adaptive weight factor, and area normalization factor to correct and optimize the total error of the secondary error metric to obtain the optimized total error. Determine the initial priority order of edge folding operations based on the optimized total error, and determine the candidate lightweight schemes of the GIM model based on the initial priority order and the new vertices.

[0045] This step uses the classic QEM algorithm as a benchmark and underlying support, overcoming the limitation of classic QEM which only considers geometric distance. It allows error assessment to adapt to the multiple requirements of geometric fidelity, electrical fidelity, and safety constraints of GIM models. After complete optimization, a preliminary vertex configuration and edge folding operation sequence for the GIM model that meets geometric fidelity requirements can be obtained as a candidate scheme for subsequent geometric-electrical joint optimization. Specifically, the following steps are performed: S3.1 Obtain the two vertices of the edge to be folded. Estimate the unit normal vectors of the two vertices based on the normal vectors of the adjacent triangles of the two vertices. Calculate the average value of the directional curvature of the two vertices along all their directly connected adjacent edges, and use the average value of the directional curvature of the two vertices as the vertex curvature of the edge.

[0046] In this case, the vertices on the discrete triangular mesh surface do not have defined normal vectors; they must be estimated by area weighting based on the normal vectors of the adjacent triangular faces. For any central vertex... , its first Adjacent facets Composed of three vertices Composition, that is The formula for calculating the unit normal vector of the adjacent face is:

[0047] In the formula, For the first Adjacent facets The unit normal vector; It represents the magnitude of the vector.

[0048] The center vertex is obtained by summing the unit normal vectors of all adjacent faces by area weight and then normalizing the sum. Unit normal vector:

[0049] In the formula, As the central vertex The total number of adjacent faces; For the first Adjacent facets The area.

[0050] For the central vertex The Adjacent vertices The formula for calculating the curvature of the central vertex along the direction of the adjacent side is:

[0051] In the formula, As the central vertex Along the first Adjacent vertices directional curvature; unit normal vector with adjacent edge vectors The dot product; ; By iterating through all directly connected adjacent vertices of the central vertex, calculating the curvature in all directions, and then taking the arithmetic mean, we obtain the curvature of the central vertex. The calculation formula is:

[0052] In the formula, For the central vertex The total number of directly connected adjacent vertices.

[0053] For the edge to be folded Using vertices curvature and vertex The average curvature of the edge is used as the curvature of the vertex corresponding to that edge. Vertex curvature is used to characterize the degree of local geometric change in a triangular mesh model. A larger curvature indicates more dramatic local geometric undulations, likely corresponding to inflection points or boundary features. Single vertex curvature has a dual function: firstly, it serves as an input parameter to construct adaptive weighting factors. This allows for dynamic adjustment of the weights of high-curvature regions and flat regions; on the other hand, as a geometric feature constraint, it is directly substituted into the optimized QEM total error formula to participate in the correction calculation of edge folding costs, thereby strengthening the protection of high-curvature feature regions.

[0054] S3.2 For the edge to be folded, traverse all adjacent triangular faces that share the edge, and calculate the average angle between the unit normal vectors of any two adjacent triangular faces as the edge folding factor.

[0055] Central vertex correspond Adjacent vertices and A single adjacent edge is shared. The number of adjacent triangular faces is The formula for calculating the adjacent edge folding factor is:

[0056] In the formula, Adjacent The corresponding adjacent edge folding factor; The angle between the unit normal vectors of two adjacent triangular faces that share the adjacent edge; The number of adjacent triangular faces sharing this adjacent edge; This represents the total number of angles between the normal vectors of adjacent facets.

[0057] The edge folding factor characterizes the flatness of the local triangular mesh region containing the edge. A smaller value indicates a flatter local region and a higher degree of simplification. For edges to be folded... The average of the fold factors of the adjacent edges corresponding to the two vertices is used as the edge fold factor of that edge. .

[0058] S3.3. Use the hyperbolic tangent function to map the vertex curvature to an adaptive weight factor. The adaptive weight factor is used to dynamically adjust the weight ratio of high curvature regions and flat regions.

[0059] Due to the presence of sharp features (such as insulator corrugations and circuit breaker contacts), regular geometries (such as cylinders like bolts and wires), and high-frequency details like heat sinks in electrical equipment, combining vertex curvature and edge folding factors with fixed weights during the QEM total error optimization process would fail to adapt to the complex geometric characteristics of electrical equipment. Therefore, an adaptive weighting factor based on vertex curvature is established, calculated using the following formula:

[0060] In the formula, An adaptive weighting factor; The curvature sensitivity adjustment coefficient is recommended to be set within the range of [1, 5], with a default initial value of 3. This coefficient controls the response sensitivity of the adaptive weights to changes in curvature. A larger value results in a more significant increase in curvature weights in high-curvature regions, leading to stronger feature protection. Considering the scale and curvature distribution characteristics of typical features such as insulator corrugations, circuit breaker contacts, and heat sinks in the power grid GIM model, this value range strikes a balance between feature preservation accuracy and model simplification efficiency.

[0061] An adaptive weighting factor is established to overcome the contradiction between feature preservation and efficient simplification that traditional fixed weights cannot balance, thus achieving a scenario-adaptive simplification strategy. The hyperbolic tangent function maps curvature features to calculable weight values, providing a mathematical protection mechanism for critical areas of power grid equipment. Through dynamic adjustment of the adaptive weighting factor, high-curvature regions automatically increase curvature weights to strengthen feature protection, while flat regions automatically increase folding factor weights to amplify simplification efficiency. High-curvature regions emphasize curvature constraints, while flat regions emphasize folding factors, achieving a dynamic balance between protection strength and simplification efficiency.

[0062] S3.4. The total QEM error is corrected using adaptive weighting factors, vertex curvature, and edge folding factors. The sum of the areas of adjacent faces of two vertices is used as an area normalization factor to normalize the corrected total QEM error, thus obtaining the optimized total error.

[0063] This step adds a local geometric feature constraint dimension to the traditional QEM edge folding total error: Vertex curvature, representing the degree of local mesh bending, is introduced to identify high-curvature feature regions such as sharp edges, corners, and contours of electrical equipment during GIM model lightweighting; an edge folding factor, representing the flatness of the triangular mesh neighborhood, is introduced to quantify the lightweighting potential of flat regions. Simultaneously, an adaptive weight dynamic adjustment mechanism is added, dynamically adjusting the weight ratio of curvature and folding factor based on the average curvature of the local neighborhood, overcoming the limitation of traditional fixed weights failing to achieve global balance.

[0064] The optimized total QEM error is shown in the following formula:

[0065]

[0066] In the formula, and All of these are optimizations of the total error, i.e., the comprehensive folding cost of a single edge, used for prioritizing edge folding operations; An adaptive weighting factor; For the edge to be folded Corresponding vertex curvature; For the edge to be folded The corresponding edge folding factor; As vertices The total area of ​​all adjacent faces; As vertices The total area of ​​all adjacent faces.

[0067] Area normalization is used to eliminate scale interference of triangular faces of different sizes on folding costs, making error calculation more consistent with the local geometric scale of the power grid equipment model and improving the fairness and accuracy of folding cost calculation. The improved QEM cost framework has the scalability of multi-factor fusion and can seamlessly connect with subsequent electrical characteristic loss functions and power grid security constraints, providing a compatible computational foundation for the joint optimization of geometric-electrical objectives.

[0068] S3.5 Place the edge folding operation corresponding to the maximum value of the total optimization error at the bottom of the stack with the lowest priority, and place the edge folding operation corresponding to the minimum value of the total optimization error at the top of the stack with the highest priority. Prioritize the edge folding operation with the minimum value of the total optimization error. When the lightweighting rate of the GIM model is greater than the preset threshold requirement, delete isolated triangular faces and output the candidate lightweighting scheme.

[0069] By using multiple constraints of curvature, folding factor and area normalization, the priority order of edge folding is optimized, which can achieve a dynamic adaptive effect of accurate shape preservation in high curvature regions and efficient reduction of surface area in flat regions. At the same time, it reduces the problems of deformed facets and topological misalignment in the simplified mesh, and improves the rendering stability and spatial expression accuracy of the model under different lightweighting ratios.

[0070] S4. For the candidate lightweight scheme, combine the geometric error caused by the change of geometric information and the electrical feature loss caused by the change of attribute information to construct an objective function that integrates minimizing geometric error, minimizing electrical feature loss and penalty term.

[0071] The improved QEM algorithm is used to perform edge-folding and lightweighting of the GIM model. This not only requires reducing the number of triangles to improve rendering efficiency, but also controlling vertex offsets to maintain the device's shape and connectivity. Simultaneously, the direct impact of physical quantities such as device current distribution and temperature gradient on scheduling decisions and risk warnings after lightweighting must be considered. Simply minimizing geometric error requires retaining a large number of faces, resulting in low lightweighting efficiency; conversely, simply pursuing compression ratio degrades both geometric and electrical accuracy. Therefore, an objective function is constructed that integrates minimizing geometric error, electrical feature loss, and penalty terms. Combined with the priority of power grid scheduling operations, this simultaneously minimizes geometric shape deviation and electrical physical information loss, achieving a fusion optimization that preserves both geometric and electrical fidelity while ensuring the accuracy of the model's shape and the physical properties of the operating equipment.

[0072] The formula for the objective function is:

[0073] In the formula, The objective function is... The minimized geometric error function is used to measure the geometric shape deviation of the model before and after lightweighting; To minimize the electrical characteristic loss function, which is used to measure the deviation of the electrical and physical properties of the device before and after weight reduction; This is a penalty term used to impose hard constraints on the safety boundary; This is a weighting coefficient used to adjust the emphasis ratio between geometric error and electrical characteristic loss, with a value range of [0,1].

[0074] In scenarios that emphasize scheduling safety analysis and equipment status monitoring, priority is given to ensuring electrical and physical accuracy. Recommended value range is [0.2, 0.5]; for scenarios focusing on 3D visualization and daily inspection displays, priority should be given to ensuring geometric visual effects and lightweight compression ratio. The recommended value range is [0.5, 0.8]. Based on the objective function, the preset weight coefficients are adjusted. This allows for prioritizing the solution with the smallest electrical error during peak scheduling periods and when safety analysis is emphasized, thus ensuring the accuracy of physical decision-making. In daily visualization and when loading efficiency is emphasized, it prioritizes the solution with acceptable geometric error and higher patch compression rate.

[0075] Minimize geometric error function The specific expression is:

[0076] In the formula, This represents the total number of vertices in the GIM model before lightweighting. For lightweighting Vertex vectors, For the lightweight version Vertex vectors, This refers to the centroid vectors of all vertices in the GIM model described before lightweighting. ; denominator The sum of squared distances between all vertex vectors and the centroid vector of the GIM model before lightweighting represents the overall scale of the model's geometric distribution and serves as a normalized benchmark for geometric errors.

[0077] The specific expression for minimizing the electrical characteristic loss function \(F_2\) is:

[0078] In the formula, The objective function is a collection of critical equipment, including transformers, circuit breakers, disconnect switches and other key equipment that affect scheduling decisions. Constraints are applied only to the vertices and electrical nodes corresponding to the critical equipment. Non-core equipment such as ordinary hardware and brackets are not included in the objective function calculation, thereby reducing the solution space, reducing the amount of invalid calculations and improving optimization efficiency. The first in the set of critical equipment One key piece of equipment; For lightweighting The per-unit current value of a key piece of equipment is the ratio of the actual current to the rated current of the equipment. For the lightweight version The per-unit current value of a key device; For lightweighting The temperature gradient magnitude of a key piece of equipment is the ratio of the actual temperature gradient to the reference temperature gradient. For the lightweight version Temperature gradient modulus of a key piece of equipment; This is the preset temperature gradient error weight, with a value range of [0.2, 1.0]. The default value in the project is 0.5.

[0079] In power grid dispatching operations, equipment current values ​​are core operational constraints and the main basis for dispatching decisions, while temperature gradients are auxiliary status monitoring indicators. Therefore, the weight of the temperature term is lower than that of the current term by default, and is dynamically adjusted according to the business scenario. In scenarios that emphasize thermal stability monitoring and equipment condition assessment, It can be improved to 0.8~1.0; in scenarios focusing on power flow calculation and topology visualization, The efficiency can be reduced to 0.2~0.4. Edge folding lightweighting alters the solution domain boundary by changing the geometry and spatial relative position of conductors and equipment, thereby changing the distribution of electromagnetic and thermal fields, ultimately leading to a redistribution of current density and temperature gradient. The electrical characteristic loss function is used to quantify the physical information deviation caused by this process. To ensure that the lightweighted model still accurately reflects the physical state of the equipment, the penalty function plays a hard constraint and safety boundary control role in the power grid GIM model lightweighting algorithm.

[0080] The specific expression for the penalty term P is:

[0081] In the formula, Lightweight front vertex vector Lightweight vertex vectors Position offset between; This refers to the set of geometric vertices corresponding to the key equipment. This represents the maximum allowed offset of the vertex, corresponding to the geometric constraint portion of the penalty term. Used to limit the geometric offset of critical equipment after weight reduction; For lightweighting The actual current of a key device; For the lightweight version The actual current of a key device; Key equipment before lightweighting actual current With lightweight key equipment actual current The absolute value of the relative error; 0.05 is the maximum permissible relative error of the current, corresponding to the electrical constraint part of the penalty term. Used to limit the operational electrical quantity errors of critical equipment after weight reduction; 10 3 This is a high-intensity penalty coefficient used to proactively avoid dangerous solution spaces that violate safety constraints during the optimization process. The penalty term imposes hard safety constraints on both geometric offset and electrical error dimensions, ensuring that the lightweight model still meets the safety requirements of power grid dispatch.

[0082] S5. The chaotic evolutionary optimization algorithm is used to iteratively optimize the objective function to obtain the comprehensive optimal priority order of edge folding operations and the vertex and topology configuration of the lightweight GIM model.

[0083] The Chaotic Evolutionary Optimization Algorithm (CEO) is inspired by the chaotic evolutionary process of a two-dimensional discrete memristor map. By utilizing the hyperchaotic properties of the memristor map to mathematically model the CEO algorithm, a random search direction for the evolutionary process is introduced, including mutation, crossover, and selection operations. The CEO algorithm uses a two-dimensional discrete memristor hyperchaotic map to provide the mutation direction for each individual. Compared to traditional optimization methods such as gradient descent, genetic algorithms, and particle swarm optimization, the CEO algorithm has significant advantages in handling high-dimensional, nonlinear multi-objective optimization problems, ensuring the comprehensive optimization of the simplified model in terms of both geometric and electrical characteristics. The CEO algorithm optimizes the objective function through population iteration, ultimately outputting a set of optimal solutions. Specifically, the iterative optimization process includes mutation, crossover, and selection operations. First, the mutation operation is performed. The hyperchaotic properties of the two-dimensional discrete memristor hyperchaotic map are used to provide mutation directions for individuals in the population, generating mutated individuals. CEO, as a population-based evolutionary algorithm, employs a unified search framework as the mutation operator:

[0084] In the formula, This represents the current iteration number; For the first The current individual of the era; For the first Variations in the generation; It is the search step size; It represents the direction of evolution, dynamically generated by a two-dimensional discrete memristor hyperchaotic mapping.

[0085] First, map the actual position of the current population variable to the chaotic interval to achieve normalized chaotic mapping of the variable. The mapping formula is as follows:

[0086] In the formula, and These are the mapped chaotic positions, with values ​​in the intervals [-0.5, 0.5] and [-0.25, 0.25] respectively; and These are the lower and upper bounds of the current population variables.

[0087] generate After identifying chaotic candidate individuals, the chaotic positions are reverse-mapped to their actual spatial positions. The relationship between the actual position mapping and the positions of the chaotic candidate individuals is as follows:

[0088] In the formula, , The first The chaotic position value of each chaotic candidate individual; , The first The actual spatial location of a chaotic candidate individual after mapping; , The total number of chaotic candidate individuals.

[0089] Generate based on the mapped actual location One evolutionary direction:

[0090] In the formula, For the first Representing the current individual The corresponding number One direction of evolution; For the first Representing the current individual The corresponding number One direction of evolution.

[0091] Based on the current population's optimal solution and evolutionary direction, combined with a random scaling factor within the [0,1] interval... Generate mutated individuals:

[0092] In the formula, It is the first The optimal solution for each generation of the population; this mutation method can further improve the algorithm's local exploitation capability.

[0093] Then, a crossover operation is performed. A binary crossover operator is used to crossover the current individual and the mutated individual, generating... x Dimensions and y The experiment vector has dimensions consistent with the dimension of the optimization problem. The specific crossover process is as follows:

[0094] In the formula, For each iteration, a random number is generated for each dimension; It is a crossover control parameter, which takes a random number in the interval [0,1] in each iteration; This represents the value of the dimension for an individual randomly selected from the current population. Random crossover controls the parameters, enhancing population diversity and preventing premature algorithm convergence.

[0095] Finally, the selection operation is performed. Based on the greedy criterion, the trial vector is selected according to the objective function. If the objective function value of the trial vector is less than or equal to the objective function value of the current individual, the trial vector is updated; otherwise, the current individual is retained, thus updating the optimal solution for the current population. The rules for the selection operation are as follows:

[0096] In the formula, For the test vector The corresponding fitness value of the objective function; This represents the fitness value of the objective function for the current individual \(x_t\).

[0097] The algorithm's termination and restart rules are as follows: when the number of iterations reaches the preset maximum number of iterations, or when the calculated fitness value reaches the set lower limit, the iteration terminates, the final optimized solution is selected, and the solution result is output; if the termination condition is not met, the iteration count is incremented by one, and the optimization process continues. When the power grid model changes, and the corresponding attribute information and geometric information change accordingly, the CEO algorithm is restarted for optimization, keeping the power grid GIM model lightweight.

[0098] This solution achieves dynamic, high-fidelity, and lightweight simplification of the power grid GIM model through a three-layer progressive technical improvement, addressing three core shortcomings of existing technologies. First, addressing the rigidity of feature protection mechanisms, it introduces vertex curvature, edge folding factors, and adaptive weighting mechanisms on top of the classic QEM algorithm. This constructs an edge folding cost calculation method adapted to local geometric features, overcoming the rigid constraints of fixed weights. This achieves a dynamic adaptive effect of accurate shape preservation in high-curvature regions and efficient surface reduction in flat regions, avoiding excessive smoothing of key geometric details such as insulator corrugations and circuit breaker contacts. It also ensures efficient lightweight compression of flat areas such as equipment casings and conductors, improving the visual fidelity and spatial relationship judgment accuracy of the simplified model. Second, addressing the issue of insufficient geometric quality in simplified meshes, the priority order of edge folding is optimized through multiple constraints of curvature, folding factor, and area normalization. This reduces distorted facets and topological misalignments in the simplified mesh, improving rendering stability and spatial representation accuracy under different lightweighting ratios. Simultaneously, a scalable target fusion framework is constructed. The improved QEM cost framework possesses multi-factor fusion scalability and can connect with subsequent electrical feature loss functions and power grid safety constraints, providing a compatible computational foundation for joint optimization of geometric and electrical objectives. Third, addressing the tendency of optimization to get trapped in local optima, a chaotic evolutionary optimization algorithm is adopted as the global optimization engine. Utilizing hyperchaos, this algorithm enhances the diversity and ergonomics of the population search, overcoming the tendency of traditional greedy algorithms to get trapped in local optima. It can efficiently find the lightweight solution that achieves the optimal combination of geometric and electrical fidelity in a high-dimensional nonlinear solution space.

[0099] In another embodiment of the present invention, a lightweight device for dynamic fidelity simplification of GIM models for power grid dispatching services is provided, comprising: The data acquisition module is used to acquire the raw data of the power grid GIM 3D model. The raw data includes attribute information and geometric information, and the geometric information includes triangular mesh surfaces.

[0100] The basic error calculation module is used to perform edge folding operations on the edges of the triangular mesh surface, with the goal of minimizing the folding cost of the new vertex generated by the edge folding operation, to solve for the new vertex, and to calculate the total error of the edge folding operation based on the new vertex.

[0101] The cost optimization module is used to establish vertex curvature, edge folding factor, adaptive weight factor, and area normalization factor based on the new vertex. It uses the vertex curvature, edge folding factor, adaptive weight factor, and area normalization factor to correct and optimize the total error of the quadratic error metric to obtain the optimized total error. It determines the initial priority order of the edge folding operation based on the optimized total error, and determines the candidate lightweight scheme of the GIM model based on the initial priority order and the new vertex.

[0102] The objective construction module is used to construct an objective function that integrates minimizing geometric error, minimizing electrical feature loss, and a penalty term for the candidate lightweight scheme, taking into account the geometric error caused by the change in geometric information and the electrical feature loss caused by the change in attribute information.

[0103] The model optimization output module is used to iteratively optimize the objective function using a chaotic evolutionary optimization algorithm to obtain the optimal edge folding operation priority order and the lightweight GIM model vertex and topology configuration.

[0104] All relevant content regarding the steps involved in the aforementioned embodiment of a dynamic fidelity lightweight GIM model for power grid dispatching operations can be referenced to the functional description of the corresponding functional module of the dynamic fidelity lightweight GIM model for power grid dispatching operations embodiment of the present invention, and will not be repeated here. The module division in the embodiments of the present invention is illustrative and only represents a logical functional division. In actual implementation, there may be other division methods. Furthermore, the functional modules in the various embodiments of the present invention can be integrated into a processor, exist as separate physical entities, or two or more modules can be integrated into one module. The integrated modules described above can be implemented in hardware or as software functional modules.

[0105] In another embodiment of the present invention, a computer device is provided, comprising a processor and a memory. The memory stores a computer program, which includes program instructions. The processor executes the program instructions stored in the computer storage medium. The processor may be a Central Processing Unit (CPU), or other general-purpose processors, digital signal processors (DSPs), application-specific integrated circuits (ASICs), field-programmable gate arrays (FPGAs), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. It is the computing and control core of the terminal, suitable for implementing one or more instructions, specifically suitable for loading and executing one or more instructions in the computer storage medium to achieve a corresponding method flow or corresponding function. The processor described in this embodiment of the present invention can be used for the operation of a dynamic fidelity lightweight method for GIM models oriented towards power grid dispatching operations.

[0106] In another embodiment of the present invention, a storage medium is provided, specifically a computer-readable storage medium (Memory), which is a memory device in a computer device used to store programs and data. It is understood that the computer-readable storage medium here can include both the built-in storage medium in the computer device and extended storage media supported by the computer device. The computer-readable storage medium provides storage space that stores the terminal's operating system. Furthermore, the storage space also stores one or more instructions suitable for loading and execution by a processor. These instructions can be one or more computer programs (including program code). It should be noted that the computer-readable storage medium here can be Random Access Memory (RAM) or non-volatile memory, such as at least one disk storage device. The processor can load and execute one or more instructions stored in the computer-readable storage medium to implement the corresponding steps of the dynamic fidelity lightweighting method for GIM models for power grid dispatching services in the above embodiments.

[0107] Those skilled in the art will understand that embodiments of the present invention can be provided as methods, systems, or computer program products. Therefore, the present invention can take the form of a completely hardware embodiment, a completely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, the present invention can take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, optical storage, etc.) containing computer-usable program code.

[0108] This invention is described with reference to flowchart illustrations and / or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each block of the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, special-purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, generate instructions for implementing the flowchart illustrations and / or block diagrams. Figure 1 One or more processes and / or boxes Figure 1 A device that provides the functions specified in one or more boxes.

[0109] These computer program instructions may also be stored in a computer-readable storage medium that can direct a computer or other programmable data processing device to function in a particular manner, such that the instructions stored in the computer-readable storage medium produce an article of manufacture including instruction means, which are implemented in a process Figure 1 One or more processes and / or boxes Figure 1 The function specified in one or more boxes.

[0110] These computer program instructions may also be loaded onto a computer or other programmable data processing equipment to cause a series of operational steps to be performed on the computer or other programmable equipment to produce a computer-implemented process, thereby providing instructions that execute on the computer or other programmable equipment for implementing the process. Figure 1 One or more processes and / or boxes Figure 1 The steps of the function specified in one or more boxes.

[0111] This invention also provides a computer program product for executing any of the above-described methods for dynamic fidelity lightweighting of GIM models for power grid dispatching operations. Since the computer program product provided by this invention belongs to the same inventive concept as the above-described method for dynamic fidelity lightweighting of GIM models for power grid dispatching operations, it possesses all the advantages of the above-described method. Therefore, the beneficial effects of the computer program product provided by this invention will not be elaborated upon here.

[0112] In this invention, the terms "one embodiment," "some embodiments," "example," "specific example," or "some examples," etc., refer to a specific feature, structure, material, or characteristic described in connection with that embodiment or example, which is included in at least one embodiment or example of the invention. In this specification, the illustrative expressions of the above terms do not necessarily refer to the same embodiment or example. Furthermore, the specific features, structures, materials, or characteristics described may be combined in any suitable manner in one or more embodiments or examples. Moreover, without contradiction, those skilled in the art can combine and integrate the different embodiments or examples described in this specification, as well as the features of different embodiments or examples.

[0113] Finally, it should be noted that the above-described embodiments are merely specific implementations of the present invention, used to illustrate the technical solutions of the present invention, and not to limit them. The scope of protection of the present invention is not limited thereto. Although the present invention has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that any person skilled in the art can still modify or easily conceive of changes to the technical solutions described in the foregoing embodiments within the scope of the technology disclosed in the present invention, or make equivalent substitutions for some of the technical features; and these modifications, changes, or substitutions do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of the present invention, and should all be covered within the scope of protection of the present invention.

Claims

1. A dynamic, fidelity-preserving, lightweight method for GIM models oriented towards power grid dispatching operations, characterized in that, include: Obtain the raw data of the power grid GIM 3D model, the raw data including attribute information and geometric information, the geometric information including triangular mesh surfaces; An edge folding operation is performed on the edges of the triangular mesh surface. The goal is to minimize the quadratic error metric folding cost of the new vertices generated by the edge folding operation. The new vertices are then solved, and the total quadratic error metric of the edge folding operation is calculated based on the new vertices. Based on the new vertex, vertex curvature, edge folding factor, adaptive weighting factor, and area normalization factor are established. The total error of the secondary error metric is corrected and optimized using the vertex curvature, edge folding factor, adaptive weighting factor, and area normalization factor to obtain the optimized total error. The initial priority order of the edge folding operation is determined according to the optimized total error. Based on the initial priority order and the new vertex, the candidate lightweight schemes of the GIM model are determined. For the proposed lightweight solution, an objective function is constructed that integrates the geometric error caused by the change in geometric information and the electrical feature loss caused by the change in attribute information, thereby minimizing the geometric error, minimizing the electrical feature loss, and the penalty term. The objective function is iteratively optimized using a chaotic evolutionary optimization algorithm to obtain the optimal priority order of edge folding operations and the lightweight vertex and topology configuration of the GIM model.

2. The method for dynamic fidelity lightweighting of GIM models for power grid dispatching operations according to claim 1, characterized in that, The method involves performing an edge folding operation on the edges of the triangular mesh surface, aiming to minimize the quadratic error metric folding cost of the new vertices generated by the edge folding operation. This includes solving for the new vertices and calculating the total quadratic error metric of the edge folding operation based on these new vertices. Obtain the two vertex vectors of the edge to be folded; Calculate the quadratic error metric matrix corresponding to the two vertex vectors respectively, and add the quadratic error metric matrices corresponding to the two vertex vectors to obtain the merged quadratic error metric matrix; With the goal of minimizing the folding cost of the quadratic error metric of the new vertex, the new vertex vector corresponding to the new vertex is obtained by solving the product of the inverse matrix of the merged quadratic error metric matrix and the constant vector. Multiply the transpose of the new vertex vector, the merged quadratic error metric matrix, and the new vertex vector to obtain the total quadratic error metric of the edge folding operation; The specific calculation formula is as follows: in, This is the combined quadratic error metric matrix; and The two vertex vectors are respectively and The corresponding quadratic error metric matrix; The new vertex vector obtained by solving; Let be the constant vector; The total error is a quadratic error measure for the edge folding operation.

3. The method for dynamic fidelity lightweighting of GIM models for power grid dispatching operations according to claim 1, characterized in that, The process involves establishing vertex curvature, edge folding factor, adaptive weighting factor, and area normalization factor based on the new vertex. The optimized total error is then obtained by correcting and optimizing the total error of the quadratic error metric using the vertex curvature, edge folding factor, adaptive weighting factor, and area normalization factor. This includes: Obtain the two vertices of the edge to be folded. Estimate the unit normal vector of the two vertices based on the normal vector of the adjacent triangle facets of the two vertices. Calculate the average value of the directional curvature of the two vertices along all their directly connected adjacent edges. Use the average value of the directional curvature of the two vertices as the vertex curvature. For the edge to be folded, traverse all adjacent triangular faces that share the edge, and calculate the average angle between the unit normal vectors of any two adjacent triangular faces as the edge folding factor. The curvature of the vertex is mapped to the adaptive weighting factor using the hyperbolic tangent function. The adaptive weighting factor is used to dynamically adjust the weight ratio of high curvature regions and flat regions. The total error of the quadratic error metric is corrected using the adaptive weighting factor, the vertex curvature, and the edge folding factor. The total error of the corrected quadratic error metric is then normalized using the sum of the areas of the adjacent faces of the two vertices as the area normalization factor, thus obtaining the optimized total error.

4. The method for dynamic fidelity lightweighting of GIM models for power grid dispatching operations according to claim 1, characterized in that, The step of determining the initial priority order of the edge folding operation based on the total optimization error, and determining the candidate lightweight schemes of the GIM model based on the initial priority order and the new vertices, includes: The edge folding operation corresponding to the maximum value of the total optimization error is placed in the lowest priority position, and the edge folding operation corresponding to the minimum value of the total optimization error is placed in the highest priority position, so that the edge folding operation with the minimum total optimization error is processed first. When the lightweighting rate of the GIM model meets the preset threshold requirement, isolated triangular faces are deleted, and the candidate lightweighting scheme is output.

5. The method for dynamic fidelity lightweighting of GIM models for power grid dispatching operations according to claim 1, characterized in that, The formula for the objective function is: in, The objective function is... This is the function that minimizes the geometric error; The function is the electrical characteristic loss function that minimizes the electrical characteristics. For the aforementioned penalty item; These are weighting coefficients used to adjust the relative emphasis between geometric error and electrical characteristic loss; The minimized geometric error function The minimized electrical characteristic loss function and the aforementioned penalty item The specific expressions are as follows: in, This represents the total number of vertices in the GIM model before lightweighting. For lightweighting Vertex vectors, For the lightweight version Vertex vectors, This refers to the centroid vectors of all vertices in the GIM model described before lightweighting. in, This refers to the collection of the aforementioned key equipment. For the key equipment in the set, Key equipment before lightweighting The per-unit value of the current. For lightweight key equipment The per-unit value of the current. Key equipment before lightweighting Temperature gradient magnitude, For lightweight key equipment Temperature gradient magnitude, The preset temperature gradient error weights; in, This refers to the set of geometric vertices corresponding to the key equipment. This represents the maximum allowed offset of the vertex. Key equipment before lightweighting The actual current, For lightweight key equipment The actual current.

6. The method for dynamic fidelity lightweighting of GIM models for power grid dispatching operations according to claim 1, characterized in that, The step of iteratively optimizing the objective function using a chaotic evolutionary optimization algorithm includes: The hyperchaotic properties of the two-dimensional discrete memristor hyperchaotic mapping are used to provide mutation directions for individuals in the population, thereby generating mutated individuals; A binary crossover operator is used to perform a crossover operation on the current individual and the mutated individual to generate an experimental vector; Based on the greedy criterion, the experimental vector is selected according to the objective function, and the optimal solution for the current population is updated.

7. The method for dynamic fidelity lightweighting of GIM models for power grid dispatching operations according to claim 1, characterized in that, The attribute information includes the equipment type identifier of the key equipment, the equipment's rated electrical parameters, and the equipment's operating status parameters; The geometric information also includes the vertex coordinate sequence, triangle patch index sequence, normal vector information, and texture coordinate information of the triangular mesh surface.

8. A lightweight device for dynamic fidelity of GIM models for power grid dispatching operations, characterized in that, include: The data acquisition module is used to acquire the raw data of the power grid GIM 3D model. The raw data includes attribute information and geometric information, and the geometric information includes triangular mesh surfaces. The basic error calculation module is used to perform edge folding operations on the edges of the triangular mesh surface, with the goal of minimizing the folding cost of the new vertex generated by the edge folding operation, to solve for the new vertex, and to calculate the total error of the edge folding operation based on the new vertex. The cost optimization module is used to establish vertex curvature, edge folding factor, adaptive weight factor and area normalization factor based on the new vertex, and use the vertex curvature, the edge folding factor, the adaptive weight factor and the area normalization factor to correct and optimize the total error of the secondary error metric to obtain the optimized total error. The initial priority order of the edge folding operation is determined according to the optimized total error, and the candidate lightweight scheme of the GIM model is determined according to the initial priority order and the new vertex. The objective construction module is used to construct an objective function that integrates minimizing geometric error, minimizing electrical feature loss, and a penalty term for the candidate lightweight scheme, taking into account the geometric error caused by the change in geometric information and the electrical feature loss caused by the change in attribute information. The model optimization output module is used to iteratively optimize the objective function using a chaotic evolutionary optimization algorithm to obtain the optimal edge folding operation priority order and the lightweight GIM model vertex and topology configuration.

9. A computer device comprising a memory and a processor, wherein the memory stores a computer program, characterized in that, When the processor executes the computer program, it implements the steps of the dynamic fidelity lightweight method for GIM model oriented to power grid dispatching services as described in any one of claims 1 to 7.

10. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by the processor, it implements the steps of the dynamic fidelity lightweight method for GIM model oriented to power grid dispatching services as described in any one of claims 1 to 7.