CN110727976A - MEP system generation method and device, computer equipment and storage medium - Google Patents

MEP system generation method and device, computer equipment and storage medium Download PDF

Info

Publication number
CN110727976A
CN110727976A CN201810779015.0A CN201810779015A CN110727976A CN 110727976 A CN110727976 A CN 110727976A CN 201810779015 A CN201810779015 A CN 201810779015A CN 110727976 A CN110727976 A CN 110727976A
Authority
CN
China
Prior art keywords
mep
topology
target
type
cost
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201810779015.0A
Other languages
Chinese (zh)
Other versions
CN110727976B (en
Inventor
张海明
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Nanjing Runshijing Environmental Engineering Co.,Ltd.
Original Assignee
Xi'an Sea Square Network Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Xi'an Sea Square Network Technology Co Ltd filed Critical Xi'an Sea Square Network Technology Co Ltd
Priority to CN201810779015.0A priority Critical patent/CN110727976B/en
Publication of CN110727976A publication Critical patent/CN110727976A/en
Application granted granted Critical
Publication of CN110727976B publication Critical patent/CN110727976B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The application relates to a method and a device for generating an MEP system, computer equipment and a storage medium. The method comprises the following steps: acquiring the mechanical, electrical and pipeline MEP type in the current design model and attribute information of each equipment point corresponding to the MEP type, acquiring a target arrangement constraint rule of a target MEP topology corresponding to the MEP type, generating a target MEP topology corresponding to each MEP type in the design model according to the target arrangement constraint rule, the type of equipment to be communicated, the pose of the equipment to be communicated, the type of the equipment point, the space environment of the design model and a preset topology generation rule, and generating an MEP system corresponding to each MEP type according to the target MEP topology corresponding to each MEP type and the bearing capacity requirement of each equipment to be communicated on the target MEP topology. The method can automatically generate the MEP system corresponding to each MEP type through the computer, greatly improves the design efficiency and greatly improves the design quality.

Description

MEP system generation method and device, computer equipment and storage medium
Technical Field
The present application relates to the field of computer technologies, and in particular, to a method and an apparatus for generating an MEP system, a computer device, and a storage medium.
Background
In the field of building design, Mechanical, Electrical and Plumbing (MEP) systems are often of major interest to designers as an important component of a design solution.
Because the MEP system includes four professions of wind, fire and water electricity, usually in the engineering design process, four professions of MEP system are designed alone by the designer of different professions respectively, and in the design process alone, the designer of each specialty is according to the environment in design area to combine the professional knowledge of self, through manual setting MEP's pipeline route in design area. For example, a designer clicks a pipeline path for setting the MEP through a mouse, selects a pipeline specification according to design requirements, designs pipelines of the same specialty step by step, and merges respective design results after each professional designer completes separate design, thereby completing the design of the whole MEP system.
Therefore, the design efficiency of the MEP system is low by adopting the method in the traditional technology.
Disclosure of Invention
In view of the above, it is necessary to provide a method and an apparatus for generating an MEP system, a computer device, and a storage medium, which can improve the design efficiency of the MEP system.
In a first aspect, an embodiment of the present invention provides a method for generating an MEP system, where the method includes:
acquiring an MEP type in a current design model and attribute information of each equipment point corresponding to the MEP type; the attribute information comprises the type of the equipment to be connected at the equipment point, the pose of the equipment to be connected and the type of the equipment point, and the type of the equipment point comprises a starting point and an end point;
acquiring a target configuration constraint rule of a target MEP topology corresponding to the MEP type;
generating a target MEP topology corresponding to each MEP type in the design model according to the target arrangement constraint rule, the type of the equipment to be communicated, the pose of the equipment to be communicated, the type of the equipment point, the spatial environment of the design model and a preset topology generation rule; the topology generation rules comprise chessboard-like rules and obstacle avoidance rules which meet shortest path constraints;
and generating an MEP system corresponding to each MEP type according to the target MEP topology corresponding to each MEP type and the bearing capacity requirement of each device to be communicated on the target MEP topology.
In one embodiment, the obtaining of the target configuration constraint rule of the target MEP topology corresponding to the MEP type includes:
searching the target configuration constraint rule from a preset first mapping relation according to the MEP type;
alternatively, the first and second electrodes may be,
and receiving the target arrangement constraint rule input by a user.
In one embodiment, the generating a target MEP topology corresponding to each MEP type in the design model according to the target arrangement constraint rule, the type of the device to be connected, the pose of the device to be connected, the type of the device point, the spatial environment of the design model, and a preset topology generation rule includes:
generating a first communication topology set capable of communicating a plurality of equipment points by adopting the chessboard-like rule and the obstacle avoidance rule according to the target arrangement constraint rule, the type of the equipment to be communicated, the pose of the equipment to be communicated, the type of the equipment points and the space environment of the design model, wherein the first communication topology set comprises a plurality of first communication topologies;
calculating the primary topology cost of each first connection topology in the first connection topology set; wherein the primary topology cost comprises: the cost of the length of the topology and the cost of the number of inflection points of the topology;
and selecting the target MEP topology from the first connection topology set according to the primary topology cost and a preset pipeline cost screening rule.
In one embodiment, the selecting the target MEP topology from the first connection topology set according to the primary topology cost and a preset pipeline cost screening rule includes:
determining a first connection topology with the lowest cost of primary topologies in the first connection topology set as the target MEP topology.
In one embodiment, the selecting the target MEP topology from the first connection topology set according to the primary topology cost and a preset pipeline cost screening rule includes:
determining a second connection topology set from the first connection topology set according to the primary topology cost of each first connection topology; the second set of connected topologies comprises: the primary topology has the same cost and the lowest cost;
determining the bearing capacity levels of different pipelines on each first communication topology in the second communication topology set according to the type of each equipment point on each first communication topology in the second communication topology set and the channel direction of each first communication topology in the second communication topology set;
calculating the load bearing cost corresponding to each first communication topology according to the load bearing levels of different pipelines on each first communication topology and the load bearing cost corresponding to each load bearing level, and determining the target MEP topology according to the load bearing cost corresponding to each first communication topology.
In one embodiment, the determining the target MEP topology according to the bearer cost corresponding to each first connection topology includes:
and determining the first connection topology with the lowest bearing capacity cost as the target MEP topology.
In one embodiment, the determining the target MEP topology according to the bearer cost corresponding to each first connection topology includes:
determining a first connection topology with the lowest bearing capacity cost from the second connection topology set;
adjusting the first communication topology with the lowest bearing capacity cost according to a preset topology adjustment rule to generate the target MEP topology; the topology adjustment rules comprise a minimum pipeline material cost rule and a minimum pipeline construction cost rule.
In one embodiment, the generating an MEP system corresponding to each MEP type according to a target MEP topology corresponding to each MEP type and a load capacity requirement of each device to be connected on the target MEP topology includes:
acquiring the bearing capacity of each device to be communicated positioned behind the previous device to be communicated on the target MEP topology according to the bearing capacity requirement of each device to be communicated on the target MEP topology;
summing the bearing capacity of each device to be communicated to obtain the bearing capacity of an MEP pipeline which is positioned in front of the previous device to be communicated and connected with the previous device to be communicated;
and determining the target pipeline specification of the MEP pipeline according to the bearing capacity of the MEP pipeline, and generating an MEP system corresponding to the MEP type according to the target pipeline specification of the MEP pipeline.
In one embodiment, the determining a target pipe specification for the MEP pipe according to a carrying capacity of the MEP pipe includes:
determining an initial pipeline specification of the MEP pipeline according to the bearing capacity of the MEP pipeline;
judging whether the initial pipeline specification exists in the preset pipeline specification library or not;
and if not, determining the pipeline specification which is greater than the bearing capacity of the MEP pipeline and has the minimum difference value with the initial pipeline specification in the preset pipeline specification library as the target pipeline specification.
In one embodiment, the method further comprises:
and judging the correctness of the MEP system according to the collision check rule so as to output collision prompt information.
In a second aspect, an embodiment of the present invention provides an apparatus for generating an MEP system, where the apparatus includes: the device comprises a first acquisition module, a first determination module, a first processing module and a second processing module;
the first obtaining module is used for obtaining an MEP type in a current design model and attribute information of each equipment point corresponding to the MEP type; the attribute information comprises the type of the equipment to be connected at the equipment point, the pose of the equipment to be connected and the type of the equipment point, and the type of the equipment point comprises a starting point and an end point;
the first determining module is configured to obtain a target configuration constraint rule of a target MEP topology corresponding to the MEP type;
the first processing module is configured to generate a target MEP topology corresponding to each MEP type in the design model according to the target arrangement constraint rule, the type of the device to be connected, the pose of the device to be connected, the type of the device point, the spatial environment of the design model, and a preset topology generation rule; the topology generation rules comprise chessboard-like rules and obstacle avoidance rules which meet shortest path constraints;
and the second processing module generates an MEP system corresponding to each MEP type according to a target MEP topology corresponding to each MEP type and the bearing capacity requirement of each device to be communicated on the target MEP topology.
In a third aspect, an embodiment of the present invention provides a computer device, including a memory and a processor, where the memory stores a computer program, and the processor implements the following steps when executing the computer program:
acquiring an MEP type in a current design model and attribute information of each equipment point corresponding to the MEP type; the attribute information comprises the type of the equipment to be connected at the equipment point, the pose of the equipment to be connected and the type of the equipment point, and the type of the equipment point comprises a starting point and an end point;
acquiring a target configuration constraint rule of a target MEP topology corresponding to the MEP type;
generating a target MEP topology corresponding to each MEP type in the design model according to the target arrangement constraint rule, the type of the equipment to be communicated, the pose of the equipment to be communicated, the type of the equipment point, the spatial environment of the design model and a preset topology generation rule; the topology generation rules comprise chessboard-like rules and obstacle avoidance rules which meet shortest path constraints;
and generating an MEP system corresponding to each MEP type according to the target MEP topology corresponding to each MEP type and the bearing capacity requirement of each device to be communicated on the target MEP topology.
In a fourth aspect, an embodiment of the present invention provides a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements the following steps:
acquiring an MEP type in a current design model and attribute information of each equipment point corresponding to the MEP type; the attribute information comprises the type of the equipment to be connected at the equipment point, the pose of the equipment to be connected and the type of the equipment point, and the type of the equipment point comprises a starting point and an end point;
acquiring a target configuration constraint rule of a target MEP topology corresponding to the MEP type;
generating a target MEP topology corresponding to each MEP type in the design model according to the target arrangement constraint rule, the type of the equipment to be communicated, the pose of the equipment to be communicated, the type of the equipment point, the spatial environment of the design model and a preset topology generation rule; the topology generation rules comprise chessboard-like rules and obstacle avoidance rules which meet shortest path constraints;
and generating an MEP system corresponding to each MEP type according to the target MEP topology corresponding to each MEP type and the bearing capacity requirement of each device to be communicated on the target MEP topology.
According to the method and the device for generating the MEP system, the attribute information of each equipment point corresponding to the MEP type and the MEP type in the current design model are obtained through the computer equipment, the target arrangement constraint rule of the target MEP topology corresponding to the MEP type is obtained, and the target MEP topology corresponding to each MEP type in the design model is generated according to the target arrangement constraint rule, the type of the equipment to be communicated, the pose of the equipment to be communicated and the type of the equipment point, the space environment of the design model and the preset topology generation rule; generating an MEP system corresponding to each MEP type according to a target MEP topology corresponding to each MEP type and the bearing capacity requirement of each device to be communicated on the target MEP topology, wherein the attribute information comprises the type of the device to be communicated at the device point, the pose of the device to be communicated and the type of the device point, and the type of the device point comprises a starting point and an end point; the topology generation rules comprise chessboard-like rules and obstacle avoidance rules which meet shortest path constraints. According to the method, the device, the computer equipment and the storage medium, the computer equipment can automatically generate the target MEP topology corresponding to each MEP type in the design model according to the MEP type in the current design model and the attribute information of each equipment point corresponding to the MEP type, the target arrangement constraint rule of the target MEP topology corresponding to the MEP type and the space environment of the current design model and the preset topology forming rule, and the computer equipment also automatically generates the corresponding MEP system according to the target MEP topology corresponding to each MEP type and the bearing capacity requirement of each device to be communicated on the target MEP topology. Therefore, the design of the MEP system is not required to be performed by a designer in a manual operation mode such as a mouse or a keyboard, for example, the manual operation mode is used for setting the pipeline distribution trend one by one, the MEP system corresponding to each MEP type can be automatically generated by the embodiment through a computer, the design efficiency is greatly improved, the design error and the design deviation caused by insufficient experience of the designer can be avoided, and the design quality is greatly improved.
Drawings
FIG. 1 is a diagram illustrating an internal structure of a computer device according to an embodiment;
fig. 2 is a schematic flow chart of a method for generating an MEP system according to an embodiment;
fig. 3 is a schematic flow chart of a method for generating an MEP system according to another embodiment;
FIG. 3a is a schematic path diagram of multiple first connection topologies in one embodiment;
FIG. 3b is a schematic diagram of a room model of the wind path system;
fig. 4 is a schematic flow chart of a method for generating an MEP system according to another embodiment;
FIG. 4a is a schematic path diagram of multiple first connection topologies in one embodiment;
fig. 5 is a schematic flow chart of a method for generating an MEP system according to another embodiment;
fig. 6 is a schematic flow chart of a method for generating an MEP system according to another embodiment;
fig. 7 is a schematic flowchart of a method for generating an MEP system according to another embodiment;
fig. 8 is a schematic flow chart of a method for generating an MEP system according to yet another embodiment;
fig. 9 is a schematic flowchart of a method for generating an MEP system according to yet another embodiment;
fig. 10 is a schematic structural diagram of a generating device of an MEP system according to still another embodiment;
fig. 11 is a schematic structural diagram of a generating device of the MEP system according to an embodiment;
fig. 12 is a schematic structural diagram of a generating device of an MEP system according to another embodiment;
fig. 13 is a schematic structural diagram of a generating device of an MEP system according to still another embodiment;
fig. 14 is a schematic structural diagram of a generating device of an MEP system according to still another embodiment.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the present application is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the present application and are not intended to limit the present application.
The method for generating the MEP system provided by the embodiment of the present invention may be applied to the computer device shown in fig. 1, and the computer device may be a server. The computer device includes a processor, a memory, and a network interface connected by a system bus. Wherein the processor of the computer device is configured to provide computing and control capabilities. The memory of the computer device comprises a nonvolatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program, and a database. The internal memory provides an environment for the operation of an operating system and computer programs in the non-volatile storage medium. The database of the computer device is used to store the destination related data of the target arrangement constraint rule in the present embodiment, and the description about the target arrangement constraint rule may refer to the contents of the method embodiments described below. The network interface of the computer device is used for communicating with an external terminal through a network connection. Optionally, the computer device may be a server, may be a PC, a personal digital assistant, other terminal devices such as a PDA, a mobile phone, and the like, a cloud, or a remote server, and the specific form of the computer device is not limited in this embodiment.
In the engineering design process, an MEP system usually comprises four types of wind, fire, water and electricity, and the design process of the system is complicated and the design difficulty is high due to the characteristics of the system, so that a designer is required to spend a large amount of time and energy to design the system, and the engineering design can be completed by continuous adjustment. In the traditional design process, designers use computer equipment to arrange and adjust pipelines of the MEP system one by one according to the design experience of the designers, so that the design of the MEP system is completed. However, the design of the MEP system using the method in the conventional art is inefficient. The embodiment of the invention provides a method and a device for generating an MEP system, computer equipment and a storage medium, and aims to solve the technical problems in the prior art.
The following describes the technical solution of the present invention and how to solve the above technical problems with specific examples. The following several specific embodiments may be combined with each other, and details of the same or similar concepts or processes may not be repeated in some embodiments. Embodiments of the present invention will be described below with reference to the accompanying drawings.
Fig. 2 is a schematic flow chart of a method for generating an MEP system according to an embodiment. The embodiment relates to a specific process of generating an MEP system by computer equipment according to a currently input design model and a beat unconstrained rule. As shown in fig. 2, the method includes:
s101, acquiring an MEP type in a current design model and attribute information of each equipment point corresponding to the MEP type; the attribute information comprises the type of the equipment to be connected at the equipment point, the pose of the equipment to be connected and the type of the equipment point, and the type of the equipment point comprises a starting point and an end point.
Specifically, the computer device may receive a currently input design model, optionally, the design model may be input by a user through mouse click, or an identifier of the design model may be input by the user, and the computer device searches and imports the design model according to the identifier of the design model, which is not limited in this embodiment. The computer device may be based on a design instruction input by a user, optionally, the design instruction may be an icon corresponding to a certain MEP system type clicked by the user through a mouse, or an instruction for completing a previous design task, so as to determine the MEP type to be designed currently by the design model; and the computer equipment reads the input attribute of the design model, so as to obtain the attribute information of each equipment point corresponding to the MEP type to be designed in the design model.
It should be noted that the attribute information of each device point includes a type of a device to be connected at each device point, a pose of the device to be connected, and a type of the device point, where the type of the device point may include a start point and an end point, and optionally, may further include an inflection point and a connection point. For example, a user selects a design circuit system by clicking an icon of a circuit design with a mouse; the computer equipment acquires the attribute information of the electric equipment in the current design model, wherein the attribute information can comprise the equipment type of each electric point, such as an air conditioner or an electric lamp; the pose of the equipment to be communicated, such as the installation height and the installation orientation of an air conditioner, can also be included; and the type of each equipment point, for example, whether the equipment point is a start point or an end point, the type of the equipment point is the end point when the equipment point is an air conditioner, and the type of the equipment point is the start point when the equipment point is a distribution box.
S102, acquiring a target configuration constraint rule of a target MEP topology corresponding to the MEP type.
Specifically, the computer device obtains a target configuration constraint rule of a target MEP topology corresponding to the MEP type according to the MEP type, wherein the target configuration constraint rule enables the target MEP topology to meet design requirements. It should be noted that each type of MEP system has its corresponding arrangement constraint rule according to its own characteristics. Optionally, the target arrangement constraint rule may include design criteria of the MEP system in industry design experience, for example, the arrangement constraint rule of the water path includes rules that the water pipe does not top when walking on the ground, and needs to be vertically arranged but cannot be horizontally arranged when walking on the wall.
S103, generating a target MEP topology corresponding to each MEP type in the design model according to the target arrangement constraint rule, the type of the equipment to be communicated, the pose of the equipment to be communicated, the type of the equipment point, the spatial environment of the design model and a preset topology generation rule; the topology generation rules comprise chessboard-like rules and obstacle avoidance rules which meet shortest path constraints.
Specifically, the computer device determines the positions of the starting point and the end point of the target MEP topology and the channel direction according to the pose of the device to be communicated and the type of the device point, wherein the channel direction can represent the wind direction in the pipeline of the wind-water-electricity system, the flow direction of water and the direction from the electricity taking end of the circuit to the electricity using end, for example, the computer device can calculate the target MEP topology meeting the distribution of the current device point by adopting a routing algorithm according to the type of the device to be communicated, the position and the posture orientation of the air conditioner, the end point of the circuit of the air conditioner, the type of the device as a distribution box, the position and the posture orientation of the distribution box and the starting point of the circuit of the distribution box, and combining the space environment of the design model, namely the space size and the specific orientations of the wall, the roof and the ground, and adopting a routing algorithm according to the target arrangement constraint rule, the chessboard-like rule and the obstacle avoidance rule of, the target MEP topology is the shortest path capable of meeting design requirements, and can effectively avoid obstacles for pipeline arrangement, for example, a bearing wall can be avoided when a circuit is arranged, so that slotting on the bearing wall is avoided. The chessboard-like rule may include at least one of a right-angle connection rule and a specific angle connection rule, and the chessboard-like rule does not accept connection according to any angle.
S104, generating an MEP system corresponding to each MEP type according to the target MEP topology corresponding to each MEP type and the bearing capacity requirement of each device to be communicated on the target MEP topology.
Specifically, the computer device can determine the bearing capacity requirement of the MEP pipeline where the to-be-communicated device is located according to the specification of each to-be-communicated device, for example, when the to-be-communicated device is a bedroom air conditioner, the specification of the air conditioner is 1P, and therefore the bearing capacity requirement of the to-be-communicated device is determined to be the minimum according to the specification that the air conditioner is 1P, and 1 ampere current work can be met; optionally, the computer device may further obtain the carrying capacity requirement of each device to be communicated according to information input by a designer, and the computer device determines the carrying capacity of each segment of pipeline according to the generated target MEP topology and the connection relation of each device to be communicated and by combining the carrying capacity requirement of each device to be communicated, thereby generating an MEP system corresponding to each MEP type meeting each device to be communicated.
In this embodiment, a computer device generates a target MEP topology corresponding to each MEP type in a design model according to a target arrangement constraint rule, a type of a device to be connected, a pose of the device to be connected, a type of the device point, a space environment of the design model, and a preset topology generation rule by obtaining an MEP type in a current design model and attribute information of each device point corresponding to the MEP type, and obtaining a target arrangement constraint rule of a target MEP topology corresponding to the MEP type, and generates an MEP system corresponding to each MEP type according to the target MEP topology corresponding to each MEP type and a load capacity requirement of each device to be connected on the target MEP topology, where the attribute information includes the type of the device to be connected at the device point, the pose of the device to be connected, and the type of the device point includes a start point and an end point, and the topology generation rules comprise chessboard-like rules and obstacle avoidance rules which meet the shortest path constraint. According to the method adopted by the implementation, the computer equipment can automatically generate the target MEP topology corresponding to each MEP type in the design model according to the MEP type in the current design model and the attribute information of each equipment point corresponding to the MEP type, the target arrangement constraint rule of the target MEP topology corresponding to the MEP type and the space environment of the current design model and the preset topology forming rule, and the computer equipment can also automatically generate the corresponding MEP system according to the target MEP topology corresponding to each MEP type and the bearing capacity requirement of each device to be communicated on the target MEP topology. Therefore, according to the method provided by the embodiment, a designer does not need to design the MEP system through a mouse or a keyboard and other manual operation modes, for example, the complicated operations such as manually setting the pipeline distribution trend one by one are performed, the MEP system corresponding to each MEP type can be automatically generated through a computer, the design efficiency is greatly improved, and design errors and design deviations caused by insufficient experience of the designer can be avoided, so that the design quality is greatly improved.
Optionally, on the basis of the foregoing embodiment, the computer device obtains the target configuration constraint rule of the target MEP topology corresponding to the MEP type, where one possible implementation manner may include: and searching the target configuration constraint rule from a preset first mapping relation according to the MEP type.
In this implementation manner, the computer device searches in the preset first mapping relationship according to the current MEP type to obtain a target configuration constraint rule corresponding to the current MEP type, where the target configuration constraint rule enables the MEP type corresponding to the target configuration constraint rule to meet the design criteria of the target configuration constraint rule, and for example, the target constraint rule may include the design criteria of an MEP system in national standards, international standards, enterprise standards, and industry design experience.
Optionally, on the basis of the above embodiment, the computer device obtains the target configuration constraint rule of the target MEP topology corresponding to the MEP type, and another possible implementation manner may include: and receiving the target arrangement constraint rule input by a user.
In this implementation, the target arrangement constraint rule may further include an arrangement constraint rule that the computer device receives user input, for example, a designer may select a target arrangement range through mouse click or the like, and set that the target MEP topology can cover the target arrangement range, and then the computer device sets the target arrangement range that is manually input as the required area of the target MEP topology as the target arrangement constraint rule.
Fig. 3 is a schematic flow chart of a method for generating an MEP system according to another embodiment. The embodiment relates to a specific process of generating a target MEP topology corresponding to each MEP type in a design model by computer equipment according to the design model and a preset topology forming rule. Optionally, on the basis of the foregoing embodiment, the foregoing S103 may include:
s201, generating a first communication topology set capable of enabling a plurality of equipment points to be communicated by adopting the chessboard-like rule and the obstacle avoidance rule according to the target arrangement constraint rule, the type of the equipment to be communicated, the pose of the equipment to be communicated, the type of the equipment points and the space environment of the design model, wherein the first communication topology set comprises a plurality of first communication topologies.
Specifically, according to the pose of the device to be connected and the type of the device point, the computer device firstly determines the position and the orientation of each device point to be connected in the MEP system and the type of the device point, namely, each device point is used as a starting point or a terminal point, secondly, the computer device adopts a shortest path algorithm meeting a chessboard-like rule in combination with the arrangement obstacles in the design model, and generates a plurality of first connection topologies in combination with a target arrangement constraint rule and the space environment of the design model, such as the distribution of walls, tops and ground, and the plurality of first connection topologies form a first connection topology set. For example, as shown in fig. 3a, the first topology set from point a to point B may include path 31, path 32, path 33, and so on. It should be noted that the arrangement obstacle is an area where the target MEP topology cannot be arranged, and the area may be an existing model area that cannot pass through the target MEP topology without meeting design requirements, or may be a space area that needs to be reserved, which is not limited in this embodiment.
S202, calculating the primary topology cost of each first connection topology in the first connection topology set; wherein the primary topology cost comprises: the cost of topology length and the cost of the number of topology inflection points.
Specifically, the computer device obtains the topology length and the number of topology inflection points of each first connection topology in the first connection topology set, so as to calculate the topology length cost and the topology inflection point cost respectively, and the topology length cost and the topology inflection point cost can represent the primary topology cost of each first connection topology. For example, in fig. 3a, the topology length of each of the path 31 and the path 32 is a + b, the number of topology inflection points is 1, the topology length of the path 3 is a + b1+ b2, and the number of topology inflection points is 2.
S203, selecting the target MEP topology from the first connection topology set according to the primary topology cost and a preset pipeline cost screening rule.
Specifically, the computer device selects one first connection topology which meets the design requirement and the design target from the first connection topology set as the target MEP topology according to the primary topology cost of each first connection topology and a preset pipeline cost screening rule. Alternatively, the design goal may be to minimize the out-of-turn or minimize the path length, which is not limited in this embodiment. The pipeline cost screening rule can comprise different material costs corresponding to different pipeline specifications and a cost proportional relation between pipelines with different specifications, for example, the cost of a three-meter water pipe is equal to that of a connecting piece; the method can also comprise corresponding relations between different pipeline topologies and work types and between the pipeline topologies and construction complexity, and the pipeline cost screening rule can combine the material cost and the work type of the different pipeline topologies and the construction complexity caused by the related work types, and calculate the primary topology cost according to preset weight.
For example, in fig. 3a, the topology lengths of the path 31 and the path 32 are a + b, the topology length of the path 33 is a + b1+ b2, and as can be seen from fig. 3a, b1+ b2 is b, so that the topology lengths of the path 31, the path 32 and the path 33 are the same, and since the number of topology inflection points of the path 31 and the path 32 is 1 and the number of topology inflection points of the path 33 is 2, it can be seen that the number of inflection points of the path 33 is greater than that of the path 31 and the path 32, so that the primary topology cost of the path 33 is higher than that of the path 31 and the path 32, and the primary topology costs of the path 31 and the path 32 are the same, and therefore, the computer device can optionally select the path 31 or the path 32 as the target MEP topology.
In this embodiment, the computer device generates a first communication topology set capable of communicating a plurality of device points by using a chessboard-like rule and an obstacle avoidance rule according to a target arrangement constraint rule, a type of a device to be communicated, a pose of the device to be communicated, a type of the device point, and a spatial environment of a design model, and calculates a primary topology cost of each first communication topology in the first communication topology set, thereby selecting a target MEP topology from the first communication topology set according to the primary topology cost and a preset pipeline cost screening rule. According to the method provided by the embodiment, the computer equipment can automatically generate a first communication topology set capable of communicating a plurality of equipment points according to a target arrangement constraint rule, the type of the equipment to be communicated, the pose of the equipment to be communicated, the type of the equipment points and the space environment of a design model by adopting a chessboard-like rule and an obstacle avoidance rule, and calculate the primary topology cost of each first communication topology in the first communication topology set, so that the target MEP topology is automatically selected from the first communication topology set according to the primary topology cost and a preset pipeline cost screening rule, the cost of the determined target MEP topology can meet the design requirement while the communication requirement is met, and the design quality of a design result is improved.
Optionally, as a possible implementation manner of S203, refer to the steps shown in fig. 4. Optionally, on the basis of the foregoing embodiment, the S203 may include:
S301A, determining the first connection topology with the lowest primary topology cost in the first connection topology set as the target MEP topology.
Specifically, the computer device ranks the plurality of first connection topologies in the first connection topology set according to a primary topology cost, and if the primary topology cost is the lowest single first connection topology, takes the first connection topology with the lowest primary topology cost as the target MEP topology. For example, in fig. 4a, the first connection topology set from point C to point D includes a path 41, a path 42, a path 43, and a path 44, and if an area E in the drawing is an obstacle, it is determined that the path 44 is the first connection topology with the lowest primary topology cost according to the primary topology cost of each path, and therefore, the path 44 is taken as the target MEP topology.
In this implementation, the computer device can use the first connection topology with the lowest primary topology cost as the target MEP topology according to the primary topology cost of each first connection topology in the first connection topology set, so that the target MEP topology meets the design requirement and has the lowest design cost, and further the cost of the MEP system is reduced.
Optionally, as another possible implementation manner of S203, refer to the steps shown in fig. 4. Optionally, on the basis of the foregoing embodiment, the S203 may include:
S301B, determining a second connection topology set from the first connection topology set according to the primary topology cost of each first connection topology; the second set of connected topologies comprises: the primary topology is the same cost and least costly part of the first connectivity topology.
Specifically, the computer device may rank, according to a primary topology cost of each first connection topology, each first connection topology in the first connection topology set, and select, as the second connection topology set, a part of the first connection topology with the smallest primary topology cost if the number of the first connection topologies with the smallest primary topology cost is more than one. For example, in fig. 3a, the path 31 and the path 32 are the first connected topology with the smallest cost of the primary topology, and therefore the path 31 and the path 32 are set as the second connected topology.
S302, determining the bearing capacity levels of different pipelines on each first communication topology in the second communication topology set according to the type of each equipment point on each first communication topology in the second communication topology set and the channel direction of each first communication topology in the second communication topology set.
Specifically, the computer device obtains a type of each device point on each first connection topology in the second connection topology set, and the computer device may further obtain a channel direction of each first connection topology in the second connection topology set, where the channel direction may represent a carrier flow direction in a corresponding pipeline, for example, in a circuit system, the channel direction may represent a direction from a power taking point to an electrical appliance; in the waterway system, the direction of the water in the water pipe flowing from the water taking point to the water using point can be represented. Generally, for an MEP system, carriers are input from a main input point and flow to each device to be connected in a design model step by step through a main pipeline and a plurality of pipelines erected layer by layer, and it can be understood that the carrying capacity of the MEP system changes correspondingly every time the MEP system passes through a device to be connected, and the carrying capacity level is reduced by one step. For example, as shown in fig. 3b, fig. 3b is a schematic diagram of a model of an air-path system of a room model, where 1 is an air inlet of a room, 2 is an air outlet, and the model of the air-path system has a plurality of air outlets. It should be noted that, in the air duct system, the air output of the air outlet can be subtracted from the air carrying capacity of the air duct every time the air outlet passes through one air outlet, and therefore, the carrying capacity level changes. Therefore, the computer device can determine the carrying capacity levels of different pipelines on each first communication topology in the second communication topology set, that is, which pipeline needs a large carrying capacity according to the type of each device point on each first communication topology and the acquired channel direction of each first communication topology in the second communication topology set.
S303, calculating a carrying capacity cost corresponding to each first connection topology according to the carrying capacity levels of different pipes on each first connection topology and the carrying capacity cost corresponding to each carrying capacity level, and determining the target MEP topology according to the carrying capacity cost corresponding to each first connection topology.
It should be noted that, because the load bearing levels of different pipelines correspond to different load bearing costs, generally, the pipeline with a higher load bearing level has more equipment points at the rear end thereof and has a higher load bearing capacity, and the corresponding load bearing cost is also higher, whereas the pipeline with a lower load bearing level has fewer equipment points at the rear end thereof and has a lower load bearing capacity and a lower load bearing cost. Optionally, the bearing capacity levels of different pipelines may determine their corresponding bearing capacity levels through a corresponding relationship between the bearing capacity levels and the bearing capacity costs. Optionally, the correspondence between the load bearing level and the load bearing cost may be a one-to-one correspondence, a many-to-one correspondence, or a many-to-many correspondence; optionally, the list may correspond to the index, and the list may also correspond to the link, which is not limited in this embodiment.
Specifically, the computer device calculates the load cost corresponding to each first connection topology by combining the structure of each first connection topology according to the load levels of different pipelines on each first connection topology and the load cost corresponding to each load level, and determines a first connection topology meeting the design requirement from the second connection topology set as the target MEP topology according to the load cost corresponding to each first connection topology. The design requirement may be that the inflection point is the smallest, or the path is the shortest, or the construction is the easiest, and this embodiment is not limited.
Optionally, a possible implementation manner of "determining the target MEP topology according to the bearer cost corresponding to each first connection topology" in S303 may also refer to the embodiment shown in fig. 5 below, and details are not described here.
In this implementation, the computer device can determine a second connection topology set from the first connection topology set according to the primary topology cost of each first connection topology, determine the carrying capacity levels of different pipelines on each first connection topology in the second connection topology set according to the types of each device point on each first connection topology in the second connection topology set and the channel direction of each first connection topology in the second connection topology set, further calculate the carrying capacity cost corresponding to each first connection topology according to the carrying capacity levels of different pipelines on each first connection topology and the carrying capacity cost corresponding to each carrying capacity level, and determine the target MEP topology according to the carrying capacity cost corresponding to each first connection topology, which enables the computer device to combine the distribution and the channel direction of each device point, and then determine the bearing capacity level between each equipment point of each first connection topology, and according to the bearing capacity cost corresponding to each bearing capacity level, determine the first connection topology with the cost meeting the design requirement as the target MEP topology, thereby enabling the acquisition of the target MEP topology to be combined with the bearing level, under the condition of meeting the bearing requirement, the cost is lower, the control cost is more reasonable and effective, and the design quality is improved.
Optionally, as a possible implementation manner of "determining the target MEP topology according to the bearer cost corresponding to each first connection topology" in S303, the "determining the target MEP topology according to the bearer cost corresponding to each first connection topology" may include:
S401A, determining the first connection topology with the lowest bearing capacity cost as the target MEP topology.
Specifically, the computer device may sort a part of the first connection topologies in the second connection topology set according to the load cost, and use the first connection topology ranked at the head as the target MEP topology.
In this implementation, the computer device can use the first connection topology with the lowest carrying capacity cost as the target MEP topology according to the carrying capacity cost of each first connection topology in the second connection topology set, so that the target MEP topology meets the design requirements and has the lowest design cost, and the cost of the MEP system is further reduced.
Optionally, as another possible implementation manner of "determining the target MEP topology according to the bearer cost corresponding to each first connection topology" in S303, refer to the steps shown in fig. 5. Optionally, on the basis of the foregoing embodiment, the "determining the target MEP topology according to the bearer cost corresponding to each first connection topology" in S303 may include:
S401B, determining the first communication topology with the lowest carrying capacity cost from the second communication topology set.
Specifically, the computer device may sort, according to the load-carrying cost, a part of the first connection topologies in the second connection topology set from low to high, and select the first connection topology with the lowest load-carrying cost.
S402, adjusting the first communication topology with the lowest bearing capacity cost according to a preset topology adjusting rule to generate the target MEP topology; the topology adjustment rules comprise a minimum pipeline material cost rule and a minimum pipeline construction cost rule.
The computer device adjusts the first connection topology with the lowest bearing capacity cost according to a preset topology adjustment rule, which may include inflection point removal adjustment and alignment adjustment. For example, the computer device searches for a positional relationship with adjacent corners starting from each corner, determines whether the position of the corner can be adjusted if it is not on a horizontal or vertical line (relative to a local coordinate system, e.g., the coordinate system of a local network of pipes) based on the coordinate error of the corner, adjusts the alignment if it is adjustable, i.e., has no obstacle in the adjustment direction within the adjustment range, and the process may be repeated until all corners are adjusted in place or cannot be adjusted further. The preset topological adjustment rules comprise a material cost minimum rule and a pipeline construction cost minimum rule. Optionally, the computer device may calculate the bearing capacity cost comprehensively according to the preset weight on the basis of the material cost and the construction cost.
In the above S401B and S402, the computer device determines the first connection topology with the lowest cost of the carrying capacity from the second connection topology set, and adjusts the first connection topology with the lowest cost of the carrying capacity according to a preset topology adjustment rule, so as to generate the target MEP topology. The topology adjustment rules comprise a minimum pipeline material cost rule and a minimum pipeline construction cost rule. In this implementation, the computer device can determine the first communication topology with the lowest bearing capacity cost from the second communication topology set, and adjust the first communication topology with the lowest bearing capacity cost according to the lowest pipeline material cost rule and the lowest pipeline construction cost rule, so that the first communication topology with the lowest bearing capacity cost is enabled to be reduced, after the adjustment, the inflection point is reduced, thereby reducing the use of connecting pieces, or when dislocation exists between pipelines originally, the connecting pieces can be aligned, thereby enabling construction to be more convenient, and further enabling the material cost of the first communication topology with current adjustment to be further reduced, or enabling the construction difficulty of constructors to be reduced, facilitating construction of workers, and further improving the construction efficiency.
Fig. 6 is a schematic flowchart of a method for generating an MEP system according to yet another embodiment. The embodiment relates to a specific process of generating an MEP system by computer equipment according to a target MEP topology and a load capacity requirement of each device to be connected on the target MEP topology. Optionally, on the basis of the foregoing embodiment, as shown in fig. 6, the foregoing S104 may include:
s501, acquiring the carrying capacity of each device to be communicated positioned behind the previous device to be communicated on the target MEP topology according to the carrying capacity requirement of each device to be communicated on the target MEP topology.
Specifically, the computer device may directly obtain the load capacity requirement of each device to be connected on the target MEP topology by reading the model information of the device in the design model, and further obtain the load capacity of each device to be connected located behind the previous device to be connected on the target MEP topology according to the channel direction.
S502, carrying out summation operation on the carrying capacity of each device to be communicated after the previous device to be communicated to obtain the carrying capacity of an MEP pipeline which is positioned in front of the previous device to be communicated and connected with the previous device to be communicated.
Specifically, the computer device superposes the carrying capacity of each to-be-communicated device behind the previous to-be-communicated device on the same branch, for example, summing operation is performed, so that the carrying capacity requirement of the rear end of the current section of pipeline is determined, and the carrying capacity required to be met by the section of pipeline is determined. For example, if there are five water consumption points at the rear end of the current node, the load capacity of the section of pipeline is the normal use water pressure and the water consumption of the five water consumption points, and if there are two water consumption points at the rear end of the current node, the load capacity of the section of pipeline is the normal use water pressure and the water consumption of the two water consumption points.
S503, determining the target pipeline specification of the MEP pipeline according to the bearing capacity of the MEP pipeline, and generating an MEP system corresponding to the MEP type according to the target pipeline specification of the MEP pipeline.
Specifically, the computer device selects a pipe that can meet the load capacity specification of the MEP pipe from the standard pipe library as the target pipe specification according to the load capacity of the MEP pipe. And the computer equipment expands the target pipeline according to the target pipeline specification and the target MEP topology, so as to generate an MEP system corresponding to the MEP type.
In this embodiment, the computer device obtains, according to a load capacity requirement of each device to be connected on the target MEP topology, a load capacity of each device to be connected located behind a previous device to be connected on the target MEP topology, and performs a summation operation on the load capacities of the devices to be connected to obtain a load capacity of an MEP pipe located in front of the previous device to be connected and connected to the previous device to be connected; and determining the target pipeline specification of the MEP pipeline according to the bearing capacity of the MEP pipeline, and generating an MEP system corresponding to the MEP type according to the target pipeline specification of the MEP pipeline. The method provided by the embodiment enables the computer equipment to sum the bearing capacity required by each stage of pipeline according to the normal use requirements of a plurality of devices to be communicated, thereby according to the bearing capacity of the MEP pipeline required by the current pipeline, and further according to the bearing capacity of the MEP pipeline, the target pipeline specification capable of meeting the bearing capacity is determined, so that the determined target pipeline specification can be combined with the design requirement of a design model, the target pipeline specification can meet the design requirement, the use requirement is met, the accuracy and the practicability of the design of the MEP system are ensured, and the design quality is improved.
Fig. 7 is a schematic flow chart of a method for generating an MEP system according to another embodiment. The embodiment relates to a specific process of determining a target pipeline specification of an MEP pipeline according to the carrying capacity of the MEP pipeline by computer equipment. Optionally, on the basis of the embodiment shown in fig. 6, the step S503 of "determining the target pipe specification of the MEP pipe according to the bearing capacity of the MEP pipe" may specifically include:
s601, determining the initial pipeline specification of the MEP pipeline according to the bearing capacity of the MEP pipeline.
Specifically, the computer device may determine the initial pipeline specification of the MEP pipeline according to the bearing capacity of the MEP pipeline, and optionally, may determine the initial pipeline specification of the MEP pipeline according to the corresponding relationship between the bearing capacity of the MEP pipeline and the pipeline specification of the MEP pipeline, and optionally, may also calculate through a general calculation formula, which is not limited in this embodiment.
S602, judging whether the initial pipeline specification exists in the preset pipeline specification library.
Specifically, the computer device searches the initial pipeline specification in a preset pipeline specification library, and if the initial pipeline specification can be found, the initial pipeline specification is judged to exist in the preset pipeline specification library; if not, judging that the initial pipeline specification does not exist in the preset pipeline specification library.
S603, if not, determining the pipeline specification which is greater than the bearing capacity of the MEP pipeline and has the smallest difference with the initial pipeline specification in the preset pipeline specification library as the target pipeline specification.
Specifically, when the initial pipeline specification does not exist in the preset pipeline specification library, the computer device selects at least one pipeline specification larger than the carrying capacity of the MEP pipeline from the preset pipeline specification library, and determines a pipeline with the smallest carrying capacity, namely a pipeline with the smallest difference value with the initial pipeline specification, as the target pipeline specification from the at least one pipeline specification.
Optionally, when the initial pipeline specification exists in the preset pipeline specification library, the initial pipeline specification is used as the target pipeline specification.
In this embodiment, the computer device determines an initial pipeline specification of the MEP pipeline according to the bearing capacity of the MEP pipeline, determines whether the initial pipeline specification exists in a preset pipeline specification library, and determines a pipeline specification which is larger than the bearing capacity of the MEP pipeline and has the smallest difference value with the initial pipeline specification in the preset pipeline specification library as a target pipeline specification if the initial pipeline specification does not exist; when present, the initial pipe rule is taken as the target pipe rule. According to the method provided by the embodiment, the computer equipment can determine the initial pipeline specification meeting the MEP pipeline according to the bearing capacity of the MEP pipeline, and determine whether the initial pipeline specification is the standard specification, namely whether the initial pipeline specification exists in a preset pipeline specification library, so that the bearing capacity requirement can be met, and the initial pipeline specification is the target pipeline specification of the standard pipeline specification, and further the generated MEP system meets the bearing capacity requirement, the bearing capacity cost is the lowest, the cost of the MEP system is reduced, and the design quality is improved.
Fig. 8 is a schematic flow chart of a method for generating an MEP system according to still another embodiment. The embodiment relates to a specific process of carrying out correctness judgment on an MEP system and outputting collision prompt information by computer equipment. Optionally, on the basis of the foregoing embodiment, as shown in fig. 8, after the step S104, the method may further include:
105. and judging the correctness of the MEP system according to the collision check rule so as to output collision prompt information.
It should be noted that the collision check rule may include an overlap check and a distance check of the rigid body model.
Specifically, the computer device can perform correctness judgment on the generated MEP system according to the collision check rule, optionally, the method may include correctness judgment between different MEP systems, that is, when different MEP systems collide, or when the distance between the two systems is smaller than a preset distance threshold, collision prompt information is output; optionally, the method may further include judging correctness between the generated MEP system and the design model, for example, when the MEP system collides with an existing model such as a wall, a fire-fighting riser, or a distance between the MEP system and the existing model is smaller than a preset distance threshold, outputting collision prompt information. Optionally, the collision prompt information may be a pop-up collision prompt dialog box, or may be a collision part highlighted, or may be a collision prompt information displayed in an information output window or a status bar, which is not limited in this embodiment.
In this embodiment, the computer device performs correctness judgment on the generated MEP system according to a preset collision check rule, and outputs corresponding collision prompt information when a collision occurs. The method provided by the embodiment can automatically carry out collision inspection on the generated MEP system, and prompts, so that the position where collision occurs or collision risks exist is displayed for a designer, the designer is prompted to carry out corresponding adjustment according to the collision prompt information, the method is compared with manual inspection, the inspection efficiency is greatly improved, the omission caused by errors or insufficient experience possibly caused by manual inspection is avoided, and the accuracy of design can be greatly improved.
Fig. 9 is a schematic flow chart of a method for acquiring an MEP loop according to yet another embodiment. As shown in fig. 9, the method may specifically include:
s701, acquiring an MEP type in a current design model and attribute information of each equipment point corresponding to the MEP type by computer equipment; the attribute information comprises the type of the equipment to be connected at the equipment point, the pose of the equipment to be connected and the type of the equipment point, and the type of the equipment point comprises a starting point and an end point.
S702, the computer equipment acquires a target configuration constraint rule of a target MEP topology corresponding to the MEP type. The obtaining of the target configuration constraint rule of the target MEP topology corresponding to the MEP type includes: searching the target configuration constraint rule from a preset first mapping relation according to the MEP type; or receiving the target arrangement constraint rule input by the user.
S703, generating, by the computer device, a first communication topology set capable of enabling a plurality of device points to be communicated by adopting the chessboard-like rule and the obstacle avoidance rule according to the target arrangement constraint rule, the type of the device to be communicated, the pose of the device to be communicated, the type of the device point and the space environment of the design model, wherein the first communication topology set comprises a plurality of first communication topologies.
S704, calculating the primary topology cost of each first connection topology in the first connection topology set by the computer equipment; wherein the primary topology cost comprises: the cost of topology length and the cost of the number of topology inflection points. Thereafter, S705A or S705B is executed.
S705A, the computer device determines, as the target MEP topology, a first connection topology in the first connection topology set with the lowest primary topology cost. After that, S710 is performed.
S705B, determining, by the computer device, a second connected topology set from the first connected topology set according to the primary topology cost of each first connected topology; the second set of connected topologies comprises: the primary topology is the same cost and least costly part of the first connectivity topology. After that, S706 is performed.
S706, determining, by the computer device, the load bearing levels of different pipelines on each first communication topology in the second communication topology set according to the type of each device point on each first communication topology in the second communication topology set and the channel direction of each first communication topology in the second communication topology set. And S707, the computer device calculates the load bearing cost corresponding to each first connection topology according to the load bearing levels of the different pipelines on each first connection topology and the load bearing cost corresponding to each load bearing level. Thereafter, S708A or S708B is performed.
S708A, the computer device determines the target MEP topology according to the load cost corresponding to each first connection topology. After that, S710 is performed.
S708B, the computer device determines the first connection topology with the lowest load-carrying cost from the second connection topology set. After that, S709 is executed.
S709, the computer equipment adjusts the first communication topology with the lowest bearing capacity cost according to a preset topology adjustment rule to generate the target MEP topology; the topology adjustment rules comprise a minimum pipeline material cost rule and a minimum pipeline construction cost rule.
And S710, acquiring the bearing capacity of each device to be communicated positioned behind the previous device to be communicated on the target MEP topology by the computer device according to the bearing capacity requirement of each device to be communicated on the target MEP topology.
And S711, summing the bearing capacity of each device to be communicated by the computer device to obtain the bearing capacity of the MEP pipeline which is positioned in front of the previous device to be communicated and connected with the previous device to be communicated.
S712, the computer device determines the initial pipeline specification of the MEP pipeline according to the bearing capacity of the MEP pipeline, and judges whether the initial pipeline specification exists in the preset pipeline specification library. If yes, the computer equipment determines the initial pipeline specification as the target pipeline specification. If not, the computer equipment determines the pipeline specification which is greater than the bearing capacity of the MEP pipeline and has the minimum difference value with the initial pipeline specification in the preset pipeline specification library as the target pipeline specification.
S713, the computer equipment generates an MEP system corresponding to the MEP type according to the target pipeline specification of the MEP pipeline.
And S714, the computer equipment judges the correctness of the MEP system according to the collision check rule so as to output collision prompt information.
The execution process of S701 to S714 may specifically refer to the description of the above embodiments, and the implementation principle and the technical effect are similar, which are not described herein again.
It should be understood that although the various steps in the flow charts of fig. 2-9 are shown in order as indicated by the arrows, the steps are not necessarily performed in order as indicated by the arrows. The steps are not performed in the exact order shown and described, and may be performed in other orders, unless explicitly stated otherwise. Moreover, at least some of the steps in fig. 2-9 may include multiple sub-steps or multiple stages that are not necessarily performed at the same time, but may be performed at different times, and the order of performance of the sub-steps or stages is not necessarily sequential, but may be performed in turn or alternating with other steps or at least some of the sub-steps or stages of other steps.
Fig. 10 is a schematic structural diagram of a generating device of the MEP system according to an embodiment. As shown in fig. 10, the apparatus includes: a first obtaining module 11, a first determining module 12, a first processing module 13 and a second processing module 14.
Specifically, the first obtaining module 11 is configured to obtain mechanical, electrical, and pipeline MEP types in a current design model and attribute information of each equipment point corresponding to the MEP types; the attribute information comprises the type of the equipment to be connected at the equipment point, the pose of the equipment to be connected and the type of the equipment point, and the type of the equipment point comprises a starting point and an end point.
A first determining module 12, configured to obtain a target configuration constraint rule of a target MEP topology corresponding to the MEP type.
The first processing module 13 is configured to generate a target MEP topology corresponding to each MEP type in the design model according to the target arrangement constraint rule, the type of the to-be-connected device, the pose of the to-be-connected device, the type of the device point, the spatial environment of the design model, and a preset topology generation rule; the topology generation rules comprise chessboard-like rules and obstacle avoidance rules which meet shortest path constraints.
The second processing module 14 is configured to generate an MEP system corresponding to each MEP type according to a target MEP topology corresponding to each MEP type and a load capacity requirement of each device to be connected on the target MEP topology.
The generating device of the MEP system provided in this embodiment may execute the above method embodiments, and the implementation principle and the technical effect are similar, which are not described herein again.
In an embodiment, the first determining module 12 may be specifically configured to search the target arrangement constraint rule from a preset first mapping relationship according to the MEP type;
alternatively, the first and second electrodes may be,
and receiving the target arrangement constraint rule input by a user.
Fig. 11 is a schematic structural diagram of a generating device of an MEP system according to another embodiment. On the basis of the foregoing embodiment, optionally, as shown in fig. 11, the first processing module 13 may specifically include: a first processing unit 131, a second processing unit 132, and a third processing unit 133.
Specifically, the first processing unit 131 is configured to generate a first connection topology set capable of enabling a plurality of device points to be connected by using the chessboard-like rule and the obstacle avoidance rule according to the target arrangement constraint rule, the type of the device to be connected, the pose of the device to be connected, the type of the device point, and the spatial environment of the design model, where the first connection topology set includes a plurality of first connection topologies.
A second processing unit 132, configured to calculate a primary topology cost of each first connection topology in the first connection topology set; wherein the primary topology cost comprises: the cost of the length of the topology and the cost of the number of inflection points of the topology;
a third processing unit 133, configured to select the target MEP topology from the first connection topology set according to the primary topology cost and a preset pipeline cost screening rule.
In an embodiment, the third processing unit 133 may be specifically configured to determine, as the target MEP topology, a first connection topology in the first connection topology set, where the primary topology cost is the lowest.
Fig. 12 is a schematic structural diagram of a generating device of an MEP system according to still another embodiment. On the basis of the embodiments shown in fig. 10 and fig. 11, optionally, as shown in fig. 12, the third processing unit 133 may specifically include: a first processing sub-unit 1331, a second processing sub-unit 1332 and a third processing sub-unit 1333.
Specifically, the first processing subunit 1331 is configured to determine, according to the primary topology cost of each first connection topology, a second connection topology set from the first connection topology set; the second set of connected topologies comprises: the primary topology is the same cost and least costly part of the first connectivity topology.
A second processing subunit 1332, configured to determine, according to the type of each device point on each first connection topology in the second connection topology set and the channel direction of each first connection topology in the second connection topology set, a carrying capacity level of a different pipeline on each first connection topology in the second connection topology set.
A third processing subunit 1333, configured to calculate, according to the carrying capacity levels of the different pipelines on each first connection topology and the carrying capacity cost corresponding to each carrying capacity level, the carrying capacity cost corresponding to each first connection topology, and determine the target MEP topology according to the carrying capacity cost corresponding to each first connection topology.
In an embodiment, the third processing subunit 1333 may be configured to determine the first connection topology with the lowest bearer cost as the target MEP topology.
In an embodiment, the third processing subunit 1333 may be configured to determine, from the second set of connectivity topologies, a first connectivity topology with the lowest bearer cost; adjusting the first communication topology with the lowest bearing capacity cost according to a preset topology adjustment rule to generate the target MEP topology; the topology adjustment rules comprise a minimum pipeline material cost rule and a minimum pipeline construction cost rule.
Fig. 13 is a schematic structural diagram of a generating device of an MEP system according to still another embodiment. On the basis of the foregoing embodiment, optionally, as shown in fig. 13, the second processing module 14 may specifically include: a fourth processing unit 141, a fifth processing unit 142, and a sixth processing unit 143.
Specifically, the fourth processing unit 141 is configured to obtain, according to a load requirement of each device to be connected on the target MEP topology, a load of each device to be connected located after a previous device to be connected on the target MEP topology.
And a fifth processing unit 142, configured to perform summation operation on the bearing capacity of each to-be-connected device, so as to obtain the bearing capacity of the MEP pipe located before the previous to-be-connected device and connected to the previous to-be-connected device.
A sixth processing unit 143, configured to determine a target pipeline specification of the MEP pipeline according to the carrying capacity of the MEP pipeline, and generate an MEP system corresponding to the MEP type according to the target pipeline specification of the MEP pipeline.
In an embodiment, the sixth determining unit 143 is specifically configured to determine an initial pipeline specification of the MEP pipeline according to the bearing capacity of the MEP pipeline, determine whether the initial pipeline specification exists in the preset pipeline specification library, and determine, when the initial pipeline specification does not exist in the preset pipeline specification library, a pipeline specification which is larger than the bearing capacity of the MEP pipeline and has a smallest difference from the initial pipeline specification in the preset pipeline specification library as the target pipeline specification.
Fig. 14 is a schematic structural diagram of a generating device of an MEP system according to still another embodiment. On the basis of the above embodiment, optionally, as shown in fig. 14, the apparatus may further include: a detection module 15.
Specifically, the detection module 15 is configured to perform correctness judgment on the MEP system according to a collision check rule, so as to output collision prompt information.
The generating device of the MEP system provided in the above embodiment may execute the above method embodiment, and its implementation principle and technical effect are similar, and are not described herein again.
For the specific definition of the generating device of the MEP system, reference may be made to the above definition of the generating method of the system, which is not described herein again. The respective modules in the generating means of the above system may be implemented in whole or in part by software, hardware, and a combination thereof. The modules can be embedded in a hardware form or independent from a processor in the computer device, and can also be stored in a memory in the computer device in a software form, so that the processor can call and execute operations corresponding to the modules.
In one embodiment, a computer device is provided, which may be a server, the internal structure of which may be as shown in fig. 1. The computer device includes a processor, a memory, and a network interface connected by a system bus. Wherein the processor of the computer device is configured to provide computing and control capabilities. The memory of the computer device comprises a nonvolatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program, and a database. The internal memory provides an environment for the operation of an operating system and computer programs in the non-volatile storage medium. The database of the computer device is used for storing relevant data of the target arrangement constraint rule. The network interface of the computer device is used for communicating with an external terminal through a network connection. The computer program is executed by a processor to implement a method of generating an MEP system.
Those skilled in the art will appreciate that the architecture shown in fig. 1 is merely a block diagram of some of the structures associated with the disclosed aspects and is not intended to limit the computing devices to which the disclosed aspects apply, as particular computing devices may include more or less components than those shown, or may combine certain components, or have a different arrangement of components.
In one embodiment, a computer device is provided, comprising a memory and a processor, the memory having a computer program stored therein, the processor implementing the following steps when executing the computer program:
acquiring an MEP type in a current design model and attribute information of each equipment point corresponding to the MEP type; the attribute information comprises the type of the equipment to be connected at the equipment point, the pose of the equipment to be connected and the type of the equipment point, and the type of the equipment point comprises a starting point and an end point;
acquiring a target configuration constraint rule of a target MEP topology corresponding to the MEP type;
generating a target MEP topology corresponding to each MEP type in the design model according to the target arrangement constraint rule, the type of the equipment to be communicated, the pose of the equipment to be communicated, the type of the equipment point, the spatial environment of the design model and a preset topology generation rule; the topology generation rules comprise chessboard-like rules and obstacle avoidance rules which meet shortest path constraints;
and generating an MEP system corresponding to each MEP type according to the target MEP topology corresponding to each MEP type and the bearing capacity requirement of each device to be communicated on the target MEP topology.
The implementation principle and technical effect of the computer device provided in this embodiment are similar to those of the method embodiments described above, and are not described herein again.
In one embodiment, a computer-readable storage medium is provided, having a computer program stored thereon, which when executed by a processor, performs the steps of:
acquiring an MEP type in a current design model and attribute information of each equipment point corresponding to the MEP type; the attribute information comprises the type of the equipment to be connected at the equipment point, the pose of the equipment to be connected and the type of the equipment point, and the type of the equipment point comprises a starting point and an end point;
acquiring a target configuration constraint rule of a target MEP topology corresponding to the MEP type;
generating a target MEP topology corresponding to each MEP type in the design model according to the target arrangement constraint rule, the type of the equipment to be communicated, the pose of the equipment to be communicated, the type of the equipment point, the spatial environment of the design model and a preset topology generation rule; the topology generation rules comprise chessboard-like rules and obstacle avoidance rules which meet shortest path constraints;
and generating an MEP system corresponding to each MEP type according to the target MEP topology corresponding to each MEP type and the bearing capacity requirement of each device to be communicated on the target MEP topology.
The implementation principle and technical effect of the computer-readable storage medium provided by this embodiment are similar to those of the above-described method embodiment, and are not described herein again.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by hardware instructions of a computer program, which can be stored in a non-volatile computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. Any reference to memory, storage, database, or other medium used in the embodiments provided herein may include non-volatile and/or volatile memory, among others. Non-volatile memory can include read-only memory (ROM), Programmable ROM (PROM), Electrically Programmable ROM (EPROM), Electrically Erasable Programmable ROM (EEPROM), or flash memory. Volatile memory can include Random Access Memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in a variety of forms such as Static RAM (SRAM), Dynamic RAM (DRAM), Synchronous DRAM (SDRAM), Double Data Rate SDRAM (DDRSDRAM), Enhanced SDRAM (ESDRAM), Synchronous Link DRAM (SLDRAM), Rambus Direct RAM (RDRAM), direct bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).
The technical features of the above embodiments can be arbitrarily combined, and for the sake of brevity, all possible combinations of the technical features in the above embodiments are not described, but should be considered as the scope of the present specification as long as there is no contradiction between the combinations of the technical features.
The above-mentioned embodiments only express several embodiments of the present application, and the description thereof is more specific and detailed, but not construed as limiting the scope of the invention. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the concept of the present application, which falls within the scope of protection of the present application. Therefore, the protection scope of the present patent shall be subject to the appended claims.

