A linkage drawing implementation method, device and medium for building electrical design

By constructing a power distribution topology database and using a rule engine for load linkage calculation, the problems of data silos and high design costs in building electrical design have been solved, achieving efficient cross-platform drawing output and unified data support, thus improving design efficiency and accuracy.

CN121118216BActive Publication Date: 2026-04-28HEFEI LIANGZHEN CONSTR TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
HEFEI LIANGZHEN CONSTR TECH CO LTD
Filing Date
2025-09-11
Publication Date
2026-04-28

AI Technical Summary

Technical Problem

The existing building electrical design suffers from data silos. The design process relies on manual experience and lacks unified data source support, resulting in poor design coordination, time-consuming, labor-intensive, and costly processes.

Method used

A power distribution topology database is constructed, load linkage calculation is performed through a preset rule engine, a structured data set is generated, and it is mapped to different drawing display platforms to achieve cross-platform drawing output, and a parameter write-back and recalculation mechanism is provided.

Benefits of technology

It solves the problem of data silos, improves the linkage and efficiency of the design process, reduces repetitive work for designers, lowers design costs, and enables efficient cross-platform drawing output.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121118216B_ABST
    Figure CN121118216B_ABST
Patent Text Reader

Abstract

The application provides a linkage drawing implementation method and device for building electrical design and a medium, and belongs to the technical field of building design. The method comprises the following steps: constructing a power distribution topology database; wherein the power distribution topology database is used for storing power distribution node data, topology relationship data and electrical appliance and cable combination data. Based on the power distribution topology database, load linkage calculation is performed through a preset rule engine, and corresponding selection data is determined to update the power distribution topology database according to the selection data; in response to a drawing request, based on the updated power distribution topology database, a structured data set corresponding to the power distribution node is determined, and the structured data set is mapped to a preset drawing display platform to generate corresponding system drawings. When it is determined that the parameters in the system drawings are changed, the corresponding changed parameters are written back to the power distribution topology database, and the load linkage calculation is re-executed through the preset rule engine and the selection data is determined to update the power distribution topology database and the system drawings.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of architectural design technology, and in particular to a method, device and medium for realizing linked drawing output in architectural electrical design. Background Technology

[0002] In the current field of building electrical design, power distribution scheme design is a key link in realizing building functions. Most existing technologies use computer-aided design (CAD) or building information modeling (BIM) for related design.

[0003] Existing solutions generally rely on the experience of designers to complete efficient and accurate architectural electrical design drawings. However, during the drawing process, design, calculation, and drawing tools operate independently, resulting in significant data silos. Furthermore, existing tools are typically limited to a single platform, making them restrictive and unable to achieve bidirectional output from a unified database. In addition, the lack of a unified data source to support the entire drawing process leads to poor coordination and a failure to provide consistent and accurate data support. Moreover, modifications to drawings by designers are difficult to implement globally, making the design process time-consuming, labor-intensive, and significantly increasing design costs. Summary of the Invention

[0004] This application provides a method, device, and medium for linking drawings in building electrical design, which addresses the technical problems of excessive reliance on manual experience, serious data silos, lack of unified data source support, poor design linkage performance, and high design costs in current building electrical design drawings.

[0005] In a first aspect, embodiments of this application provide a method for implementing linked drawing output in building electrical design, the method comprising:

[0006] Construct a power distribution topology database; wherein, the power distribution topology database is used to store power distribution node data, topology relationship data, and electrical appliance and cable combination data;

[0007] Based on the power distribution topology database, load linkage calculations are performed through a preset rule engine to determine the corresponding selection data, and the power distribution topology database is updated according to the selection data.

[0008] In response to the drawing request, based on the updated power distribution topology database, a structured data set corresponding to the power distribution node is determined, and the structured data set is mapped to a preset drawing display platform to generate the corresponding system drawings; wherein, the preset drawing display platform includes one or more of the following: CAD platform, BIM platform;

[0009] When it is determined that the parameters in the system drawing have changed, the corresponding changed parameters are written back to the power distribution topology database, and the load linkage calculation is re-executed through the preset rule engine to determine the selection data, so as to update the power distribution topology database and the system drawing.

[0010] In one implementation of this application, load linkage calculations are performed based on the power distribution topology database using a preset rule engine to determine the corresponding selection data, specifically including:

