BIM-based method, device and medium for generating a residential power trunk system diagram
By using BIM-based intelligent segmentation algorithms and compliance verification, a residential power trunk system diagram is generated, solving the problem of existing building electrical design relying on manual labor, realizing automated and intelligent electrical design, and improving design efficiency and quality.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2025-09-12
- Publication Date
- 2026-04-17
AI Technical Summary
The existing building electrical design process relies too heavily on manual experience, has a low degree of automation, cannot guarantee design quality, involves a lot of repetitive work, and has low design efficiency, making it unable to meet the needs of rapid iteration and high intelligence in modern building design.
A BIM-based method for generating residential power trunk line system diagrams is adopted. Input information is obtained by parsing a preset BIM model, and the segmentation information of the power trunk line is determined by an intelligent segmentation algorithm. The power distribution system diagram is generated, including the segmented layout of meter boxes and main distribution boxes. Compliance verification and three-phase balance verification are performed to achieve automated and intelligent design.
It has achieved automation and intelligence in building electrical design, reduced manual intervention, improved design efficiency, and generated more reasonable segmentation schemes for meter boxes and main distribution boxes, adapting to the rapid iteration needs of modern building design.
Smart Images

Figure CN121211634B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of building electrical design technology, and in particular to a method, device and medium for generating BIM-based residential power trunk system diagrams. Background Technology
[0002] In the current building electrical design process, the design of the vertical trunk system diagram (also known as the "trunk system diagram") for residential towers is a crucial step in ensuring the safety and reliability of residential power supply. Currently, the design process mainly relies on electrical engineers to complete it manually, specifically through the following steps:
[0003] Electrical engineers first manually divide the power supply range of the meter boxes according to the "Standard for Electrical Design of Civil Buildings" and "Code for Design of Low-Voltage Power Distribution" based on the number of floors, households, and load density. Then, in a computer-aided design (CAD) or building information modeling (BIM) platform such as Revit, they draw the vertical power supply relationship from the main distribution box to the meter box to the terminal circuit layer by layer in a "main line-branch line" fishbone single-line diagram. They also manually label information such as cable specifications, protection settings, and circuit numbers. The above process is repeated when the building plan is adjusted (such as adding or removing floors or changing the unit type).
[0004] Currently, existing electrical design processes rely excessively on human experience, resulting in compromised design quality, excessive repetitive work, and low design efficiency. Furthermore, the current design processes have a low level of automation; tools such as CAD and Revit only provide drawing functions and cannot intelligently intervene in the design process to offer corresponding assistance. Summary of the Invention
[0005] This application provides a BIM-based method, device, and medium for generating residential power trunk system diagrams, which addresses the technical problems of current building electrical design relying excessively on manual intervention, having low automation and design efficiency, and being unable to meet the needs of rapid iteration and high intelligence in modern building design.
[0006] On the one hand, embodiments of this application provide a method for generating a BIM-based residential power trunk system diagram, the method comprising:
[0007] The pre-set BIM model of the residential tower is analyzed to obtain the corresponding first input information, and the electrical parameter configuration information from the user terminal is used as the second input information; wherein, the first input information includes at least floor information, unit distribution information and calculated load for each unit;
[0008] Based on the first input information and the second input information, the segment information of the power supply trunk line corresponding to the residential tower is determined by a preset intelligent segmentation algorithm; wherein, the segment information of the power supply trunk line includes at least the first segment layout information and the second segment layout information; the first segment layout information includes the number of meter boxes, their installation location and the set of households covered, and the second segment layout information includes at least the set of meter boxes covered by a single segment of cable of the main distribution box;
[0009] Based on the segmentation information of the power supply trunk line, a power distribution system diagram of the power supply trunk line of the residential tower is generated, and the power distribution system diagram is sent to the user terminal.
[0010] In one implementation of this application, based on the first input information and the second input information, a preset intelligent segmentation algorithm is used to determine the power supply trunk line segmentation information corresponding to the residential tower, specifically including:
[0011] According to the preset grouping rules and the number of residents in the floor information, the corresponding floor groups are determined in the preset floor order; wherein, one floor group corresponds to one meter box, and the total number of residents in each floor group is less than the threshold for the number of households allowed in a single meter box in the second input information; one floor group corresponds to one or more floors;
[0012] Each of the aforementioned floors is grouped as the first segment layout information and added to the power supply trunk line segment information.
[0013] In one implementation of this application, the feature is that, based on the first input information and the second input information, a preset intelligent segmentation algorithm is used to determine the segmentation information of the power supply trunk line corresponding to the residential tower, specifically including:
[0014] Based on the first input information, the second input information, and preset constraints, the floor division of the main distribution box is determined with the number of cable segments and the load variance of each cable segment as optimization objectives.
[0015] Based on the segmented floors, determine the set of meter boxes covered by the single cable segment corresponding to each segment, generate the second segment layout information, and add the power supply trunk line segment information.
[0016] In one implementation of this application, before generating the power distribution system diagram of the residential tower's power supply trunk line, the method further includes:
[0017] Based on preset compliance verification rules, the compliance verification of the power supply trunk line segment information is performed; wherein, the compliance verification includes one or more of the following: three-phase imbalance verification, incoming switch setting current verification, and cable specification and switch matching verification.
[0018] If the verification fails, an alarm message is generated and sent to the user terminal.
[0019] In one implementation of this application, the method further includes:
[0020] The calculated load of each household in the same household set is distributed to three phases;
[0021] Based on the three-phase power values corresponding to the allocation results, the three-phase imbalance of the corresponding meter box is checked.
[0022] In one implementation of this application, the computational load of each household in the same household set is distributed to three phases, specifically including:
[0023] The calculated load of each household is divided into three groups, and corresponding ternary sets are generated; the ternary sets include several ternary sets that are three-phase permutations and combinations of the calculated load of each household.
[0024] By exhaustive search, the set of triples is traversed to select triples that meet the preset screening criteria as the allocation result; wherein, the preset screening criteria is that the maximum value of the computing load of each household in the triple is less than the maximum value of the computing load of each household in any other triple.
[0025] In one implementation of this application, after generating the power distribution system diagram of the residential tower's power supply trunk line, the method further includes:
[0026] Determine the building configuration corresponding to the power distribution system diagram; the building configuration shall include at least the number of floors, the number of households per floor, and the calculated load per household;
[0027] The building configurations of each building are matched to identify building groups with the same configuration;
[0028] In response to the modification operation of the power supply trunk line segment information of the target building, the modified power supply trunk line segment information is synchronized to other buildings in the corresponding building group.
[0029] In one implementation of this application, after generating the power distribution system diagram of the residential tower's power supply trunk line, the method further includes:
[0030] Generate structured power distribution connection data for the power trunk line segment information;
[0031] The structured power distribution connection data is written back to the BIM model.
[0032] On the other hand, this application also provides a BIM-based residential power trunk system diagram generation device, 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 above-described method for generating a BIM-based residential power trunk system diagram.
[0034] Furthermore, embodiments of this application also provide a non-volatile computer storage medium storing computer-executable instructions, which are capable of executing the aforementioned method for generating a BIM-based residential power trunk system diagram.
[0035] Compared with the prior art, the significant advantages of this application are as follows:
[0036] Through the above-described scheme, this application enables automated and intelligent segmentation of power trunk lines and generates corresponding power distribution system diagrams. The building electrical design process requires minimal human intervention, overcoming reliance on manual experience, improving design efficiency, and significantly shortening the design cycle. Furthermore, during the segmentation process, meter boxes and main distribution boxes are further segmented, allowing for separate placement of meter boxes and main distribution boxes in both horizontal and vertical dimensions. This generates a more rational segmentation scheme that better fits the actual building structure, improving automation and design efficiency, and fully adapting to the demands of rapid iteration and high levels of intelligence in modern building design. 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 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 BIM-based method for generating a residential power trunk system diagram, as described in this application.
[0039] Figure 2 This is a configuration interface diagram of electrical parameter configuration information in an embodiment of this application;
[0040] Figure 3 This is a schematic diagram of an interactive interface display area in an embodiment of this application;
[0041] Figure 4 This is a schematic diagram of a multi-line indoor box display format in an embodiment of this application;
[0042] Figure 5 This is a schematic diagram of a residential user trunk line with an interactive interface, as described in an embodiment of this application.
[0043] Figure 6This is a schematic diagram of a BIM-based residential power trunk system diagram generation device in an embodiment of this application. Detailed Implementation
[0044] 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.
[0045] Currently, existing electrical design processes rely excessively on human experience, resulting in compromised design quality, excessive repetitive work, and low design efficiency. Furthermore, the current design processes have a low level of automation; tools such as CAD and Revit only provide drawing functions and cannot intelligently intervene in the design process to offer corresponding assistance.
[0046] Based on this, the embodiments of this application provide a method, device and medium for generating residential power trunk system diagrams based on BIM, which can solve the technical problems such as the current building electrical design relying too much on manual participation, low degree of automation and design efficiency, and inability to meet the needs of rapid iteration and high level of intelligence in modern building design.
[0047] The various embodiments of this application are described in detail below with reference to the accompanying drawings.
[0048] This application provides a BIM-based method for generating residential power trunk system diagrams, such as... Figure 1 As shown, the method may include steps S101-S103:
[0049] S101, the server parses the preset BIM model of the residential tower to obtain the corresponding first input information, and uses the electrical parameter configuration information from the user terminal as the second input information.
[0050] The first input information includes at least floor information, apartment layout information, and the calculation load for each apartment.
[0051] It should be noted that the server, as the executing entity of the BIM-based method for generating residential power trunk system diagrams, exists only as an example, and the executing entity is not limited to the server. This application does not make any specific limitations on this.
[0052] The server in this application can run a data parsing module, an intelligent segmentation module, an interactive configuration module, a compliance verification module, a system diagram generation module, and a distribution box system diagram data storage module, thereby executing and implementing the above-mentioned BIM-based residential power trunk system diagram generation method. This is achieved through the process of "BIM native data → intelligent segmentation algorithm → interactive fine-tuning → compliance verification → system..." Figure 1 The six-step closed loop of "key generation → data write-back to BIM" enables fully automatic-semi-automatic hybrid design of the power supply trunk lines for residential towers.
[0053] The data parsing module reads project files (IFC / RVT) and extracts a list of residential buildings, floor levels, unit distribution, calculated load for each unit, and existing power distribution connection tree JSON (substation-main distribution box-meter box-household box topology). The intelligent segmentation module outputs the number of meter boxes, their floor locations, the list of households covered by each box, the location of the main distribution box, and the hierarchical relationships of the trunk lines, based on the number of floors, power per household, elevation, and regulatory constraints. The interactive configuration module provides a four-part interface: "Unit Selection Area / Display Area / Calculation Area / Configuration Control Area," supporting drag-and-drop adjustment of meter box floors, right-click "copy-paste" of the main distribution box, custom household box power, and linkage with other solutions. The compliance verification module automatically verifies branch circuit current, short-circuit thermal stability, voltage drop, cable cross-section matching with switches, etc., according to national standards. The system diagram generation module converts the verified node-edge relationships into a vertical trunk line system diagram. The power distribution box system diagram data storage module generates the updated power distribution connection tree JSON, stores it back to the BIM server, and ensures consistency and uniformity of power distribution data.
[0054] Specifically, this application parses the BIM model of a residential building, which may include reading information such as building floors and apartment layouts. Furthermore, users can send electrical parameter configuration information to the server via user terminals (such as mobile phones, computers, etc.). During the parsing process, data stored in the current model can be retrieved through "key fields," and designers can also perform secondary manual confirmation during function execution; this application does not impose specific limitations on this. During execution, this function provides an interactive interface for information modification.
[0055] In this embodiment of the application, electrical parameter configuration information can also be selected or input by the user based on a configured interactive interface, such as the configuration interface for electrical parameter configuration information. Figure 2 As shown, the configuration information may include the following configuration items:
[0056] 1. Main Box Settings: a. Whether to set up an incoming main box (when the "Whether to set up an incoming main box" option is set to "No", the following three options cannot be set and will be grayed out on the interface); b. Setting the floor of the incoming main box; Selecting outgoing cables; c. Maximum setting current of the incoming switch (when the "Outgoing cable selection" option is set to "Cable", the selectable values for this option are 315, 350, and 400; d. when the "Outgoing cable selection" option is set to "Bus", the selectable values for this option are 315, 350, 400, 630, 800, and 1000).
[0057] 2. Meter box settings: a. Maximum number of households per meter box; b. Location of meter box.
[0058] 3. Main box and meter box: Connection method between the meter box and the main box.
[0059] 4. Demand coefficient settings: Demand coefficients can be configured in a tiered manner through the interface.
[0060] S102, the server determines the power supply trunk line segment information corresponding to the residential tower based on the first input information and the second input information through a preset intelligent segmentation algorithm.
[0061] The power trunk line segmentation information includes at least the first segment layout information and the second segment layout information. The first segment layout information includes the number of meter boxes, their installation locations, and the number of households covered. The second segment layout information includes the number of meter boxes covered by a single section of cable from the main distribution box.
[0062] When performing intelligent segmentation, this application can first generate the household box (i.e., household box) in accordance with the construction implementation requirements of power supply and distribution facilities in residential towers. When configuring the household box, you can refer to the power capacity table 1 in the following example. The specific parameters in the table can be set according to the actual use scenario, and are not specifically limited here.
[0063] Table 1 Electricity Capacity Table
[0064]
[0065]
[0066] In this embodiment of the application, based on the first input information and the second input information, a preset intelligent segmentation algorithm is used to determine the segmentation information of the power supply trunk line corresponding to the residential tower, specifically including:
[0067] Based on preset grouping rules and the number of residents in the floor information, the corresponding floor groups are determined sequentially according to the preset floor order. Each floor group corresponds to one meter box, and the total number of residents in each floor group is less than the allowed number of households per meter box in the second input information. One floor group corresponds to one or more floors. Each floor group is used as the first segmentation layout information and added to the power supply trunk line segmentation information.
[0068] By obtaining the floor grouping for each meter box, the correspondence between the meter box and the households within that floor group is determined, allowing the creation of a household group for each meter box. Furthermore, the number of floor groups also determines the number of meter boxes and their corresponding floors (installation locations).
[0069] It should be noted that for multi-story residential buildings, no main distribution box is set up; the residential meter box serves as the main incoming line box. For high-rise residential buildings, the number of residential meter boxes is such that each meter box does not exceed N households, where N is a preset natural number that can be set to different values according to the actual scenario, and is not specifically limited here; the number of households covered by multiple meter boxes is evenly distributed.
[0070] For high-rise residential buildings, this application groups floors according to a preset grouping rule. Specifically, this application can traverse each floor in the floor information in a preset floor order from bottom to top, and maintain a cumulative number of households for the currently processed meter box group. For each floor traversed, the following judgment steps are performed:
[0071] Step 1: If the total number of households corresponding to the current floor is greater than the threshold for the number of households allowed in a single meter box (such as N=12 above), then create at least one new meter box group for that floor, where the number of households covered by each new group does not exceed the threshold for the number of households allowed in a single meter box.
[0072] Step 2: If the total number of households corresponding to the currently traversed floor is not greater than the threshold for the number of households allowed per meter box, then further determine:
[0073] Step 2.1: Add the current cumulative number of households to the total number of households on the floor. If the sum is not greater than the threshold for the number of households allowed in a single meter box, add the currently traversed floor to the current meter box group and update the cumulative number of households.
[0074] Step 2.2: If the sum of the results is greater than the threshold for the number of households allowed in a single meter box, then generate the coverage area of a meter box based on the currently included floors, and generate a new meter box group and initialize its corresponding cumulative number of households, starting from the current floor.
[0075] Through the above steps, floor grouping is achieved, obtaining the first segment's distribution information. More simply, processing is done sequentially by floor (from bottom to top). Starting from floor 1, each floor is considered in order, and consecutive floors are grouped together. The total number of households in each group (i.e., meter box) does not exceed the threshold q allowed for a single meter box, and the floors within each group are consecutive (ensuring floors are not split). Grouping logic: "Add if possible, disconnect if exceeded." Initially, the first meter box (k=1) starts from floor 1, accumulating the total number of households on the currently selected floors (referred to as the cumulative number of households). The number of households Ul on the next floor (e.g., floor l) is checked: if the cumulative number of households + Ul ≤ q, the floor is included in the current meter box, and the cumulative number of households is updated (plus Ul); if the cumulative number of households + Ul > q, the currently selected floors form a meter box (Hk), and the next floor becomes the starting point for a new meter box (k=k+1), restarting the accumulation process.
[0076] In addition, this application will further process the remaining floors, and the last unallocated floors (even if the cumulative number of households is less than q) will also be covered by a separate meter box.
[0077] In special cases: if the number of households on a single floor exceeds the limit (Ul>q), if the number of households on a certain floor, Ul, exceeds q (e.g., Ul=15, q=12), then that floor must be divided into multiple separate meter boxes (because it cannot be split to other floors), but all meter boxes cover the same floor. Each meter box serves less than or equal to q households (e.g., the first one serves 12 households, the second one serves 3 households). Here, "serves" can be understood as a mapping relationship between meter boxes and households.
[0078] Further, let's illustrate with an example: Assume the building has 4 floors, with 5, 6, 7, and 4 households per floor; the maximum allowed number of households is q = 12. First meter box (k = 1): Starting from the 1st floor, the cumulative number of households is 5 (U1); adding the 2nd floor: 5 + 6 = 11 ≤ 12, included, cumulative number of households = 11; adding the 3rd floor: 11 + 7 = 18 > 12, stopped. Therefore, the set of floors covered by the first meter box is H1 = {1, 2} (including floors 1 and 2, total households 11 ≤ 12). Second meter box (k = 2): Starting from the 3rd floor, the cumulative number of households is 7 (U3); adding the 4th floor: 7 + 4 = 11 ≤ 12, included, cumulative number of households = 11. Therefore, the set of floors covered by the second meter box is H2 = {3, 4} (including floors 3 and 4, total households 11 ≤ 12). Final floor grouping results: Each floor's users belong to a single meter box without any splitting.
[0079] The above solution enables efficient and reasonable segmentation of meter boxes without relying on manual experience for segmentation.
[0080] Furthermore, when the meter boxes are located on the basement level, they are connected radially to the corresponding main distribution box; when the meter boxes are distributed across different floors, they are connected in a tree-like manner (one circuit, one series of sub-nodes) to the corresponding main distribution box. The meter boxes are named as follows: within the same building, they are named using *-AW#. * represents the individual unit number, and # represents the serial number. The serial number # can be assigned according to the number of meters (the same number of meters) and their specifications, then sorted by the quantity of meter boxes of that specification. For example, in Building 2, the number of 12-meter meter boxes is the largest, named 2-AW1, and the number of 9-meter meter boxes is the second largest, named 2-AW2. This naming method is merely an example; users can set it according to their actual usage scenarios, and no specific limitations are imposed here.
[0081] In another embodiment of this application, the main distribution box will be segmented and its related information will be generated to facilitate the generation of a power distribution system diagram. Based on the first and second input information, a preset intelligent segmentation algorithm will be used to determine the segmentation information of the power supply trunk lines corresponding to the residential towers, specifically including:
[0082] Based on the first input information, the second input information, and preset constraints, the segmented floors of the main distribution box are determined with the number of cable segments and the load variance of each cable segment as optimization objectives. Based on the segmented floors, the set of meter boxes covered by each segment of cable is determined, generating the second segmented layout information, and adding the segmented information of the main power line.
[0083] The principle for setting up the main distribution box is the load coverage of a single cable segment. That is, the total load value of each household carried by each cable segment must be within the range input by the user. This can be set during the first step of electrical parameter configuration. Simultaneously, the location of the main distribution box should be set to the basement or the first floor. The load coverage of a single cable segment can be understood as the calculated total load value of each household carried by each cable segment, which must be within the range of the maximum rated current of the incoming switch input by the user.
[0084] Specifically, this application can use the calculated load of each household in the first input information, the maximum set current of the incoming switch in the second data information, and the calculated load of the meter box calculated based on the matching results obtained from the subsequent three-phase balance calculation. With the optimization objective of minimizing the number of cable segments and minimizing the load variance of each cable segment, optimization calculation is performed to obtain segmented floors. And based on the segmented floors, the set of meter boxes covered by a single cable segment of the main distribution box is obtained.
[0085] The preset constraints that need to be met to perform optimization calculations are as follows:
[0086] Condition 1: The calculated load of each single cable segment must be less than the product of coefficient K and the maximum setting current In of the incoming switch; this coefficient K is based on expert experience or user setting and is not specifically limited here.
[0087] Condition 2: Starting from the second single-segment cable, the total power of each indoor box carried by the previous single-segment cable must be less than or equal to the total power of the next single-segment cable.
[0088] Condition 3: The calculated load Pjs value of the first single cable segment is not less than a preset ratio (e.g., four-fifths) of the calculated load Pjs value of the second single cable segment.
[0089] In the optimization objective, the total number of cable segments should be minimized. For example, if three segments can be used, four segments should not be used. The topmost segment: its total power ΣPe must not be less than half of that of a single cable segment below it.
[0090] The optimal cable segmentation scheme is obtained by minimizing the load variance of each cable segment and then determining the segmented floors.
[0091] For example, the segmentation of each cable trunk line: List <int>Dividfloors; A tower has floors 1-30, and the output segments are {8, 16, 24}, which is equivalent to dividing it into four segments; List of cable segments. <Tuple<int,int> >Dsection; Each section of cable (also the main distribution box) corresponds to the type of its subordinate meter box and the floor it is located on. List <List<Tuple<string,int> >>CableDetil; the name of each type of meter box, and its corresponding ResidentialMeters for each household's power consumption.
[0092] Example explanation:
[0093] enter:
[0094] LoadoStandardFloor = {10,10,10,10} ------- Power consumption of each household on the standard floor;
[0095] NumberofFloor = 30 -------------- The total number of floors in the building (natural floors, excluding the roof and machine room floors);
[0096] StartStandardFloor = 3 ------------Standard floor is the initial floor;
[0097] EndStandardFloor = 30 ----------- End of standard floor;
[0098] Loadoflowfloors={{10,10}}-------Power of each household in the non-standard floors of the lower section;
[0099] Loadofhighfloors=null-------Power of each household in the non-standard floors of the upper section;
[0100] Output:
[0101] Dividfloors = {12, 21} ------- Segmented floors;
[0102] Dsection = {(1,12),(13,20),(21,30)} ------ segmented interval;
[0103] CableDetil={{("1-AW6”,3),("1-AW12”,5),("1-AW12”,8),("1-AW12”,11)},{("1-AW12”,14),("1-AW12”,17),("1-AW12”,24)},{("1-AW12”,23),("1-AW12”,26),("1-AW12”,29)}}----The type of subordinate meter box and the floor where each section of cable (main box) is located;
[0104] ResidentialMeters={{1-AW6”,{10,10,10,10,10,10}},{1-AW12”,{10,10,10,10,10,10,10,10,10,10,10,10}}}-----Indoor power corresponding to the meter box.
[0105] In some embodiments, this application will also perform three-phase balance calculations for residential users. This is because the downstream of the meter box is often a single-phase distribution box, which may result in three-phase imbalance. When there is three-phase imbalance, the load calculation cannot be directly calculated based on the sum of the power of the downstream equipment to calculate the load Pjs of the meter box, but needs to be calculated based on the three-phase balanced power.
[0106] Specifically, this application allocates the circuit power of a single-phase circuit to three phases based on the calculated load of each household in the same household set, thereby determining the corresponding three-phase power value. Alternatively, the calculated load of each household can be divided into three groups, generating corresponding ternary sets. Each ternary set includes several ternary combinations of the calculated load of each household in three-phase arrangements. By exhaustively searching through the ternary sets, ternary sets that meet preset screening conditions are used as the allocation results. At this point, the calculated load of each household corresponding to the allocation result can also be converted into the circuit power of a single-phase circuit using a demand factor to obtain the three-phase power value, which includes the power corresponding to each of the three phases. The preset screening condition is that the maximum value of the calculated load of each household in a ternary set is less than the maximum value of the calculated load of each household in any other ternary set.
[0107] This application allocates the calculated load of each household in the same household group to three phases. When calculating the three-phase power value, there are usually two situations: the meter box has only single-phase load and the meter box has both single-phase load and three-phase symmetrical load.
[0108] In the case of a single-phase load, a three-phase distribution box contains n lower-level single-phase circuits (including single-phase distribution boxes or single-phase power equipment), which are divided into three groups (each group is assigned to a phase, namely L1, L2, and L3). When the power of the largest phase is at its minimum, the three phases are considered balanced.
[0109] That is, given n lower-level single-phase circuits, each with a power of Pi (i = 1 to n), we need to divide these n circuits into three phases. Let the circuits of phase L1 be n1 to ni1, the circuits of phase L2 be ni+1 to ni2, and the circuits of phase L3 be ni2+1 to ni3, where ni3 is n. Let the power of the L1 circuits be PA, the power of the second circuits be PB, and the power of the third circuits be PC. If PC is the maximum of these three, then we need to find the minimum value of PC through different permutations and combinations. This is considered achieving three-phase balance. (Three-phase balance means balancing as much as possible so that the power Pmax of the phase with the highest power is minimized. Alternatively, we can refer to the following: the power difference between the phases with the highest power is closest to one-third of the power of each single phase, as shown in the mathematical formula: ΣP / 3).
[0110] Reference example:
[0111] Suppose a distribution box has 6 single-phase circuits, with the power of each circuit listed as follows: P1 = P2 = 3kW, P3 = P4 = 4kW, P5 = 5kW, P6 = 6kW. The mathematical formula is: ΣP = 25kW. ΣP / 3 = 8.33kW. There are several ways to allocate the power of each phase; three are listed in Table 2 below:
[0112] Table 2 Three-phase power allocation table
[0113]
[0114]
[0115] In summary, the minimum power of the largest phase (corresponding to the minimum calculated load per household in the three-phase group) is 9kW. Therefore, the third scheme should be adopted for three-phase balancing. The power of each phase is arranged according to this method. The three-phase group can be understood as a set of three-phase groups corresponding to the calculated load of each household within the same meter box, based on the different division methods in the above list. In the example above, the power of the entire meter box is calculated as follows: the power of the largest phase (Pmax) * 3, which is the power of the entire distribution box (rather than simply adding up the power of the lower phases).
[0116] When both single-phase and three-phase symmetrical loads exist, the first step is to determine whether the sum of the single-phase loads exceeds 15% of the sum of the three-phase symmetrical loads. For example, the sum of the single-phase loads is 6 + 6 + 6 = 18 kW (ignoring the lighting and socket loads in the distribution room); the sum of the three-phase symmetrical loads is 15 + 12 + 12 + 10 + 15 + 15 = 79 kW; therefore, 18 / 79 = 23%, which is greater than 15%.
[0117] (1) When the sum of single-phase loads is less than or equal to 15% of the sum of three-phase symmetrical loads, the single-phase loads can be directly treated as three-phase loads and superimposed.
[0118] (2) When the sum of single-phase loads is greater than 15% of the sum of three-phase symmetrical loads, the single-phase load 3*Pmax obtained above when there is only single-phase load will be added to the three-phase load. For example: circuits WL1 to WL6 are single-phase circuits. After balancing, phase L3 has the largest power, which is Pmax. Circuit WL7 is a three-phase circuit with power P7, and circuit WL8 is a three-phase circuit with power P8. Then the power of this meter box should be: Ps=3*Pmax+P7+P8.
[0119] For meter boxes, the calculated load Pjs = Kx * Ps, where Kx is the demand factor. (That is, Ps is used for load calculation, not Pe). The selection of switches and cables is still based on this calculated load Pjs value. For the main distribution box (main distribution box) of the residence, Pjs = Kx * Pe. Note that Pe is still calculated using the original power summation method (i.e., the sum of Pe of the lower-level nodes, and similarly, the sum of the power of the lower-level sub-nodes, i.e., the indoor boxes). However, it is important to note that the value of Kx is based on the number of the lower-level nodes (i.e., indoor boxes), not the number of meter boxes.
[0120] In summary, this application obtains the power information of all circuits under the distribution box, performs three-phase balance optimization calculations on the single-phase loads in the circuits to obtain the three-phase balanced power Ps of the distribution box; based on the three-phase balanced power Ps, the calculated load Pjs of the distribution box is calculated. The three-phase balance optimization calculation for the single-phase load includes: distributing the single-phase load to the three phases to obtain the optimal three-phase balance scheme, minimizing the power value Pmax of the largest phase after distribution; and using three times the maximum phase power value Pmax as the three-phase balanced power Ps. Distributing the single-phase load to the three phases includes: using an exhaustive method to traverse all possible load distribution combinations to determine the optimal distribution scheme that minimizes the power of the largest phase. The calculated load Pjs of the distribution box is calculated according to the formula Pjs = Kx * Ps, where Kx is the demand factor.
[0121] The process includes, after obtaining power information and before performing three-phase balance optimization calculation, determining whether single-phase loads and three-phase symmetrical loads exist simultaneously in the subordinate circuits of the distribution box; if so, calculating the sum of single-phase loads and the sum of three-phase symmetrical loads; if the sum of single-phase loads is greater than 15% of the sum of three-phase symmetrical loads, performing three-phase balance optimization calculation, and calculating the three-phase balance power Ps according to the formula Ps = 3 * Pmax + P3φ, where P3φ is the total power of all three-phase symmetrical loads; if the sum of single-phase loads is less than or equal to 15% of the sum of three-phase symmetrical loads, then treating single-phase loads as three-phase symmetrical loads, and the three-phase balance power Ps is the total power of all loads.
[0122] After calculating the load of the meter box, the load of each cable segment is calculated in the preset intelligent segmentation algorithm, thereby obtaining the second segmentation layout information.
[0123] S103, the server generates a power distribution system diagram of the power supply trunk line for the residential tower based on the power supply trunk line segmentation information, and sends the power distribution system diagram to the user terminal.
[0124] In this embodiment of the application, before generating the power distribution system diagram of the residential tower's power supply trunk line, the method further includes:
[0125] Based on preset compliance verification rules, the segmented information of the power supply trunk line is verified for compliance. The compliance verification includes one or more of the following: three-phase imbalance verification, incoming switch setting current verification, and cable specification and switch compatibility verification. If the verification fails, an alarm message is generated and sent to the user terminal.
[0126] In other words, this application can automatically detect various electrical parameters in the design results, verify in real time whether they meet the specifications, and provide clear prompts and corrective suggestions when problems are found. For example, the three-phase imbalance check checks whether the three-phase imbalance of each meter box is less than 5%. The check method is to calculate the power distribution of each of its subordinate indoor boxes for each meter box. The three-phase imbalance is calculated; if the three-phase imbalance is greater than 0.05, the meter box is highlighted and a message is displayed: "Three-phase imbalance exceeds the standard; please adjust the indoor box distribution." The incoming line switch setting current check checks whether the incoming line switch setting current of each meter box meets the specifications. The check method is to calculate the maximum current Imax for each meter box. The incoming line switch setting current Iswitch is checked to see if it meets the requirement of Iswitch≥1.1×Imax. If Iswitch<1.1×Imax, the meter box is highlighted and a message is displayed: "Incoming line switch setting current is insufficient; please adjust the switch specifications." Cable Specification and Switch Compatibility Verification: Inspection Content: Whether the cable specifications of each meter box match the incoming switch. Verification Method: For each meter box, check the cable specifications for suitability based on its current I and the cable cross-section and switch matching table in the specification. Result Processing: If the cable specifications do not match, highlight the meter box and display the message "Cable specifications do not match the switch; please adjust the cable specifications."
[0127] In the three-phase unbalance verification process, this application employs a method of allocating the calculated load of each household in the same household group to the three phases. Based on the three-phase power values corresponding to the allocation results, the three-phase unbalance of the corresponding meter boxes is verified.
[0128] Specifically, the calculation load of each household in the same household group is distributed to the three phases, including:
[0129] The calculated load of each household is divided into three groups, and corresponding triplet sets are generated. Each triplet set includes several triplets that arrange the calculated load of each household in three phases. An exhaustive search is used to traverse the triplet sets, and the triplet sets that meet the preset screening criteria are used as the allocation results. The preset screening criteria are that the maximum calculated load of each household in a triplet set is less than the maximum calculated load of each household in any other triplet set. In addition to the exhaustive search method, other methods such as tabulation can also be used to traverse the triplet sets; no specific limitation is made here.
[0130] Furthermore, in another embodiment of this application, the application can also adjust the segment information of the power trunk line through the interactive configuration module. Specifically, the power distribution connection of the residential power consumption section of the corresponding unit is read and presented in the display area according to its hierarchical node relationship. The display area is divided into four parts: floor, trunk line, meter box, and indoor box, in that order. Figure 3 As shown. For the "Floor" section: In each individual building, the elevation information of each tower is read according to the "elevation system" of the corresponding building in the project information. From the read elevation, the corresponding floor information is extracted; for example, A_1F is converted to 1F. Floors above the natural floor are removed. For example, in the upper floors A_23F, A_JF, A_Roof F, only 23F is retained; JF and Roof F are not displayed. The interface needs to consider an overall height so that users can browse up to 30F without dragging a slider. When exceeding 30F, a slider is required for display. For interior boxes: The interior boxes are displayed according to the corresponding floor. They are displayed as square boxes, showing their corresponding box numbers. When the number of interior boxes on a floor is greater than 6, they are displayed in multiple rows, such as... Figure 4 As shown. For meter boxes: the meter box is indicated by its actual location and the same back shading color, representing the indoor boxes it covers (i.e., this meter box is the superior box of these indoor boxes). For trunk lines and their main boxes: similarly, the hierarchical relationship between the main box and the meter boxes is shown, using the same back shading color. Furthermore, for trunk-like connections, a vertical trunk connects to the corresponding meter boxes. When a box's subordinate is a corresponding meter box, the connection between the superior main box and the subordinate meter box is expressed through the trunk.
[0131] In this embodiment of the application, after generating the power distribution system diagram of the residential tower's power supply trunk line, the method further includes:
[0132] Determine the building configuration corresponding to the power distribution system diagram. The building configuration must include at least the number of floors, the number of households per floor, and the calculated load per household. Match the building configurations of each building to identify building groups with identical configurations. In response to modifications to the power trunk line segment information of the target building, synchronize the modified power trunk line segment information to other buildings in the corresponding building group.
[0133] This application allows for identical testing and layout of the same residential towers, with simultaneous modifications during changes. In residential projects, multiple residential towers often exhibit identical layouts, or the distribution boxes within individual units may have completely identical configurations. In such cases, only one building needs to be configured, and the remaining identical buildings can replicate this layout, eliminating the need to repeatedly perform the same setup for each tower. Therefore, by detecting these similarities, repetitive operations can be avoided, simplifying the entire layout process. Testing rules: For each unit's distribution box, determine if the floor distribution and power consumption are completely identical. If identical, the unit is considered to be configured in the same building.
[0134] The apartment layouts are shown in Table 3 below:
[0135] Table 3: Building Unit Type Distribution Table
[0136] Building Apartment layout floor 2#、7#、9#、12# F, A, A, F 1~25 1# E, D, D, E 1~25 5#、11# E, D, D, E 3~25 13# E, D, D, E 1~24 3# F, A, C, E 1~25 6#、10# G, D, D, G 1~25 8# E, C, C, E 1~25 4# E, C, C, E 1~26
[0137] The corresponding indoor power rating table is as follows:
[0138] Table 4 Power Values of Indoor Boxes
[0139]
[0140] Based on the power distribution of each floor and each indoor distribution box, the configurations are grouped. Units with the same floor and indoor distribution box are considered to be of the same type. After grouping, a total of 6 building configurations are obtained, with one building group corresponding to one configuration type. The distribution of the corresponding building groups is shown below:
[0141] Table 5: Building Group Distribution Table
[0142] Configuration type Buildings with the same design Type 1 1#、6#、8#、10# Type 2 2#、7#、9#、12# Type 3 3# Type 4 4# Type 5 5#、11# Type 6 13#
[0143] This application has an interactive interface such as Figure 5 It can automatically arrange buildings with the same scheme through linkage, reducing the amount of repetitive work.
[0144] When generating the power distribution system diagram for the residential tower's main power lines in this application, if Revit in BIM is used, the line types, legends, etc. in Revit are called to generate the corresponding power distribution system diagram. For the drawing requirements of different units, custom settings can be made in this step to make it conform to the internal drawing expression requirements of the unit; create a new drawing view in Revit, with the view name format: Building Number + Vertical Main Line System Diagram (e.g., 1# Vertical Main Line System Diagram).
[0145] In addition, after generating the power distribution system diagram of the residential tower's power supply trunk line, this application also includes:
[0146] Structured power distribution connection data is generated, showing the segmentation information of the main power lines. This structured power distribution connection data is then written back to the BIM model. In other words, this application can perform data write-back, thereby achieving synchronous updates to the BIM model.
[0147] Through the above-described scheme, this application enables automated and intelligent segmentation of power trunk lines and generates corresponding power distribution system diagrams. The building electrical design process requires minimal human intervention, overcoming reliance on manual experience, improving design efficiency, and significantly shortening the design cycle. Furthermore, during the segmentation process, meter boxes and main distribution boxes are further segmented, allowing for separate placement of meter boxes and main distribution boxes in both horizontal and vertical dimensions. This generates a more rational segmentation scheme that better fits the actual building structure, improving automation and design efficiency, and fully adapting to the demands of rapid iteration and high levels of intelligence in modern building design.
[0148] Figure 6 A schematic diagram of a BIM-based residential power trunk system diagram generation device is provided for an embodiment of this application, as shown below. Figure 6 As shown, the device includes:
[0149] 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:
[0150] The pre-set BIM model of the residential tower is analyzed to obtain the corresponding first input information, and the electrical parameter configuration information from the user terminal is used as the second input information. The first input information includes at least floor information, apartment layout information, and calculated load for each apartment. Based on the first and second input information, a pre-set intelligent segmentation algorithm is used to determine the segment information of the power supply trunk lines corresponding to the residential tower. The segment information includes at least first and second segment layout information. The first segment layout information includes the number of meter boxes, their installation locations, and the set of households covered. The second segment layout information includes the set of meter boxes covered by a single cable segment of the main distribution box. Based on the power supply trunk line segment information, a power distribution system diagram of the residential tower's power supply trunk lines is generated and sent to the user terminal.
[0151] This application embodiment also provides a non-volatile computer storage medium storing computer-executable instructions, wherein the computer-executable instructions are configured as follows:
[0152] The pre-set BIM model of the residential tower is analyzed to obtain the corresponding first input information, and the electrical parameter configuration information from the user terminal is used as the second input information. The first input information includes at least floor information, apartment layout information, and calculated load for each apartment. Based on the first and second input information, a pre-set intelligent segmentation algorithm is used to determine the segment information of the power supply trunk lines corresponding to the residential tower. The segment information includes at least first and second segment layout information. The first segment layout information includes the number of meter boxes, their installation locations, and the set of households covered. The second segment layout information includes the set of meter boxes covered by a single cable segment of the main distribution box. Based on the power supply trunk line segment information, a power distribution system diagram of the residential tower's power supply trunk lines is generated and sent to the user terminal.
[0153] 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.
[0154] 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.
[0155] 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 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.
[0156] The above description is merely an embodiment of this application and is not intended to limit the scope of 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 principles of this application should be included within the scope of the claims of this application.< / int>
Claims
1. A BIM-based residential electrical mains system diagram generation method, characterized by, The method includes: The pre-set BIM model of the residential tower is analyzed to obtain the corresponding first input information, and the electrical parameter configuration information from the user terminal is used as the second input information; wherein, the first input information includes at least floor information, unit distribution information and calculated load for each unit; Based on the first input information and the second input information, a preset intelligent segmentation algorithm is used to determine the segmentation information of the power supply trunk line corresponding to the residential tower; wherein, the segmentation information of the power supply trunk line includes at least first segmentation location information and second segmentation location information; the first segmentation location information includes the number of meter boxes, their installation locations, and the set of households covered, and the second segmentation location information includes at least the set of meter boxes covered by a single segment of cable from the main distribution box; specifically including: The floor information is traversed in a preset floor order, and the cumulative number of households is maintained for the meter boxes currently being processed. If the total number of households on the current floor exceeds the threshold for the number of households allowed per meter box, then a new group will be created for that floor. If the total number of households on the current floor is not greater than the threshold, then add it to the cumulative number of households; if the sum is not greater than the threshold, then add the floor to the current meter box group and update the cumulative number of households; if the sum is greater than the threshold, then end the division of the current meter box group, and generate a new meter box group and initialize the cumulative number of households starting from the current floor. Each floor is grouped as the first segment layout information and added to the power supply trunk segment information; Based on the first input information, the second input information, and preset constraints, the segmented floors of the main distribution box are determined with the number of cable segments and the load variance of each cable segment as optimization objectives. The preset constraints include: the calculated load of each single cable segment is less than the product of a preset coefficient and the maximum setting current of the incoming switch; starting from the second single cable segment, the total power carried by the previous single cable segment is less than or equal to the total power of the next single cable segment; and the total power of the topmost single cable segment is not less than half of the total power of its adjacent single cable segments below it. Based on the segmented floors, determine the set of meter boxes covered by the single cable segment corresponding to each segment, generate the second segment layout information, and add the power supply trunk line segment information; Based on the segmentation information of the power supply trunk line, a power distribution system diagram of the power supply trunk line of the residential tower is generated, and the power distribution system diagram is sent to the user terminal.
2. The BIM-based residential electrical mains system diagram generation method of claim 1, wherein, Before generating the power distribution system diagram of the power supply trunk line for the residential tower, the method further includes: Based on preset compliance verification rules, the compliance verification of the power supply trunk line segment information is performed; wherein, the compliance verification includes one or more of the following: three-phase imbalance verification, incoming switch setting current verification, and cable specification and switch matching verification. If the verification fails, an alarm message is generated and sent to the user terminal.
3. The BIM-based residential electrical mains system diagram generation method of claim 2, wherein, The method further includes: The calculated load of each household in the same household set is distributed to three phases; Based on the three-phase power values corresponding to the allocation results, the three-phase imbalance of the corresponding meter box is checked.
4. The method of claim 3, wherein, Distributing the calculated load of each household in the same household set to three phases specifically includes: The calculated load of each household is divided into three groups, and corresponding ternary sets are generated; the ternary sets include several ternary sets that are three-phase permutations and combinations of the calculated load of each household. By exhaustive search, the set of triplets is traversed to select triplets that meet the preset screening criteria as the allocation result. The preset screening criteria are that the power of the largest phase in the triplet is less than the power of the largest phase in any other triplet. The power of the largest phase in the triplet is the maximum value of the sum of the calculated loads of each household in each triplet.
5. The method of claim 1, wherein, After generating the power distribution system diagram of the power supply trunk line for the residential tower, the method further includes: Determine the building configuration corresponding to the power distribution system diagram; the building configuration shall include at least the number of floors, the number of households per floor, and the calculated load per household; The building configurations of each building are matched to identify building groups with the same configuration; In response to the modification operation of the power supply trunk line segment information of the target building, the modified power supply trunk line segment information is synchronized to other buildings in the corresponding building group.
6. The BIM-based residential electrical mains system diagram generation method of claim 1, wherein, After generating the power distribution system diagram of the power supply trunk line for the residential tower, the method further includes: Generate structured power distribution connection data for the power trunk line segment information; The structured power distribution connection data is written back to the BIM model.
7. A BIM-based residential electrical mains system diagram generation device, characterized by, 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 BIM-based method for generating residential power trunk system diagrams as described in any one of claims 1-6.
8. A non-transitory computer storage medium storing computer-executable instructions that, when executed, cause a computer to: The computer-executable instructions are capable of executing the BIM-based method for generating residential power trunk system diagrams as described in any one of claims 1-6.
Citation Information
Patent Citations
Method and device for determining voltage drop for building electrical design and computer readable storage medium
CN114357776A
Switch stationing optimization method and device, storage medium and computer equipment
CN119849081A