Bim model and two-dimensional drawing two-way parallel responsive design method and system

CN123013262APending Publication Date: 2026-10-30NINGBO ELECTRIC POWER DESIGN INST
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202611508395.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-09-28
Publication Date
2026-10-30

AI Technical Summary

Technical Problem

[0005]本申请提供了一种BIM模型和二维图纸双向并行的响应式设计方法及系统,解决了二维图纸反向驱动三维模型时嵌套路径无法取舍导致关键构件参数被无差别改动的问题,实现了对多条候选驱动路径按安全等级优先级进行择优选定并结合安全净距规范对换算结果进行校验的双向并行响应式设计过程

Benefits of technology

[0010]本申请提供的技术方案中,通过对变电站BIM三维模型的嵌套构件进行分级映射处理得到带关键度系数的构件关联图,把原本混杂在一起的模型层构件、部件层构件、基本图元层构件按照物理装配上的嵌套引用关系拆解成三级节点结构,并将安全规范条款中对不同构件安全等级的划分直接固化为关联图边上的关键度系数,使得三维模型内部原本只体现几何装配关系的构件连接,同时具备了可供后续计算直接调用的安全等级属性,这一处理方式让构件关联图不再是单纯的几何拓扑结构,而是兼具装配关系与安全等级双重信息的数据载体,为后续在多条路径中做出取舍提供了可直接量化比较的依据,这一点是现有技术中单纯依赖标识符一对一绑定的映射机制所不具备的。在此基础上,根据二维图纸编辑事件对构件关联图进行路径回溯处理得到候选驱动路径,使得反向驱动过程不再局限于寻找唯一确定的对应关系,而是能够完整识别嵌套结构下客观存在的多条关联路径,这一步骤的技术特征本身就承认并保留了嵌套引用关系带来的路径多样性,而不是像现有的一对一映射方式那样人为地假设每个图形元素只对应唯一的三维参数。

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123013262A_ABST
    Figure CN123013262A_ABST
Patent Text Reader

Abstract

The application relates to the technical field of power design, and discloses a BIM model and two-dimensional drawing bidirectional parallel responsive design method and system. The method comprises the following steps: obtaining an associated drawing through hierarchical mapping of a substation BIM model nested component; obtaining a candidate path through backtracking of a drawing editing event; determining a current path through key degree maximum value sorting and obtaining a to-be-written parameter group through conversion; performing safety clearance verification; if the safety clearance verification fails, performing degradation switching and re-calculation; and finally updating parameters and writing into a three-dimensional model. The application realizes a bidirectional parallel responsive design process of preferentially selecting multiple candidate driving paths according to safety level priorities and verifying the conversion result according to a safety clearance specification.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of power design technology, and in particular to a responsive design method and system that uses BIM models and two-dimensional drawings in parallel. Background Technology

[0002] In the BIM 3D design of substation projects, the linkage between the 3D model and the 2D drawings usually adopts a parametric binding mechanism. That is, a unique identifier or parameter mapping table is established for the 3D component and its corresponding 2D graphic element. When the component parameters of the 3D model change, the mapping table drives the corresponding outline and dimension annotations in the 2D view to be updated synchronously. Some platforms also support direct modification of dimension annotations in the 2D view and reverse driving of 3D component parameter updates by the mapping table, thereby realizing bidirectional data transfer between the 3D model and the 2D drawings.

[0003] Existing parameter mapping and binding mechanisms typically establish a one-to-one correspondence for components at a single level. This means a 2D graphic element corresponds to only one unique 3D component parameter. During the reverse-engineering process, no path selection or range judgment is performed; all components with a corresponding relationship in the mapping table are indiscriminately modified. However, in substation engineering BIM 3D models, components generally have a three-level nested reference relationship: model layer equipment, component layer substructure, and basic element layer minimum geometric unit. The same basic element layer component is often repeatedly referenced by multiple different component layer components. When an edit action on the 2D drawing is reverse-mapped back to the 3D model, it simultaneously associates multiple nested paths. Existing one-to-one mapping mechanisms cannot select from these paths and can only modify the component parameters on all associated paths. This results in a minor adjustment that was originally intended for a local graphic being indiscriminately propagated to critical components with higher safety levels through the nested reference relationship, causing the parameters of these critical components to be changed synchronously without the designers' awareness.

[0004] Building upon the aforementioned problem of indiscriminate transmission, even if the mapping mechanism is further enhanced with the ability to differentiate the importance of components to prevent the arbitrary modification of critical components, new technical problems arise: the three-level nested structure of the substation BIM 3D model means that starting from a 2D editing action, the reverse tracing often yields not a single, definitive path, but multiple candidate paths that geometrically meet the requirements of the 2D view but pass through components of different safety levels. If these candidate paths are not differentiated according to the safety level of the components they pass through and a priority order is not determined, even if the existence of critical components is identified, it is impossible to determine which path should be prioritized for parameter conversion. Furthermore, the component parameters obtained from the selected path conversion may conflict with the clearance required by safety regulations in terms of geometric spacing. If the results cannot be judged for compliance with regulations after conversion and other candidate paths cannot be selected when non-compliance occurs, the aforementioned path selection mechanism cannot truly prevent the incorrect writing of critical component parameters. Summary of the Invention

[0005] This application provides a bidirectional parallel responsive design method and system for BIM models and 2D drawings. It solves the problem that when 2D drawings drive 3D models in reverse, the nested paths cannot be selected, resulting in the indiscriminate modification of key component parameters. It realizes a bidirectional parallel responsive design process that selects the best among multiple candidate driving paths according to safety level priority and verifies the conversion results in combination with safety clearance specifications.

