A method, device and medium for automatically generating a ventilation system for a small power distribution room

By using preset keyword filtering and wall classification in the building information model to generate exhaust fan layout strategies, and combining them with dynamic collision detection, the problem of low design efficiency of ventilation systems in small power distribution rooms is solved, and efficient and compliant ventilation systems are automatically generated.

CN121118176BActive Publication Date: 2026-06-19HEFEI 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-08-19
Publication Date
2026-06-19

AI Technical Summary

Technical Problem

Existing technologies suffer from low automation, lack of decision-making rules, and insufficient dynamic obstacle avoidance capabilities, resulting in inefficient design and difficulty in ensuring compliance of ventilation systems in small power distribution rooms.

Method used

By acquiring civil engineering model data from the building information model, filtering target power distribution rooms using a pre-set list of room keywords, classifying walls, generating exhaust fan layout strategies through geometric boundary intersection analysis, and combining dynamic collision detection, the ventilation system layout is automatically generated.

Benefits of technology

It enables efficient and accurate automatic generation of ventilation systems, avoiding the subjectivity and errors of manual selection, ensuring the compliance and safety of equipment layout, and reducing the rework rate of design and construction.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121118176B_ABST
    Figure CN121118176B_ABST
Patent Text Reader

Abstract

This specification discloses an automatic generation method, device, and medium for ventilation systems in small electrical distribution rooms, relating to the field of ventilation design technology. The method includes: acquiring civil engineering model data from a building information model; filtering spatial objects in the civil engineering model data based on a preset list of room keywords to determine at least one target electrical distribution room; classifying wall objects in each target electrical distribution room according to the civil engineering model data to determine the wall classification result corresponding to each target electrical distribution room, the wall classification result including Class I walls, Class II walls, and invalid walls; generating an exhaust fan layout strategy based on the wall classification result corresponding to each target electrical distribution room, and performing dynamic collision detection on the exhaust fan layout strategy according to the civil engineering model data; if no collision behavior is detected, outputting the exhaust fan layout strategy to generate the ventilation system layout corresponding to the target electrical distribution room.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This specification relates to the field of ventilation design technology, and in particular to a method, equipment and medium for automatically generating a ventilation system for a small electrical distribution room. Background Technology

[0002] In the field of building electrical design, the layout of ventilation systems in small electrical distribution rooms is crucial for ensuring the safe operation of equipment. Small electrical distribution rooms primarily refer to those located in basement areas. The ventilation system is a key design element for ensuring air circulation in these rooms. The main principle is that, because these rooms are often unoccupied and the basement space has insufficient air circulation, over time, CO concentrations can rise and oxygen levels can become insufficient. Therefore, exhaust fans and air intake vents need to be installed in each small equipment room to maintain airflow and prevent CO concentration increases.

[0003] Current mainstream solutions rely on manual analysis of Building Information Modeling (BIM), with designers manually identifying the location of electrical distribution rooms and arranging ventilation equipment. While existing semi-automated BIM tools can assist in generating ventilation plans, they cannot automatically distinguish target electrical distribution rooms from other functional spaces. Rooms containing keywords such as "electrical distribution room" and "weak current room" must be manually selected and named, which is inefficient and prone to omissions. Furthermore, the placement of ventilation equipment depends on designers' experience in judging the attributes of adjacent wall areas, lacking a standardized classification mechanism, resulting in insufficient rationality in placement. In addition, during the actual design process, the generated exhaust fan positions often spatially interfere with building components (such as structural columns and pipes), requiring repeated manual adjustments and resulting in a high rework rate.

[0004] In summary, existing technologies suffer from low automation, lack of decision-making rules, and insufficient dynamic obstacle avoidance capabilities, resulting in inefficient ventilation system design and difficulty in ensuring compliance. Summary of the Invention

[0005] This specification provides one or more embodiments of an automatic generation method, device, and medium for ventilation systems in small electrical distribution rooms, which is used to solve the following technical problems: existing technologies suffer from low automation, lack of decision-making rules, and insufficient dynamic obstacle avoidance capabilities, resulting in low design efficiency and difficulty in ensuring compliance of ventilation systems.

[0006] One or more embodiments of this specification employ the following technical solutions:

[0007] This specification provides one or more embodiments of an automatic method for generating a ventilation system for a small electrical distribution room. The method includes: acquiring civil engineering model data from a building information model; filtering spatial objects in the civil engineering model data based on a preset list of room keywords to determine at least one target electrical distribution room; classifying wall objects in each target electrical distribution room according to the civil engineering model data to determine the wall classification result corresponding to each target electrical distribution room, wherein the wall classification result includes Class I walls, Class II walls, and invalid walls; generating an exhaust fan layout strategy based on the wall classification result corresponding to each target electrical distribution room; and performing dynamic collision detection on the exhaust fan layout strategy according to the civil engineering model data. If no collision behavior is detected, the exhaust fan layout strategy is output to generate the ventilation system layout corresponding to the target electrical distribution room.

[0008] This specification provides one or more embodiments of an automatic ventilation system generation device for a small electrical distribution room, comprising:

[0009] At least one processor; and,

[0010] A memory communicatively connected to the at least one processor; wherein,

