Spraying system design method and device based on BIM model and medium

Through the BIM model, the spray system design is automatically identified and optimized, and the problems of manual measurement errors and insufficient water flow in traditional designs are solved, and the efficient compliance and stability of the spray system are achieved.

CN118916954APending Publication Date: 2024-11-08CHINA HUASHI ENTERPRISES CO LTD (SICHUAN)
View PDF 0 Cites 4 Cited by

Patent Information

Application Number
CN202410920858.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-10
Publication Date
2024-11-08

AI Technical Summary

Technical Problem

In electromechanical installation projects, traditional automatic spray system designs have problems such as manual measurement leakage, insufficient water flow and difficult to ensure compliance, especially when installing lower spray heads under obstacles.

Method used

Using the design method based on the BIM model, by obtaining the three-dimensional model of the electromechanical pipeline, the position of obstacles with a width greater than 1.2 meters is automatically identified, the lower nozzle and branch pipe elements are automatically generated, and the main pipe diameter is optimized according to the number of nozzles and the water flow speed to ensure the nozzle The spacing and flow velocity comply with the specifications.

Benefits of technology

Improve design and construction efficiency, ensure compliance and sufficient water flow of the spray system, reduce manual errors, and improve system stability and reliability.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118916954A_ABST
    Figure CN118916954A_ABST
Patent Text Reader

Abstract

The invention relates to the technical field of building design spraying systems, and discloses a spraying system design method and device based on a BIM model and a medium, and the method comprises the steps that an electromechanical pipeline BIM model of a spraying system needing to be designed is obtained, and the electromechanical pipeline BIM model comprises the positions, sizes and attributes of all main pipeline elements and the positions, sizes and attributes of wall elements; identifying the position of an obstacle below rows of main pipeline elements with the width greater than X meters or the position of an obstacle below a single main pipeline element with the width greater than X meters in the electromechanical pipeline BIM model; automatically generating a lower spray head and a corresponding branch pipe element under the obstacle according to a set constraint condition; automatically calculating and optimizing the pipe diameter of the main pipeline element according to the number and positions of the upper nozzles and the lower nozzles and the expected water flow speed; and performing compliance detection. The pipe diameter of the main pipe can be automatically identified and gradually increased.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of building design sprinkler systems, and in particular to a sprinkler system design method, equipment and medium based on a BIM model. Background Art

[0002] In the mechanical and electrical installation project, Article 7.2.3 of the "Design Code" stipulates: In the automatic sprinkler system, when the width of obstacles such as air ducts, pipes arranged in rows, and bridges is greater than 1.2m, in order to avoid the existence of blind areas of sprinkler fire extinguishing caused by obstacles, additional drooping sprinklers (such as Figure 2 The pendant nozzle, that is, the lower nozzle), Figure 2 The vertical sprinkler in the nozzle is the upper sprinkler; the traditional design method is that the construction unit, after the completion of the electromechanical pipeline construction, manually measures and searches for the position where the width of the row of pipelines is greater than 1.2m, and adds the lower sprinkler. However, this construction operation has the following disadvantages:

[0003] 1. It is easy to miss some sprinkler heads through manual measurement and search;

[0004] 2. Although most construction units added sprinkler heads at the specified locations, since the sprinkler mains had been installed in advance, the construction units did not actually increase the main pipe diameter step by step according to the relevant specifications for the water distribution branch pipe elements and the number of standard flow sprinkler heads controlled by the water distribution pipes, resulting in insufficient water flow and certain compliance risks;

[0005] 3. Manual measurement and search of the installation position of the lower sprinkler head make it difficult to ensure that parameters such as the sprinkler head spacing and the distance between the sprinkler head and obstacles meet the compliance requirements of the sprinkler system. Summary of the invention

[0006] The present invention provides a sprinkler system design method, system, equipment and medium based on a BIM model to solve the above problems.

[0007] The present invention is achieved through the following technical solutions:

[0008] A sprinkler system design method based on a BIM model, comprising:

[0009] S1. Obtain a BIM model of the electromechanical pipelines for which a sprinkler system needs to be designed, wherein the BIM model includes the location, size, and attributes of all main pipeline elements and the location, size, and attributes of wall elements;

[0010] S2. Identify the position of an obstacle located under a row of main pipeline elements with a width greater than X meters or the position of an obstacle under a single main pipeline element with a width greater than X meters in the electromechanical pipeline BIM model;

[0011] S3, automatically generating a lower nozzle and a corresponding branch pipe element directly below the obstacle along the length direction of the main pipe element according to the set constraint conditions;

[0012] S4, automatically calculating and optimizing the pipe diameter of the main pipe element according to the number of upper and lower sprinklers and the expected water flow rate;

[0013] S5. Conduct compliance checks on the distance between the lower sprinkler and the obstacle, and the water flow velocity in the main pipe element.

[0014] As an optimization, in S2, the specific process of identifying the position of the obstacle located below the single main pipeline element with a width greater than X meters in the electromechanical pipeline BIM model is as follows:

[0015] A1. Traverse each single main pipeline element and create a three-dimensional rectangular virtual range frame for each single main pipeline element, with the center of the pipeline as the center of shape, a side length of 2*X meters, and a height equal to the length of the single main pipeline element;

[0016] A2. Determine whether there are two non-vertical wall elements in the range frame line. If not, remove the single main pipeline element. Otherwise, store the position, size and attributes of the single main pipeline element in the first list.

[0017] A3. Set the position directly below the single main pipeline element as the position of the corresponding obstacle.

[0018] As an optimization, in S2, the specific process of identifying the position of the obstacle located below the row of main pipeline elements with a width greater than X meters in the electromechanical pipeline BIM model is:

[0019] B1. Traverse each row of main pipeline elements, and create a three-dimensional rectangular virtual bounding box for the row of main pipeline elements, with the accumulated value of the widths of the multiple main pipeline elements constituting the row of main pipeline elements as the length, the diameter of a single main pipeline element constituting the row of main pipeline elements as the width, and the length of the axis direction of the multiple main pipeline elements constituting the row of main pipeline elements as the height, and the centroid of the bounding box is the center of the rectangular bounding box;

[0020] B2. forming a range frame line based on the bounding box, retaining the bounding box with a length greater than X meters and the corresponding row of main pipeline elements, and storing the position, size and attributes of the row of main pipeline elements in the first list;

[0021] Or determine whether there are two non-vertical wall elements in the range frame line, if not, remove the row of main pipeline elements, otherwise, store the position, size and attributes of the row of main pipeline elements in the first list;

[0022] B3. Set the position directly below the row of main pipeline elements as the position of the corresponding obstacle.

[0023] As an optimization, the judgment criteria for the row of main pipeline elements are: the spacing between two adjacent main pipeline elements is smaller than the diameter of the surface of any one of the two main pipeline elements perpendicular to the axis of the main pipeline element, and the difference in height between the two main pipeline elements and the ground is smaller than the height threshold.

[0024] As an optimization, in A1 and B1, traversing each single main pipeline element and row of main pipeline elements is specifically traversing in the list of initial pipeline types, and the list of initial pipeline types is created in the following manner:

[0025] C1. Use the AutodeskRevitAPI package and reference the Revit API namespace in the AutodeskRevit API package;

[0026] C2. Import the namespace related to the piping system from the Revit API namespace;

[0027] C3. Create a main pipe element category filter pipeFilter through ElementCategoryFilter to filter out all Revit elements belonging to the pipe category from the namespace related to the pipe system;

[0028] C4. Create an element collector collector through FilteredElementCollector to collect elements from the current Revit document, wherein the Revit document contains all component elements in the electromechanical pipeline BIM model;

[0029] C5. Using the WherePasses method, the element collector collects only the initial elements filtered by the main pipe element category filter pipeFilter from the Revit document;

[0030] C6. Collect the main pipeline elements of pipeline type from the initial elements using the OfClass method;

[0031] C7. Use the ToList method to convert the collected main pipeline elements into a list of the initial pipeline type.

[0032] As an optimization, the specific process in A2 is:

[0033] A2.1. Obtain the bounding box of the main pipeline element;

[0034] A2.2. Calculate the maximum point and minimum point of the bounding box in the x, y, and z axes respectively;

[0035] A2.3. Subtract 2*X*10000 units from the minimum point of the x, y, and z axes, and add 2*X*10000 units to the maximum point of the x, y, and z axes, respectively, to form a new minimum point and a new maximum point.

[0036] A2.4. Create an Outline object based on the new minimum point and the new maximum point to form a range frame;

[0037] A2.5. Create an intersect filter intersectFilter through ElementIntersectsSolidFilter to filter the wall elements that intersect with the range frame line;

[0038] A2.6. Create an element collector collector through FilteredElementCollector to collect elements from the current Revit document, wherein the Revit document contains all component elements in the electromechanical pipeline BIM model;

[0039] A2.7. Use the WherePasses method to enable the element collector to collect only the intermediate elements filtered by the intersectFilter from the Revit document;

[0040] A2.8. Use the Cast method to collect wall elements from the intermediate elements;

[0041] A2.9. Use the ToList method to convert the collected wall elements into a wall list;

[0042] A2.10. Determine whether the number of wall elements in the wall list is not greater than 2. If so, remove the main pipe element from the list of initial pipe types to obtain a list of final pipe types, and store the position, size and attributes of the single pipe element in the list of final pipe types into the first list.

[0043] As an optimization, the specific process of S3 is:

[0044] S3.1, obtain all upper nozzle pipeStus, and set p = 1;

[0045] S3.2, for the p-th upper sprinkler pipeStu, traverse each main pipeline element in the list of the final pipeline type and calculate the distance L from each main pipeline element to the p-th upper sprinkler pipeStu respectively;

[0046] S3.3. Select the main pipeline element with the smallest distance L, and take the bottom of the main pipeline element as the location of the obstacle;