[0006] Firstly, this application provides a responsive design method that uses BIM models and 2D drawings in parallel, the responsive design method comprising: Step S1: Perform hierarchical mapping processing on the nested components of the substation BIM 3D model to obtain a component association diagram with keyness coefficients. Step S2: Perform path backtracking processing on the component association diagram based on the two-dimensional drawing editing event to obtain candidate driving paths; Step S3: Prioritize the candidate driving paths based on the maximum value of the criticality coefficient to determine the current driving path. Then, perform a layer-by-layer conversion process on the geometric changes corresponding to the editing of the 2D drawing using the conversion formula corresponding to the current driving path to obtain the parameter group to be written. Perform compliance verification on the parameter group to be written according to the safety clearance threshold. If the verification fails, downgrade the current driving path and re-perform the layer-by-layer conversion process to obtain the updated parameter group to be written. Step S4: Update the BIM 3D model according to the set of parameters to be written to obtain the 3D model update parameters.

[0007] Secondly, this application provides a responsive design system that allows for bidirectional parallel operation of BIM models and two-dimensional drawings. The responsive design system includes: The mapping module is used to perform hierarchical mapping processing on the nested components of the BIM 3D model of the substation to obtain a component association diagram with keyness coefficients. The backtracking module is used to perform path backtracking processing on the component association diagram based on the two-dimensional drawing editing events to obtain candidate driving paths; The switching module is used to prioritize the candidate driving paths based on the maximum value of the criticality coefficient, determine the current driving path, and perform layer-by-layer conversion processing on the geometric changes corresponding to the editing of the 2D drawing using the conversion formula corresponding to the current driving path to obtain the parameter group to be written; perform compliance verification processing on the parameter group to be written according to the safety clearance threshold; if the verification fails, the current driving path is downgraded and switched, and the layer-by-layer conversion processing is repeated to obtain the updated parameter group to be written. The update module is used to update the BIM 3D model according to the set of parameters to be written, and obtain the 3D model update parameters.

[0008] Thirdly, a responsive design device for bidirectional parallel operation of BIM model and two-dimensional drawings is provided, comprising: a memory and at least one processor, wherein the memory stores instructions; the at least one processor invokes the instructions in the memory to cause the responsive design device for bidirectional parallel operation of BIM model and two-dimensional drawings to execute the aforementioned responsive design method for bidirectional parallel operation of BIM model and two-dimensional drawings.

[0009] Fourthly, a computer-readable storage medium is provided, wherein instructions are stored therein, which, when executed on a computer, cause the computer to execute the aforementioned bidirectional parallel responsive design method of BIM model and two-dimensional drawings.

[0010] The technical solution provided in this application obtains a component association diagram with criticality coefficients by performing hierarchical mapping processing on the nested components of the BIM 3D model of the substation. The originally mixed model layer components, component layer components, and basic element layer components are decomposed into a three-level node structure according to the nested reference relationship of physical assembly. The classification of different component safety levels in the safety specifications is directly solidified into criticality coefficients on the edges of the association diagram. This makes the component connections inside the 3D model, which originally only reflected geometric assembly relationships, also have safety level attributes that can be directly called for subsequent calculations. This processing method makes the component association diagram no longer a simple geometric topology structure, but a data carrier with both assembly relationship and safety level information. It provides a directly quantifiable basis for making trade-offs among multiple paths, which is not available in the existing mapping mechanism that simply relies on one-to-one binding of identifiers. Based on this, the component association diagram is backtracked according to the two-dimensional drawing editing event to obtain candidate driving paths. This makes the reverse driving process no longer limited to finding a unique and definite correspondence, but can completely identify multiple objectively existing association paths under the nested structure. The technical feature of this step itself acknowledges and retains the path diversity brought about by the nested reference relationship, rather than artificially assuming that each graphic element corresponds to only a unique three-dimensional parameter as in the existing one-to-one mapping method.

[0011] The technical feature of prioritizing candidate driving paths based on the maximum criticality coefficient and determining the current driving path transforms multiple independent paths without prioritization into a sequence ordered by safety risk. This ensures that subsequent conversion processes naturally begin with the path of lowest risk, rather than randomly selecting or simultaneously converting multiple paths. This sorting method actually uses safety level information in the path selection decision-making process, rather than merely labeling or prompting, which is the key difference between this application and existing technologies that simply mark key components without participating in actual calculation decisions. The geometric changes are converted layer by layer using the conversion relationship corresponding to the current driving path to obtain the parameter set to be written. This feature ensures that the conversion process from 2D editing actions to 3D parameters always follows a specific path, avoiding indiscriminate synchronous calculation of all related components in nested structures. The computational load and scope of the conversion process itself are constrained within the chain of the current driving path.

[0012] The system performs compliance verification on the parameter group to be written based on the safety clearance threshold. If the verification fails, the current driving path is downgraded and recalculated layer by layer. This set of technical features links the path selection, parameter conversion, and standard verification into a closed loop that can iteratively converge. This allows the solution to automatically switch to the next candidate path for recalculation based on the established path priority sequence when the conversion result of a path at the top of the priority sequence does not meet the safety requirements. This eliminates the need for manual testing of the conversion result of each path. This iterative approach allows the standard data of the safety clearance threshold to truly participate in the algorithm execution process of path selection. This demonstrates the substantial contribution of the algorithm feature combining path priority ranking and standard threshold verification in the specific substation safety design scenario to the reliability of the solution itself. That is, the selection of algorithm features is not a simple application of general ranking or verification methods, but a targeted design closely combined with the characteristics of the specific application field of substation component safety level and safety clearance specifications. This allows the reverse driving of the 3D model to retain the two-way linkage capability while having the ability to identify and protect key components. Attached Figure Description

[0013] To more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings used in the description of the 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 based on these drawings without creative effort.

[0014] Figure 1 This is a schematic diagram of an embodiment of the responsive design method that uses BIM models and 2D drawings in parallel. Figure 2 This is a schematic diagram illustrating the correspondence between the peak criticality of candidate driving paths and their priority sequence positions in embodiments of this application. Figure 3 This is a schematic diagram showing the layered structure of the parameter group to be written in this embodiment, consisting of model layer components, component layer components, and basic element layer components. Detailed Implementation

