A BIM-based design method for heating, ventilation and plumbing
By generating and adjusting the spacing of pipeline models in BIM software and performing collision detection, the construction difficulty problem caused by the dense HVAC and water supply and drainage pipe models is solved, and the convenience and efficiency of construction are improved.
Patent Information
- Application Number
- CN202210214168.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-03-05
- Publication Date
- 2025-07-11
- Estimated Expiration
- 2042-03-05
AI Technical Summary
When existing BIM software performs three-dimensional visualization in buildings, HVAC and water supply and drainage pipe models are too dense, resulting in increased construction difficulty.
By obtaining building model and housing type information, a pipeline model is generated, and a judgment is made as to whether the spacing between pipeline models is smaller than the preset spacing. If it is smaller, the spacing will be increased; collision detection and simulation operation are performed during the generation process, and the pipeline model will be executed cycled until the generation of the pipeline model is completed.
It effectively reduces the waste of pipeline models, simplifies the construction process, and improves construction efficiency and maintenance convenience.
Smart Images

Figure CN114626170B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the technical field of building pipeline layout, and particularly to a BIM-based design method for heating, ventilation, and water supply and drainage. Background Art
[0002] BIM, i.e., Building Information Modeling, is a new tool in architecture, engineering, and civil engineering. This tool can visualize the drawings in three dimensions and display the linear components as three-dimensional solid physical graphics. For the construction industry, the role of three-dimensional visualization is very significant.
[0003] When existing BIM software is used in the construction industry, it can perform three-dimensional visualization of the pipelines in a building. However, after three-dimensional visualization, the pipeline models in some areas are densely distributed, especially those related to heating, ventilation pipeline models and water supply and drainage pipeline models. When users construct based on the pipeline models, the dense pipeline models will increase the construction difficulty. Summary of the Invention
[0004] In order to reduce the construction difficulty, this application provides a BIM-based design method for heating, ventilation, and water supply and drainage.
[0005] In a first aspect, this application provides a BIM-based design method for heating, ventilation, and water supply and drainage, adopting the following technical solutions:
[0006] A BIM-based design method for heating, ventilation, and water supply and drainage includes:
[0007] Obtain a building model and household type information;
[0008] Generate pipeline models in the building model based on the household type information, where the pipeline models include heating, ventilation pipeline models and water supply and drainage pipeline models;
[0009] Judge whether the distance between the pipeline models is less than a preset distance;
[0010] If the distance between the pipeline models is less than the preset distance, then increase the distance between the pipeline models.
[0011] By adopting the above technical solutions, a building model and household type information are obtained to facilitate generating pipeline models in the building model based on the household type information. Judge whether the distance between the pipeline models is less than the preset distance. If the distance between the pipeline models is less than the preset distance, it indicates that the distance between the pipeline models is too close, which may not meet the construction standards and may cause construction difficulties during the construction process. Increasing the distance between the pipeline models facilitates the laying of pipelines during the construction process, and if a pipeline fails, it also facilitates the maintenance by the staff.
[0012] In another possible implementation manner, generating a pipeline model in the building model based on the apartment type information includes:
[0013] Determining the areas in the building model that require heating, ventilation, and air conditioning (HVAC) and the areas that require water supply and drainage based on the apartment type information;
[0014] Generating the water supply and drainage pipeline model in the areas that require water supply and drainage, and generating the HVAC pipeline model in the areas that require HVAC;
[0015] Judging whether the length of the currently generated pipeline model reaches a preset length;
[0016] If the preset length is reached, performing collision detection and simulation operation on the pipeline model;
[0017] Looping to execute the steps of generating the water supply and drainage pipeline model in the areas that require water supply and drainage, generating the HVAC pipeline model in the areas that require HVAC, judging whether the length of the currently generated pipeline model reaches the preset length, and if the preset length is reached, performing collision detection and simulation operation on the pipeline model until the generation of the pipeline model in the building model is completed.
[0018] By adopting the above technical solution, determining the areas in the building model that require HVAC and the areas that require water supply and drainage based on the apartment type information, generating the water supply and drainage pipeline model in the areas that require water supply and drainage, and generating the HVAC pipeline model in the areas that require HVAC, accurately generating the pipeline model in the corresponding areas can effectively reduce the waste of the pipeline model. During the process of generating the pipeline model, it is judged in real time whether the length of the currently generated pipeline model reaches the preset length. If the preset length is reached, it means that the currently generated pipeline model is relatively long and collision detection and simulation operation need to be performed. Looping to execute the above steps and detecting each time a pipeline model of the preset length is generated can effectively reduce the occurrence of faults in the pipeline model. If the detection is performed after all the pipeline models are generated, it will be more difficult to modify.
[0019] In another possible implementation manner, performing collision detection and simulation operation on the pipeline model includes:
[0020] Performing collision detection on the pipeline model and judging whether there is a collision problem;
[0021] If there is the collision problem, modifying the pipeline model;
[0022] If there is no such collision problem, performing simulation operation on the pipeline model and judging whether there is a fault during the simulation operation;
[0023] If the failure occurs, determine the pipeline model with the failure in the pipeline model, and repair the pipeline model with the failure.
[0024] By adopting the above technical solution, collision detection is performed on the pipeline model and it is judged whether there is a collision problem. If there is a collision problem, the pipeline model is modified in time so that the pipeline can be laid smoothly during the construction process. If there is no collision problem, the pipeline model is simulated. If the simulation runs when there is a collision problem, it may happen that the simulation runs successfully but there is still a collision problem. Performing collision detection first and then simulation effectively improves the processing efficiency of the pipeline model. Judge whether there is a failure during the simulation operation. If a failure occurs, determine the pipeline model with the failure and repair it, so that the pipeline model can successfully simulate the operation.
[0025] In another possible implementation manner, the judging whether the distance between the pipeline models is less than a preset distance includes:
[0026] Determine the nodes where the pipeline in the pipeline model changes direction;
[0027] Divide the pipeline model into at least one section based on the nodes;
[0028] Determine a first pipeline model and a second pipeline model. The first pipeline model is the pipeline model adjacent to any section of the pipeline model in the horizontal direction, and the second pipeline model is the pipeline model adjacent to any section of the pipeline model in the vertical direction;
[0029] Calculate a first distance and a second distance. The first distance is the distance between the first pipeline model and any section of the pipeline model, and the second distance is the distance between the second pipeline model and any section of the pipeline model;
[0030] Judge whether the first distance and the second distance are less than the preset distance.
[0031] By adopting the above technical solution, determine the nodes where the pipeline in the pipeline model changes direction, and divide the pipeline model into at least one section based on the nodes. By splitting the pipeline model, it is convenient to judge the pipeline model section by section. Determine the first pipeline model and the second pipeline model, calculate the first distance and the second distance, and judge whether the first distance and the second distance are less than the preset distance. Through the preset distance, it can be judged whether the distance between the pipeline models is too close, which may affect the construction or cause inconvenience to the construction.
[0032] In another possible implementation manner, the increasing the distance between the pipeline models if the distance between the pipeline models is less than the preset distance includes:
[0033] Obtain the generation order of the pipeline model;
[0034] If the first spacing is less than the preset spacing, determine whether the generation order of the first pipeline model is earlier than that of any section of the pipeline model;
[0035] If it is earlier than that of any section of the pipeline model, modify the pipeline model connected to any section of the pipeline model, and connect the unconnected nodes in the modified pipeline model;
[0036] If it is not earlier than that of any section of the pipeline model, modify the pipeline model connected to the first pipeline model, and connect the unconnected nodes in the modified pipeline model;
[0037] If the second spacing is less than the preset spacing, determine whether the generation order of the second pipeline model is earlier than that of any section of the pipeline model;
[0038] If it is earlier than that of any section of the pipeline model, modify the pipeline model connected to any section of the pipeline model, and connect the unconnected nodes in the modified pipeline model;
[0039] If it is not earlier than that of any section of the pipeline model, modify the pipeline model connected to the second pipeline model, and connect the unconnected nodes in the modified pipeline model.
[0040] By adopting the above technical solutions, obtain the generation order of the pipeline model. If the spacing between pipeline models is less than the preset spacing, determine the generation order of the pipeline models, select the pipeline model with a relatively later generation order, modify the pipeline model connected to the pipeline model, so as to achieve the purpose of increasing the spacing between pipeline models. Connect the unconnected nodes in the modified pipeline model to ensure that the pipeline model can be successfully simulated and run.
[0041] In another possible implementation manner, the method further includes:
[0042] If an instruction to start construction triggered by the user is obtained, output a prompt message based on the generation order of the pipeline model, where the prompt message is used to prompt the user to construct based on the generation order.
[0043] By adopting the above technical solutions, obtain the instruction to start construction triggered by the user and output a prompt message based on the generation order. Since there is a laying order during the laying of pipelines, especially when laying multiple layers of pipelines, the user can construct according to the generation order of the pipeline model through the prompt message, reducing the phenomenon that the pipelines are messy and ultimately cannot be laid according to the pipeline model diagram.
[0044] In another possible implementation manner, the method further includes:
[0045] If a construction problem is received, update the pipeline model based on the construction problem, where the construction problem is used to represent the deviation generated during the construction process between the pipeline model generated in the building model.
[0046] By adopting the above technical solution, receiving the construction problem and updating the pipeline model based on the construction problem. Because various situations may occur during the construction process, the construction site may not be laid out according to the pipeline model. Therefore, it is necessary to modify the pipeline model in a timely manner to enable normal construction.
[0047] In a second aspect, the present application provides an aa device, adopting the following technical solution:
[0048] A BIM-based heating, ventilation, and plumbing design device, including:
[0049] An acquisition module, configured to acquire a building model and household type information;
[0050] A pipeline generation module, configured to generate a pipeline model in the building model based on the household type information, where the pipeline model includes a heating and ventilation pipeline model and a plumbing pipeline model;
[0051] A judgment module, configured to judge whether the distance between the pipeline models is less than a preset distance;
[0052] An increase module, configured to increase the distance between the pipeline models when the distance between the pipeline models is less than the preset distance.
[0053] By adopting the above technical solution, the acquisition module acquires the building model and household type information, so that the pipeline generation module can generate a pipeline model in the building model based on the household type information. The judgment module judges whether the distance between the pipeline models is less than the preset distance. If the distance between the pipeline models is less than the preset distance, it means that the distance between the pipeline models is too close, which may not meet the construction standards, and the close distance between the pipeline models may cause difficulties in construction during the construction process. The increase module increases the distance between the pipeline models so that each pipeline can be adjusted during the pipeline laying process during construction, and if a pipeline fails, it is convenient for the staff to repair.
[0054] In another possible implementation manner, when the pipeline generation module generates a pipeline model in the building model based on the household type information, it specifically is configured to:
[0055] Determine the areas in the building model that require heating, ventilation, and plumbing based on the household type information;
[0056] Generate the water supply and drainage pipeline model in the area that requires water supply and drainage, and generate the HVAC pipeline model in the area that requires HVAC;
[0057] Determine whether the length of the currently generated pipeline model reaches a preset length;
[0058] If the preset length is reached, perform collision detection and simulation operation on the pipeline model;
[0059] Loop through the steps of generating the water supply and drainage pipeline model in the area that requires water supply and drainage, generating the HVAC pipeline model in the area that requires HVAC, determining whether the length of the currently generated pipeline model reaches the preset length, and if the preset length is reached, performing collision detection and simulation operation on the pipeline model until the pipeline model is generated within the building model.
[0060] In another possible implementation, when the pipeline generation module performs collision detection and simulation operation on the pipeline model, it is specifically used for:
[0061] Perform collision detection on the pipeline model and determine whether there is a collision problem;
[0062] If the collision problem occurs, modify the pipeline model;
[0063] If the collision problem does not occur, perform simulation operation on the pipeline model and determine whether a fault occurs during the simulation operation;
[0064] If the fault occurs, determine the pipeline model in which the fault occurs in the pipeline model and repair the pipeline model with the fault.
[0065] In another possible implementation, when the judgment module determines whether the distance between the pipeline models is less than a preset distance, it is specifically used for:
[0066] Determine the nodes at which the pipeline in the pipeline model changes direction;
[0067] Divide the pipeline model into at least one section based on the nodes;
[0068] Determine a first pipeline model and a second pipeline model, where the first pipeline model is the pipeline model adjacent to any section of the pipeline model in the horizontal direction, and the second pipeline model is the pipeline model adjacent to any section of the pipeline model in the vertical direction;
[0069] Calculate a first distance and a second distance, where the first distance is the distance between the first pipeline model and any section of the pipeline model, and the second distance is the distance between the second pipeline model and any section of the pipeline model;
[0070] Determine whether the first spacing and the second spacing are less than the preset spacing.
[0071] In another possible implementation, when the spacing between the pipeline models is less than the preset spacing, the increasing module specifically uses the following when increasing the spacing between the pipeline models:
[0072] Obtain the generation order of the pipeline models;
[0073] If the first spacing is less than the preset spacing, determine whether the generation order of the first pipeline model is earlier than the generation order of any section of the pipeline models;
[0074] If it is earlier than the generation order of any section of the pipeline models, modify the pipeline models connected to any section of the pipeline models, and connect the unconnected nodes in the modified pipeline models;
[0075] If it is not earlier than the generation order of any section of the pipeline models, modify the pipeline models connected to the first pipeline model, and connect the unconnected nodes in the modified pipeline models;
[0076] If the second spacing is less than the preset spacing, determine whether the generation order of the second pipeline model is earlier than the generation order of any section of the pipeline models;
[0077] If it is earlier than the generation order of any section of the pipeline models, modify the pipeline models connected to any section of the pipeline models, and connect the unconnected nodes in the modified pipeline models;
[0078] If it is not earlier than the generation order of any section of the pipeline models, modify the pipeline models connected to the second pipeline model, and connect the unconnected nodes in the modified pipeline models.
[0079] In another possible implementation, the device further includes:
[0080] An information generation module, configured to output a prompt message based on the generation order of the pipeline models when receiving a start construction instruction triggered by a user, where the prompt message is used to prompt the user to perform construction based on the generation order.
[0081] In another possible implementation, the device further includes:
[0082] An update module, configured to update the pipeline models based on the construction problems when receiving the construction problems, where the construction problems are used to represent the deviations generated during the construction process with the pipeline models generated in the building model.
[0083] In a third aspect, the present application provides an electronic device, adopting the following technical solution:
[0084] An electronic device, the electronic device comprising:
[0085] One or more processors;
[0086] A memory;
[0087] One or more applications, wherein the one or more applications are stored in the memory and configured to be executed by the one or more processors, and the one or more applications are configured to: execute a BIM-based heating, ventilation and plumbing design method according to any possible implementation manner of the first aspect.
[0088] In a fourth aspect, the present application provides a computer-readable storage medium, adopting the following technical solution:
[0089] A computer-readable storage medium, comprising: a computer program stored therein that can be loaded and executed by a processor to implement a BIM-based heating, ventilation and plumbing design method according to any possible implementation manner of the first aspect.
[0090] In summary, the present application includes at least one of the following beneficial technical effects:
[0091] 1. Obtain a building model and apartment type information, so as to be able to generate a pipeline model in the building model based on the apartment type information. Determine whether the distance between pipeline models is less than a preset distance. If the distance between pipeline models is less than the preset distance, it means that the distance between pipeline models is too close, which may not meet the construction standards, and the too-close distance between pipeline models may cause difficulties in construction. Increase the distance between pipeline models, which is convenient for laying pipelines during construction, and if a pipeline fails, it is also convenient for the staff to repair;
[0092] 2. Determine the areas that require heating, ventilation and plumbing in the building model based on the apartment type information, generate a plumbing pipeline model in the area that requires plumbing, and generate a heating and ventilation pipeline model in the area that requires heating and ventilation. Accurately generating pipeline models in the corresponding areas effectively reduces the waste of pipeline models. During the process of generating pipeline models, determine in real time whether the length of the currently generated pipeline model reaches the preset length. If it reaches the preset length, it means that the currently generated pipeline model is relatively long and collision detection and simulation operation need to be performed. Loop and execute the above steps, and detect each pipeline model that reaches the preset length. This can effectively reduce the occurrence of pipeline model failures. If the detection is performed after all pipeline models are generated, it will be more difficult to modify. Description of the Drawings
[0093] Figure 1It is a schematic flow chart of a BIM-based heating, ventilation and plumbing design method according to an embodiment of the present application.
[0094] Figure 2 It is a schematic flow chart of a BIM-based heating, ventilation and plumbing design device according to an embodiment of the present application.
[0095] Figure 3 It is a schematic structural diagram of an electronic device according to an embodiment of the present application. Detailed implementation manners
[0096] The following will further describe the present application in detail with reference to the attached Figures 1-3 drawings.
[0097] After reading this specification, those skilled in the art can make modifications to this embodiment without creative contributions according to needs, but as long as they are within the scope of the claims of the present application, they are protected by the Patent Law.
[0098] To make the objectives, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present application. Obviously, the described embodiments are some, but not all, of the embodiments of the present application. All other embodiments obtained by those of ordinary skill in the art based on the embodiments of the present application without creative efforts shall fall within the scope of protection of the present application.
[0099] In addition, the term "and / or" in this article is only a description of the association relationship of associated objects, indicating that three relationships can exist. For example, A and / or B can represent: A exists alone, A and B exist simultaneously, and B exists alone. These three situations. In addition, the character " / " in this article generally represents an "or" relationship between the front and rear associated objects unless otherwise specified.
[0100] The following will further describe the embodiments of the present application in detail with reference to the accompanying drawings of the specification.
[0101] The embodiments of the present application provide a BIM-based heating, ventilation and plumbing design method, which is executed by an electronic device. The electronic device can be a server or a terminal device. Among them, the server can be an independent physical server, a server cluster or a distributed system composed of multiple physical servers, or a cloud server providing cloud computing services. The terminal device can be a smart phone, a tablet computer, a notebook computer, a desktop computer, etc., but is not limited thereto. The terminal device and the server can be directly or indirectly connected through wired or wireless communication methods. The embodiments of the present application do not limit this here. As Figure 1 shown, the method includes step S101, step S102, step S103 and step S104, where
[0102] Step S101, obtain a building model and housing type information.
[0103] For the embodiments of the present application, the electronic device can obtain the building model and housing type information from a database, or can obtain the building model and housing type information from a cloud server, which is not limited herein. Among them, the building model can be a BIM building model constructed using Revit software. The building model is a three-dimensional model, and the housing type information can be a housing type plan of the building. The housing type plan is a two-dimensional drawing, and the housing type plan includes the names of each area of the housing type. The electronic device can determine the coordinate points of each area by establishing a rectangular coordinate system on the housing type plan, and then determine each area through the relationship between the coordinate points, or can also determine the area by other means. For example:
[0104] The electronic device establishes a rectangular coordinate system with the center of the housing type plan. The electronic device determines that the area enclosed by the four coordinate points (1, 2), (5, 2), (1, 8), and (5, 8) is the kitchen area.
[0105] Step S102, generate a pipeline model in the building model based on the housing type information.
[0106] Among them, the pipeline model includes a heating and ventilation pipeline model and a water supply and drainage pipeline model.
[0107] For the embodiments of the present application, the electronic device generates a heating and ventilation pipeline model and a water supply and drainage pipeline model in the building model based on the housing type information. The size ratio of the pipeline model to the pipeline laid in actual construction is 1:1. The pipeline model contains the size and model of the pipeline in actual construction, which is convenient for users to lay the pipeline in the actual building. Through the heating and ventilation pipeline model, the heating, ventilation, and air conditioning in the building can be simulated. Through the water supply and drainage pipeline model, the water supply and drainage in the building can be simulated. By simulating heating and ventilation and water supply and drainage online, problems in the construction process can be reduced, such as: it is found that the pipeline laying is inconvenient during the construction process; the pipelines laid in the early stage affect the laying of the pipelines in the later stage.
[0108] Step S103, determine whether the distance between the pipeline models is less than a preset distance.
[0109] For the embodiments of the present application, the electronic device determines whether the distance between the pipeline models is less than a preset distance. Different types of pipeline models correspond to different preset distances, and different sizes of pipeline models also correspond to different preset distances. For example:
[0110] Assume that the preset distance for the water supply and drainage pipeline model with a pipe diameter of DN44 is 1 centimeter. The electronic device determines that the distance of 1 centimeter between the water supply and drainage pipeline models is less than the preset distance of 1.3 centimeters.
[0111] Step S104, if the distance between pipeline models is less than the preset distance, increase the distance between pipeline models.
[0112] For the embodiment of the present application, taking step S103 as an example, when the electronic device determines that the distance between pipeline models is less than the preset distance, it indicates that there is a situation where pipeline models are dense during the generation of pipeline models. The distance between pipeline models being less than the preset distance may not meet the construction standards, and the small distance between pipeline models increases the construction difficulty. Therefore, the electronic device increases the distance between pipeline models so that the distance between pipeline models is not less than the preset distance.
[0113] In a possible implementation manner of the embodiment of the present application, generating pipeline models in the building model based on the household type information in step S102 specifically includes step S1021 (not shown in the figure), step S1022 (not shown in the figure), step S1023 (not shown in the figure), step S1024 (not shown in the figure), and step S1025 (not shown in the figure), where
[0114] Step S1021, determine the areas that require heating, ventilation, and air conditioning (HVAC) and the areas that require water supply and drainage in the building model based on the household type information.
[0115] For the embodiment of the present application, taking step S101 as an example, the electronic device determines the areas that require HVAC and the areas that require water supply and drainage in the building model based on the household type information:
[0116] Suppose the floor plan includes: kitchen area, toilet area, bedroom area, living room area, and outdoor balcony area;
[0117] The electronic device determines that the kitchen area, toilet area, bedroom area, and living room area are the areas that require HVAC; the electronic device determines that the kitchen area and toilet area are the areas that require water supply and drainage.
[0118] Step S1022, generate water supply and drainage pipeline models in the areas that require water supply and drainage, and generate HVAC pipeline models in the areas that require HVAC.
[0119] For the embodiment of the present application, taking step S1021 as an example, the electronic device can generate HVAC pipeline models in the kitchen area, toilet area, bedroom area, and living room area. Since the HVAC pipeline models need to fully cover the areas that require HVAC during the generation process, first, when encountering walls or other obstacles in the building model, obstacle avoidance needs to be performed. That is, when encountering a wall, the electronic device no longer selects straight pipes in the pipeline models but selects elbow pipes for obstacle avoidance; second, set the conversion length. After the electronic device changes the obstacle avoidance direction, if the generated pipeline model reaches the conversion length, the electronic device changes the direction so that the HVAC pipeline models can be fully covered. For example:
[0120] Suppose a heating and ventilation pipe model is generated in the bedroom area of the house type diagram. The electronic device introduces the heating and ventilation pipe model into the bedroom area. First, it uses straight pipes to extend in the bedroom area. When it detects that adding another straight pipe will hit the wall during the extension process, the electronic device selects a right-angle elbow to change the direction of the heating and ventilation pipe model. Suppose the conversion length is 0.5 meters. After the electronic device changes the direction, it generates a 0.5-meter heating and ventilation pipe model and then selects a right-angle elbow again to change the direction. Subsequently, the electronic device continues to use straight pipes to extend in the bedroom area. When it detects that adding another straight pipe will hit the wall during the extension process, the electronic device selects a right-angle elbow to change the direction of the heating and ventilation pipe model. After the electronic device changes the direction, it generates a 0.5-meter heating and ventilation pipe model and then selects a right-angle elbow again to change the direction. Finally, the generation of the heating and ventilation pipes in the bedroom area is completed. The heating and ventilation pipe model can be marked in red for easy identification by the user during the construction process.
[0121] The electronic device can generate a water supply and drainage pipe model in the kitchen area and the toilet area. Since the water supply and drainage model does not need to cover the entire area during generation and only needs to be connected, the electronic device only needs to use straight pipes to extend in the toilet area and the kitchen area. When it detects that adding another straight pipe will hit the wall during the extension process, the electronic device selects a right-angle elbow to change the direction of the water supply and drainage pipe model. Finally, the generation of the water supply and drainage pipes in the kitchen and toilet areas is completed. The water supply and drainage pipe model can be marked in blue for easy identification by the user during the construction process.
[0122] The electronic device can also generate a pipe model in other ways, which is not limited here.
[0123] Step S1023, determine whether the length of the currently generated pipe model reaches the preset length.
[0124] For the embodiments of the present application, the electronic device determines whether the length of the currently generated pipe model reaches the preset length. Suppose the preset length is 25 meters. Then the electronic device determines whether the sum of the lengths of all the straight pipes and elbows in the currently generated pipe model reaches 25 meters. The preset length can be changed according to the size of the pipe model. For a pipe model with a larger diameter, the preset length can be increased because the straight pipes and elbows in a pipe model with a larger diameter may be relatively long, and one or two straight pipes and elbows may reach the preset length; for a pipe model with a smaller diameter, the preset length can be decreased because the straight pipes and elbows in a pipe model with a smaller diameter may be relatively small, and it may take many straight pipes and elbows connected together to reach the preset length.
[0125] Step S1024, if the preset length is reached, perform collision detection and simulation operation on the pipe model.
[0126] For the embodiments of this application, if the electronic device determines that the length of the currently generated pipeline model reaches the preset length, it indicates that the currently generated pipeline model is already relatively long, and it is necessary to perform collision detection and simulation operation on the pipeline model. Among them, collision detection is to detect whether the pipeline model encounters some obstacles, so that it cannot be completed during the construction process. For example, it encounters a weak current bridge or an air duct, etc.; simulation operation is to run the generated pipeline model. For example, for a water supply and drainage pipeline model, water supply is carried out to check whether the generated pipeline model is a passage and whether there is a water leakage situation.
[0127] Step S1025, repeatedly execute the steps of generating a water supply and drainage pipeline model in the area that needs water supply and drainage, and generating a heating, ventilation and air conditioning pipeline model in the area that needs heating, ventilation and air conditioning, and judge whether the length of the currently generated pipeline model reaches the preset length. If it reaches the preset length, perform collision detection and simulation operation on the pipeline model until the pipeline model is generated in the building model.
[0128] For the embodiments of this application, during the process of generating a water supply and drainage pipeline model or a heating, ventilation and air conditioning pipeline model, collision detection and simulation operation should be performed on the pipeline model every time the preset length is reached. Taking step S1023 as an example:
[0129] During the process of generating a heating, ventilation and air conditioning pipeline model, after reaching the preset length of 25 meters, collision detection and simulation operation are performed on the pipeline model; when generating a heating, ventilation and air conditioning pipeline model again after collision detection and simulation operation, when generating another 25 meters, that is, when generating a 50-meter heating, ventilation and air conditioning pipeline, collision detection and simulation operation are performed on the pipeline model; when generating a heating, ventilation and air conditioning pipeline model again after collision detection and simulation operation, when generating another 25 meters, that is, when generating a 75-meter heating, ventilation and air conditioning pipeline, collision detection and simulation operation are performed on the pipeline model.
[0130] A possible implementation manner of the embodiments of this application is that in step S1024, performing collision detection and simulation operation on the pipeline model specifically includes step S10241 (not shown in the figure), step S10242 (not shown in the figure), step S10243 (not shown in the figure), and step S10244 (not shown in the figure). Among them,
[0131] Step S10241, perform collision detection on the pipeline model and judge whether there is a collision problem.
[0132] For the embodiments of this application, the electronic device can input the generated pipeline model into the Revit software in the electronic device to perform collision detection, or other methods can be used for collision detection. After performing collision detection, the electronic device determines whether there is a collision point through the detection result feedback by the Revit software, and then judges whether there is a collision problem with the generated pipeline model.
[0133] Step S10242: If a collision problem occurs, modify the pipeline model.
[0134] For the embodiments of the present application, taking Step S10241 as an example, if a collision point is detected, indicating that a collision problem has occurred in the pipeline model, the electronic device modifies the pipeline model based on the collision point, and then performs collision detection again until no collision point appears. If a collision problem occurs, the electronic device can generate a collision report to facilitate archiving of the collision problem and viewing by the user, because there may be some collision problems that cannot be avoided simply by modifying the pipeline model. Sending the collision report to the user enables the user to handle the collision problem in a timely manner.
[0135] Step S10243: If no collision problem occurs, perform a simulation run on the pipeline model and determine whether a failure occurs during the simulation run.
[0136] For the embodiments of the present application, if the electronic device determines through collision detection that no collision problem occurs, the electronic device performs a simulation run on the pipeline model, that is, simulates the pipeline model through Revit software, and determines whether an error occurs during the simulation. If the software reports an error for the pipeline model, it indicates that the pipeline model has a failure. For example:
[0137] If the pipeline model has improper connections, it will cause an error during the simulation run.
[0138] Step S10244: If a failure occurs, determine the pipeline model in the pipeline model where the failure occurs, and repair the pipeline model where the failure occurs.
[0139] For the embodiments of the present application, if the electronic device determines that the pipeline model has a failure, the electronic device generates failure information, which includes the specific pipeline model in the pipeline model where the problem occurs. The electronic device can know which position of the pipeline model has a problem through the failure information, so as to repair the pipeline where the failure occurs.
[0140] In a possible implementation manner of the embodiments of the present application, in Step S103, it is determined whether the distance between pipeline models is less than a preset distance, which specifically includes Step S1031 (not shown in the figure), Step S1032 (not shown in the figure), Step S1032 (not shown in the figure), Step S1032 (not shown in the figure), and Step S1032 (not shown in the figure), where
[0141] Step S1031: Determine the nodes where the pipeline in the pipeline model changes direction.
[0142] For the embodiments of the present application, after the pipeline model is generated, the electronic device optimizes the pipeline model, and the electronic device determines the nodes where the pipeline in the pipeline model changes direction, that is, the parts of the pipeline model where elbows are used.
[0143] Step S1032: Divide the pipeline model into at least one section based on nodes.
[0144] For the embodiments of the present application, when the electronic device splits the pipeline model based on nodes, it is equivalent to removing the elbow pipes, leaving only the connected straight pipe parts, and then dividing the pipeline model into at least one section. The electronic device can also perform the splitting in other ways.
[0145] Step S1033: Determine the first pipeline model and the second pipeline model.
[0146] Among them, the first pipeline model is the pipeline model adjacent to any section of the pipeline model in the horizontal direction, and the second pipeline model is the pipeline model adjacent to any section of the pipeline model in the vertical direction.
[0147] For the embodiments of the present application, after the electronic device finishes splitting the pipeline model, based on the split pipeline model, the electronic device obtains the pipeline model adjacent to any section of the pipeline model in the horizontal direction and the pipeline model adjacent to any section of the pipeline model in the vertical direction. For example:
[0148] In the HVAC pipeline model, for a section of the pipeline model in the bedroom area, the electronic device obtains the pipeline model adjacent to this section of the pipeline model in the horizontal direction. Among them, the adjacent pipeline model is the pipeline model whose distance from the outer edge of a section of the pipeline model in the bedroom area is less than 3 cm. The pipeline models are screened based on the adjacent condition. Suppose there is one pipeline model on each side of the pipeline model adjacent to a section of the pipeline model in the bedroom area, which are the first pipeline model 1a and the first pipeline model 1b respectively; at the same time, the electronic device obtains the pipeline model adjacent to this section of the pipeline model in the vertical direction. Suppose there is only one pipeline model directly above it, which is the second pipeline model 2a.
[0149] Step S1034: Calculate the first distance and the second distance.
[0150] Among them, the first distance is the distance between the first pipeline model and any section of the pipeline model, and the second distance is the distance between the second pipeline model and any section of the pipeline model.
[0151] For the embodiments of the present application, taking step S1033 as an example, the electronic device calculates the distance between the first pipeline model 1a and a section of the pipeline model in the bedroom area, the distance between the first pipeline model 1b and a section of the pipeline model in the bedroom area, and the distance between the second pipeline model 2a and a section of the pipeline model in the bedroom area. For example:
[0152] The electronic device establishes a spatial rectangular coordinate system with the midpoint of the straight - axis of a straight - pipe model in a section of the pipeline model in the bedroom area as the origin, establishes the x - axis in the direction of the straight - pipe's orientation, and the coordinates of a section of the pipeline model in the bedroom area are (0, 0, 0). The unit of each coordinate axis is centimeter. The electronic device determines the coordinates of the outer edge of the first pipeline model 1a in the y - axis direction as (0, 1.6, 0) by obtaining the vertical distance in the axis direction of the spatial rectangular coordinate system. Similarly, the coordinates of the outer edge of the first pipeline model 1b are (0, - 1, 0), and the coordinates of the outer edge of the second pipeline model 2a in the z - axis direction are (0, 0, 1.2). Assume that the radius of a section of the pipeline model in the bedroom area is 0.2 centimeter:
[0153] The distance between the first pipeline model 1a and a section of the pipeline model in the bedroom area is: 1.6 - 0.2 = 1.4 centimeters;
[0154] The distance between the first pipeline model 1b and a section of the pipeline model in the bedroom area is 1 - 0.2 = 0.8 centimeters;
[0155] The distance between the second pipeline model 2a and a section of the pipeline model in the bedroom area is 1.2 - 0.2 = 1 centimeter.
[0156] Step S1035, determine whether the first distance and the second distance are less than a preset distance.
[0157] For the embodiments of the present application, assume that the preset distance is 1.3 centimeters. Taking step S1034 as an example, the electronic device determines that the distance between the first pipeline model 1a and a section of the pipeline model in the bedroom area is not less than the preset distance; the distance between the first pipeline model 1b and a section of the pipeline model in the bedroom area is less than the preset distance; the distance between the second pipeline model 2a and a section of the pipeline model in the bedroom area is less than the preset distance. A distance less than the preset distance indicates that the distance between the pipeline models may not meet the construction requirements or may make construction difficult.
[0158] In a possible implementation manner of the embodiments of the present application, in step S104, if the distance between the pipeline models is less than the preset distance, then increase the distance between the pipeline models, which specifically includes step S1041 (not shown in the figure), step S1042 (not shown in the figure), step S1043 (not shown in the figure), step S1044 (not shown in the figure), step S1045 (not shown in the figure), step S1046 (not shown in the figure), and step S1047 (not shown in the figure). The execution order of step S1042 and step S1044 is not limited herein. Among them,
[0159] Step S1041, obtain the generation order of the pipeline models.
[0160] For the embodiments of the present application, each pipeline model has a generation order. Even for the same pipeline model, during the generation process, it is generated section by section, and there is also a sequence. For example:
[0161] The HVAC pipeline model is generated at 10:00, and the plumbing pipeline model is generated at 19:00; or the HVAC pipeline model is pipeline model No. 2; the plumbing pipeline model is pipeline model No. 1, where the electronic device first generates pipeline model No. 1 and then generates pipeline model No. 2.
[0162] Step S1042, if the first spacing is less than the preset spacing, then determine whether the generation order of the first pipeline model is earlier than that of any section of the pipeline model.
[0163] For the embodiments of the present application, taking step S1035 as an example, the electronic device determines whether the generation order of the first pipeline model 1b is earlier than that of a section of the pipeline model in the bedroom area. For example:
[0164] The generation order of the first pipeline model 1b is the 5th component of pipeline model No. 2; the generation order of a section of the pipeline model in the bedroom area is the 20th component of pipeline model No. 1.
[0165] Step S1043, if it is earlier than the generation order of any section of the pipeline model, then modify the pipeline model connected to any section of the pipeline model, and connect the unconnected nodes in the modified pipeline model.
[0166] For the embodiments of the present application, assume that the generation order of the first pipeline model 1b is the 5th component of pipeline model No. 1, which is earlier than the generation order of the 20th component of pipeline model No. 1 of a section of the pipeline model in the bedroom area. Then the electronic device modifies the pipeline model connected to any section of the pipeline model. Modifying the pipeline model with a later generation order can reduce the modification of the already determined pipeline model, enabling the electronic device to proceed in an orderly manner during the modification process. For example:
[0167] The electronic device modifies the pipeline model connected to a section of the pipeline model in the bedroom area. In order to increase the spacing between the first pipeline model 1b and a section of the pipeline model in the bedroom area, the electronic device can replace the straight pipe in the pipeline model connected to a section of the pipeline model in the bedroom area with a shorter straight pipe, or remove a straight pipe to make the spacing smaller, and the remaining pipeline model remains unchanged. After the electronic device modifies the pipeline model connected to a section of the pipeline model in the bedroom area, the electronic device connects the unconnected nodes in the pipeline model, that is, translates a section of the pipeline model in the bedroom area upward and connects it to make the unconnected nodes connected.
[0168] After the electronic device modifies a section of the pipeline model in the bedroom area, it is necessary to recalculate the spacing between a section of the pipeline model in the bedroom area and the pipeline models adjacent in the horizontal and vertical directions. Since the position of a section of the pipeline model in the bedroom area has changed, the previously calculated spacing will also change, so it is necessary to recalculate.
[0169] Step S1044, if it is not earlier than the generation order of any section of the pipeline model, modify the pipeline model connected to the first pipeline model, and connect the unconnected nodes in the modified pipeline model.
[0170] For the embodiment of the present application, taking step S1042 as an example, the generation order of the first pipeline model 1b is the 5th component of the 2nd pipeline model, which is not earlier than the generation order of a section of the pipeline model in the bedroom area, the 20th component of the 1st pipeline model. Then the electronic device modifies the pipeline model connected to the first pipeline model. For example:
[0171] The electronic device modifies the pipeline model connected to the first pipeline model. In order to increase the spacing between the first pipeline model 1b and a section of the pipeline model in the bedroom area, the electronic device can replace the straight pipe in the pipeline model connected to the first pipeline model with a shorter straight pipe, or remove a straight pipe to make the spacing smaller, and the remaining pipeline models remain unchanged. After the electronic device modifies the pipeline model connected to the first pipeline model, the electronic device connects the unconnected nodes in the pipeline model, that is, translates the first pipeline model 1b upward and connects it to make the unconnected nodes connected.
[0172] Step S1045, if the second spacing is less than the preset spacing, determine whether the generation order of the second pipeline model is earlier than the generation order of any section of the pipeline model.
[0173] For the embodiment of the present application, taking step S1035 as an example, the electronic device determines whether the generation order of the second pipeline model 2a is earlier than the generation order of a section of the pipeline model in the bedroom area. For example:
[0174] The generation order of the second pipeline model 2a is the 50th component of the 2nd pipeline model; the generation order of a section of the pipeline model in the bedroom area is the 20th component of the 1st pipeline model.
[0175] Step S1046, if it is earlier than the generation order of any section of the pipeline model, modify the pipeline model connected to any section of the pipeline model, and connect the unconnected nodes in the modified pipeline model.
[0176] For the embodiments of this application, assume that the generation order of the second pipeline model 2a is the 15th component of the No. 1 pipeline model, which is earlier than the generation order of a pipeline model in the bedroom area, the 20th component of the No. 1 pipeline model. Then, the electronic device modifies the pipeline model connected to any section of the pipeline model.
[0177] Step S1047, if it is not earlier than the generation order of any section of the pipeline model, then modify the pipeline model connected to the second pipeline model, and connect the unconnected nodes in the modified pipeline model.
[0178] For the embodiments of this application, taking step S1045 as an example, the generation order of the second pipeline model 2a is the 50th component of the No. 2 pipeline model, which is not earlier than the generation order of a pipeline model in the bedroom area, the 20th component of the No. 1 pipeline model. Then, the electronic device modifies the pipeline model connected to the second pipeline model.
[0179] After the electronic device modifies the pipeline model each time, it needs to perform collision detection and simulation operation, so as to ensure that the optimized part does not affect the operation of the entire pipeline model. If the operation of the pipeline model is affected after optimization, then the pipeline models with a distance between pipeline models less than the preset distance are not modified, and this place is marked, so that the user can handle it according to the on-site situation during the construction process.
[0180] A possible implementation manner of the embodiments of this application, the method further includes step S105 (not shown in the figure), where
[0181] Step S105, if a start construction instruction triggered by the user is obtained, then output a prompt message based on the generation order of the pipeline model.
[0182] Wherein, the prompt message is used to prompt the user to construct based on the generation order.
[0183] For the embodiments of this application, the electronic device can obtain the start construction instruction triggered by the user through the touch screen, and can also obtain the start construction instruction triggered by the user through the button, which is not limited here. After the electronic device obtains the start construction instruction, the electronic device outputs a prompt message. The prompt message can be a text message sent to the user's terminal device, such as "Lay the No. 1 heating and ventilation pipeline marked in red first, and then lay the No. 1 water supply and drainage pipeline marked in blue", or it can be a voice message controlled by the speaker device, or other forms of prompt messages, which are not limited here. Through the prompt message, the user can be prompted about the order of laying pipelines at the construction site. Otherwise, in the face of the messy pipeline models in the building model, it may be confused during laying, effectively improving the construction efficiency and reducing the construction difficulty.
[0184] A possible implementation manner of the embodiments of this application, the method further includes step S106 (not shown in the figure), where
[0185] Step S106: If a construction problem is received, update the pipeline model based on the construction problem.
[0186] Wherein, the construction problem is used to represent the deviation generated between the pipeline model generated in the building model during the construction process.
[0187] For the embodiments of the present application, the electronic device receives the construction problem sent by the user through the terminal device, because there may still be a deviation from the actual construction situation during the process of generating the pipeline model. The construction problem can be in the form of text or voice, which is not limited herein. For example:
[0188] During the actual construction process, there is an extra rivet in a certain place of the HVAC pipeline. In this case, the user has to feedback to the electronic device through the construction problem. The user sends a text message to the electronic device: "An extra rivet is added to the connection of the 44th component of the No. 1 HVAC pipeline model."
[0189] If the electronic device receives the construction problem, the electronic device modifies the connection of the 44th component of the No. 1 HVAC pipeline model based on the construction problem, and determines whether it affects other pipeline models after the modification. If it affects other pipeline models, the electronic device modifies other pipeline models together and sends the modified pipeline model to the user's terminal device in time, so that the user can continue to construct through the pipeline model.
[0190] The above embodiments introduce a BIM-based HVAC and plumbing design method from the perspective of the method flow. The following embodiments introduce a BIM-based HVAC and plumbing design device from the perspective of virtual modules or virtual units. For details, see the following embodiments.
[0191] The embodiments of the present application provide a BIM-based HVAC and plumbing design device 20, as Figure 2 shown. A BIM-based HVAC and plumbing design device 20 may specifically include:
[0192] An acquisition module 201, configured to acquire a building model and apartment type information;
[0193] A pipeline generation module 202, configured to generate a pipeline model in the building model based on the apartment type information. The pipeline model includes an HVAC pipeline model and a plumbing pipeline model;
[0194] A judgment module 203, configured to judge whether the distance between pipeline models is less than a preset distance;
[0195] An increase module 204, configured to increase the distance between pipeline models when the distance between pipeline models is less than the preset distance.
[0196] In a possible implementation of the embodiment of the present application, when the pipeline generation module 202 generates a pipeline model in the building model based on the household type information, it specifically is used for:
[0197] Determine the areas that require heating, ventilation, and air conditioning (HVAC) and the areas that require water supply and drainage in the building model based on the household type information;
[0198] Generate a water supply and drainage pipeline model in the areas that require water supply and drainage, and generate an HVAC pipeline model in the areas that require HVAC;
[0199] Judge whether the length of the currently generated pipeline model reaches a preset length;
[0200] If the preset length is reached, perform collision detection and simulation operation on the pipeline model;
[0201] Loop through the steps of generating a water supply and drainage pipeline model in the areas that require water supply and drainage, generating an HVAC pipeline model in the areas that require HVAC, judging whether the length of the currently generated pipeline model reaches a preset length, and if the preset length is reached, performing collision detection and simulation operation on the pipeline model until the generation of the pipeline model in the building model is completed.
[0202] In a possible implementation of the embodiment of the present application, when the pipeline generation module 202 performs collision detection and simulation operation on the pipeline model, it specifically is used for:
[0203] Perform collision detection on the pipeline model and judge whether there is a collision problem;
[0204] If there is a collision problem, modify the pipeline model;
[0205] If there is no collision problem, perform simulation operation on the pipeline model and judge whether there is a fault during the simulation operation;
[0206] If there is a fault, determine the pipeline model with the fault in the pipeline model and repair the pipeline model with the fault.
[0207] In a possible implementation of the embodiment of the present application, when the judgment module 203 judges whether the distance between pipeline models is less than a preset distance, it specifically is used for:
[0208] Determine the nodes where the pipeline in the pipeline model changes direction;
[0209] Divide the pipeline model into at least one section based on the nodes;
[0210] Determine a first pipeline model and a second pipeline model. The first pipeline model is the pipeline model adjacent to any section of the pipeline model in the horizontal direction, and the second pipeline model is the pipeline model adjacent to any section of the pipeline model in the vertical direction;
[0211] Calculate the first spacing and the second spacing. The first spacing is the spacing between the first pipeline model and any section of pipeline model, and the second spacing is the spacing between the second pipeline model and any section of pipeline model;
[0212] Determine whether the first spacing and the second spacing are less than a preset spacing.
[0213] In a possible implementation manner of the embodiment of the present application, when the spacing between pipeline models is less than the preset spacing, the increasing module 204 is specifically used for:
[0214] Obtain the generation sequence of the pipeline model;
[0215] If the first spacing is less than the preset spacing, determine whether the generation sequence of the first pipeline model is earlier than that of any section of pipeline model;
[0216] If it is earlier than that of any section of pipeline model, modify the pipeline model connected to any section of pipeline model, and connect the unconnected nodes in the modified pipeline model;
[0217] If it is not earlier than that of any section of pipeline model, modify the pipeline model connected to the first pipeline model, and connect the unconnected nodes in the modified pipeline model;
[0218] If the second spacing is less than the preset spacing, determine whether the generation sequence of the second pipeline model is earlier than that of any section of pipeline model;
[0219] If it is earlier than that of any section of pipeline model, modify the pipeline model connected to any section of pipeline model, and connect the unconnected nodes in the modified pipeline model;
[0220] If it is not earlier than that of any section of pipeline model, modify the pipeline model connected to the second pipeline model, and connect the unconnected nodes in the modified pipeline model.
[0221] In a possible implementation manner of the embodiment of the present application, the device 20 further includes:
[0222] An information generation module, configured to output a prompt message based on the generation sequence of the pipeline model when receiving an instruction triggered by the user to start construction. The prompt message is used to prompt the user to construct based on the generation sequence.
[0223] In a possible implementation manner of the embodiment of the present application, the device 20 further includes:
[0224] An update module, configured to update the pipeline model based on the construction problem when receiving the construction problem. The construction problem is used to represent the deviation generated during the construction process from the pipeline model generated in the building model.
[0225] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the systems, devices, and units described above can refer to the corresponding processes in the foregoing method embodiments and will not be elaborated herein.
[0226] An electronic device is provided in an embodiment of the present application, such as Figure 3 shown Figure 3 The electronic device 30 shown in the figure includes: a processor 301 and a memory 303. Among them, the processor 301 and the memory 303 are connected, such as through a bus 302. Optionally, the electronic device 30 may further include a transceiver 304. It should be noted that in practical applications, the transceiver 304 is not limited to one, and the structure of the electronic device 30 does not constitute a limitation to the embodiments of the present application.
[0227] The processor 301 may be a CPU (Central Processing Unit, central processing unit), a general-purpose processor, a DSP (Digital Signal Processor, data signal processor), an ASIC (Application Specific Integrated Circuit, application-specific integrated circuit), an FPGA (Field Programmable Gate Array, field programmable gate array), or other programmable logic devices, transistor logic devices, hardware components, or any combination thereof. It can implement or execute various exemplary logical blocks, modules, and circuits described in conjunction with the disclosure of the present application. The processor 301 may also be a combination that implements a computing function. For example, a combination including one or more microprocessors, a combination of a DSP and a microprocessor, etc.
[0228] The bus 302 may include a path for transmitting information between the above components. The bus 302 may be a PCI (Peripheral Component Interconnect, peripheral component interconnect standard) bus or an EISA (Extended Industry Standard Architecture, extended industry standard architecture) bus, etc. The bus 302 may be divided into an address bus, a data bus, a control bus, etc. For the convenience of representation, Figure 3 only a thick line is used to represent it in the figure, but it does not mean that there is only one bus or one type of bus.
[0229] The memory 303 can be a ROM (Read Only Memory), or other types of static storage devices that can store static information and instructions, a RAM (Random Access Memory), or other types of dynamic storage devices that can store information and instructions. It can also be an EEPROM (Electrically Erasable Programmable Read Only Memory), a CD-ROM (Compact Disc Read Only Memory), or other optical disc storage, optical disc storage (including compact discs, laser discs, optical discs, digital versatile discs, Blu-ray discs, etc.), magnetic disk storage media, or other magnetic storage devices, or any other medium that can be used to carry or store the desired application program code in the form of instructions or data structures and can be accessed by a computer, but is not limited thereto.
[0230] The memory 303 is used to store the application program code for executing the solution of this application, and is controlled by the processor 301 for execution. The processor 301 is used to execute the application program code stored in the memory 303 to implement the content shown in the foregoing method embodiments.
[0231] Among them, the electronic device includes but is not limited to: mobile terminals such as mobile phones, laptop computers, digital broadcast receivers, PDAs (Personal Digital Assistants), PADs (Tablet Computers), PMPs (Portable Multimedia Players), in-vehicle terminals (such as in-vehicle navigation terminals), etc., and fixed terminals such as digital TVs, desktop computers, etc. It can also be a server, etc. Figure 3 The shown electronic device is only an example and should not bring any limitations to the functions and usage scopes of the embodiments of the present disclosure.
[0232] The embodiments of this application provide a computer-readable storage medium on which a computer program is stored. When it runs on a computer, it enables the computer to execute the corresponding content in the foregoing method embodiments. Compared with the related art, in the embodiments of this application, the electronic device obtains a building model and house type information so that the electronic device can generate a pipeline model in the building model based on the house type information. The electronic device determines whether the distance between the pipeline models is less than a preset distance. If the distance between the pipeline models is less than the preset distance, it means that the distance between the pipeline models is too close, which may not meet the construction standards, and the too-close distance between the pipeline models may cause difficulties in construction during the construction process. The electronic device increases the distance between the pipeline models, which is convenient for laying pipelines during the construction process, and if a pipeline fails, it is also convenient for the staff to repair.
[0233] It should be understood that although the steps in the flowchart of the accompanying drawings are shown sequentially as indicated by the arrows, these steps are not necessarily executed sequentially in the order indicated by the arrows. Unless otherwise clearly stated in this document, there is no strict order restriction for the execution of these steps, and they can be executed in other orders. Moreover, at least a part of the steps in the flowchart of the accompanying drawings may include multiple sub-steps or multiple stages. These sub-steps or stages are not necessarily executed at the same time, but can be executed at different times, and their execution order is not necessarily sequential, but can be executed alternately or in turn with at least a part of other steps or sub-steps or stages of other steps.
[0234] The above are only some embodiments of the present application. It should be noted that for those of ordinary skill in the art, without departing from the principle of the present application, several improvements and refinements can be made, and these improvements and refinements should also be regarded as the protection scope of the present application.
Claims
1. A BIM-based design method for heating, ventilation and air conditioning and water supply and drainage, characterized in that, Including: Obtaining a building model and apartment type information; Generating a pipeline model in the building model based on the apartment type information, the pipeline model including a heating, ventilation, and air conditioning (HVAC) pipeline model and a water supply and drainage pipeline model; Judging whether the spacing between the pipeline models is less than a preset spacing; If the spacing between the pipeline models is less than the preset spacing, increasing the spacing between the pipeline models; The judging whether the spacing between the pipeline models is less than a preset spacing includes: Determining the nodes where the pipelines in the pipeline model change direction; Dividing the pipeline model into at least one section based on the nodes; Determining a first pipeline model and a second pipeline model, the first pipeline model being the pipeline model adjacent to any one section of the pipeline model in the horizontal direction, and the second pipeline model being the pipeline model adjacent to any one section of the pipeline model in the vertical direction; Calculating a first spacing and a second spacing, the first spacing being the spacing between the first pipeline model and any one section of the pipeline model, and the second spacing being the spacing between the second pipeline model and any one section of the pipeline model; Judging whether the first spacing and the second spacing are less than the preset spacing; The if the spacing between the pipeline models is less than the preset spacing, increasing the spacing between the pipeline models includes: Obtaining the generation order of the pipeline model; If the first spacing is less than the preset spacing, judging whether the generation order of the first pipeline model is earlier than the generation order of any one section of the pipeline model; If it is earlier than the generation order of any one section of the pipeline model, modifying the pipeline model connected to any one section of the pipeline model and connecting the unconnected nodes in the modified pipeline model; If it is not earlier than the generation order of any one section of the pipeline model, modifying the pipeline model connected to the first pipeline model and connecting the unconnected nodes in the modified pipeline model; If the second spacing is less than the preset spacing, judging whether the generation order of the second pipeline model is earlier than the generation order of any one section of the pipeline model; If it is earlier than the generation order of any one section of the pipeline model, modifying the pipeline model connected to any one section of the pipeline model and connecting the unconnected nodes in the modified pipeline model; If it is not earlier than the generation order of any one section of the pipeline model, modifying the pipeline model connected to the second pipeline model and connecting the unconnected nodes in the modified pipeline model.
2. The method for HVAC and plumbing design based on BIM according to claim 1, wherein The generating a pipeline model in the building model based on the apartment type information includes: Determining the areas in the building model that require HVAC and the areas that require water supply and drainage based on the apartment type information; Generating the water supply and drainage pipeline model in the areas that require water supply and drainage, and generating the HVAC pipeline model in the areas that require HVAC; Judging whether the length of the currently generated pipeline model reaches a preset length; If it reaches the preset length, performing collision detection and simulation operation on the pipeline model; Loop and execute steps of generating the water supply and drainage pipeline model in the area that requires water supply and drainage, and generating the HVAC pipeline model in the area that requires HVAC, judge whether the length of the currently generated pipeline model reaches a preset length, and if it reaches the preset length, perform collision detection and simulation operation on the pipeline model until the pipeline model is generated in the building model.
3. The method for HVAC and plumbing design based on BIM according to claim 2, characterized in that, The performing collision detection and simulation operation on the pipeline model includes: Performing collision detection on the pipeline model and judging whether a collision problem occurs; If the collision problem occurs, modifying the pipeline model; If the collision problem does not occur, performing simulation operation on the pipeline model and judging whether a fault occurs during the simulation operation; If the fault occurs, determining the pipeline model with the fault in the pipeline model and repairing the pipeline model with the fault.
4. A BIM-based heating, ventilation and plumbing design method according to claim 1, characterized in that The method further includes: If a start construction instruction triggered by the user is obtained, outputting a prompt message based on the generation sequence of the pipeline model, where the prompt message is used to prompt the user to perform construction based on the generation sequence.
5. A BIM-based heating, ventilation and plumbing design method according to claim 1, characterized in that The method further includes: If a construction problem is received, updating the pipeline model based on the construction problem, where the construction problem is used to represent the deviation generated during the construction process from the pipeline model generated in the building model.
6. A BIM-based heating, ventilation, and plumbing design device, characterized in that, It includes: An acquisition module, configured to acquire a building model and apartment type information; A pipeline generation module, configured to generate a pipeline model in the building model based on the apartment type information, where the pipeline model includes an HVAC pipeline model and a water supply and drainage pipeline model; A judgment module, configured to judge whether the distance between the pipeline models is less than a preset distance; An increase module, configured to increase the distance between the pipeline models if the distance between the pipeline models is less than the preset distance; The judgment module is specifically configured to judge whether the distance between the pipeline models is less than a preset distance, including: Determining the nodes where the pipelines in the pipeline model change direction; Dividing the pipeline model into at least one section based on the nodes; Determining a first pipeline model and a second pipeline model, where the first pipeline model is the pipeline model adjacent to any section of the pipeline model in the horizontal direction, and the second pipeline model is the pipeline model adjacent to any section of the pipeline model in the vertical direction; Calculating a first distance and a second distance, where the first distance is the distance between the first pipeline model and any section of the pipeline model, and the second distance is the distance between the second pipeline model and any section of the pipeline model; Judging whether the first distance and the second distance are less than the preset distance; The increase module is specifically configured to increase the distance between the pipeline models if the distance between the pipeline models is less than the preset distance, including: Acquiring the generation sequence of the pipeline model; If the first distance is less than the preset distance, judging whether the generation sequence of the first pipeline model is earlier than the generation sequence of any section of the pipeline model; If it is earlier than the generation order of the pipeline model described in any section, modify the pipeline model connected to the pipeline model described in any section, and connect the unconnected nodes in the modified pipeline model; If it is not earlier than the generation order of the pipeline model described in any section, modify the pipeline model connected to the first pipeline model, and connect the unconnected nodes in the modified pipeline model; If the second spacing is less than the preset spacing, determine whether the generation order of the second pipeline model is earlier than the generation order of the pipeline model described in any section; If it is earlier than the generation order of the pipeline model described in any section, modify the pipeline model connected to the pipeline model described in any section, and connect the unconnected nodes in the modified pipeline model; If it is not earlier than the generation order of the pipeline model described in any section, modify the pipeline model connected to the second pipeline model, and connect the unconnected nodes in the modified pipeline model.
7. An electronic device, characterized in that, It includes: One or more processors; A memory; One or more applications, wherein the one or more applications are stored in the memory and are configured to be executed by the one or more processors, and the one or more applications are configured to: execute a BIM-based heating, ventilation and plumbing design method according to any one of claims 1 to 5.
8. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the program is executed by the processor, it implements a BIM-based heating, ventilation and plumbing design method according to any one of claims 1 to 5.
Citation Information
Patent Citations
Method and device for adjusting pipeline collisions in power plant model
CN103399987A
Outdoor three-dimensional integrated pipeline threshold detection method for urban rail transit depot
CN103617314A
BIM modeling method for comprehensive arrangement of hospital pipelines
CN113268805A