[0047] S3.4, taking the vertical projection point of the p-th upper sprinkler pipeStu at the horizontal plane of the minimum point of the main pipeline element with the minimum distance L in the direction perpendicular to the ground as the starting point, along the intersection of the ray perpendicular to the main pipeline element with the minimum distance L and the main pipeline element with the minimum distance L, a branch pipe element is created at a position Y meters away from the inside in the direction perpendicular to the ground, and a lower sprinkler is generated at the end point of the branch pipe element. At the same time, the pipe diameter of the main pipeline element is increased by one unit of measurement;

[0048] S3.5, determine whether p is greater than M, where M is the number of upper nozzles pipeStu. If so, end; otherwise, set p=p+1 and then jump to S3.2.

[0049] As an optimization, in B2, a range frame line is formed based on the bounding box, and it is determined whether there are two non-vertical wall elements in the range frame line. If not, the row of main pipeline elements is removed. Otherwise, the position, size and attributes of the row of main pipeline elements are stored in the first list. The specific process is:

[0050] B2.1. Obtaining the bounding box of the row of main pipeline elements;

[0051] B2.2. Calculate the maximum point and minimum point of the bounding box in the x, y, and z axes respectively;

[0052] B2.3. Subtract 2*X*10000 units from the minimum point of the x, y, and z axes, and add 2*X*10000 units to the maximum point of the x, y, and z axes, respectively, to form a new minimum point and a new maximum point;

[0053] B2.4. Create an Outline object based on the new minimum point and the new maximum point to form a range frame;

[0054] B2.5. Create an intersect filter intersectFilter through ElementIntersectsSolidFilter to filter the wall elements that intersect with the range frame line;

[0055] B2.6. Create an element collector collector through FilteredElementCollector to collect elements from the current Revit document, wherein the Revit document contains all component elements in the electromechanical pipeline BIM model;

[0056] B2.7, using the WherePasses method, causing the element collector to collect only the intermediate elements filtered by the intersectFilter from the Revit document;

[0057] B2.8. Use the Cast method to collect wall elements from the intermediate elements;

[0058] B2.9. Use the ToList method to convert the collected wall elements into a wall list;

[0059] B2.10. Determine whether the number of wall elements in the wall list is not greater than 2. If so, remove the main pipe element from the list of initial pipe types to obtain a list of final pipe types, and store the position, size and attributes of the single pipe element in the list of final pipe types into the first list.

[0060] As an optimization, in S5, when conducting compliance testing, if the distance between the lower nozzle and the obstacle and the water flow velocity in the main pipe element are both compliant, the corresponding drawing is generated; otherwise, if the distance between the lower nozzle and the obstacle is not compliant, the position of the lower nozzle is adjusted; if the water flow velocity in the main pipe element is not compliant, the parameters of the lower nozzle or upper nozzle or pump are adjusted before conducting compliance testing again.

[0061] The present invention also discloses an electronic device, comprising 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, and the instructions are executed by the at least one processor so that the at least one processor can execute a sprinkler system design method based on a BIM model as described above.

[0062] The present invention also discloses a storage medium storing a computer program, wherein the computer program, when executed by a processor, implements the aforementioned method for designing a sprinkler system based on a BIM model.

[0063] Compared with the prior art, the present invention has the following advantages and beneficial effects:

[0064] Improve design and construction efficiency: By using Revit software to build a three-dimensional model of mechanical and electrical pipelines and optimizing the design before construction, the present invention can significantly reduce the time of manual measurement and search, and improve the efficiency of design and construction. At the same time, the automatic design process based on the BIM model can ensure the accuracy and consistency of the design.

[0065] Ensure the compliance of the sprinkler system: This invention effectively solves the problem of missing lower sprinklers in traditional methods by automatically identifying and adding drooping sprinklers, thereby ensuring the compliance of the sprinkler system. In addition, the system can also automatically check the sprinkler spacing, the distance between the sprinkler and the obstacle and other parameters before construction, further enhancing the compliance of the system.

[0066] Optimize pipe diameter configuration to ensure sufficient water flow: Based on the BIM model, the present invention can automatically identify and gradually increase the main pipe diameter to ensure that the system water flow is sufficient after adding the lower sprinkler, avoiding the problem of insufficient water flow caused by insufficient pipe diameter. This function reduces compliance risks and improves the stability and reliability of the system.

[0067] Intelligent design and verification: By integrating advanced algorithms and BIM technology, the present invention realizes the intelligent design and verification of the sprinkler system. The system can automatically calculate and verify parameters, reduce human errors, and improve design quality. At the same time, the intelligent design can also be personalized according to the specific project needs to meet the specific requirements of different projects.

[0068] Visual design and guidance: By utilizing the visualization characteristics of the BIM model, the present invention can provide users with intuitive and clear design solutions. Through the annotation and drawing functions, the system can generate detailed construction drawings to guide on-site construction. This not only improves construction efficiency, but also reduces construction difficulty and error rate. BRIEF DESCRIPTION OF THE DRAWINGS