[0011] Based on the upstream and downstream relationships of nodes in the power distribution topology database, the linkage calculation power corresponding to the current node that is upstream of the downstream node is calculated using the load data of the downstream nodes in the power distribution nodes; wherein, the load data includes at least the load power and the demand factor;

[0012] Calculate the linkage calculation current corresponding to the current node based on the linkage calculation power, number of AC phases, voltage, and preset power factor;

[0013] Based on the linkage calculation current, the corresponding specification identifier of the electrical appliance and cable combination is obtained from the electrical appliance and cable combination data in the power distribution topology database, and the specification identifier is added to the selection data of the current node.

[0014] In one implementation of this application, determining the structured data set corresponding to the distribution node based on the updated distribution topology database specifically includes:

[0015] Based on the target project identifier in the drawing request, determine one or more corresponding target distribution nodes from the distribution topology database;

[0016] The structured data set is generated based on the JSON data fields of each target distribution node; the structured data set includes the JSON data fields corresponding to different design attributes of the distribution node.

[0017] In one implementation of this application, the structured data set is mapped to a preset drawing display platform to generate corresponding system drawings, specifically including:

[0018] The preset drawing display platform is determined based on the target drawing type in the drawing request;

[0019] Based on a preset mapping rule library, determine the style configuration information corresponding to each JSON data field in the structured data set;

[0020] Based on the preset drawing display platform and the style configuration information, the elements in the structured data set are converted into mapping elements of the preset drawing display platform, and the mapping elements are arranged according to the preset drawing layout rules to generate the system drawing.

[0021] In one implementation of this application, when it is determined that the parameters in the system drawing have changed, the corresponding changed parameters are written back to the power distribution topology database, specifically including:

[0022] Based on the parameter modification event from the monitoring plugin, the corresponding modified parameters are determined; wherein, the monitoring plugin is pre-deployed on the preset drawing display platform;

[0023] Based on the mapping primitives corresponding to the changed parameters, the corresponding JSON structure data file in the distribution topology database is matched to write the changed parameters into the matched JSON structure data file, thereby completing the write-back of the changed parameters to the distribution topology database.

[0024] In one implementation of this application, the method further includes:

[0025] When it is determined that the power distribution topology database has been updated, an update drawing request is generated to regenerate the system drawings.

[0026] In one implementation of this application, the method further includes:

[0027] Based on the visual operation from the user terminal, and according to the power distribution topology database and the system drawings, the operation is displayed in the visualization display area corresponding to the visual operation; wherein, the visualization display area includes one or more of the following: unconnected power distribution node display area, power distribution node information display area, power distribution node add function area, and topology relationship display area.

[0028] In one implementation of this application, constructing a power distribution topology database specifically includes:

[0029] The power distribution node data is stored in JSON format; wherein the power distribution node data includes at least the following design attribute parameter information: enclosure information, calculation information, incoming circuit information, and outgoing circuit information;

[0030] The topology data is stored in the power distribution topology database in the form of a graph structure;

[0031] The electrical appliance and cable combination data is stored in master data format, and a foreign key association relationship is established between the power distribution node JSON file and the electrical appliance and cable combination data based on the preset unique identifier corresponding to the electrical appliance and cable combination data.

[0032] Secondly, embodiments of this application also provide a device for linking and generating drawings for building electrical design, the device comprising:

[0033] At least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores instructions executable by the at least one processor, the instructions being executed by the at least one processor to enable the at least one processor to perform the aforementioned method for implementing linked drawing output for building electrical design.

[0034] Thirdly, this application also provides a non-volatile computer storage medium storing computer-executable instructions, which are capable of executing the above-described method for implementing linked drawing for building electrical design.

[0035] Compared with the prior art, the significant advantages of this application are as follows:

[0036] Through the above-described scheme, this application constructs a power distribution topology database, centralizing data from the entire design process into a single data source. This effectively solves the data silo problem, increases the interconnectivity of the design process, and provides unified data support. A rule engine enables linked calculations and selection, freeing up manpower, reducing repetitive work for designers, and improving design efficiency and accuracy. By mapping data to different platforms, efficient cross-platform drawing generation is achieved. Furthermore, this application provides a parameter write-back and recalculation mechanism, enabling timely responses to changes and rapid drawing updates, effectively improving the drawing generation efficiency of building electrical design and saving costs. Attached Figure Description