[0015] This application provides a responsive design method and system that allows for bidirectional parallel processing of BIM models and 2D drawings. The terms "first," "second," "third," "fourth," etc. (if present) in the specification, claims, and accompanying drawings are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that such data can be interchanged where appropriate so that the embodiments described herein can be implemented in a sequence other than that illustrated or described herein. Furthermore, the terms "comprising" or "having" and any variations thereof are intended to cover a non-exclusive inclusion; for example, a process, method, system, product, or device that comprises a series of steps or units is not necessarily limited to those steps or units explicitly listed, but may include other steps or units not explicitly listed or inherent to such processes, methods, products, or devices.

[0016] For ease of understanding, the specific process of the embodiments of this application is described below. Please refer to [link / reference]. Figure 1 One embodiment of the responsive design method that uses BIM models and 2D drawings in parallel in this application includes: Step S1: Perform hierarchical mapping processing on the nested components of the substation BIM 3D model to obtain a component association diagram with keyness coefficients. Specifically, hierarchical mapping processing refers to splitting the originally mixed components in the BIM 3D model of a substation into three levels according to the depth of nesting references: model layer, component layer, and basic element layer. This splitting is based on the fact that substation equipment itself naturally has a physical assembly hierarchy from the overall equipment to internal components and then to the smallest geometric unit. The component association diagram connects these three levels of components into a directed graph according to the relationship of who contains whom. The criticality coefficient is a value corresponding to each connection relationship. The value is determined by the level clause of the electrical safety code for the components involved in the connection. The higher the level of the component, such as the connection relationship of live conductors, the larger the coefficient. This coefficient is not an arbitrarily set empirical value, but directly refers to the safety level classification already specified in the national or industry design code. In this way, any technician can calculate the same coefficient according to the code clauses.

[0017] Step S2: Perform path backtracking processing on the component association diagram based on the two-dimensional drawing editing event to obtain candidate driving paths; Specifically, path backtracking refers to starting from the edited graphic element on the two-dimensional drawing and searching backward along the connection relationship of the component association diagram to find all the possible parent components corresponding to this graphic element in the nested structure of the three-dimensional model. The reason why there is more than one path is that in substation equipment, it is common for a basic graphic element to be reused by multiple components at the same time. For example, the same busbar section belongs to both the internal wiring of a switch cabinet and the connection section of an adjacent cabinet. The candidate driving path is the set of several optional paths retained after removing the duplicates of these duplicate or equivalent paths.

[0018] Step S3: Prioritize the candidate driving paths based on the maximum value of the criticality coefficient to determine the current driving path. Then, perform a layer-by-layer conversion process on the geometric changes corresponding to the editing of the 2D drawing using the conversion formula corresponding to the current driving path to obtain the parameter group to be written. Perform compliance verification on the parameter group to be written according to the safety clearance threshold. If the verification fails, downgrade the current driving path and re-perform the layer-by-layer conversion process to obtain the updated parameter group to be written. Specifically, the criticality peak value is obtained by taking the maximum value of the criticality coefficient of each path in the candidate driving paths. Then, the paths are sorted from smallest to largest according to the peak value, and the path with the smallest peak value is selected as the current driving path. The rationale for this setting is that the smaller the peak value, the lower the safety level of the components passed through by the path. The path with the lowest risk is selected first to perform parameter changes. The conversion formula refers to the fixed algebraic conversion formula that is pre-calibrated for each level of component. The coefficients of these formulas are determined in the modeling stage according to the actual assembly ratio of the components. The layer-by-layer conversion process is to substitute the geometric changes on the two-dimensional drawings into these formulas and calculate the parameter values ​​that should be written for each level of component from the basic element layer to the model layer. The compliance verification process is to calculate the actual distance between components by reversing the calculated parameters and compare it with the safety clearance threshold specified in the specification. If the clearance is insufficient, it means that the result calculated by this path is unusable. At this time, the degradation switching process replaces the current driving path with the next-ranked path in the path priority sequence and recalculates until a path that can meet both geometric constraints and safety clearance requirements is found.

[0019] Step S4: Update the BIM 3D model according to the set of parameters to be written to obtain the 3D model update parameters.

[0020] Specifically, the parameter group to be written is written back to the 3D model in the order of model layer to component layer and then to basic primitive layer. The reason for writing in this order is to avoid the parameters of lower-level components being overwritten by the parameter changes of higher-level components after they have been written. After writing, the 3D model is re-sectioned to generate a new 2D view, and the dimensions in the new view are compared with the geometric changes entered by the designer on the drawing. If the difference between the two exceeds the preset consistency threshold, it means that there is a deviation between the previously selected driving path and the conversion result. The loop of re-selecting the path, re-converting, and re-writing is repeated until the difference falls within the threshold range. The final 3D model update parameters are the actual results that this method aims to obtain by reverse driving the 3D model.

[0021] In one specific embodiment, step S1 includes: The nested components of the substation BIM 3D model are hierarchically divided to obtain model layer components, component layer components, and basic element layer components. Based on the nested reference relationship between the model layer components, the component layer components, and the basic primitive layer components, node connection processing is performed on the model layer components, the component layer components, and the basic primitive layer components to obtain the node set and edge set of the component association graph; Based on a pre-stored library of safety specification clauses, clause matching is performed on the component types connected to each edge in the edge set to obtain a set of criticality coefficients corresponding to the edge set. Each node in the node set is bound to its corresponding two-dimensional drawing graphic element with an identifier to obtain a node set with identifiers. Then, a graph generation process is performed based on the node set with identifiers, the edge set, and the criticality coefficient set to obtain a component association graph with criticality coefficients.