[0069] The drawings described herein are used to provide a further understanding of the embodiments of the present invention, constitute a part of this application, and do not constitute a limitation of the embodiments of the present invention. In the drawings:

[0070] Figure 1 This is a flow chart of a sprinkler system design method based on a BIM model according to the present invention;

[0071] Figure 2 A schematic diagram of the positions of the air ducts, pipes arranged in rows, bridges and other obstacles and sprinkler heads of the automatic sprinkler system described in the background technology;

[0072] Figure 3 A schematic diagram of a BIM model obtained in an embodiment and requiring to be designed by the method of the present invention;

[0073] Figure 4 It is a schematic diagram of a BIM model designed by the method of the present invention.

[0074] Marks and corresponding parts names in the attached drawings:

[0075] 1-top plate, 2-upper nozzle, 3-lower nozzle, 4-row pipe. DETAILED DESCRIPTION

[0076] In order to make the objectives, technical solutions and advantages of the present invention more clearly understood, the present invention is further described in detail below in conjunction with embodiments and drawings. The exemplary embodiments of the present invention and their description are only used to explain the present invention and are not intended to limit the present invention.

[0077] This embodiment 1 provides a sprinkler system design method based on a BIM model, such as Figure 1 As shown, including:

[0078] S1. Obtain the BIM model of the electromechanical pipelines for which the sprinkler system needs to be designed, wherein the BIM model includes the location, size and attributes of all main pipeline elements and the location, size and attributes of wall elements; Figure 3 As shown, an accurate three-dimensional BIM model of mechanical and electrical pipelines is constructed using Revit software.

[0079] The attributes here refer to the material, elevation, etc. of the main pipeline elements.

[0080] S2. Identify the position of an obstacle located under a row of main pipeline elements with a width greater than X meters or the position of an obstacle under a single main pipeline element with a width greater than X meters in the electromechanical pipeline BIM model;

[0081] For example, if X is 1.2, then what is identified here is the position of obstacles with a row of pipelines with a width greater than 1.2m, and a lower nozzle is automatically generated below the obstacle, as well as the position of obstacles below a single main pipeline element with a width greater than 1.2m, and a lower nozzle is automatically generated below the obstacle.

[0082] In this embodiment, in S2, the specific process of identifying the position of the obstacle located below the single main pipeline element with a width greater than X meters in the electromechanical pipeline BIM model is as follows:

[0083] A1. Traverse each single main pipeline element and create a three-dimensional rectangular virtual range frame for each single main pipeline element, with the center of the pipeline as the center of shape, a side length of 2*X meters, and a height equal to the length of the single main pipeline element;

[0084] A2. Determine whether there are two non-vertical wall elements in the range frame line. If not, remove the single main pipeline element. Otherwise, store the position, size and attributes of the single main pipeline element in the first list.

[0085] In this embodiment, the specific process in A2 is:

[0086] A2.1. Obtain the bounding box of the main pipeline element;

[0087] A2.2. Calculate the maximum point and minimum point of the bounding box in the x, y, and z axes respectively;

[0088] A2.3. Subtract 2*X*10000 units from the minimum point of the x, y, and z axes, and add 2*X*10000 units to the maximum point of the x, y, and z axes, respectively, to form a new minimum point and a new maximum point.

[0089] A2.4. Create an Outline object based on the new minimum point and the new maximum point to form a range frame;

[0090] A2.5. Create an intersect filter intersectFilter through ElementIntersectsSolidFilter to filter the wall elements that intersect with the range frame line;

[0091] A2.6. Create an element collector collector through FilteredElementCollector to collect elements from the current Revit document, wherein the Revit document contains all component elements in the electromechanical pipeline BIM model;

[0092] A2.7. Use the WherePasses method to enable the element collector to collect only the intermediate elements filtered by the intersectFilter from the Revit document;

[0093] A2.8. Use the Cast method to collect wall elements from the intermediate elements;

[0094] A2.9. Use the ToList method to convert the collected wall elements into a wall list;

[0095] A2.10. Determine whether the number of wall elements in the wall list is not greater than 2. If so, remove the main pipe element from the list of initial pipe types to obtain a list of final pipe types, and store the position, size and attributes of the single pipe element in the list of final pipe types into the first list.

[0096] A3. Set the position directly below the single main pipeline element as the position of the corresponding obstacle.

[0097] The judgment criteria for the row of main pipeline elements are: the spacing between two adjacent main pipeline elements is smaller than the diameter of the surface of any one of the two main pipeline elements perpendicular to the axis of the main pipeline element, and the difference between the heights of the two main pipeline elements to the ground is smaller than the height threshold.

[0098] The specific process of identifying the location of obstacles located below the row of main pipeline elements with a width greater than X meters in the electromechanical pipeline BIM model is as follows:

[0099] B1. Traverse each row of main pipeline elements, and create a three-dimensional rectangular virtual bounding box for the row of main pipeline elements, with the accumulated value of the widths of the multiple main pipeline elements constituting the row of main pipeline elements as the length, the diameter of a single main pipeline element constituting the row of main pipeline elements as the width, and the length of the axis direction of the multiple main pipeline elements constituting the row of main pipeline elements as the height, and the centroid of the bounding box is the center of the rectangular bounding box;