[0037] The accompanying drawings, which are included to provide a further understanding of this application and form part of this application, illustrate exemplary embodiments of this application and are used to explain this application, but do not constitute an undue limitation of this application. In the drawings:

[0038] Figure 1 This is a flowchart illustrating a method for implementing linked drawing output in building electrical design, as described in this application.

[0039] Figure 2 This is a schematic diagram of the interface of the power distribution node display area in the embodiments of this application;

[0040] Figure 3 This is a schematic diagram of a device for realizing the linkage drawing of building electrical design in an embodiment of this application. Detailed Implementation

[0041] To make the objectives, technical solutions, and advantages of this application clearer, the technical solutions of this application will be clearly and completely described below in conjunction with specific embodiments and corresponding drawings. Obviously, the described embodiments are only a part of the embodiments of this application, and not all of them. Based on the embodiments in this application, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application.

[0042] Current architectural electrical design drawing solutions generally rely on the experience of designers to achieve efficient and accurate drawing production. However, the drawing process is characterized by independent design, calculation, and drawing tools, resulting in significant data silos. Furthermore, existing tools are typically limited to a single platform, making bidirectional output from a single database impossible. In addition, the lack of a unified data source to support the entire drawing process leads to poor coordination and a failure to provide consistent and accurate data support. Moreover, modifications to drawings by designers are difficult to implement globally, making the design process time-consuming, labor-intensive, and significantly increasing design costs.

[0043] Based on this, the embodiments of this application provide a method, device and medium for realizing linked drawing of building electrical design, which can solve the technical problems of excessive reliance on manual experience in building electrical design drawing, serious data silo problem, lack of unified data source support, poor design linkage performance and high design cost.

[0044] The various embodiments of this application are described in detail below with reference to the accompanying drawings.

[0045] This application provides a method for implementing linked drawing output in building electrical design, such as... Figure 1 As shown, the method may include steps S101-S104:

[0046] S101, Construct a power distribution topology database. This database stores power distribution node data, topology relationship data, and data on combinations of electrical appliances and cables.

[0047] In this embodiment of the application, the above-mentioned construction of the power distribution topology database specifically includes:

[0048] Distribution node data is stored in JavaScript Object Notation (JSON) format. This data includes at least the following design attribute parameters: enclosure information, calculation information, incoming circuit information, and outgoing circuit information. Topology data is stored in a graph structure in the distribution topology database. Electrical appliance and cable combination data is stored as master data, and a foreign key relationship is established between the distribution node JSON file and the electrical appliance and cable combination data based on a pre-defined unique identifier corresponding to each combination.

[0049] In other words, this application stores power distribution node data in JSON format, including at least enclosure information, calculation information, incoming circuit information, and outgoing circuit information, and may also include additional identifiers, depending on the actual application scenario, which are not specifically limited here. Power distribution topology data is stored in a graph structure, which can be a relational table. Electrical appliance combinations and cable combinations are stored in master data format with foreign key associations. The foreign key association can be understood as follows: the model numbers and combination relationships of standard devices such as circuit breakers and cables are stored in a separate master database directory in master data format. Each combination corresponds to a separate JSON definition file, which contains a preset unique identifier used to reference the corresponding device combination. This unique identifier is stored in the JSON file of the power distribution node, thus establishing the foreign key association relationship.

[0050] The aforementioned topological relationship data can include triples corresponding to nodes, edges, and attributes. Node types include: municipal access points, switch rooms, substations, power rooms, distribution rooms, distribution boxes, switches, circuit breakers, cables, busbars, etc.; edge types include: upstream and downstream feeder relationships, protection coordination relationships, laying paths, etc.; attributes include: rated capacity, calculated current, short-circuit current, voltage drop, setting value, model specifications, two-dimensional / three-dimensional coordinates, etc.

[0051] This application uses a graph database (Neo4j) to manage the topology, with external JSON attributes. This hybrid architecture facilitates complex searches and topology traversal. An example is shown below:

[0052] / project_root / project metadata

[0053] ├─ nodes / Each node has a *.node.json file

[0054] ├─ edges / Each relationship has its own *.edge.json file (or they can be merged into edges.json)

[0055] ├─ Assemblies / Electrical Appliances / Cable Assembly Master Data: Versionable

[0056] ├─ rules / Calculation and selection rules