[0011] 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 above-described method.

[0012] This specification provides one or more embodiments of a non-volatile computer storage medium storing computer-executable instructions configured to perform the above-described method.

[0013] The above-mentioned technical solutions adopted in the embodiments of this specification can achieve the following beneficial effects: Through the technical solutions of the embodiments of this specification, traditional manual screening relies on designers' visual traversal of the BIM spatial tree, and its cognitive load increases exponentially with the complexity of the model. The matching process of preset keywords and name attributes in this solution is essentially to transform the semantics of building functions into discrete rules that can be processed by machines, avoiding room omissions caused by visual blind spots or naming variations; through geometric boundary intersection analysis, the value of the wall is quantitatively defined as a function of the functional attributes of adjacent spaces, and by utilizing the inherent spatial adjacency data of the BIM model, the implicit engineer experience in traditional design is transformed into explicit rules, independently assessing the ventilation potential of each wall segment, and avoiding local suboptimal solutions caused by manual global trade-offs. This classification mechanism actually constructs a wall-environment value assessment matrix, enabling subsequent equipment layout to obtain a scientific decision-making basis and eliminating the subjective arbitrariness of layout location from the root. The spatial conflict between ventilation equipment and building components is essentially an interference problem of three-dimensional geometry. Traditional manual inspection relies on designers to use spatial imagination to deduce in two-dimensional views. The technical solution in this manual upgrades the traditional post-event static review to real-time closed-loop detection during the layout process. Once the bounding box and the coordinate set of the structural component have spatial overlap, a collision is immediately determined to avoid invalid solution output. Attached Figure Description

[0014] To more clearly illustrate the technical solutions in the embodiments or prior art of this specification, the drawings used in the description of the embodiments or prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments recorded in this specification. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort. In the drawings:

[0015] Figure 1 A flowchart illustrating an automatic generation method for a ventilation system in a small electrical distribution room, provided as an embodiment of this specification.

[0016] Figure 2 This specification provides an example diagram of a scenario where only one Class I line exists in each target power distribution room, as provided in the embodiments of this specification.

[0017] Figure 3 This is an example diagram illustrating a scenario where multiple Class I lines exist in each target power distribution room, as provided in the embodiments of this specification.

[0018] Figure 4 This specification provides an example diagram of a scenario where each target power distribution room does not have Class I wiring but has Class II wiring, as provided in the embodiments of this specification.

[0019] Figure 5 This is an example diagram illustrating a scenario where a make-up air inlet is installed when there is an effective wall, as provided in the embodiments of this specification.

[0020] Figure 6 This is an example diagram illustrating a scenario where a make-up air inlet is installed when there is no effective wall, as provided in the embodiments of this specification.

[0021] Figure 7 This is a schematic diagram of the structure of an automatic ventilation system generation device for a small electrical distribution room, provided as an embodiment of this specification. Detailed Implementation

[0022] To enable those skilled in the art to better understand the technical solutions in this specification, the technical solutions in the embodiments of this specification will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this specification, and not all embodiments. Based on the embodiments of this specification, all other embodiments obtained by those skilled in the art without creative effort should fall within the scope of protection of this specification.

[0023] This specification provides an embodiment of an automatic method for generating a ventilation system for a small power distribution room. It should be noted that the execution entity in this specification embodiment can be a server or any device with data processing capabilities. Figure 1 This is a flowchart illustrating an automatic generation method for a ventilation system in a small electrical distribution room, as provided in an embodiment of this specification. Figure 1 As shown, the main steps include the following:

[0024] Step S101: Obtain civil engineering model data from the building information model, and filter spatial objects in the civil engineering model data based on a preset list of room keywords to determine at least one target power distribution room.

[0025] Small electrical distribution rooms (such as power distribution rooms and low-voltage electrical rooms) are usually scattered in the basement, and their naming rules vary from design unit to design unit. For example, a "power distribution room" may be named "electrical equipment room". Current technology relies on designers to manually browse the model and identify the target room based on experience, which is time-consuming and prone to missing rooms with non-standard names.

[0026] Based on a pre-defined list of room keywords, spatial objects are filtered in the civil engineering model data to identify at least one target power distribution room. Specifically, this includes: extracting the name attribute of each building space object from the civil engineering model data; performing string matching between each building space object and the pre-stored list of room keywords, wherein the list of room keywords is generated and stored in the database according to predefined rules and includes multiple room naming keywords; if a match is successful, the building space object is marked as the target power distribution room.

[0027] In one embodiment of this specification, after acquiring the civil engineering model data from the Building Information Model (BIM), the system first parses all building space objects from the model data, such as enclosed spaces like rooms and corridors, and then extracts the name attribute text of each space object, such as "Electrical Distribution Room-01". ” Names such as "underground parking garage" are used. These name attributes are matched against a pre-stored list of room keywords in a database. This keyword list is generated using predefined rules and includes standard naming keywords such as power distribution room, electrical room, and low-voltage room. Its generation is based on the functional classification of small equipment rooms as defined in building industry standards. Fuzzy matching logic is used during the matching process; if the keyword substring appears in the name text, such as "power distribution" matching "power distribution room," a successful match is considered. If a match is successful, the system marks the building space object as the target power distribution room in the BIM model and records its unique identifier and spatial boundary data for subsequent use by the ventilation system generation module.