[0100] B2. forming a range frame line based on the bounding box, retaining the bounding box with a length greater than X meters and the corresponding row of main pipeline elements, and storing the position, size and attributes of the row of main pipeline elements in the first list;

[0101] Or determine whether there are two non-vertical wall elements in the range frame line, if not, remove the row of main pipeline elements, otherwise, store the position, size and attributes of the row of main pipeline elements in the first list;

[0102] Directly retain the scope frame lines with a length greater than X meters and the corresponding rows of main pipeline elements. This is more intuitive, but requires manual judgment. If it is judged by the program, it can be determined by whether there are two non-vertical wall elements in the scope frame lines.

[0103] In B2, based on the boundary box, a range frame line is formed, and it is determined whether there are two non-vertical wall elements in the range frame line. If not, the row of main pipeline elements is removed. Otherwise, the position, size and attributes of the row of main pipeline elements are stored in the first list. The specific process is as follows:

[0104] B2.1. Obtaining the bounding box of the row of main pipeline elements;

[0105] First, for each row of main pipeline elements that need to be judged, its geometric bounding box (BoundingBox) is obtained through the API interface in the BIM model (such as the Revit model). This bounding box is a cube that defines the minimum and maximum coordinates of the element in space.

[0106] B2.2. Calculate the maximum point and minimum point of the bounding box in the x, y, and z axes respectively;

[0107] B2.3. Subtract 2*X*10000 units from the minimum point of the x, y, and z axes, and add 2*X*10000 units to the maximum point of the x, y, and z axes, respectively, to form a new minimum point and a new maximum point;

[0108] In order to ensure that the scope box line can fully cover the wall elements that may intersect with it, the original bounding box needs to be expanded. Specifically, a preset offset (such as 2*X*10000 units in the example, where X may be a coefficient adjusted according to the specific situation) is subtracted from the minimum point of the bounding box on the x, y, and z axes, and the same offset is added from the maximum point. This is done to ensure that the scope box line can cover a large enough area around the main pipe element to capture all possible intersecting wall elements.

[0109] B2.4. Create an Outline object based on the new minimum point and the new maximum point to form a range frame;

[0110] Based on the new minimum and maximum points calculated in B2.2, use the BIM model API to create an Outline object (or a similar object representing a three-dimensional area, the specific name may vary depending on the BIM software). This object represents the expanded scope line.

[0111] B2.5. Create an intersect filter intersectFilter through ElementIntersectsSolidFilter to filter the wall elements that intersect with the range frame line;

[0112] Use the filtering mechanism of the BIM software (such as ElementIntersectsSolidFilter in Revit) to create an intersection filter intersectFilter, which is used to filter out all wall elements that intersect with the scope box line.

[0113] B2.6. Create an element collector collector through FilteredElementCollector to collect elements from the current Revit document, wherein the Revit document contains all component elements in the electromechanical pipeline BIM model;

[0114] Create an element collector through FilteredElementCollector, which traverses all elements in the current Revit document, especially those component elements in the mechanical and electrical pipeline BIM model.

[0115] B2.7, using the WherePasses method, causing the element collector to collect only the intermediate elements filtered by the intersectFilter from the Revit document;

[0116] B2.8. Use the Cast method to collect wall elements from the intermediate elements;

[0117] B2.9. Use the ToList method to convert the collected wall elements into a wall list;

[0118] That is, use the WherePasses method to make the collector collect only those elements that pass the intersectFilter filter, that is, the elements that intersect with the scope line. Then, use the Cast method to convert these intermediate elements into wall elements and store them in a list.

[0119] B2.10. Determine whether the number of wall elements in the wall list is not greater than 2. If so, remove the main pipe element from the list of initial pipe types to obtain a list of final pipe types, and store the position, size and attributes of the single pipe element in the list of final pipe types into the first list.

[0120] Traverse the collected wall element list and determine whether the number of wall elements in the list is greater than or equal to 2 non-vertical wall elements (additional logic may be required here to check the vertical relationship between wall elements). If the condition is not met (i.e., there are no 2 non-vertical wall elements), remove the main pipe element from the list of initial pipe types. If the condition is met, retain the row of main pipe elements and store their position, size, attributes and other information in the first list for subsequent use. This method allows the BIM system to more easily determine the row of main pipe elements corresponding to the bounding box with a length greater than X meters through programmatic means.

[0121] B3. Set the position directly below the row of main pipeline elements as the position of the corresponding obstacle.

[0122] Specifically, in A1 and B1, traversing each single main pipeline element and each row of main pipeline elements is specifically traversing in the list of initial pipeline types, and the list of initial pipeline types is created in the following manner:

[0123] C1. Use the AutodeskRevitAPI package and reference the Revit API namespace in the AutodeskRevit API package;

[0124] C2. Import the namespace related to the piping system from the Revit API namespace;