[0057] ├─ styles / System diagram style mapping

[0058] └─ calc_runs / Calculate snapshots and backtracking

[0059] For a power distribution node, it can be understood as a virtual object of power distribution equipment. The power distribution node data contains parameter information of multiple predefined design attributes, such as enclosure information, calculation information, incoming circuit information, and outgoing circuit information. The power distribution node data can also store platform mappings to adapt to different drawing platforms such as CAD and Revit in BIM.

[0060] It should be noted that the executing entity of this application can be a server. However, the server as the executing entity of the linkage drawing implementation method for building electrical design is only an example. The executing entity is not limited to a server. The executing entity can also be an electronic device running the software corresponding to the linkage drawing implementation method for building electrical design of this application, such as a user's computer. This application does not make any specific limitations in this regard.

[0061] S102, based on the distribution topology database, performs load linkage calculations through a preset rule engine and determines the corresponding selection data, so as to update the distribution topology database according to the selection data.

[0062] In this embodiment of the application, load linkage calculations are performed based on a power distribution topology database using a preset rule engine, and corresponding selection data is determined, specifically including:

[0063] Based on the upstream and downstream relationships of nodes in the distribution topology database, the linkage calculation power corresponding to the current node (which is upstream of the downstream node) is calculated using the load data of the downstream nodes in the distribution network. The load data includes at least the load power and demand factor. Based on the linkage calculation power, the number of AC phases, voltage, and preset power factor, the linkage calculation current corresponding to the current node is calculated. Based on the linkage calculation current, the corresponding specification identifiers of electrical appliances and cables are matched from the electrical appliance and cable combination data in the distribution topology database and added to the selection data of the current node.

[0064] In other words, this application can resolve the upstream and downstream relationships in a power distribution node and prioritize calculating the power of its upstream nodes, starting from the downstream node. The formula for calculating the power in a linkage calculation is Pjs=Kx·Pe (kW), where Pjs represents the linkage calculation power, Kx represents the demand factor, Pe represents the load power, and (kW) represents the power unit in kilowatts. When calculating the linkage calculation current, different formulas are used depending on the number of AC phases; for example, for three-phase AC, the formula is Ijs=Pjs / 0.38 Cosφ (A), where Ijs represents the linkage calculation current, Cosφ represents the preset power factor cosine value of the power grid or power supply, and (A) represents the current unit in amperes; for single-phase, the formula is Ijs=Pjs / 0.22·Cosφ (A). After obtaining the linkage calculation current of the current node, selection and matching can be performed from the distribution topology database. If necessary, the selection process relies not only on the linkage calculation current, but also on other auxiliary parameters that can be input by the user or obtained in advance. Taking the distribution box as an example, other parameters such as the number of circuits, rated current and busbar capacity, protection level, etc., are set according to the actual usage scenario and are not specifically limited here. During matching, the matching result is the specification identifier of the electrical appliance combination or cable combination.

[0065] In addition, after obtaining the linkage calculation power and linkage calculation current, this application can also verify the parameters of the corresponding power distribution nodes, such as verifying the segment capacity and conductor current carrying capacity, and further select electrical appliances and cable combinations.

[0066] It should be noted that the load linkage calculation and selection data determination must be carried out in accordance with the relevant standards and specifications in electrical design. That is, this application has a standard and specification review tool. Selections that do not comply with the standards and specifications cannot be used for drawing design.

[0067] S103, in response to the drawing request, determines the structured data set corresponding to the distribution node based on the updated distribution topology database, and maps the structured data set to the preset drawing display platform to generate the corresponding system drawing.

[0068] The preset drawing display platform includes one or more of the following: CAD platform and BIM platform.

[0069] The drawing generation request can be triggered by the user terminal or by a pre-set timed trigger; no specific limitation is made here. The drawing generation request includes the target project identifier and the target drawing type, indicating the generation of system drawings. The target project identifier can be used to locate the root directory for the project's topology data storage, and may also include drawing scope rules, such as drawing by floor or drawing by power distribution level.

[0070] In this embodiment of the application, based on the updated distribution topology database, a structured data set corresponding to the distribution node is determined, specifically including:

[0071] Based on the target project identifier in the drawing request, determine one or more target distribution nodes from the distribution topology database. Generate a structured dataset based on the JSON data fields of each target distribution node. The structured dataset includes the JSON data fields corresponding to the different design attributes of the distribution node.