[0022] Specifically, the hierarchical classification is based on whether a component can be further subdivided into smaller functional units in terms of physical assembly. A component that corresponds to a complete piece of equipment and does not contain any other independently named substructures is classified as a model layer, such as the entire main transformer or the entire GIS combined electrical appliance. A component that belongs to a model layer component and can be further subdivided into smaller geometric units is classified as a component layer, such as the windings and cores inside a transformer, or the busbars inside a switchgear. A component that is already the smallest indivisible geometric unit is classified as a basic element layer, such as the winding cross-section, bolt holes, or the outline of a support plate. Node connection processing establishes connections according to the physical assembly relationship of which components contain which among the three levels of components. A model layer component establishes a connection between itself and each component layer component it directly contains, and a component layer component also establishes a connection between itself and each basic element layer component it directly contains. All components correspond to a set of nodes, and all connections correspond to a set of edges.

[0023] The clause matching process is based on whether the lower-level component connected to each edge belongs to one of three categories: a live conductor, a busbar connection point, or a structural load-bearing part. Edges belonging to any of these categories are assigned a value of 0.9 as the corresponding criticality coefficient, edges belonging to non-load-bearing structural components or auxiliary connection components are assigned a value of 0.5, and edges belonging to decorative or non-functional components are assigned a value of 0.2.

[0024] The identifier binding process generates a unique code for each node according to the rule of adding the project number, component level prefix, and sequence number. The project number in the code corresponds to the project establishment number of the substation project itself. The level prefix uses the letter M to represent the model layer, the letter P to represent the component layer, and the letter E to represent the basic graphic element layer. The sequence number is incremented according to the order in which the child components under the same parent node are created. After generating the code, a one-to-one correspondence is established between the code and the corresponding specific graphic element in the two-dimensional drawing. In this way, each node, each edge, each criticality coefficient, and each identifier in the component association diagram together constitute a complete graph structure, so that the whole operation of finding the corresponding three-dimensional component from the graphic element in the drawing and then tracing the upper and lower level relationships along the edge set has a clear and traceable data basis.

[0025] In one specific embodiment, step S2 includes: The two-dimensional drawing editing event is parsed and processed to obtain the identifier of the edited graphic element and the geometric change amount; The node set with the identifier is searched according to the edit graphic element identifier to obtain the basic primitive layer component corresponding to the edit graphic element identifier; Starting from the basic primitive layer component, a reverse tracing process is performed along the edge set to obtain all the upward tracing paths corresponding to the basic primitive layer component; Based on the nested reference relationships between the component layer members and the model layer members traversed by each path in all the upward paths, the entire upward paths are deduplicated to obtain candidate driving paths.

[0026] Specifically, the parsing process involves retrieving the editable graphic element identifier from the drawing file based on the number of the graphic element affected by the operation—such as dragging the endpoint of a dimension line or modifying the numerical input box of a graphic element—and subtracting the corresponding geometric values ​​of the graphic element before and after the operation, taking the difference as the geometric change. When an editing action affects only one graphic element, the parsing process outputs only one identifier and one change. If an editing action simultaneously affects another linked dimension on the drawing, the parsing process outputs the corresponding identifier and change based on the number of graphic elements affected. The lookup process uses the editable graphic element identifier output from the parsing process to compare it with the identifier bound to each node in the set of nodes with identifiers. The node that matches the identifier is the basic primitive layer component corresponding to the editable graphic element identifier. Since the same identifier is bound to only one node in the set of nodes with identifiers, the lookup process results in a uniquely determined basic primitive layer component.

[0027] The reverse tracing process starts from the basic primitive layer component obtained from the search process. It searches the edge set for edges with the basic primitive layer component as a child node, and then follows the edge to find its corresponding parent node, which is a component layer component. It then searches the edge set for edges with the component layer component as a child node, and follows the edge to find its corresponding parent node, which is a model layer component. This complete chain from the basic primitive layer component to the component layer component and then to the model layer component is a tracing path. If the basic primitive layer component is referenced by multiple different component layer components in the edge set, that is, there is more than one edge with the basic primitive layer component as a child node, the reverse tracing process continues to trace upwards for each such edge, resulting in multiple tracing paths. All these paths are collected to obtain the complete tracing path. The deduplication process involves comparing each of the two paths in the entire upstream path to see if the component layer components and model layer components they pass through are completely identical. If the two paths pass through the same component layer components and the same model layer components, it means that the two paths actually represent the same nested reference chain that has been recorded twice. Only one path is kept and the other is removed. If the two paths pass through different component layer components or different model layer components, they are considered as two independent paths and are kept. The set of paths obtained after this process of comparison and retention is the candidate driving path.

[0028] In one specific embodiment, in step S3, the candidate driving paths are prioritized based on the maximum value of the criticality coefficient to determine the current driving path. Then, the geometric changes corresponding to the editing of the 2D drawing are converted layer by layer using the conversion formula corresponding to the current driving path to obtain the parameter group to be written, including: The set of edges traversed by each path in the candidate driving path is traversed to obtain a subset of criticality coefficients corresponding to each candidate driving path, and the maximum value is extracted from the subset of criticality coefficients to obtain the criticality peak value corresponding to each candidate driving path. The candidate driving paths are sorted in ascending order based on the criticality peak value to obtain a path priority sequence, and the candidate driving path with the smallest criticality peak value in the path priority sequence is determined as the current driving path. Based on the basic primitive layer components, component layer components, and model layer components traversed by the current driving path, a pre-calibrated set of conversion formulas is matched to obtain the conversion formula corresponding to the current driving path. The geometric change is input into the conversion formula, and the conversion process is performed layer by layer from the basic primitive layer component to the model layer component along the current driving path to obtain the parameters to be written corresponding to the basic primitive layer component, the component layer component and the model layer component. The parameters to be written are then summarized to obtain the parameter group to be written.