[0125] C3. Create a main pipe element category filter pipeFilter through ElementCategoryFilter to filter out all Revit elements belonging to the pipe category from the namespace related to the pipe system;

[0126] C4. Create an element collector collector through FilteredElementCollector to collect elements from the current Revit document, wherein the Revit document contains all component elements in the electromechanical pipeline BIM model;

[0127] C5. Using the WherePasses method, the element collector collects only the initial elements filtered by the main pipe element category filter pipeFilter from the Revit document;

[0128] C6. Collect the main pipeline elements of pipeline type from the initial elements using the OfClass method;

[0129] C7, using the ToList method to convert the collected main pipeline elements into a list of the initial pipeline type. S3, automatically generating a lower nozzle and corresponding branch pipe elements directly below the obstacle along the length direction of the main pipeline element according to the set constraints;

[0130] In this embodiment, the specific process of S3 is:

[0131] S3.1, obtain all upper nozzle pipeStus, and set p = 1;

[0132] S3.2, for the p-th upper sprinkler pipeStu, traverse each main pipeline element in the list of the final pipeline type and calculate the distance L from each main pipeline element to the p-th upper sprinkler pipeStu respectively;

[0133] S3.3. Select the main pipeline element with the smallest distance L, and take the bottom of the main pipeline element as the location of the obstacle;

[0134] S3.4, taking the vertical projection point of the p-th upper sprinkler pipeStu at the horizontal plane of the minimum point of the main pipeline element with the minimum distance L in the direction perpendicular to the ground as the starting point, along the intersection of the ray perpendicular to the main pipeline element with the minimum distance L and the main pipeline element with the minimum distance L, a branch pipe element is created at a position Y meters away from the inside in the direction perpendicular to the ground, and a lower sprinkler is generated at the end point of the branch pipe element. At the same time, the pipe diameter of the main pipeline element is increased by one unit of measurement;

[0135] Here Y can be 2.2, that is, traverse the upper nozzle pipeStus, traverse all pipes according to each upper nozzle pipeStu, obtain the distance L from pipeStu to each pipe, compare the values ​​of each L, and take the pipe with the smallest L value. Finally, take pipe as the starting point, the direction is vertical, the distance is 2.2 meters from the ground, create a branch pipe element, and generate a lower nozzle at the end point, and the diameter of the main pipe element is increased by one unit of measurement;

[0136] S3.5, determine whether p is greater than M, where M is the number of upper nozzles pipeStu. If so, end; otherwise, set p=p+1 and then jump to S3.2.

[0137] S4. Automatically calculate and optimize the diameter of the main pipe elements based on the number of upper and lower sprinklers and the expected water flow rate to ensure that the water flow is sufficient and meets the specification requirements.

[0138] Depending on the type, specification and working pressure of the sprinkler, you can consult the relevant tables or data sheets to obtain the flow rate (Qp) of each sprinkler under specific conditions, which is a known value. Add the flow rates of all sprinklers to get the total flow rate (Q) of the entire sprinkler system. Based on the total flow rate Q and the working pressure (given in the design instructions), you can use a hydraulic calculation table or formula to estimate the water flow velocity (v) in the pipe.

[0139] Knowing the water flow rate (Q) and water velocity (v), the following formula can be used to calculate the pipe diameter (DN):

[0140]

[0141] Among them, DN represents the diameter of the main pipe element, in meters; Q is the water flow rate in the main pipe element, in cubic meters per second; v is the water flow velocity in the main pipe element, in meters per second, and π is pi.

[0142] This step allows you to determine the diameter of the main pipe element.

[0143] Next, the sprinkler system of the new BIM model formed above is checked for compliance.

[0144] That is, S5, the distance between the lower sprinkler head and the obstacle, and the water flow velocity in the main pipe element are tested for compliance.

[0145] Here you can perform compliance checks and automatic adjustments, including the distance between the nozzle and the obstacle, the water flow rate in the main pipe element and other parameters. If not compliant, the system will automatically adjust the position of the (upper and lower) nozzle until it meets the compliance requirements. The distance between the nozzle and the obstacle can be obtained through the measurement distance function of the Revit software. After compliance, you can generate detailed construction drawings through the BIM model, such as Figure 4 The lower nozzle may meet the distance requirement with the obstacle directly below it, but not with other obstacles. When this happens, adjust the position of the lower nozzle, that is, move the horizontal position of the lower nozzle to ensure that it is more than 1 meter away from other obstacles.

[0146] At the same time, data from the design process, such as nozzle layout, pipe diameter configuration, water flow analysis, etc., can be collected and analyzed during the design process to provide data support and optimization suggestions for future designs.

[0147] The compliance requirements here can be based on the automatic sprinkler system design specifications. This is the prior art and will not be described in detail.

[0148] The algorithm designed by the method of the present invention can be loaded into Revit software in the form of a plug-in. This is a prior art and will not be described in detail.

[0149] Example 2 also discloses an electronic device, comprising 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, and the instructions are executed by the at least one processor so that the at least one processor can execute a sprinkler system design method based on a BIM model as described in Example 1.