Claims (13)

1. A method for generating an MEP system, the method comprising:
acquiring mechanical, electrical and pipeline MEP types in a current design model and attribute information of each equipment point corresponding to the MEP types; the attribute information comprises the type of the equipment to be connected at the equipment point, the pose of the equipment to be connected and the type of the equipment point, and the type of the equipment point comprises a starting point and an end point;
acquiring a target configuration constraint rule of a target MEP topology corresponding to the MEP type;
generating a target MEP topology corresponding to each MEP type in the design model according to the target arrangement constraint rule, the type of the equipment to be communicated, the pose of the equipment to be communicated, the type of the equipment point, the spatial environment of the design model and a preset topology generation rule; the topology generation rules comprise chessboard-like rules and obstacle avoidance rules which meet shortest path constraints;
and generating an MEP system corresponding to each MEP type according to the target MEP topology corresponding to each MEP type and the bearing capacity requirement of each device to be communicated on the target MEP topology.
2. The method according to claim 1, wherein the obtaining of the target arrangement constraint rule of the target MEP topology corresponding to the MEP type includes:
searching the target configuration constraint rule from a preset first mapping relation according to the MEP type;
alternatively, the first and second electrodes may be,
and receiving the target arrangement constraint rule input by a user.
3. The method according to claim 1, wherein the generating a target MEP topology corresponding to each MEP type in the design model according to the target arrangement constraint rule, the type of the device to be connected, the pose of the device to be connected, and the type of the device point, the spatial environment of the design model, and a preset topology generation rule includes:
generating a first communication topology set capable of communicating a plurality of equipment points by adopting the chessboard-like rule and the obstacle avoidance rule according to the target arrangement constraint rule, the type of the equipment to be communicated, the pose of the equipment to be communicated, the type of the equipment points and the space environment of the design model, wherein the first communication topology set comprises a plurality of first communication topologies;
calculating the primary topology cost of each first connection topology in the first connection topology set; wherein the primary topology cost comprises: the cost of the length of the topology and the cost of the number of inflection points of the topology;
and selecting the target MEP topology from the first connection topology set according to the primary topology cost and a preset pipeline cost screening rule.
4. The method according to claim 3, wherein the selecting the target MEP topology from the first set of connection topologies according to the primary topology cost and a preset pipe cost screening rule comprises:
determining a first connection topology with the lowest cost of primary topologies in the first connection topology set as the target MEP topology.
5. The method according to claim 3, wherein the selecting the target MEP topology from the first set of connection topologies according to the primary topology cost and a preset pipe cost screening rule comprises:
determining a second connection topology set from the first connection topology set according to the primary topology cost of each first connection topology; the second set of connected topologies comprises: the primary topology has the same cost and the lowest cost;
determining the bearing capacity levels of different pipelines on each first communication topology in the second communication topology set according to the type of each equipment point on each first communication topology in the second communication topology set and the channel direction of each first communication topology in the second communication topology set;
calculating the load bearing cost corresponding to each first communication topology according to the load bearing levels of different pipelines on each first communication topology and the load bearing cost corresponding to each load bearing level, and determining the target MEP topology according to the load bearing cost corresponding to each first communication topology.
6. The method according to claim 5, wherein the determining the target MEP topology according to the bearer cost corresponding to each first connection topology includes:
and determining the first connection topology with the lowest bearing capacity cost as the target MEP topology.
7. The method according to claim 5, wherein the determining the target MEP topology according to the bearer cost corresponding to each first connection topology includes:
determining a first connection topology with the lowest bearing capacity cost from the second connection topology set;
adjusting the first communication topology with the lowest bearing capacity cost according to a preset topology adjustment rule to generate the target MEP topology; the topology adjustment rules comprise a minimum pipeline material cost rule and a minimum pipeline construction cost rule.
8. The method according to any one of claims 1 to 7, wherein the generating an MEP system corresponding to each MEP type according to a target MEP topology corresponding to each MEP type and a load capacity requirement of each device to be connected on the target MEP topology includes:
acquiring the bearing capacity of each device to be communicated positioned behind the previous device to be communicated on the target MEP topology according to the bearing capacity requirement of each device to be communicated on the target MEP topology;
summing the bearing capacity of each device to be communicated after the previous device to be communicated to obtain the bearing capacity of an MEP pipeline which is positioned in front of the previous device to be communicated and connected with the previous device to be communicated;
and determining the target pipeline specification of the MEP pipeline according to the bearing capacity of the MEP pipeline, and generating an MEP system corresponding to the MEP type according to the target pipeline specification of the MEP pipeline.
9. The method of claim 8, wherein the determining a target pipe specification for the MEP pipe from the capacity of the MEP pipe comprises:
determining an initial pipeline specification of the MEP pipeline according to the bearing capacity of the MEP pipeline;
judging whether the initial pipeline specification exists in the preset pipeline specification library or not;
and if not, determining the pipeline specification which is greater than the bearing capacity of the MEP pipeline and has the minimum difference value with the initial pipeline specification in the preset pipeline specification library as the target pipeline specification.
10. The method of claim 8, further comprising:
and judging the correctness of the MEP system according to the collision check rule so as to output collision prompt information.
11. An apparatus for generating an MEP system, the apparatus comprising: the device comprises a first acquisition module, a first determination module, a first processing module and a second processing module;
the first acquisition module is used for acquiring mechanical, electrical and pipeline MEP types in a current design model and attribute information of each equipment point corresponding to the MEP types; the attribute information comprises the type of the equipment to be connected at the equipment point, the pose of the equipment to be connected and the type of the equipment point, and the type of the equipment point comprises a starting point and an end point;
the first determining module is configured to obtain a target configuration constraint rule of a target MEP topology corresponding to the MEP type;
the first processing module is configured to generate a target MEP topology corresponding to each MEP type in the design model according to the target arrangement constraint rule, the type of the device to be connected, the pose of the device to be connected, the type of the device point, the spatial environment of the design model, and a preset topology generation rule; the topology generation rules comprise chessboard-like rules and obstacle avoidance rules which meet shortest path constraints;
the second processing module is configured to generate an MEP system corresponding to each MEP type according to a target MEP topology corresponding to each MEP type and a load capacity requirement of each device to be connected on the target MEP topology.
12. A computer device comprising a memory and a processor, the memory storing a computer program, characterized in that the processor realizes the steps of the method of any one of claims 1 to 10 when executing the computer program.
13. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the steps of the method of any one of claims 1 to 10.
CN201810779015.0A 2018-07-16 2018-07-16 MEP system generation method and device, computer equipment and storage medium Active CN110727976B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810779015.0A CN110727976B (en) 2018-07-16 2018-07-16 MEP system generation method and device, computer equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810779015.0A CN110727976B (en) 2018-07-16 2018-07-16 MEP system generation method and device, computer equipment and storage medium