[0029] Specifically, the traversal process refers to extracting each edge along the path of each candidate driving path from the basic primitive layer component to the component layer component and then to the model layer component, and collecting the criticality coefficients corresponding to all edges along the path to form a subset. If a path passes through two edges, the subset contains the criticality coefficients corresponding to each of the two edges. The values ​​in the subset are compared and the largest value is taken as the criticality peak value of the path. The same candidate driving path set may contain multiple paths, and each path calculates its own criticality peak value in this way without affecting each other.

[0030] After obtaining the criticality peak values ​​of all candidate driving paths, these paths are rearranged in ascending order of peak value to form a path priority sequence. The path at the beginning of the sequence has the smallest criticality peak value among all candidate paths, and this path is determined as the current driving path. The component with the highest safety level that the determined path passes through is also the one with the lowest risk level among all candidate paths.

[0031] After determining the current driving path, based on which specific basic primitive layer components, component layer components, and model layer components this path sequentially passes through, the system searches for the corresponding conversion formulas in a pre-defined set of conversion formulas. This set of conversion formulas consists of fixed algebraic expressions pre-defined during the modeling phase for the assembly ratio relationships between components at each level. For example, there is a fixed scaling factor and a fixed offset between the geometric parameters of a basic primitive layer component and the geometric parameters of its parent component layer component. These scaling factors and offsets are already determined during modeling based on the actual assembly dimensions of the component. Once the relationship is established and the conversion formula corresponding to the current driving path is found, the geometric changes generated by the 2D drawing editing are substituted into the first-level conversion formula as input values ​​to calculate the parameters to be written for the basic element layer components. Then, these parameters to be written are substituted into the next-level conversion formula to calculate the parameters to be written for the component layer components. This process is repeated step by step along the current driving path from the basic element layer to the model layer until the parameters to be written for the model layer components are calculated. The parameters to be written calculated for each of these levels of components are then summarized according to their respective levels to form a set of parameters to be written.

[0032] Figure 2This is a schematic diagram illustrating the correspondence between the peak criticality of candidate driving paths and their priority sequence positions in an embodiment of this application. Figure 2 The figure illustrates the criticality peak values ​​of multiple candidate driving paths (path A, path B, path C, path D, and path E) corresponding to the same 2D drawing editing event, and the corresponding relationship between the positions of these candidate driving paths in the path priority sequence after being sorted by criticality peak value from smallest to largest. The line represents the criticality peak value of each candidate driving path, and the bar chart represents the position of each candidate driving path in the path priority sequence. Path E has the smallest criticality peak value and is ranked first in the path priority sequence, and is determined as the current driving path. Although paths A, D, and B have the same criticality peak value, they occupy different positions in the path priority sequence according to the order in which the candidate driving paths were generated. This figure is used to illustrate how this application prioritizes candidate driving paths based on the maximum value of the criticality coefficient and determines the specific correspondence of the current driving path.

[0033] Figure 3 This is a schematic diagram showing the layered structure of the parameter group to be written in this embodiment, consisting of model layer components, component layer components, and basic element layer components. Figure 3 The diagram illustrates the composition and total number of model layer parameters, component layer parameters, and basic element layer parameters in the parameter groups to be written for five different 2D drawing editing events (editing events 1 to 5). Each bar chart, stacked from bottom to top, represents the number of model layer parameters, component layer parameters, and basic element layer parameters. The value at the top of the bar chart is the total number of parameter items in the parameter group to be written for that editing event. This diagram is used to illustrate the specific parameter composition distribution of the parameter groups to be written at the three levels of model layer components, component layer components, and basic element layer components under different editing events after the geometric changes are converted layer by layer using conversion formulas.

[0034] In one specific embodiment, step S3 involves performing compliance verification on the parameter group to be written based on a safety clearance threshold, including: Based on each of the parameters to be written in the parameter group to be written, the geometric distance between the components involved in the current driving path is calculated to obtain the component spacing; Based on the component type and voltage level corresponding to the component spacing, a lookup process is performed on the pre-stored safety clearance threshold table to obtain the safety clearance threshold corresponding to the component spacing. The component spacing is compared with the safety clearance threshold. If the component spacing is not less than the safety clearance threshold, the verification passes; if the component spacing is less than the safety clearance threshold, the verification fails.

[0035] Specifically, the component spacing is calculated based on the coordinate parameters and outer dimensions of each component involved in the current driving path in the parameter group to be written. For two adjacent components on the current driving path, the position of the outer boundary point closest to each other in the updated coordinate position of each component is extracted, and the straight-line distance between the two boundary points is calculated. This straight-line distance is used as the component spacing of this pair of adjacent components. If a current driving path involves more than three components, the component spacing of each pair of adjacent components on the path is calculated in this way to form a set of component spacing values ​​instead of a single value. The safety clearance threshold table is a pre-established numerical reference table based on two fields: component type and voltage level. The component type distinguishes different categories such as live conductors, grounded parts, and structural supports. The voltage level distinguishes equipment of different voltage levels within the substation. For example, for a combination of a voltage level of 110 kV and a component type of live part to an adjacent grounded part, the corresponding safety clearance threshold is 900 mm. This value comes from the explicit provisions in the "Design Code for 35kV~110kV Substations" regarding the minimum safe distance between live parts and grounded parts at different voltage levels. When searching, based on the component type and voltage level of each pair of adjacent components calculated in the previous step, the corresponding row in this table is located, and the value recorded in that row is taken as the safety clearance threshold for that pair of components.

[0036] The comparison process involves comparing the calculated spacing between each pair of adjacent components with the corresponding safety clearance threshold. Components with a spacing greater than the safety clearance threshold or with the same value are classified as having a spacing not less than the safety clearance threshold and are considered to have passed the verification. Only when the spacing between components is less than the safety clearance threshold is the verification considered to have failed. If a current driving path involves multiple pairs of adjacent components, the overall verification result for this path is considered to have failed if the spacing between any pair is less than the corresponding safety clearance threshold. The overall verification result for this path is considered to have passed only when the spacing between all pairs of adjacent components is not less than their respective safety clearance thresholds.