[0028] It's important to note that the core strategy for acquiring models and data primarily employs a "layered acquisition and precise filtering" approach. This mainly utilizes the Document Object Model (DOM) through the Revit API. First, the target types for the component objects and data rows to be acquired are defined. Architectural elements primarily include "Wall" and "Room," while structural elements primarily include "StructuralColumn." After acquiring the elements, key parameters and geometric data are extracted from the critical data. This primarily focuses on the architectural objects... " room ” The selection process involves filtering, primarily using keyword searches by name. The main categories are: Room Function (room type) and Room Class (possible names corresponding to the room function). As the number of scenarios increases and the software iterates, the number of room names will continue to grow, as shown in the table below. The table below lists the possible room names for the ventilation system layout in a small electrical distribution room:

[0029]

[0030]

[0031] By automatically matching a pre-defined keyword list, all rooms that meet the functional definition are accurately identified. The keyword list is based on the predefined room function classification in the "Code for Electrical Design of Civil Buildings," avoiding the subjectivity of manual judgment. The programmatic extraction of all space name attributes ensures comprehensive coverage of hidden or unconventionally named electrical distribution rooms. The screening results directly determine the scope of subsequent wall classification and equipment layout. If a target room is missed, the entire ventilation system will fail. Through the above technical solutions, the manual screening that originally took several hours is reduced to seconds, and an accurate input dataset is provided for automated ventilation layout. This is the core prerequisite for achieving fully automated generation.

[0032] Step S102: Based on the civil engineering model data, classify the wall objects in each target power distribution room and determine the wall classification result corresponding to each target power distribution room.

[0033] The wall classification results include Class I walls, Class II walls, and invalid walls;

[0034] Based on the civil engineering model data, the wall objects in each target power distribution room are classified to determine the wall classification results for each target power distribution room. Specifically, this includes: identifying multiple room walls in each target power distribution room based on the civil engineering model data, and obtaining the wall geometry data and adjacent spatial boundary data for each room wall; performing spatial relationship analysis on each wall segment based on the wall geometry data and adjacent spatial boundary data to determine the boundary intersection space area of ​​each room wall; when the boundary intersection space area of ​​the first room wall is an underground parking garage area, the first room wall is determined to be a Class I wall; when the boundary intersection space area of ​​the second room wall is a passageway area, the second room wall is determined to be a Class II wall; and identifying all other walls besides Class I and Class II walls as invalid walls.

[0035] Traditional manual design requires engineers to rely on experience to determine which walls are suitable for equipment installation. Exhaust fans must prioritize exhausting air into non-human activity areas (such as garages) to avoid pollution, while air supply vents must draw air from clean passages. However, it is difficult for humans to quickly identify the functional attributes of adjacent wall areas. Furthermore, different designers have varying criteria for judging suitable walls, leading to fluctuations in design quality. In addition, large basements contain dozens of electrical rooms, and manually analyzing the adjacency relationships of all walls in each room is extremely time-consuming, reducing efficiency.

[0036] In one embodiment of this specification, after determining the target power distribution room, the wall object set of each room is traversed, and the geometric data of each wall segment is extracted through the BIM engine API, including the three-dimensional coordinates of the start and end points, the direction of the normal vector, and topological relationship data. Based on the wall geometric data, its spatial extension plane is calculated. Simultaneously, the boundary polygon data of adjacent spaces on both sides of the wall, such as the outline coordinate set of enclosed spaces like parking areas, equipment rooms, and corridors, is obtained from the civil engineering model database. Spatial relationship analysis is performed on each wall segment, calling the geometric calculation module of the BIM platform to detect the intersection area between the wall plane and the boundary polygons of adjacent spaces. If the area of ​​the intersection area exceeds a preset threshold to avoid fragmented contact interference, the functional attributes of the intersection space area are recorded. When the intersection space area is marked as an underground parking area by the model attributes, this wall is classified as a Class I wall according to the functional zoning definition in the "Garage Building Design Code"; when the name of the intersection space area contains keywords such as corridor or passageway, such as fire lane or equipment passageway, it is classified as a Class II wall. During this process, a mapping table between wall IDs and classification results is dynamically constructed. Unclassified walls (such as those adjacent to manholes or other equipment) are marked as invalid walls. All classification results are bound to the wall objects in the form of metadata, ensuring that downstream modules can directly call them.

[0037] In other words, the walls acquired by the model are categorized into Class I and Class II walls, also known as Class I lines and Class II lines, based on different scenarios. The main purpose is to determine the objects requiring exhaust fans and air intake vents, i.e., which walls the exhaust fans and air intake vents should be placed on. The distinction between Class I and Class II lines is as follows: Class I lines identify whether the walls in rooms within the basement are adjacent to the parking area of ​​the underground garage; if so, the line segment is classified as a Class I line. Class II lines identify whether the walls in rooms within the basement are adjacent to rooms containing the keywords "corridor" or "passage"; if so, they are classified as Class II lines. Invalid lines fall into two categories: first, invalid lines are walls on rooms not listed in Table 1; second, invalid lines are on the intended objects but do not meet the requirements for Class I or Class II line segments. Standardized wall classification achieves precise functional matching, ensuring ventilation effectiveness from a physical perspective. Furthermore, the classification logic incorporates industry standards, eliminating subjective arbitrariness.