[0150] Example 3 further discloses a storage medium storing a computer program, which, when executed by a processor, implements a sprinkler system design method based on a BIM model as described in Example 1.

[0151] The specific implementation methods described above further illustrate the objectives, technical solutions and beneficial effects of the present invention in detail. It should be understood that the above description is only a specific implementation method of the present invention and is not intended to limit the scope of protection of the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present invention should be included in the scope of protection of the present invention.

Claims

1. A sprinkler system design method based on a BIM model, characterized in that: include: S1. Obtain a BIM model of the electromechanical pipelines for which a sprinkler system needs to be designed, wherein the BIM model includes the location, size, and attributes of all main pipeline elements and the location, size, and attributes of wall elements; S2. Identify the position of an obstacle located under a row of main pipeline elements with a width greater than X meters or the position of an obstacle under a single main pipeline element with a width greater than X meters in the electromechanical pipeline BIM model; S3, automatically generating a lower nozzle and a corresponding branch pipe element directly below the obstacle along the length direction of the main pipe element according to the set constraint conditions; S4, automatically calculating and optimizing the pipe diameter of the main pipe element according to the number of upper and lower sprinklers and the expected water flow rate; S5. Conduct compliance checks on the distance between the lower sprinkler and the obstacle, and the water flow velocity in the main pipe element.

2. A sprinkler system design method based on a BIM model according to claim 1, characterized in that: In S2, the specific process of identifying the position of the obstacle located below the single main pipeline element with a width greater than X meters in the electromechanical pipeline BIM model is as follows: A1. Traverse each single main pipeline element and create a three-dimensional rectangular virtual range frame for each single main pipeline element, with the center of the pipeline as the center of shape, a side length of 2*X meters, and a height equal to the length of the single main pipeline element; A2. Determine whether there are two non-vertical wall elements in the range frame line. If not, remove the single main pipeline element. Otherwise, store the position, size and attributes of the single main pipeline element in the first list. A3. Set the position directly below the single main pipeline element as the position of the corresponding obstacle.

3. A sprinkler system design method based on a BIM model according to claim 2, characterized in that: In S2, the specific process of identifying the position of the obstacle located below the row of main pipeline elements with a width greater than X meters in the electromechanical pipeline BIM model is as follows: B1. Traverse each row of main pipeline elements, and create a three-dimensional rectangular virtual bounding box for the row of main pipeline elements, with the accumulated value of the widths of the multiple main pipeline elements constituting the row of main pipeline elements as the length, the diameter of a single main pipeline element constituting the row of main pipeline elements as the width, and the length of the axis direction of the multiple main pipeline elements constituting the row of main pipeline elements as the height, and the centroid of the bounding box is the center of the rectangular bounding box; B2. forming a range frame line based on the bounding box, retaining the bounding box with a length greater than X meters and the corresponding row of main pipeline elements, and storing the position, size and attributes of the row of main pipeline elements in the first list; Or determine whether there are two non-vertical wall elements in the range frame line, if not, remove the row of main pipeline elements, otherwise, store the position, size and attributes of the row of main pipeline elements in the first list; B3. Set the position directly below the row of main pipeline elements as the position of the corresponding obstacle.

4. The method for designing a sprinkler system based on a BIM model according to claim 3, characterized in that: The judgment criteria for the row of main pipeline elements are: the spacing between two adjacent main pipeline elements is smaller than the diameter of the surface of any one of the two main pipeline elements perpendicular to the axis of the main pipeline element, and the difference between the heights of the two main pipeline elements to the ground is smaller than the height threshold.

5. The method for designing a sprinkler system based on a BIM model according to claim 3, characterized in that: In A1 and B1, traversing each single main pipeline element and each row of main pipeline elements is specifically traversing in the list of initial pipeline types, and the list of initial pipeline types is created in the following manner: C1. Use the AutodeskRevitAPI package and reference the Revit API namespace in the AutodeskRevit API package; C2. Import the namespace related to the piping system from the Revit API namespace; C3. Create a main pipe element category filter pipeFilter through ElementCategoryFilter to filter out all Revit elements belonging to the pipe category from the namespace related to the pipe system; C4. Create an element collector collector through FilteredElementCollector to collect elements from the current Revit document, wherein the Revit document contains all component elements in the electromechanical pipeline BIM model; C5. Using the WherePasses method, the element collector collects only the initial elements filtered by the main pipe element category filter pipeFilter from the Revit document; C6. Collect the main pipeline elements of pipeline type from the initial elements using the OfClass method; C7. Use the ToList method to convert the collected main pipeline elements into a list of the initial pipeline type.

6. The method for designing a sprinkler system based on a BIM model according to claim 2, characterized in that: The specific process in A2 is: A2.

1. Obtain the bounding box of the main pipeline element; A2.

2. Calculate the maximum point and minimum point of the bounding box in the x, y, and z axes respectively; A2.