[0037] In one specific embodiment, in step S3, if the verification fails, the current driver path is downgraded and switched, and the layer-by-layer conversion process is repeated to obtain an updated set of parameters to be written, including: If the verification fails, the current driving path is marked to obtain the failed path, and the failed path is removed from the path priority sequence according to the path priority sequence to obtain the updated path priority sequence. Extract the candidate driving path with the smallest criticality peak from the updated path priority sequence, and use it as the new current driving path; Based on the basic primitive layer components, component layer components, and model layer components traversed by the new current driving path, the set of conversion formulas is matched to obtain the conversion formula corresponding to the new current driving path. The geometric change is then input into the conversion formula to re-perform the layer-by-layer conversion process, resulting in an updated set of parameters to be written. The updated parameter group to be written is re-processed for compliance verification. If the updated path priority sequence is an empty set, a manual confirmation prompt is obtained.

[0038] Specifically, the marking process involves setting a failure flag on the record corresponding to the current driving path in the path priority sequence after a validation failure. Once the flag is set, this path, along with its previously calculated criticality peak, is no longer considered in the subsequent selection process. This path with the failure flag is then removed from the path priority sequence. The remaining paths maintain their original order based on their previously calculated criticality peak values, without needing to recalculate or reorder. This results in the updated path priority sequence. The path at the top of the updated sequence—the one with the smallest criticality peak among the remaining paths—is then designated as the new current driving path.

[0039] After determining the new current driving path, based on the specific basic element layer components, component layer components, and model layer components that this path passes through in sequence, we search for the conversion formulas corresponding to these components in the conversion formula set. The method of searching for conversion formulas here is exactly the same as the method initially used for the first current driving path, except that the search objects are changed to the components that the new current driving path passes through. After finding the corresponding conversion formulas, we substitute the same geometric change quantity generated by the initial 2D drawing editing back into this set of conversion formulas. Starting from the basic element layer components, we substitute and calculate step by step along the new current driving path towards the model layer components to calculate a set of parameters to be written for this new path. After summarizing this set of parameters, we obtain the updated set of parameters to be written. The updated set of parameters to be written is then subjected to compliance verification again, following the three steps of component spacing calculation, safety clearance threshold lookup, and numerical comparison. If the verification result still fails, the new current driving path is marked again and removed from the updated path priority sequence. This process of extracting the next path, recalculating, and re-verifying is repeated until a path passes the verification. If no path can be extracted from the path priority sequence after repeated removals, meaning the updated path priority sequence becomes an empty set, calculation is no longer attempted. Instead, a manual confirmation message is generated, containing the initial graphic element identifier, the initial geometric change value, and the component spacing and safety clearance threshold values ​​corresponding to the failure of each candidate driving path. This message is then given to the designer to check on the drawing editing interface and decide on the subsequent processing method.

[0040] In one specific embodiment, step S4 includes: According to the model layer component, component layer component, and basic primitive layer component to which each of the parameters to be written in the parameter group to be written belongs, the BIM 3D model is sequentially written layer by layer to obtain the updated BIM 3D model. The edge set is reverse-traced according to the editable graphic element identifier to obtain the set of nodes to be refreshed; Based on the three-dimensional geometric data corresponding to the set of nodes to be refreshed, the updated BIM three-dimensional model is sectioned to obtain an updated two-dimensional view. Based on the parameters to be written corresponding to the basic element layer components, the dimension annotations in the updated two-dimensional view are recalculated to obtain updated dimension annotations. The updated dimension annotations are compared with the geometric changes to obtain a consistency deviation value. If the consistency deviation value is greater than a preset consistency threshold, the current driving path is marked to obtain a failed path, and the priority sorting, layer-by-layer conversion, and layer-by-layer writing processes are re-performed based on the failed path. If the consistency deviation value is not greater than the preset consistency threshold, the 3D model update parameters are obtained.

[0041] Specifically, the layered writing process involves taking the parameters in the parameter group to be written, which have been categorized into model layer components, component layer components, and basic element layer components, and writing them into the corresponding model layer nodes in the 3D model. After that, the parameters corresponding to the component layer components are written into the corresponding component layer nodes, and finally, the parameters corresponding to the basic element layer components are written into the corresponding basic element layer nodes. The reason for writing in this top-down order is that the coordinate positions of component layer nodes and basic element layer nodes are calculated based on the coordinates of their respective model layer nodes. If the parameters of the lower-level nodes are written first and then the parameters of the higher-level nodes are written later, once the coordinates of the higher-level nodes are refreshed, the coordinates of the lower-level nodes will lose their reference and shift. After writing in this order, the updated BIM 3D model is obtained.

[0042] The reverse tracing process takes the initially captured editable graphic element identifier and goes back to the edge set of the component association graph to find the basic primitive layer node corresponding to this identifier. Starting from this node, it goes up along the edge set to find the component layer node to which it belongs, and then up to the model layer node to which this component layer node belongs. At the same time, it also finds other component layer nodes under the same model layer node as this component layer node, as well as the basic primitive layer nodes contained in each of these component layer nodes. All these found nodes are combined to form a set of nodes to be refreshed. The reason for doing this is that once the parameters of the model layer node change, the corresponding graphics of all its nested subordinate nodes in the 2D view need to be redrawn, not just the initially edited basic primitive.