[0072] In other words, this application can match target distribution nodes using target project identifiers. Each distribution node in the distribution topology database has a corresponding relationship with different project identifiers. The JSON data fields of the target distribution nodes are extracted to construct a structured data set. Taking the parameter information corresponding to the enclosure information as an example, the JSON data fields are shown in Table 1 below:

[0073] Table 1 JSON Data Fields Table

[0074]

[0075] Furthermore, the structured data set is mapped to a preset drawing display platform to generate corresponding system drawings, specifically including:

[0076] Based on the target drawing type in the drawing request, a preset drawing display platform is determined. Based on a preset mapping rule library, the style configuration information corresponding to each JSON data field in the structured data set is determined. According to the preset drawing display platform and style configuration information, the elements in the structured data set are converted into mapped graphic elements of the preset drawing display platform, and the mapped graphic elements are arranged according to preset drawing layout rules to generate system drawings.

[0077] Specifically, the platform used for drawing output can be determined by the target drawing type. A preset mapping rule library is used to map the JSON data fields to obtain the style configuration information for the corresponding platform. Subsequently, the style configuration information is used to convert elements in the structured data set into mapped graphic elements on the preset drawing display platform. Furthermore, preset drawing layout rules are used to arrange the mapped graphic elements and output the system drawing. This application can implement the above process using a preset rendering adaptation and drawing output module. The preset mapping rule library contains the correspondence between JSON data fields and style configuration information. For example, the style configuration information corresponding to the JSON data fields may differ depending on the display platform; for example, CAD style configuration information includes block, layer, line type, and text style configuration information, while BIM style configuration information includes family, type, shared parameters, and view template information. After the mapped graphic elements are obtained according to the style configuration information, the preset drawing layout rules execute automatic layout. The preset drawing layout rules include spacing rules, alignment rules, scale and title block, avoidance rules, etc., to achieve automatic layout and arrangement of graphic elements. System drawings may include, but are not limited to: trunk system diagram, electrical diagram of distribution box, bill of materials (BOM) and load table.

[0078] If the preset drawing display platform is a CAD platform, the structured data is mapped to specific blocks, layers, and text annotations. The enclosure information is mapped to block instances, the calculated current and cable type are mapped to attribute text, and the topology is mapped to connecting lines with line types. If the preset drawing display platform is a BIM platform, the structured data is mapped to family instances, shared parameters, and drawing views. The enclosure information and installation method are used to locate and instantiate specific family types. The electrical parameters are written into the shared parameters of the family instances, and the topology is used to generate cable trays or conduit systems in the BIM.

[0079] In addition, this application can also output the generated system drawings in the standard file format of the drawing display platform; and write back the generated drawing file path and version information to the corresponding node in the power distribution topology database to establish a version association between the drawings and data nodes.

[0080] S104 When it is determined that the parameters in the system drawing have changed, the corresponding changed parameters are written back to the distribution topology database, and the load linkage calculation is re-executed through the preset rule engine to determine the selection data, so as to update the distribution topology database and system drawing.

[0081] In this embodiment of the application, when it is determined that the parameters in the system drawing have changed, the corresponding changed parameters are written back to the power distribution topology database, specifically including:

[0082] Based on parameter modification events from the monitoring plugin, the corresponding modified parameters are determined. The monitoring plugin is pre-deployed on a preset drawing display platform. Based on the mapped elements corresponding to the modified parameters, the appropriate JSON structure data file in the distribution topology database is matched to write the modified parameters into the matched JSON structure data file, thus completing the write-back of the modified parameters to the distribution topology database.

[0083] In other words, this application may include a parameter backfeeding and recalculation module to perform the above step S104. Specifically, a listening plugin is pre-deployed on a preset drawing display platform to listen for parameter modification events corresponding to parameter changes. Once the parameter modification event is captured, the changed parameter is determined, and the mapped primitive is obtained through a query of the corresponding relationship. Subsequently, the changed parameter is further synchronized to a JSON structured data file in the database, completing the parameter backfeeding.

[0084] For example, changes in terminal load (such as unit type adjustments and equipment power updates) are written back to the database in real time; the system automatically summarizes the total load of the distribution boxes and the main distribution box to form a hierarchical summary; the feedback methods include single-node updates, batch imports, and synchronization with external model interfaces (such as Revit and CAD plugin data).