[0038] Step S103: Based on the wall classification results corresponding to each target power distribution room, generate an exhaust fan layout strategy, and perform dynamic collision detection on the exhaust fan layout strategy according to the civil engineering model data. If no collision behavior is detected, output the exhaust fan layout strategy to generate the ventilation system layout corresponding to the target power distribution room.

[0039] Based on the wall classification results for each target power distribution room, an exhaust fan placement strategy is generated. Specifically, this includes: reading the wall classification result metadata for the target power distribution room; determining whether a Class I wall exists in the target power distribution room based on the wall classification results; if so, identifying at least one Class I room wall belonging to that class, obtaining the wall space length value for each Class I room wall, and determining the target room wall corresponding to the maximum value as the exhaust fan placement wall based on the wall space length value; if not, identifying at least one Class II room wall belonging to that Class II wall, obtaining the wall space length value for each Class II room wall, and determining the target room wall corresponding to the maximum value as the exhaust fan placement wall based on the wall space length value; and calculating the geometric center point coordinates of the exhaust fan placement wall to determine the exhaust fan installation location based on the geometric center point coordinates.

[0040] In one embodiment of this specification, after obtaining the wall classification result metadata of the target power distribution room, the wall type marker (Class I / Class II / Invalid) in the metadata is first parsed, and hierarchical decision logic is executed based on the classification result. If there is a Class I wall (i.e., the wall adjacent to the underground parking area), all Class I wall objects are traversed, and the spatial length value of each wall segment is calculated through the BIM geometry engine (based on the vector modulus calculation of the difference between the three-dimensional coordinates of the wall's start and end points). After comparing the length values ​​of all Class I walls, the wall with the maximum value is selected as the wall for the exhaust fan arrangement.

[0041] If no Class I wall exists, the process proceeds to Class II wall processing. The length of each Class II wall is calculated, and the longest is selected for placement. After determining the target wall, the system reads the geometric endpoint coordinates and calculates its geometric center coordinates using a linear interpolation algorithm. The specific formula is: Center point X = (Start point X + End point X) / 2. The Y and Z axes are calculated similarly. These center point coordinates serve as the reference installation position for the exhaust fan equipment.

[0042] It should be noted that when only one Class I cable is detected in the target power distribution room, and there are no Class II cables, if... Figure 2 As shown, Figure 2 This is an example diagram illustrating a scenario where each target power distribution room has only one Class I line, as provided in the embodiments of this specification. Exhaust fans can be directly placed on this Class I line, with the placement location centered. The calculation process for the placement height is as follows: Identify the upper and lower building elevation lines under the current view, calculate the height of the room where the fan needs to be placed by the difference, and subtract 800mm. The calculation formula is: Exhaust fan system (duct height) top elevation = upper and lower building elevations under the current view - 800mm.

[0043] Figure 3This specification provides an example diagram of a scenario where multiple Class I lines exist in each target power distribution room, as shown in the embodiments. Figure 3 As shown, there are multiple Class 1 lines in the room. When a room intersects with the parking garage, there may be multiple Class 1 lines. In this case, record the lengths of these multiple Class 1 lines in the room, and select the wall with the longest Class 1 line as the wall for the exhaust fan system. The placement rules are the same as above. The exhaust fan system is placed within the wall, and the placement height is calculated by identifying the upper and lower building elevation lines in the current view, calculating the difference to obtain the height of the room where the system needs to be placed, and then subtracting 800mm. The calculation formula is: Exhaust fan system (duct height) top elevation = upper and lower building elevations in the current view - 800mm. If there is a column in the center of the wall, offset it 100mm to the left or right to ensure no collision.

[0044] Figure 4 This specification provides an example diagram illustrating a scenario where each target power distribution room has no Category 1 wiring but has Category 2 wiring, as shown in the embodiments. Figure 4 As shown, when a room is identified as not containing Category 1 cable, Category 2 cable identification is performed. Similar to Category 1 cables, if a room has only one Category 2 cable, the exhaust fan system is placed centered on that cable. If multiple Category 2 cables exist, the longest segment is selected for the exhaust fan placement. Furthermore, when a room has both Category 1 and Category 2 cables, the priority for exhaust fan placement is Category 1 cables over Category 2 cables. Exhaust fans are preferentially placed on Category 1 cables. If the length of the Category 1 cable does not meet the size requirements for exhaust fan placement, it is placed on a Category 2 cable.

[0045] The above technical solution firstly establishes a priority decision tree based on wall classification results, prioritizing Class I walls over Class II walls, fundamentally ensuring the compliance and functionality of equipment placement. Traditional manual placement relies on the designer's subjective experience to judge wall suitability, which can easily lead to improper ventilation path selection due to cognitive biases, such as mistakenly installing exhaust fans on walls adjacent to personnel activity areas. The technical solution in this specification, however, is based on an objective classification mechanism of the functional attributes (garage / passage) of adjacent spaces, ensuring that exhaust fans are preferentially placed on walls that best meet regulatory requirements. Secondly, the wall with the longest spatial length among similar walls is selected as the installation carrier, significantly improving project feasibility and equipment safety. Manually measuring and comparing the lengths of multiple wall segments is time-consuming and laborious, and it is difficult to accurately identify the maximum usable space. The technical solution in this specification automatically calculates the wall spatial length value and performs maximum value filtering, not only avoiding human error but also providing ample installation buffer area for exhaust fans—the longest wall naturally has stronger obstacle avoidance and fault tolerance capabilities, reducing the frequency of subsequent collision adjustments, while also reserving physical channels for equipment maintenance. Finally, the automatic calculation of the geometric center point coordinates generates the optimal solution for the placement location. In conventional designs, centering the exhaust fan requires manually marking the midpoint of the wall. This can easily lead to positioning misalignment on curved or irregularly shaped walls. The technical solution in this specification is based on the wall geometry data to accurately calculate the center point coordinates, ensuring that the exhaust fan meets the functional requirements.

[0046] Dynamic collision detection is performed on the exhaust fan layout strategy based on the civil engineering model data. Specifically, this includes: determining the exhaust fan installation positions in the layout strategy; generating an installation space bounding box corresponding to the exhaust fan installation area based on pre-acquired exhaust fan size parameters and the installation positions; acquiring the three-dimensional coordinate set of structural components in the civil engineering model, excluding the exhaust fan placement walls, where structural components include structural columns, other walls, and floor slabs; performing spatial overlap analysis between the installation space bounding box and the three-dimensional coordinate set of the structural components; if the coordinates of any point within the installation space bounding box belong to the coordinate set of the structural components, a collision is determined to have occurred; if the coordinates of any point within the installation space bounding box do not belong to the coordinate set of the structural components, no collision is determined to have occurred.

[0047] Traditional BIM design relies on manual visual inspection of exhaust fan locations, making it difficult to detect hidden collisions. Interference from structural beams above exhaust fans and hidden pipelines on the sides is difficult to identify in 2D views, leading to forced rework during the construction phase. Furthermore, manual calculation of the spatial relationship between the equipment enclosure and thousands of structural coordinate points is not possible, resulting in a sharp increase in the rate of missed detections. It is also prone to the risk of code conflicts. For example, GB 50016-2014 mandates a minimum clear distance between ventilation equipment and the structure, and manual measurement in this process is prone to exceeding the error threshold.

[0048] In one embodiment of this specification, after determining the installation location of the exhaust fan, a pre-stored database of exhaust fan device size parameters, including its three-dimensional physical dimensions (length, width, and height), is invoked. A corresponding installation space bounding box is generated based on these location coordinates. Using the installation location as a reference point, a cuboid space region is formed by extending half the device dimension along the positive and negative X / Y / Z axes. The coordinates of its eight vertices are obtained through vector operations. Subsequently, a set of three-dimensional coordinates for all structural components outside the wall where the exhaust fan is located is extracted from the civil engineering model. This includes point clouds of structural column surfaces, grid coordinates of other wall facades, and floor slab bottom surface coordinates. This data is acquired in real-time through the spatial indexing engine of the BIM platform, ensuring coverage of all structural elements in the model.

[0049] The coordinate sets of the bounding box vertices and the coordinate sets of the structural components are input into the geometric collision detection algorithm. The algorithm checks point by point whether any coordinate point within the bounding box coincides with the coordinates of a structural component (or falls within the component's mesh). If any point of coincidence exists, a collision is determined to have occurred. A collision is only considered non-collision when all vertices of the bounding box and its internal space have no coincident coordinates. During the detection process, the collision component ID and the coordinates of the interference area are output in real time, generating a visual collision report for debugging and traceability.

[0050] Compared to conventional collision detection methods, this technical solution significantly improves detection efficiency and accuracy by precisely excluding the wall where the exhaust fan is located (avoiding self-collision false positives) and focusing on key collision risk sources (structural columns, adjacent walls, and floor slabs). In terms of dynamic processing, it upgrades the traditional post-implementation static review to real-time closed-loop detection during the installation process. If the bounding box and the coordinate set of structural components overlap, such as a beam above the exhaust fan intruding into its installation space, a collision is immediately determined, preventing invalid solutions from being output. Regarding engineering applicability, the 3D bounding box calculation based on BIM native geometric data strictly adheres to the physical dimensions of the equipment and the spatial relationship with the building structure, fundamentally eliminating the problem of design feasibility but construction conflicts. Embedded dynamic detection fundamentally restructures the ventilation design process, transforming collision avoidance from passive correction to proactive prevention, significantly shortening the design cycle and ensuring construction feasibility.

[0051] After a collision is determined, the method further includes: determining the length direction vector of the wall on which the exhaust fan is arranged, generating candidate position coordinates along the positive and negative axes of the direction vector by a preset offset; performing dynamic collision detection on each candidate position coordinate, determining the first candidate position that passes the collision detection, and thus determining the corrected installation position of the exhaust fan.

[0052] In complex and dense underground building environments, the initial installation position of exhaust fans is very likely to interfere with concealed structures (such as protruding beams and diagonal bracing columns). Traditional manual adjustment relies on the designer's experience and repeated trial and error. However, designers find it difficult to intuitively judge the wall's axial avoidance potential and often blindly choose new walls, leading to radical modifications to the design. In addition, manual offset lacks quantitative step size control and may skip effective empty spaces or get stuck in local optima.

[0053] In one embodiment of this specification, after the exhaust fan is placed in the required position, a positional analysis is performed on the generated component and the existing components on the drawing. The system checks whether the generated component collides with existing components on the drawing. If there is no collision, the generated result is directly determined as the result generated by the program; if there is a collision, the exhaust fan needs to be automatically adjusted. The adjustment method involves continuing to execute if-else statements to move the generated exhaust fan. The movement rule is that the system is offset 100mm to the left or right to ensure no collision. A check is performed after each movement until the overall component is free of collisions. The exhaust fans are arranged according to the original logic and fixed dimensions. After arrangement, it is checked whether the arranged exhaust fan system collides with the wall. If there is no collision, no adjustment is made; if there is a collision, the length of the exhaust fan system duct is adjusted. The length of the small electrical room along the duct direction is obtained based on the arrangement direction of the exhaust fan system, and the exhaust fan duct length is adjusted to position the exhaust fan at the midpoint of the line segment.

[0054] Traditional design relies on manual visual estimation of offset direction and distance, which is easily limited by subjective perception and can lead to adjustment failures. The technical solution in this specification precisely defines the offset path along the wall vector axis, combined with a step-by-step detection mechanism, transforming fuzzy experience into deterministic calculation rules, completely eliminating invalid adjustments. Conventional methods often abandon the original optimal wall after a collision, forcing the selection of a suboptimal position, resulting in decreased ventilation efficiency. The technical solution in this specification strictly limits the offset along the original wall axis, resolving conflicts with millimeter-level fine-tuning while ensuring the functionality of adjacent areas remains unchanged, maximizing the engineering rationality of the initial layout. Compared to the lengthy process of manual adjustment requiring model resubmission for verification (averaging several hours), the technical solution in this specification embeds a real-time collision detection loop, completing position correction and verification within seconds. This is particularly suitable for scenarios with multiple design changes, giving the automated system human-like environmental adaptability. Through the closed-loop logic of vector definition-step offset-instant verification, it avoids the dead loops or out-of-bounds risks that conventional algorithms are prone to. The preset offset mechanism ensures search efficiency, while the boundary monitoring function ensures that the solution is always within the feasible domain, thus fundamentally eliminating the possibility of logical malfunctions in the automatic generation system.

[0055] The method further includes: extracting the door object family type attribute of the target power distribution room; if the door object family type attribute matches the pre-stored fire door type identifier, then executing the air supply outlet generation logic. Executing the air supply outlet generation logic specifically includes: obtaining the wall classification results in the target power distribution room excluding the wall where the exhaust fan is located; determining whether there are valid walls in the wall classification results, wherein the valid walls include Class I walls and Class II walls; if so, calculating the Euclidean distance between the wall surface location point of each valid wall and the exhaust fan installation location, and selecting the wall surface location point corresponding to the maximum distance as the air supply outlet installation location.

[0056] In the design of ventilation systems for enclosed electrical distribution rooms, the presence of fire doors alters aerodynamic characteristics. When a room is equipped with airtight fire doors, the operation of exhaust fans creates a negative pressure environment, making the doors difficult to open and drastically reducing exhaust efficiency. Traditional designs rely on manually memorizing the association rules between door types and air supply logic, easily overlooking non-visual doors (such as fire doors hidden behind equipment cabinets), resulting in missing air supply vents. Secondly, arbitrarily placing air supply vents may cause airflow short-circuiting, causing fresh air to be exhausted without passing through the equipment area.

[0057] In one embodiment of this specification, the set of door objects in the target power distribution room is traversed, and the family type attribute parameters of each door are extracted through the BIM platform API, such as the identification text of FM_A-class fire door, Class A fire door, etc., and these are precisely matched with the fire door type identification library pre-stored in the specification database. If the match is successful, it is determined to be a fire door room, and the air supply vent generation module is activated. First, the metadata of the wall classification result of the room is read, and all valid walls except the wall where the current exhaust fan is located are filtered out, i.e., Class I or Class II walls. If a valid wall exists, the distance calculation process begins.

[0058] For each effective wall segment, a set of coordinate points is generated along its surface at a preset density, and the Euclidean distance to the exhaust fan installation location is calculated point by point. The distance values ​​of all points are dynamically compared, and the coordinate point corresponding to the maximum value is selected as the installation location for the make-up air inlet. If there is no effective wall, such as in a small electrical room where only one wall is available, symmetrical make-up air inlet coordinates are generated at both ends of the wall where the exhaust fan is located, at a specific distance from the endpoints. The entire process records the fire door determination criteria, the candidate wall list, and the distance calculation log in real time, forming a traceable decision chain.

[0059] Specifically, Figure 5 This specification provides an example diagram of a makeup air inlet setup scenario where an effective wall exists, as shown in the embodiments. Figure 5As shown, in the presence of an effective wall, the make-up air inlets are placed on Category I and Category II lines. The placement is determined by the straight-line distance between the make-up air inlet and the exhaust fan; the location with the largest distance is taken as the make-up air inlet location. The farthest point from the exhaust fan on these two lines is calculated. The placement height is 400mm, and the make-up air inlet must be at least 100mm from the wall. Figure 6 This is an example diagram illustrating a scenario where a make-up air inlet is installed when there is no effective wall, as provided in the embodiments of this specification. Figure 6 As shown, if there are no other lines in the room besides the line category of the exhaust fan system, the air supply vents are arranged on both sides of the wall where the exhaust fan system is located. The arrangement position is the farthest distance between the wall and the exhaust fan, the arrangement height is 400mm, and the air supply vents are at least 100mm away from the wall.

[0060] By transforming regulatory clauses into procedural trigger rules, fire doors are automatically identified and a make-up air system is forcibly generated during the layout phase, eliminating compliance loopholes at the source. Using an Euclidean distance maximization algorithm, the system finds the effective wall location furthest from the exhaust fan in three-dimensional space, ensuring that fresh air must traverse the entire equipment area before being exhausted, completely eliminating airflow short-circuiting. Through wall surface point cloud scanning and real-time distance sorting, the system can process tens of thousands of coordinate points on dozens of walls within seconds, with accuracy and speed far exceeding the limits of manual capabilities. Especially in large-scale mixed-use projects, this can resolve blind spots in the make-up air design for rooms with multiple concealed fire doors (such as decoratively wrapped fire-resistant roller shutters), avoiding losses from later demolition and alteration.

[0061] The technical solutions described in this specification address the traditional manual screening method, which relies on designers visually traversing the BIM spatial tree, resulting in an exponential increase in cognitive load with model complexity. This solution's pre-defined keyword and name attribute matching process essentially transforms architectural functional semantics into machine-processable discrete rules, avoiding room omissions due to visual blind spots or naming variations. Through geometric boundary intersection analysis, the value of walls is quantified as a function of the functional attributes of adjacent spaces. Utilizing the inherent spatial adjacency data of the BIM model, implicit engineer experience in traditional design is transformed into explicit rules, independently assessing the ventilation potential of each wall segment and avoiding suboptimal solutions resulting from manual global trade-offs. This classification mechanism effectively constructs a wall-environment value assessment matrix, providing a scientific basis for subsequent equipment placement and eliminating subjective arbitrariness in placement from the root. Spatial conflicts between ventilation equipment and building components are essentially interference problems of three-dimensional geometry. Traditional manual inspection relies on designers' spatial imagination in two-dimensional views. This technical solution upgrades the traditional post-event static review to real-time closed-loop detection during the placement process. Once the bounding box and structural component coordinate set overlap, a collision is immediately determined, preventing invalid solution output.

[0062] This specification also provides an embodiment of an automatic generation device for a ventilation system in a small electrical distribution room, such as... Figure 7 As shown, the device includes: 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.

[0063] This specification also provides a non-volatile computer storage medium storing computer-executable instructions configured to perform the above-described method.

[0064] The various embodiments in this specification 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 embodiments of apparatus, devices, and non-volatile computer storage media are basically similar to the method embodiments, so the descriptions are relatively simple; relevant parts can be referred to the descriptions of the method embodiments.

[0065] The foregoing has described specific embodiments of this specification. Other embodiments are within the scope of the appended claims. In some cases, the actions or steps recited in the claims may be performed in a different order than that shown in the embodiments and may still achieve the desired result. Furthermore, the processes depicted in the drawings do not necessarily require the specific or sequential order shown to achieve the desired result. In some embodiments, multitasking and parallel processing are possible or may be advantageous.

[0066] The devices, media, and methods provided in the embodiments of this specification are one-to-one correspondences. 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.

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

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

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

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

[0071] In a typical configuration, a computing device includes one or more processors (CPU), input / output interfaces, network interfaces, and memory.

[0072] Memory may include non-persistent storage in computer-readable media, such as random access memory (RAM) and / or non-volatile memory, such as read-only memory (ROM) or flash RAM. Memory is an example of computer-readable media.

[0073] Computer-readable media includes both permanent and non-permanent, removable and non-removable media that can store information using any method or technology. Information can be computer-readable instructions, data structures, modules of programs, or other data. Examples of computer storage media include, but are not limited to, phase-change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technologies, CD-ROM, digital versatile optical disc (DVD) or other optical storage, magnetic tape, magnetic disk storage or other magnetic storage devices, or any other non-transferable medium that can be used to store information accessible by a computing device. As defined herein, computer-readable media does not include transient computer-readable media, such as modulated data signals and carrier waves.

[0074] 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, the phrase "comprising a…" … ” The definition of a specific element does not preclude the presence of other identical elements in the process, method, product, or apparatus that includes the element.

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

Claims

1. A method for automatically generating a ventilation system for a small electrical distribution room, characterized in that, The method includes: Obtain civil engineering model data from the building information model, and based on a preset list of room keywords, filter spatial objects in the civil engineering model data to determine at least one target power distribution room; Based on the civil engineering model data, the wall objects in each target power distribution room are classified, and the wall classification result corresponding to each target power distribution room is determined. The wall classification result includes Class I walls, Class II walls, and invalid walls. Based on the wall classification results corresponding to each target power distribution room, an exhaust fan layout strategy is generated, and dynamic collision detection is performed on the exhaust fan layout strategy according to the civil engineering model data. If no collision behavior is detected, the exhaust fan layout strategy is output to generate the ventilation system layout corresponding to the target power distribution room. Based on the civil engineering model data, the wall objects in each target power distribution room are classified, and the wall classification result corresponding to each target power distribution room is determined, specifically including: Based on the civil engineering model data, identify multiple room walls of each target power distribution room, and obtain the wall geometry data and adjacent space boundary data corresponding to each room wall; Based on the wall geometry data and adjacent spatial boundary data of each room wall, a spatial relationship analysis is performed on each wall segment to determine the intersecting spatial area of ​​the boundaries of each room wall; When the space where the boundaries of the first room's walls intersect is the underground parking garage area, the first room's walls are determined to be Class I walls; When the intersecting spatial area of ​​the boundary of the second room's walls is a passageway-like area, the second room's walls are classified as Class II walls. All walls other than the first type of walls and the second type of walls are identified as invalid walls; Based on the wall classification results corresponding to each target power distribution room, an exhaust fan layout strategy is generated, specifically including: reading the metadata of the wall classification results of the target power distribution room; Based on the wall classification results corresponding to each target power distribution room, determine whether the target power distribution room has a type of wall. If so, then determine at least one type of room wall belonging to the first type of wall, obtain the wall space length value of each type of room wall, and determine the target room wall corresponding to the maximum value as the exhaust fan arrangement wall based on the wall space length value; If not, then determine at least one Class II room wall belonging to the Class II wall, obtain the wall space length value of each Class II room wall, and determine the target room wall corresponding to the maximum value as the exhaust fan arrangement wall based on the wall space length value; Calculate the coordinates of the geometric center point of the wall where the exhaust fan is arranged, and determine the installation position of the exhaust fan based on the coordinates of the geometric center point.

2. The method for automatically generating a ventilation system for a small power distribution room according to claim 1, characterized in that, Based on a preset list of room keywords, spatial objects are filtered in the civil engineering model data to identify at least one target power distribution room, specifically including: Extract the name attribute of each building space object from the civil engineering model data; Each building space object is matched against a pre-stored list of room keywords, wherein the list of room keywords is generated and stored in a database according to predefined rules, and the list of room keywords includes multiple room naming keywords; If a match is successful, the building space object will be marked as the target power distribution room.

3. The method for automatically generating a ventilation system for a small electrical distribution room according to claim 1, characterized in that, Dynamic collision detection is performed on the exhaust fan layout strategy based on the civil engineering model data, specifically including: The exhaust fan installation position in the exhaust fan layout strategy is determined so that, based on the pre-acquired exhaust fan size parameters and the exhaust fan installation position, an installation space enclosure box corresponding to the exhaust fan installation area is generated. Obtain the three-dimensional coordinate set of structural components in the civil engineering model, excluding the exhaust fan wall. The structural components include structural columns, other walls, and floor slabs. Perform spatial overlap analysis between the installation space bounding box and the three-dimensional coordinate set of the structural component; If the coordinates of any point within the enclosure of the installation space belong to the coordinate set of the structural component, then a collision is determined to have occurred. If the coordinates of any point within the enclosure of the installation space do not belong to the coordinate set of the structural component, then it is determined that no collision has occurred.

4. The method for automatically generating a ventilation system for a small electrical distribution room according to claim 3, characterized in that, After determining that a collision has occurred, the method further includes: Determine the length direction vector of the wall where the exhaust fan is arranged, and generate candidate position coordinates along the positive and negative axes of the direction vector according to a preset offset; Dynamic collision detection is performed on each of the candidate position coordinates to determine the first candidate position that passes the collision detection, thereby determining the corrected exhaust fan installation position.

5. The method for automatically generating a ventilation system for a small electrical distribution room according to claim 1, characterized in that, The method further includes: Extract the door object family type attribute of the target power distribution room; If the door object family type attribute matches the pre-stored fire door type identifier, then the air supply vent generation logic is executed.

6. The method for automatically generating a ventilation system for a small electrical distribution room according to claim 5, characterized in that, The logic for generating the supplementary air inlet includes: Obtain the wall classification results in the target power distribution room excluding the wall where the exhaust fan is located, and determine whether there are any valid walls in the wall classification results. The valid walls include Class I walls and Class II walls. If so, calculate the Euclidean distance between the wall surface location point of each effective wall and the exhaust fan installation location, and select the wall surface location point corresponding to the maximum distance as the air supply vent installation location.

7. An automatic generation device for a ventilation system in a small electrical distribution room, 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 to enable the at least one processor to perform the method as described in any one of claims 1-6.

8. A non-volatile computer storage medium storing computer-executable instructions, characterized in that, The computer-executable instructions are configured to perform the method as described in any one of claims 1-6.

Citation Information

Patent Citations

  • Indoor automatic layout method based on sliding window features and regression prediction

    CN109033652A

  • Fire damper point location automatic prompting method based on BIM technology and related device

    CN115238353A