[0043] The sectioning process involves taking the updated 3D coordinates and outline data of each node in the set of nodes to be refreshed, and recalculating the geometric intersection according to the pre-defined sectioning plane position. The intersection lines left by these nodes on the sectioning plane are then redrawn to form an updated 2D view. After the view is drawn, the original dimension text in this view is replaced with the recalculated values ​​according to the new parameters, based on the specific dimension values ​​recorded in the parameters to be written for the basic element layer components, to obtain the updated dimension annotations. The comparison process involves extracting the same dimension from the updated dimension annotation that corresponds to the original 2D drawing, and subtracting it from the geometric change value recorded in step two. The absolute value of the difference is taken as the consistency deviation value. If this deviation value is larger than the pre-set consistency threshold, it means that the parameters calculated by the current driving path according to the conversion formula do not match the original desired effect on the 2D drawing. At this point, the current driving path is marked as a failed path. Then, the entire process described earlier—removing failed paths from the path priority sequence, extracting the next path, re-performing layer-by-layer conversion, and re-writing layer by layer—is repeated until the consistency deviation value calculated at one point does not exceed the consistency threshold. At this point, all the parameters written into the 3D model are determined as the final 3D model update parameters.

[0044] The above describes the responsive design method of bidirectional parallel use of BIM model and 2D drawings in the embodiments of this application. The following describes the responsive design system of bidirectional parallel use of BIM model and 2D drawings in the embodiments of this application. One embodiment of the responsive design system of bidirectional parallel use of BIM model and 2D drawings in the embodiments of this application includes: The mapping module is used to perform hierarchical mapping processing on the nested components of the BIM 3D model of the substation to obtain a component association diagram with keyness coefficients. The backtracking module is used to perform path backtracking processing on the component association diagram based on the two-dimensional drawing editing events to obtain candidate driving paths; The switching module is used to prioritize the candidate driving paths based on the maximum value of the criticality coefficient, determine the current driving path, and perform layer-by-layer conversion processing on the geometric changes corresponding to the editing of the 2D drawing using the conversion formula corresponding to the current driving path to obtain the parameter group to be written; perform compliance verification processing on the parameter group to be written according to the safety clearance threshold; if the verification fails, the current driving path is downgraded and switched, and the layer-by-layer conversion processing is repeated to obtain the updated parameter group to be written. The update module is used to update the BIM 3D model according to the set of parameters to be written, and obtain the 3D model update parameters.

[0045] This invention also provides a responsive design device that allows for bidirectional parallel operation of BIM models and 2D drawings. This device can be a server. The device includes a processor, memory, display screen, input device, network interface, and database connected via a system bus. The processor, designed by the computer, provides computational and control capabilities. The memory includes a non-volatile storage medium and internal memory. The non-volatile storage medium stores an operating system, computer programs, and a database. The internal memory provides an environment for the operation of the operating system and computer programs in the non-volatile storage medium. The database stores the data corresponding to this embodiment. The network interface allows for communication with external terminals via a network connection. The computer program, when executed by the processor, implements the above-described method.

[0046] The present invention also provides a computer-readable storage medium, which can be a non-volatile computer-readable storage medium or a volatile computer-readable storage medium, wherein the computer-readable storage medium stores instructions that, when the instructions are executed on a computer, cause the computer to perform the steps of the bidirectional parallel responsive design method of the BIM model and two-dimensional drawings.

[0047] Those skilled in the art will clearly understand that, for the sake of convenience and brevity, the specific working processes of the systems and units described above can be referred to the corresponding processes in the foregoing method embodiments, and will not be repeated here.

[0048] If the integrated unit is implemented as a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art, or all or part of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a responsive design device (which can be a personal computer, server, or network device, etc.) that can perform all or part of the steps of the methods described in the various embodiments of the present invention in parallel with BIM models and 2D drawings. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.

[0049] The above embodiments are only used to illustrate the technical solutions of the present invention, and are not intended to limit it. Although the present invention has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some of the technical features. Such modifications 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.

Claims

1. A responsive design method that uses BIM models and 2D drawings in a two-way parallel manner, characterized in that, The method includes: Step S1: Perform hierarchical mapping processing on the nested components of the substation BIM 3D model to obtain a component association diagram with keyness coefficients. Step S2: Perform path backtracking processing on the component association diagram based on the two-dimensional drawing editing event to obtain candidate driving paths; Step S3: Prioritize the candidate driving paths based on the maximum value of the criticality coefficient to determine the current driving path. Then, perform a layer-by-layer conversion process on the geometric changes corresponding to the editing of the 2D drawing using the conversion formula corresponding to the current driving path to obtain the parameter group to be written. Perform compliance verification on the parameter group to be written according to the safety clearance threshold. If the verification fails, downgrade the current driving path and re-perform the layer-by-layer conversion process to obtain the updated parameter group to be written. Step S4: Update the BIM 3D model according to the set of parameters to be written to obtain the 3D model update parameters.

2. The responsive design method for bidirectional parallel use of BIM model and 2D drawings as described in claim 1, characterized in that, Step S1 includes: The nested components of the substation BIM 3D model are hierarchically divided to obtain model layer components, component layer components, and basic element layer components. Based on the nested reference relationship between the model layer components, the component layer components, and the basic primitive layer components, node connection processing is performed on the model layer components, the component layer components, and the basic primitive layer components to obtain the node set and edge set of the component association graph; Based on a pre-stored library of safety specification clauses, clause matching is performed on the component types connected to each edge in the edge set to obtain a set of criticality coefficients corresponding to the edge set. Each node in the node set is bound to its corresponding two-dimensional drawing graphic element with an identifier to obtain a node set with identifiers. Then, a graph generation process is performed based on the node set with identifiers, the edge set, and the criticality coefficient set to obtain a component association graph with criticality coefficients.

3. The responsive design method for bidirectional parallel use of BIM model and 2D drawings as described in claim 2, characterized in that, Step S2 includes: The two-dimensional drawing editing event is parsed and processed to obtain the identifier of the edited graphic element and the geometric change amount; The node set with the identifier is searched according to the edit graphic element identifier to obtain the basic primitive layer component corresponding to the edit graphic element identifier; Starting from the basic primitive layer component, a reverse tracing process is performed along the edge set to obtain all the upward tracing paths corresponding to the basic primitive layer component; Based on the nested reference relationships between the component layer members and the model layer members traversed by each path in all the upward paths, the entire upward paths are deduplicated to obtain candidate driving paths.