[0085] Accordingly, when the server determines that the power distribution topology database has been updated, it generates an update drawing request to regenerate the system drawings.

[0086] That is, when the power distribution topology database is updated, if the updated parameters have been used to generate system drawings before the update, an update drawing request is generated to update the original system drawings.

[0087] This application can re-execute load linkage calculations and determine selection data through a preset rule engine to update the power distribution topology database and system drawings. It can also re-execute electrical calculations, update equipment and cable selections, synchronize topology relationships, and update linked drawings and documents.

[0088] Specifically, the electrical calculation recalculation includes: power calculation: recalculating active power, reactive power, and apparent power based on the reinjection load; current calculation: automatically deriving the circuit current based on the power and voltage level; voltage drop calculation: recalculating voltage loss based on line length, cable cross-section, current, and power factor to ensure compliance with specification limits; and short-circuit current calculation: automatically updating the line short-circuit current value for use in switch settings and protection verification.

[0089] Equipment and cable selection updates include: Switch selection: Automatically filtering suitable switch models from the database based on the latest current, voltage levels, and breaking capacity requirements; Cable selection: Recalculating and matching compliant cross-sectional specifications based on current, allowable current carrying capacity, voltage drop, and economic current density; Distribution box capacity and model: Dynamically adjusting the distribution box capacity configuration based on the latest power and number of circuits.

[0090] Synchronization of topology relationships includes: parameters after reinjection are passed level by level through the topology table to achieve full-link updates from main box to sub-box to terminal circuit; if the topology structure changes (such as adding or removing floors, or adding nodes), the system will automatically correct the hierarchical relationship to ensure the integrity of the electrical calculation path.

[0091] The linked drawing and document update includes: after the recharge and recalculation are completed, the system can synchronously update the trunk system diagram, distribution box electrical diagram, bill of materials (BOM) and load table; realizing automatic consistency maintenance of design drawings, calculation sheets and equipment lists.

[0092] Furthermore, this application also includes a power distribution scheme visualization module to visualize the topology and data of the power distribution scheme during the building electrical design process. Specifically, it includes:

[0093] Based on visual operations from user terminals, and according to the power distribution topology database and system drawings, the operations are displayed in the corresponding visualization display area. This visualization display area includes one or more of the following: an area displaying unconnected power distribution nodes, a power distribution node information display area, an area for adding functions to power distribution nodes, and a topology relationship display area.

[0094] Among them, the display area of ​​unconnected power distribution nodes, such as Figure 2 As shown, clicking "Read All" performs a search on the distribution box instances in the project, comparing them with the data table to check if they are isolated distribution boxes. All distribution boxes in the model that are not connected (isolated) are displayed here (showing their cabinet number and type), and the corresponding information for these boxes is recorded in the distribution connection table. In terms of interaction, an unconnected distribution box can be treated as a node and dragged into the distribution connection tree to establish a relationship.

[0095] In the distribution node information display area, when a user clicks on a distribution box, the corresponding information for that distribution box is displayed, with parameter values ​​all being data from the distribution node itself. Information rows for distribution boxes that cannot be modified are displayed with a gray background, while those that can be modified are displayed with a white background. For modifiable items (box number, box name, and power of the final box), users can double-click the parameter item to update it. The data table is updated synchronously, and the corresponding model (if the instance already exists) is also updated accordingly.

[0096] The distribution node addition function area allows manual selection of distribution nodes. These nodes and related data are then added to the topology display area, enabling manual updates of the entire distribution data. Manual addition requires initial parameter settings for the distribution node, including cabinet number, cabinet name, and power. Nodes can be directly linked to the entire distribution topology diagram via drag-and-drop.