3. Subtract 2*X*10000 units from the minimum point of the x, y, and z axes, and add 2*X*10000 units to the maximum point of the x, y, and z axes, respectively, to form a new minimum point and a new maximum point. A2.

4. Create an Outline object based on the new minimum point and the new maximum point to form a range frame; A2.

5. Create an intersect filter intersectFilter through ElementIntersectsSolidFilter to filter the wall elements that intersect with the range frame line; A2.

6. Create an element collector collector through FilteredElementCollector to collect elements from the current Revit document, wherein the Revit document contains all component elements in the electromechanical pipeline BIM model; A2.

7. Use the WherePasses method to enable the element collector to collect only the intermediate elements filtered by the intersectFilter from the Revit document; A2.

8. Use the Cast method to collect wall elements from the intermediate elements; A2.

9. Use the ToList method to convert the collected wall elements into a wall list; A2.

10. Determine whether the number of wall elements in the wall list is not greater than 2. If so, remove the main pipe element from the list of initial pipe types to obtain a list of final pipe types, and store the position, size and attributes of the single pipe element in the list of final pipe types into the first list.

7. The method for designing a sprinkler system based on a BIM model according to claim 1, characterized in that: The specific process of S3 is: S3.1, obtain all upper nozzle pipeStus, and set p = 1; S3.2, for the p-th upper sprinkler pipeStu, traverse each main pipeline element in the list of the final pipeline type and calculate the distance L from each main pipeline element to the p-th upper sprinkler pipeStu respectively; S3.

3. Select the main pipeline element with the smallest distance L, and take the bottom of the main pipeline element as the location of the obstacle; S3.4, taking the vertical projection point of the p-th upper sprinkler pipeStu at the horizontal plane of the minimum point of the main pipeline element with the minimum distance L in the direction perpendicular to the ground as the starting point, along the intersection of the ray perpendicular to the main pipeline element with the minimum distance L and the main pipeline element with the minimum distance L, a branch pipe element is created at a position Y meters away from the inside in the direction perpendicular to the ground, and a lower sprinkler is generated at the end point of the branch pipe element. At the same time, the pipe diameter of the main pipeline element is increased by one unit of measurement; S3.5, determine whether p is greater than M, where M is the number of upper nozzles pipeStu. If so, end; otherwise, set p=p+1 and then jump to S3.

2.

8. The method for designing a sprinkler system based on a BIM model according to claim 3, characterized in that: In B2, based on the boundary box, a range frame line is formed, and it is determined whether there are two non-vertical wall elements in the range frame line. If not, the row of main pipeline elements is removed. Otherwise, the position, size and attributes of the row of main pipeline elements are stored in the first list. The specific process is as follows: B2.

1. Obtaining the bounding box of the row of main pipeline elements; B2.

2. Calculate the maximum point and minimum point of the bounding box in the x, y, and z axes respectively; B2.

3. Subtract 2*X*10000 units from the minimum point of the x, y, and z axes, and add 2*X*10000 units to the maximum point of the x, y, and z axes, respectively, to form a new minimum point and a new maximum point; B2.

4. Create an Outline object based on the new minimum point and the new maximum point to form a range frame; B2.

5. Create an intersect filter intersectFilter through ElementIntersectsSolidFilter to filter the wall elements that intersect with the range frame line; B2.

6. Create an element collector collector through FilteredElementCollector to collect elements from the current Revit document, wherein the Revit document contains all component elements in the electromechanical pipeline BIM model; B2.7, using the WherePasses method, causing the element collector to collect only the intermediate elements filtered by the intersectFilter from the Revit document; B2.

8. Use the Cast method to collect wall elements from the intermediate elements; B2.

9. Use the ToList method to convert the collected wall elements into a wall list; B2.

10. Determine whether the number of wall elements in the wall list is not greater than 2. If so, remove the main pipe element from the list of initial pipe types to obtain a list of final pipe types, and store the position, size and attributes of the single pipe element in the list of final pipe types into the first list.

9. The method for designing a sprinkler system based on a BIM model according to claim 1, characterized in that: In S5, when conducting compliance testing, if the distance between the lower nozzle and the obstacle and the water flow velocity in the main pipe element are both compliant, the corresponding drawing is generated; otherwise, if the distance between the lower nozzle and the obstacle is not compliant, the position of the lower nozzle is adjusted; if the water flow velocity in the main pipe element is not compliant, the parameters of the lower nozzle or upper nozzle or pump are adjusted before conducting compliance testing again.

10. A storage medium storing a computer program, characterized in that: When the computer program is executed by a processor, a sprinkler system design method based on a BIM model according to any one of claims 1 to 9 is implemented.

Citation Information

Cited By

  • Revit-based intelligent factory pipeline automatic gradient connection method and device and storage medium

    CN119475789A

  • Building water supply and drainage pipeline design method and system based on BIM technology

    CN119939730A

  • Spraying water supply and drainage system layout optimization method based on hydraulic feedback

    CN122287159A

  • A Layout Optimization Method for Sprinkler Water Supply and Drainage Systems Based on Hydraulic Feedback

    CN122287159B