Publications (2)

Publication Number Publication Date
CN110727976A true CN110727976A (en) 2020-01-24
CN110727976B CN110727976B (en) 2023-02-28

Family

ID=69216877

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810779015.0A Active CN110727976B (en) 2018-07-16 2018-07-16 MEP system generation method and device, computer equipment and storage medium

Country Status (1)

Country Link
CN (1) CN110727976B (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2007072053A2 (en) * 2005-12-22 2007-06-28 Cramer Systems Limited Communications circuit design
US20090307638A1 (en) * 2008-05-16 2009-12-10 Solido Design Automation Inc. Trustworthy structural synthesis and expert knowledge extraction with application to analog circuit design
CN102137405A (en) * 2010-06-01 2011-07-27 华为技术有限公司 Method and device for constructing network topology
CN103761405A (en) * 2014-02-17 2014-04-30 福州市勘测院 Three-dimensional underground integrated pipelines auto-generating system with error self-checking function
CN105320811A (en) * 2015-10-21 2016-02-10 国网山东省电力公司烟台供电公司 Method for establishing topological connected model of urban underground electricity pipe network
CN107103640A (en) * 2017-03-22 2017-08-29 广州德毅维才软件技术有限公司 The three-dimensional modeling method and system of a kind of City Buried Pipeline
CN107506536A (en) * 2017-08-07 2017-12-22 浙江大学 A kind of water supply for Water supply in many water heads pipe network optimizes partition method

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2007072053A2 (en) * 2005-12-22 2007-06-28 Cramer Systems Limited Communications circuit design
US20090307638A1 (en) * 2008-05-16 2009-12-10 Solido Design Automation Inc. Trustworthy structural synthesis and expert knowledge extraction with application to analog circuit design
CN102137405A (en) * 2010-06-01 2011-07-27 华为技术有限公司 Method and device for constructing network topology
CN103761405A (en) * 2014-02-17 2014-04-30 福州市勘测院 Three-dimensional underground integrated pipelines auto-generating system with error self-checking function
CN105320811A (en) * 2015-10-21 2016-02-10 国网山东省电力公司烟台供电公司 Method for establishing topological connected model of urban underground electricity pipe network
CN107103640A (en) * 2017-03-22 2017-08-29 广州德毅维才软件技术有限公司 The three-dimensional modeling method and system of a kind of City Buried Pipeline
CN107506536A (en) * 2017-08-07 2017-12-22 浙江大学 A kind of water supply for Water supply in many water heads pipe network optimizes partition method

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
苏韵掣等: "适用于配电网规划的可靠性指标改进显式估算算法", 《电力系统自动化》 *

Also Published As

Publication number Publication date
CN110727976B (en) 2023-02-28

Similar Documents

Publication Publication Date Title
JP6452302B2 (en) Method and system for analyzing faults in ungrounded distribution systems
JP2013176281A (en) System and method for three-phase power flow analysis
US20210232724A1 (en) Method and Apparatus for Specifying Locations for Objects, and Determining Routes for Connecting Mediums Between the Objects, in a Three-Dimensional Model of a Building
US20150186558A1 (en) Automated mep design
JP6967364B2 (en) Power system stabilizer and power system stabilization method
US8965593B2 (en) Hybrid three-phase power flow analysis method for ungrounded distribution systems
CN114117797A (en) Cable path calculation method, system, computer device and storage medium
US8577653B2 (en) Optimization processing method and apparatus
CN110727976B (en) MEP system generation method and device, computer equipment and storage medium
US20220035985A1 (en) Method of determining a three-dimensional layout of electrical connections of an electric component
EP3240322A1 (en) Method and apparatus for wireless network deployment and terminal device
CN111563303A (en) Control method, system and storage medium for electrical circuit aided design
CN114329706A (en) Automatic wiring method and device
Shi et al. A hierarchical layout approach for underfloor heating systems in single-family residential buildings
US20140265599A1 (en) Power Flow Analysis Method and Apparatus for Hybrid AC-DC Systems
CN113158281A (en) Pipeline arrangement model generation method and device, computer equipment and storage medium
CN113962182A (en) Circuit design scheme generation method and device, computer equipment and storage medium
CN110727975B (en) MEP loop acquisition method, MEP template library construction method, device, equipment and storage medium
US11637756B2 (en) Methods and systems for evaluating data transportability in distribution grids
Toktoshov et al. The Application of the k-shortest Paths Method for Constructing an Optimal Hypernet
CN113658295A (en) Geographic information-based power grid edge layout mapping method and device
CN109193617B (en) Power system vulnerability evaluation method and system based on tight constraint recognition
CN111416361A (en) Low-network-loss power distribution ring network open-loop operation site selection method
CN105656029A (en) Method and device for determining load points outside power supply radius of low-voltage power supply region
CN113505558B (en) Automatic connection method for power grid monitoring system equipment elements based on graph algorithm technology

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right

Effective date of registration: 20240105

Address after: 210000, Room 015, Building 2, Shuiyuanju, Qinhuai District, Nanjing City, Jiangsu Province

Patentee after: Nanjing Runshijing Environmental Engineering Co.,Ltd.

Address before: 710003 Room 301, Central Zone, National E-Commerce Demonstration Base, No. 528, Tianguba Road, Software New Town, High-tech Zone, Xi'an City, Shaanxi Province

Patentee before: XI'AN SEA2 NETWORK TECHNOLOGY CO.,LTD.

TR01 Transfer of patent right