[0097] The topology display area uses a mind map (or knowledge graph) similar format. Each parent node can be expanded or collapsed (similar to the collapse of nodes in a mind map). A "Expand All" button is provided in the interface to expand all child nodes of the power distribution system. For a pair of main and backup power supply boxes, the child nodes should be expanded or collapsed simultaneously. The top of the power distribution box displays the box number and power rating. When there is insufficient space, it can be displayed on the upper right or lower right side. Priority: top right > upper left. Different colors are used to distinguish nodes that have not yet been generated (not yet deployed). Power distribution nodes are arranged hierarchically. Low-voltage cabinets (feeder cabinets) are level one, main boxes are level two (when a power distribution box's parent node is a low-voltage cabinet, or it has no parent node, it is considered level two), and other levels follow accordingly. The power distribution connection tree is arranged from the root to the branches, starting from the first level and proceeding upwards.

[0098] Through the above-described scheme, this application constructs a power distribution topology database, centralizing data from the entire design process into a single data source. This effectively solves the data silo problem, increases the interconnectivity of the design process, and provides unified data support. A rule engine enables linked calculations and selection, freeing up manpower, reducing repetitive work for designers, and improving design efficiency and accuracy. By mapping data to different platforms, efficient cross-platform drawing generation is achieved. Furthermore, this application provides a parameter write-back and recalculation mechanism, enabling timely responses to changes and rapid drawing updates, effectively improving the drawing generation efficiency of building electrical design and saving costs.

[0099] Figure 3 A structural schematic diagram of a linkage drawing realization device for building electrical design provided in this application embodiment is shown below. Figure 3 As shown, the device includes:

[0100] At least one processor; and a memory communicatively connected to the at least one processor. The memory stores instructions executable by the at least one processor, which, when executed by the at least one processor, enable the at least one processor to:

[0101] A power distribution topology database is constructed. This database stores data on power distribution nodes, topological relationships, and combinations of electrical appliances and cables. Based on this database, a pre-defined rule engine performs load linkage calculations and determines corresponding selection data, which is then used to update the database. In response to a drawing request, based on the updated database, a structured data set corresponding to each power distribution node is determined and mapped to a pre-defined drawing display platform to generate the corresponding system drawings. This platform may include one or more of the following: a CAD platform or a BIM platform. When parameter changes are detected in the system drawings, the corresponding changes are written back to the power distribution topology database. The pre-defined rule engine then re-executes the load linkage calculations and determines the selection data to update both the database and the system drawings.

[0102] This application embodiment also provides a non-volatile computer storage medium storing computer-executable instructions, wherein the computer-executable instructions are configured as follows:

[0103] A power distribution topology database is constructed. This database stores data on power distribution nodes, topological relationships, and combinations of electrical appliances and cables. Based on this database, a pre-defined rule engine performs load linkage calculations and determines corresponding selection data, which is then used to update the database. In response to a drawing request, based on the updated database, a structured data set corresponding to each power distribution node is determined and mapped to a pre-defined drawing display platform to generate the corresponding system drawings. This platform may include one or more of the following: a CAD platform or a BIM platform. When parameter changes are detected in the system drawings, the corresponding changes are written back to the power distribution topology database. The pre-defined rule engine then re-executes the load linkage calculations and determines the selection data to update both the database and the system drawings.

[0104] The various embodiments in this application are described in a progressive manner. Similar or identical parts between embodiments can be referred to mutually. Each embodiment focuses on describing the differences from other embodiments. In particular, the device and medium embodiments are basically similar to the method embodiments, so the description is relatively simple; relevant parts can be referred to the description of the method embodiments.

[0105] The devices and media provided in this application are one-to-one with the methods. Therefore, the devices and media also have similar beneficial technical effects as their corresponding methods. Since the beneficial technical effects of the methods have been described in detail above, the beneficial technical effects of the devices and media will not be repeated here.

[0106] It should also be noted that the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes said element.

[0107] The above description is merely an embodiment of this application and is not intended to limit this application. Various modifications and variations can be made to this application by those skilled in the art. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principle of this application should be included within the scope of the claims of this application.

Claims

1. A method for implementing linked drawing output in building electrical design, characterized in that, The method includes: Construct a power distribution topology database; wherein, the power distribution topology database is used to store power distribution node data, topology relationship data, and electrical appliance and cable combination data; Based on the power distribution topology database, load linkage calculations are performed through a preset rule engine to determine the corresponding selection data, and the power distribution topology database is updated according to the selection data. In response to the drawing request, based on the updated power distribution topology database, a structured data set corresponding to the power distribution node is determined, and the structured data set is mapped to a preset drawing display platform to generate the corresponding system drawings; wherein, the preset drawing display platform includes one or more of the following: CAD platform, BIM platform; When it is determined that the parameters in the system drawing have changed, the corresponding changed parameters are written back to the power distribution topology database, and the load linkage calculation is re-executed through the preset rule engine to determine the selection data, so as to update the power distribution topology database and the system drawing.

2. The method for implementing linked drawing output in building electrical design according to claim 1, characterized in that, Based on the aforementioned power distribution topology database, load linkage calculations are performed using a preset rule engine to determine the corresponding selection data, specifically including: Based on the upstream and downstream relationships of nodes in the power distribution topology database, the linkage calculation power corresponding to the current node that is upstream of the downstream node is calculated using the load data of the downstream nodes in the power distribution nodes; wherein, the load data includes at least the load power and the demand factor; Calculate the linkage calculation current corresponding to the current node based on the linkage calculation power, number of AC phases, voltage, and preset power factor; Based on the linkage calculation current, the corresponding specification identifier of the electrical appliance and cable combination is obtained from the electrical appliance and cable combination data in the power distribution topology database, and the specification identifier is added to the selection data of the current node.

3. The method for implementing linked drawing output for building electrical design according to claim 1, characterized in that, Based on the updated distribution topology database, a set of structured data corresponding to each distribution node is determined, specifically including: Based on the target project identifier in the drawing request, determine one or more corresponding target distribution nodes from the distribution topology database; The structured data set is generated based on the JSON data fields of each target distribution node; the structured data set includes the JSON data fields corresponding to different design attributes of the distribution node.

4. The method for implementing linked drawing output in building electrical design according to claim 3, characterized in that, Mapping the structured data set to a preset drawing display platform to generate corresponding system drawings specifically includes: The preset drawing display platform is determined based on the target drawing type in the drawing request; Based on a preset mapping rule library, determine the style configuration information corresponding to each JSON data field in the structured data set; Based on the preset drawing display platform and the style configuration information, the elements in the structured data set are converted into mapping elements of the preset drawing display platform, and the mapping elements are arranged according to the preset drawing layout rules to generate the system drawing.

5. The method for implementing linked drawing output for building electrical design according to claim 4, characterized in that, When it is determined that the parameters in the system drawings have changed, the corresponding changed parameters are written back to the power distribution topology database, specifically including: Based on the parameter modification event from the monitoring plugin, the corresponding modified parameters are determined; wherein, the monitoring plugin is pre-deployed on the preset drawing display platform; Based on the mapping primitives corresponding to the changed parameters, the corresponding JSON structure data file in the distribution topology database is matched to write the changed parameters into the matched JSON structure data file, thereby completing the write-back of the changed parameters to the distribution topology database.

6. The method for implementing linked drawing output for building electrical design according to claim 5, characterized in that, The method further includes: When it is determined that the power distribution topology database has been updated, an update drawing request is generated to regenerate the system drawings.

7. The method for implementing linked drawing output for building electrical design according to claim 1, characterized in that, The method further includes: Based on the visual operation from the user terminal, and according to the power distribution topology database and the system drawings, the operation is displayed in the visualization display area corresponding to the visual operation; wherein, the visualization display area includes one or more of the following: unconnected power distribution node display area, power distribution node information display area, power distribution node add function area, and topology relationship display area.

8. The method for implementing linked drawing output in building electrical design according to claim 1, characterized in that, Constructing a power distribution topology database specifically includes: The power distribution node data is stored in JSON format; wherein the power distribution node data includes at least the following design attribute parameter information: enclosure information, calculation information, incoming circuit information, and outgoing circuit information; The topology data is stored in the power distribution topology database in the form of a graph structure; The electrical appliance and cable combination data is stored in master data format, and a foreign key association relationship is established between the power distribution node JSON file and the electrical appliance and cable combination data based on the preset unique identifier corresponding to the electrical appliance and cable combination data.

9. A device for linking and generating drawings for building electrical design, characterized in that, The device includes: At least one processor; and, A memory communicatively connected to the at least one processor; wherein, The memory stores instructions that can be executed by the at least one processor, which, when executed by the at least one processor, enables the at least one processor to perform the linked drawing implementation method for building electrical design as described in any one of claims 1-8.

10. A non-volatile computer storage medium storing computer-executable instructions, characterized in that, The computer-executable instructions are capable of executing the linkage drawing implementation method for building electrical design as described in any one of claims 1-8.

Citation Information

Patent Citations

  • Topological diagram drawing method and device

    CN112615743A

  • Digital twin substation spatial layout method fusing multi-dimensional semantic information

    CN116384020A