4. The responsive design method for bidirectional parallel use of BIM model and 2D drawings as described in claim 3, characterized in that, In step S3, the candidate driving paths are prioritized based on the maximum value of the criticality coefficient to determine the current driving path. Then, the geometric changes corresponding to the editing of the 2D drawing are converted layer by layer using the conversion formula corresponding to the current driving path to obtain the parameter group to be written, including: The set of edges traversed by each path in the candidate driving path is traversed to obtain a subset of criticality coefficients corresponding to each candidate driving path, and the maximum value is extracted from the subset of criticality coefficients to obtain the criticality peak value corresponding to each candidate driving path. The candidate driving paths are sorted in ascending order based on the criticality peak value to obtain a path priority sequence, and the candidate driving path with the smallest criticality peak value in the path priority sequence is determined as the current driving path. Based on the basic primitive layer components, component layer components, and model layer components traversed by the current driving path, a pre-calibrated set of conversion formulas is matched to obtain the conversion formula corresponding to the current driving path. The geometric change is input into the conversion formula, and the conversion process is performed layer by layer from the basic primitive layer component to the model layer component along the current driving path to obtain the parameters to be written corresponding to the basic primitive layer component, the component layer component and the model layer component. The parameters to be written are then summarized to obtain the parameter group to be written.

5. The responsive design method for bidirectional parallel use of BIM model and 2D drawings according to claim 4, characterized in that, In step S3, compliance verification processing is performed on the parameter group to be written based on the safety clearance threshold, including: Based on each of the parameters to be written in the parameter group to be written, the geometric distance between the components involved in the current driving path is calculated to obtain the component spacing; Based on the component type and voltage level corresponding to the component spacing, a lookup process is performed on the pre-stored safety clearance threshold table to obtain the safety clearance threshold corresponding to the component spacing. The component spacing is compared with the safety clearance threshold. If the component spacing is not less than the safety clearance threshold, the verification passes; if the component spacing is less than the safety clearance threshold, the verification fails.

6. The responsive design method for bidirectional parallel use of BIM model and 2D drawings according to claim 5, characterized in that, In step S3, if the verification fails, the current driver path is downgraded and switched, and the layer-by-layer conversion process is repeated to obtain the updated set of parameters to be written, including: If the verification fails, the current driving path is marked to obtain the failed path, and the failed path is removed from the path priority sequence according to the path priority sequence to obtain the updated path priority sequence. Extract the candidate driving path with the smallest criticality peak from the updated path priority sequence, and use it as the new current driving path; Based on the basic primitive layer components, component layer components, and model layer components traversed by the new current driving path, the set of conversion formulas is matched to obtain the conversion formula corresponding to the new current driving path. The geometric change is then input into the conversion formula to re-perform the layer-by-layer conversion process, resulting in an updated set of parameters to be written. The updated parameter group to be written is re-processed for compliance verification. If the updated path priority sequence is an empty set, a manual confirmation prompt is obtained.

7. The responsive design method for bidirectional parallel use of BIM model and 2D drawings as described in claim 6, characterized in that, Step S4 includes: According to the model layer component, component layer component, and basic primitive layer component to which each of the parameters to be written in the parameter group to be written belongs, the BIM 3D model is sequentially written layer by layer to obtain the updated BIM 3D model. The edge set is reverse-traced according to the editable graphic element identifier to obtain the set of nodes to be refreshed; Based on the three-dimensional geometric data corresponding to the set of nodes to be refreshed, the updated BIM three-dimensional model is sectioned to obtain an updated two-dimensional view. Based on the parameters to be written corresponding to the basic element layer components, the dimension annotations in the updated two-dimensional view are recalculated to obtain updated dimension annotations. The updated dimension annotations are compared with the geometric changes to obtain a consistency deviation value. If the consistency deviation value is greater than a preset consistency threshold, the current driving path is marked to obtain a failed path, and the priority sorting, layer-by-layer conversion, and layer-by-layer writing processes are re-performed based on the failed path. If the consistency deviation value is not greater than the preset consistency threshold, the 3D model update parameters are obtained.

8. A responsive design system that allows for bidirectional parallel operation of BIM models and 2D drawings, characterized in that, A responsive design method for implementing bidirectional parallel BIM model and 2D drawings as described in any one of claims 1-7, wherein the responsive design system for bidirectional parallel BIM model and 2D drawings comprises: The mapping module is used to perform hierarchical mapping processing on the nested components of the BIM 3D model of the substation to obtain a component association diagram with keyness coefficients. The backtracking module is used to perform path backtracking processing on the component association diagram based on the two-dimensional drawing editing events to obtain candidate driving paths; The switching module is used to prioritize the candidate driving paths based on the maximum value of the criticality coefficient, determine the current driving path, and perform layer-by-layer conversion processing on the geometric changes corresponding to the editing of the 2D drawing using the conversion formula corresponding to the current driving path to obtain the parameter group to be written; perform compliance verification processing on the parameter group to be written according to the safety clearance threshold; if the verification fails, the current driving path is downgraded and switched, and the layer-by-layer conversion processing is repeated to obtain the updated parameter group to be written. The update module is used to update the BIM 3D model according to the set of parameters to be written, and obtain the 3D model update parameters.

9. A responsive design device that allows for bidirectional parallel processing of BIM models and 2D drawings, characterized in that, It includes a memory and a processor, the memory storing a computer program that can run on the processor, and the processor executing the computer program to implement a bidirectional parallel responsive design method for BIM models and two-dimensional drawings 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 run by the processor, it causes the processor to execute a responsive design method that combines BIM models and two-dimensional drawings in parallel as described in any one of claims 1 to 7.