CN115270214A - CAD (computer-aided design) -based spray point location planning method, device, equipment and storage medium - Google Patents

CAD (computer-aided design) -based spray point location planning method, device, equipment and storage medium Download PDF

Info

Publication number
CN115270214A
CN115270214A CN202210798376.6A CN202210798376A CN115270214A CN 115270214 A CN115270214 A CN 115270214A CN 202210798376 A CN202210798376 A CN 202210798376A CN 115270214 A CN115270214 A CN 115270214A
Authority
CN
China
Prior art keywords
cad
planned
planning
input parameters
model input
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.)
Pending
Application number
CN202210798376.6A
Other languages
Chinese (zh)
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.)
Shanghai Pinlan Data Technology Co ltd
Original Assignee
Shanghai Pinlan Data 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 Shanghai Pinlan Data Technology Co ltd filed Critical Shanghai Pinlan Data Technology Co ltd
Priority to CN202210798376.6A priority Critical patent/CN115270214A/en
Publication of CN115270214A publication Critical patent/CN115270214A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F30/00Computer-aided design [CAD]
    • G06F30/10Geometric CAD
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q10/00Administration; Management
    • G06Q10/06Resources, workflows, human or project management; Enterprise or organisation planning; Enterprise or organisation modelling
    • G06Q10/063Operations research, analysis or management
    • G06Q10/0631Resource planning, allocation, distributing or scheduling for enterprises or organisations
    • G06Q10/06312Adjustment or analysis of established resource schedule, e.g. resource or task levelling, or dynamic rescheduling
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q10/00Administration; Management
    • G06Q10/06Resources, workflows, human or project management; Enterprise or organisation planning; Enterprise or organisation modelling
    • G06Q10/063Operations research, analysis or management
    • G06Q10/0631Resource planning, allocation, distributing or scheduling for enterprises or organisations
    • G06Q10/06313Resource planning in a project environment
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2111/00Details relating to CAD techniques
    • G06F2111/04Constraint-based CAD

Abstract

The invention belongs to the technical field of building fire-fighting planning, and discloses a CAD-based spraying point location planning method, device, equipment and storage medium. The method comprises the following steps: selecting a region to be planned on a CAD drawing; gridding the area to be planned to obtain a gridded area to be planned; obtaining model input parameters according to the gridding area to be planned and a preset planning rule; establishing an integer programming model according to the model input parameters; calculating to obtain the coordinates of the spraying point on the gridding to-be-planned area according to the integer planning model; and planning the spraying point positions on the CAD drawing according to the coordinates of the spraying point positions. By the mode, the arrangement method based on the integer linear programming model can comprehensively consider the requirements of spraying arrangement specification and optimization of the number and regularity of spraying point positions, so that the automatic arrangement of the spraying point positions on the CAD drawing is reasonable and effective, and the cost of manpower and time is reduced.

Description

CAD (computer-aided design) -based spray point location planning method, device, equipment and storage medium
Technical Field
The invention relates to the technical field of building fire-fighting planning, in particular to a spraying point location planning method, device, equipment and storage medium based on CAD.
Background
In the design of building drawings, fire control shower nozzles need to be arranged in a building plan, for safety and reliability, the basic principle of arrangement is that the spraying coverage range of the fire control shower nozzles needs to cover the inner space of the whole building, and the current arrangement method is that designers manually draw the positions of the fire control shower nozzles according to building construction specifications. Time and labor are consumed, and errors are easy to occur.
The above is only for the purpose of assisting understanding of the technical aspects of the present invention, and does not represent an admission that the above is prior art.
Disclosure of Invention
The invention mainly aims to provide a CAD (computer-aided design) -based spraying point location planning method, device, equipment and storage medium, and aims to solve the technical problem of how to improve the spraying point location planning efficiency in the prior art.
In order to achieve the purpose, the invention provides a CAD-based spraying point location planning method, which comprises the following steps:
selecting a region to be planned on a CAD drawing;
gridding the area to be planned to obtain a gridded area to be planned;
obtaining a model input parameter according to the gridding region to be planned and a preset planning rule;
establishing an integer programming model according to the model input parameters;
calculating to obtain the coordinates of the spraying point on the gridding to-be-planned area according to the integer planning model;
and planning the spraying point positions on the CAD drawing according to the coordinates of the spraying point positions.
Optionally, the building an integer programming model according to the model input parameters includes:
establishing an objective function according to the model input parameters;
establishing a constraint rule according to the model input parameters;
and generating an integer programming model according to the objective function and the constraint rule.
Optionally, the establishing an objective function according to the model input parameters includes:
acquiring a spray head quantity weight, an alignment degree weight, a first decision variable, a second decision variable, a placeable spray point position set, an alignment line set, a target point position and an alignment line according to the model input parameters;
and establishing a target function according to the weight of the number of the spray heads, the weight of the alignment degree, the first decision variable, the second decision variable, the set of the placeable spraying point positions, the set of the alignment lines, the target point positions and the alignment lines.
Optionally, the establishing a constraint rule according to the model input parameter includes:
obtaining a third decision variable, a target point position, a distance between points, a longest distance between a spray head and an adjacent wall and a wall beam edge set according to the model input parameters;
and establishing a first constraint rule according to the third decision variable, the target point position, the distance between the point and the target point, the longest distance between the spray head and the adjacent wall and the wall beam edge set, wherein the constraint rule comprises the first constraint rule.
Optionally, the establishing a constraint rule according to the model input parameters includes:
obtaining a third decision variable, a target point position, a distance between points, a spray head spraying range and a point set according to the model input parameters;
and establishing a second constraint rule according to the third decision variable, the target point position, the distance between the points, the spray head spraying range and the point set, wherein the constraint rule comprises the second constraint rule.
Optionally, the establishing a constraint rule according to the model input parameter includes:
obtaining a first decision variable, a second decision variable, a target point position, an alignment line set and an alignment line according to the model input parameters;
and establishing a third constraint rule according to the first decision variable, the second decision variable, the target point position, the alignment line set and the alignment line, wherein the constraint rule comprises the third constraint rule.
In addition, in order to achieve the above object, the present invention further provides a CAD-based spray point location planning apparatus, including:
the selecting module is used for selecting a region to be planned on the CAD drawing;
the gridding module is used for gridding the area to be planned to obtain a gridded area to be planned;
the acquisition module is used for acquiring a model input parameter according to the gridding area to be planned and a preset planning rule;
the establishing module is used for establishing an integer programming model according to the model input parameters;
the calculation module is used for calculating to obtain the coordinates of the spraying point on the gridding to-be-planned area according to the integer planning model;
and the planning module is used for planning the spraying point positions on the CAD drawing according to the coordinates of the spraying point positions.
In addition, in order to achieve the above object, the present invention further provides a CAD-based spraying point location planning apparatus, which includes: the system comprises a memory, a processor and a CAD-based spray point location planning program stored on the memory and operable on the processor, wherein the CAD-based spray point location planning program is configured to implement the steps of the CAD-based spray point location planning method as described above.
In addition, in order to achieve the above object, the present invention further provides a storage medium, where a CAD-based spraying point location planning program is stored, and when being executed by a processor, the CAD-based spraying point location planning program implements the steps of the CAD-based spraying point location planning method.
The method comprises the steps of selecting a region to be planned on a CAD drawing; gridding the area to be planned to obtain a gridded area to be planned; obtaining a model input parameter according to the gridding region to be planned and a preset planning rule; establishing an integer programming model according to the model input parameters; calculating to obtain the coordinates of the spraying points on the gridding to-be-planned area according to the integer planning model; and planning the spraying point positions on the CAD drawing according to the coordinates of the spraying point positions. By the mode, the arrangement method based on the integer linear programming model can comprehensively consider the requirements of spraying arrangement specification and optimization of the number and regularity of spraying point positions, so that the automatic arrangement of the spraying point positions on the CAD drawing is reasonable and effective, and the cost of manpower and time is reduced.
Drawings
FIG. 1 is a schematic structural diagram of a CAD-based spray point location planning apparatus for a hardware operating environment according to an embodiment of the present invention;
FIG. 2 is a schematic flow chart of a CAD-based spraying point location planning method according to a first embodiment of the present invention;
FIG. 3 is a diagram of the actual effect of the first embodiment of the CAD-based spray point location planning method of the present invention;
fig. 4 is a structural block diagram of a first embodiment of the CAD-based spray point location planning apparatus according to the present invention.
The implementation, functional features and advantages of the objects of the present invention will be further explained with reference to the accompanying drawings.
Detailed Description
It should be understood that the specific embodiments described herein are merely illustrative of the invention and do not limit the invention.
Referring to fig. 1, fig. 1 is a schematic structural diagram of a CAD-based spray point location planning apparatus in a hardware operating environment according to an embodiment of the present invention.
As shown in fig. 1, the CAD-based spray point location planning apparatus may include: a processor 1001, such as a Central Processing Unit (CPU), a communication bus 1002, a user interface 1003, a network interface 1004, and a memory 1005. Wherein a communication bus 1002 is used to enable connective communication between these components. The user interface 1003 may include a Display screen (Display), an input unit such as a Keyboard (Keyboard), and the optional user interface 1003 may also include a standard wired interface, a wireless interface. The network interface 1004 may optionally include a standard wired interface, a Wireless interface (e.g., a Wireless-Fidelity (Wi-Fi) interface). The Memory 1005 may be a Random Access Memory (RAM) Memory, or may be a Non-Volatile Memory (NVM), such as a disk Memory. The memory 1005 may alternatively be a storage device separate from the processor 1001.
Those skilled in the art will appreciate that the configuration shown in FIG. 1 does not constitute a limitation of the CAD-based spray point location planning apparatus, and may include more or fewer components than shown, or some components combined, or a different arrangement of components.
As shown in fig. 1, the memory 1005, which is a storage medium, may include an operating system, a network communication module, a user interface module, and a CAD-based spray point location planning program.
In the CAD-based spray point location planning apparatus shown in fig. 1, the network interface 1004 is mainly used for data communication with a network server; the user interface 1003 is mainly used for data interaction with a user; the processor 1001 and the memory 1005 of the CAD-based spray point location planning equipment can be arranged in the CAD-based spray point location planning equipment, and the CAD-based spray point location planning equipment calls a CAD-based spray point location planning program stored in the memory 1005 through the processor 1001 and executes the CAD-based spray point location planning method provided by the embodiment of the invention.
The embodiment of the invention provides a CAD-based spraying point location planning method, and referring to FIG. 2, FIG. 2 is a flow diagram of a first embodiment of the CAD-based spraying point location planning method.
In this embodiment, the CAD-based spray point location planning method includes the following steps:
step S10: and selecting a region to be planned on the CAD drawing.
It should be noted that the execution main body of the embodiment is a CAD-based spraying point location planning device, and the device may be a device with a computing function such as a computer or a server, or other devices capable of implementing the same function, and the embodiment is not limited thereto.
In a specific implementation, the CAD drawing is a drawing representing a general layout of an engineering project, an external shape, an internal arrangement, a structural configuration, internal and external decoration, a material method, equipment, construction, and the like, which are made by AutoCAD software. In a building electrical construction drawing, a plan view generally describes the geographic position and the main structure of a building in a macroscopic manner, and wall bodies, doors, windows, beams, columns and the like are thinned, while electrical lines are described with emphasis. Other pipelines, such as water heating, gas and other lines, do not appear on the electrical construction drawing.
A building plan, also called a plan for short, is a drawing composed of the wall, door and window, stairs, ground and internal functional layout of a newly built building or a structure by a horizontal projection method and corresponding legend. It reflects the plan shape, size and layout of the house; location, size and material of walls, columns; the type and location of the doors and windows, etc.
The fire-fighting sprinkler system is a fire-fighting device, is a widely used fixed fire-fighting facility, and has the characteristics of low price, high fire-fighting efficiency and the like. The device can be divided into two forms of manual control and automatic control according to different functions. The system is provided with the alarm device, can automatically send out an alarm when a fire disaster occurs, and the automatically controlled fire-fighting spraying system can automatically spray and work in linkage with other fire-fighting facilities, so that the initial fire disaster can be effectively controlled and extinguished. It follows that a rational first arrangement of planned spray points is of great importance in the fire safety of buildings.
In the specific implementation, the CAD drawing includes a plurality of areas in the building, the spray points of the building plan are arranged in different areas, and the area to be planned is determined from the CAD drawing based on the selection of designers.
Step S20: and gridding the area to be planned to obtain a gridded area to be planned.
It can be understood that gridding is also referred to as rasterizing, which refers to corresponding the CAD drawing and the coordinates, so that the position on the CAD drawing can be determined more accurately. And obtaining the gridding to-be-planned area after gridding the to-be-planned area.
It should be noted that the grid pitch may be set by a designer, or may be automatically set according to marks such as line length on a CAD drawing, so as to implement full automation of the embodiment.
Step S30: and obtaining model input parameters according to the gridding to-be-planned area and a preset planning rule.
In a specific reality, the design of the spraying points needs to comply with the construction specifications, and the basic principle of arranging the spraying points is as follows:
1. distance between the spray head and the adjacent wall: 300 mm-1700 mm, and the distance between adjacent spray heads when multiple rows are arranged: 1800 mm-3400 mm.
2. Nozzle to adjacent beam spacing:
the current stage of the principle of arranging the spray heads by the beam height is as follows:
when the height of the beam is less than 700mm, neglecting the influence of the height of the beam on the spray head, when the height of the beam is more than 700mm, the horizontal distance between the spray head and the beam is shown in table 1:
TABLE 1
Beam height h (mm) Horizontal distance a (mm) between nozzle and beam
700≤h<800 300≤a
800≤h<900 600≤a
900≤h<1000 900≤a
1000≤h<1100 1200≤a
1100≤h<1200 1500≤a
1200≤h The spray head is arranged at the bottom of the beam
The spray heads on the two sides of the beam both meet the minimum distance from the spray head to the edge of the beam, and the spray heads on the two sides of the beam meet the requirement of the first distance. When the spray heads on the two sides of the beam can not meet the requirements of the table and the first bar at the same time, the spray head is additionally arranged at the bottom of the beam, and the distance between the spray head and the edge of the beam is controlled according to the requirement of the distance between the spray head and the wall.
3. When the shower nozzle is arranged in single row, the shower nozzle interval: 3000mm.
4. When the distance between the beam and the wall is small, the collision head cannot meet the distance between the collision head and the beam and the wall at the same time, and one or one row of collision heads is arranged between the beam and the wall.
5. The spraying point position has the following aesthetic requirements:
(1) The transverse direction and the longitudinal direction are parallel to the outline of the building.
(2) The spray heads are uniformly arranged in the same space.
(3) The distance between the spray heads, the distance between the spray heads and the side of the leaning beam are integers, namely the unit number is 0.
(4) The same pitch position is consistent in pitch. The number is the smallest.
It can be understood that when the spray points are arranged, the principle needs to be satisfied to make the spray point arrangement scheme feasible, so that the area to be planned and the preset planning rule need to be gridded to obtain the model input parameters, and the preset planning rule is the mathematical expression of the arrangement principle.
In a specific implementation, the parameters are shown in table 2 below:
TABLE 2
Figure BDA0003731399490000071
Step S40: and establishing an integer programming model according to the model input parameters.
Further, in order to better plan the spray point location, the establishing an integer planning model according to the model input parameters includes:
establishing a target function according to the model input parameters;
establishing a constraint rule according to the model input parameters;
and generating an integer programming model according to the objective function and the constraint rule.
Further, the establishing an objective function according to the model input parameters includes:
acquiring the weight of the number of spray heads, the weight of the alignment degree, a first decision variable, a second decision variable, a set of placeable spraying point positions, a set of alignment lines, a target point position and the alignment lines according to the model input parameters;
and establishing a target function according to the spray head quantity weight, the alignment degree weight, the first decision variable, the second decision variable, the placeable spray point position set, the alignment line set, the target point position and the alignment line.
In a specific implementation, the objective function is as follows:
Figure BDA0003731399490000081
in the formula 1, wxAs weight of the number of nozzles, wyAs an alignment weight, xiIs the first decision variable, ykAnd taking the second decision variable as a second decision variable, wherein i is a target point location, namely any point location on the gridding to-be-planned area, R is a set of placeable spraying point locations, namely a set of all placeable spraying point locations on the gridding to-be-planned area, K is an alignment line, namely an alignment line on the gridding to-be-planned area, and K is an alignment line set, namely a set of all alignment lines on the gridding to-be-planned area. Minimize refers to minimization.
It will be appreciated that the objective function is a weighting of the number of jets and the degree of alignment so that the least jets are arranged and so that the arrangement is as orderly as possible.
Further, the establishing a constraint rule according to the model input parameters includes:
obtaining a third decision variable, a target point position, a distance between points, a longest distance between a spray head and an adjacent wall and a wall beam edge set according to the model input parameters;
and establishing a first constraint rule according to the third decision variable, the target point position, the distance between the point and the point, the longest distance between the spray head and the adjacent wall and the wall beam edge set, wherein the constraint rule comprises the first constraint rule.
In a specific implementation, the first constraint rule is as follows:
Figure BDA0003731399490000082
in formula 2, j is the target point, the target point j is not the same as the target point i, and dijIs the distance between point i and point j, xjAs a third decision variable, E is a wall beam edge set, namely a set of edge point positions of a strong beam in a gridding region to be planned, and L2maxThe longest distance between the spray head and the adjacent wall.
It will be appreciated that the first constraint rule indicates that there must be a point of spray within a maximum distance of a wall point.
Further, the establishing a constraint rule according to the model input parameters includes:
obtaining a third decision variable, a target point position, a distance between points, a spray head spraying range and a point set according to the model input parameters;
and establishing a second constraint rule according to the third decision variable, the target point position, the distance between the points, the spray head spraying range and the point set, wherein the constraint rule comprises the second constraint rule.
In a specific implementation, the second constraint rule is as follows:
Figure BDA0003731399490000091
in equation 3, j is a target point position, and the target point position j is not the same as the target point position i, and dijIs the distance between point i and point j, xjAnd L is a third decision variable, L is a spray nozzle spraying range, and P is a point set, namely a set of all point positions in the gridding region to be planned.
It should be noted that the second constraint rule indicates that any point in the gridding region to be planned is within a certain spray range of a certain spray head.
Further, the establishing of the constraint rule according to the model input parameters includes:
obtaining a first decision variable, a second decision variable, a target point position, an alignment line set and an alignment line according to the model input parameters;
and establishing a third constraint rule according to the first decision variable, the second decision variable, the target point position, the alignment line set and the alignment line, wherein the constraint rule comprises the third constraint rule.
In a specific implementation, the third constraint rule is as follows:
yk≥xii belongs to K, and K belongs to K formula 4;
in formula 4, xiIs a first decision variable, ykAnd the second decision variable is i, i is the target point position, K is the alignment line, and K is the alignment line set.
It is to be understood that the third constraint rule represents the degree of alignment of the spray point locations.
And finally, obtaining an integer programming model based on the formula.
Step S50: and calculating to obtain the coordinates of the spraying point on the gridding to-be-planned area according to the integer planning model.
In the specific implementation, the coordinate of the spray point on the gridded region to be planned can be obtained by solving and calculating the integral planning model, so that the position of the spray point is obtained.
Step S60: and planning the spraying point positions on the CAD drawing according to the coordinates of the spraying point positions.
And finally, reducing the gridding region to be planned to a CAD drawing so as to determine the position of the spraying point in the CAD drawing.
The actual effect diagram is shown in fig. 3, the solid circle points are provided with spraying points, the dotted lines are provided with walls, and the solid lines are provided with beams.
In the embodiment, a region to be planned on a CAD drawing is selected; gridding the area to be planned to obtain a gridded area to be planned; obtaining a model input parameter according to the gridding region to be planned and a preset planning rule; establishing an integer programming model according to the model input parameters; calculating to obtain the coordinates of the spraying point on the gridding to-be-planned area according to the integer planning model; and planning the spraying point positions on the CAD drawing according to the coordinates of the spraying point positions. By the mode, the arrangement method based on the integer linear programming model can comprehensively consider the requirements of spraying arrangement specification and optimization of the number and regularity of spraying point positions, so that the automatic arrangement of the spraying point positions on the CAD drawing is reasonable and effective, and the cost of manpower and time is reduced.
In addition, the embodiment of the present invention further provides a storage medium, where a CAD-based spray point location planning program is stored on the storage medium, and when executed by a processor, the CAD-based spray point location planning program implements the above-described CAD-based spray point location planning method.
Since the storage medium adopts all technical solutions of all the embodiments, at least all the beneficial effects brought by the technical solutions of the embodiments are achieved, and no further description is given here.
Referring to fig. 4, fig. 4 is a structural block diagram of a first embodiment of the CAD-based spraying point location planning apparatus of the present invention.
As shown in fig. 4, the CAD-based spray point location planning apparatus provided in the embodiment of the present invention includes:
the selecting module 10 is used for selecting a region to be planned on a CAD drawing;
a gridding module 20, configured to grid the region to be planned to obtain a grid region to be planned;
an obtaining module 30, configured to obtain a model input parameter according to the gridding to-be-planned area and a preset planning rule;
an establishing module 40, configured to establish an integer programming model according to the model input parameters;
the calculation module 50 is used for calculating to obtain the coordinates of the spraying point positions on the gridding to-be-planned area according to the integer planning model;
and the planning module 60 is used for planning the spraying point positions on the CAD drawing according to the coordinates of the spraying point positions.
In an embodiment, the establishing module 40 is further configured to establish an objective function according to the model input parameters; establishing a constraint rule according to the model input parameters; and generating an integer programming model according to the objective function and the constraint rule.
In an embodiment, the establishing module 40 is further configured to obtain a weight of the number of nozzles, a weight of an alignment degree, a first decision variable, a second decision variable, a set of placeable spraying point locations, a set of alignment lines, a target point location, and an alignment line according to the model input parameter; and establishing a target function according to the weight of the number of the spray heads, the weight of the alignment degree, the first decision variable, the second decision variable, the set of the placeable spraying point positions, the set of the alignment lines, the target point positions and the alignment lines.
In an embodiment, the establishing module 40 is further configured to obtain a third decision variable, a target point position, a distance between a point and a point, a longest distance between a nozzle and an adjacent wall, and a wall beam edge set according to the model input parameter; and establishing a first constraint rule according to the third decision variable, the target point position, the distance between the point and the point, the longest distance between the spray head and the adjacent wall and the wall beam edge set, wherein the constraint rule comprises the first constraint rule.
In an embodiment, the establishing module 40 is further configured to obtain a third decision variable, a target point location, a distance between points, a shower nozzle spraying range, and a point set according to the model input parameter; and establishing a second constraint rule according to the third decision variable, the target point position, the distance between the points, the spray head spraying range and the point set, wherein the constraint rule comprises the second constraint rule.
In an embodiment, the establishing module 40 is further configured to obtain a first decision variable, a second decision variable, a target point location, an alignment line set, and an alignment line according to the model input parameter; and establishing a third constraint rule according to the first decision variable, the second decision variable, the target point position, the alignment line set and the alignment line, wherein the constraint rule comprises the third constraint rule.
It should be understood that the above is only an example, and the technical solution of the present invention is not limited in any way, and in a specific application, a person skilled in the art may set the technical solution as needed, and the present invention is not limited in this respect.
In the embodiment, a region to be planned on a CAD drawing is selected; gridding the area to be planned to obtain a gridded area to be planned; obtaining model input parameters according to the gridding area to be planned and a preset planning rule; establishing an integer programming model according to the model input parameters; calculating to obtain the coordinates of the spraying point on the gridding to-be-planned area according to the integer planning model; and planning the spraying point positions on the CAD drawing according to the coordinates of the spraying point positions. By the mode, the arrangement method based on the integer linear programming model can comprehensively consider the requirements of spraying arrangement specification and optimization of the number and regularity of spraying point positions, so that the automatic arrangement of the spraying point positions on the CAD drawing is reasonable and effective, and the cost of manpower and time is reduced.
It should be noted that the above-described work flows are only exemplary, and do not limit the scope of the present invention, and in practical applications, a person skilled in the art may select some or all of them to achieve the purpose of the solution of the embodiment according to actual needs, and the present invention is not limited herein.
In addition, the technical details that are not described in detail in this embodiment may refer to the CAD-based spray point location planning method provided in any embodiment of the present invention, and are not described herein again.
Furthermore, it should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or system that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or system. Without further limitation, an element defined by the phrases "comprising a," "8230," "8230," or "comprising" does not exclude the presence of other like elements in a process, method, article, or system comprising the element.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
Through the description of the foregoing embodiments, it is clear to those skilled in the art that the method of the foregoing embodiments may be implemented by software plus a necessary general hardware platform, and certainly may also be implemented by hardware, but in many cases, the former is a better implementation. Based on such understanding, the technical solutions of the present invention or portions thereof that contribute to the prior art may be embodied in the form of a software product, where the computer software product is stored in a storage medium (e.g. a Read Only Memory (ROM)/RAM, a magnetic disk, and an optical disk), and includes several instructions for enabling a terminal device (which may be a mobile phone, a computer, a server, or a network device, etc.) to execute the method according to the embodiments of the present invention.
The above description is only a preferred embodiment of the present invention, and not intended to limit the scope of the present invention, and all modifications of equivalent structures and equivalent processes, which are made by using the contents of the present specification and the accompanying drawings, or directly or indirectly applied to other related technical fields, are included in the scope of the present invention.

Claims (10)

1. A CAD-based spray point location planning method is characterized by comprising the following steps:
selecting a region to be planned on a CAD drawing;
gridding the area to be planned to obtain a gridded area to be planned;
obtaining a model input parameter according to the gridding region to be planned and a preset planning rule;
establishing an integer programming model according to the model input parameters;
calculating to obtain the coordinates of the spraying point on the gridding to-be-planned area according to the integer planning model;
and planning the spraying point positions on the CAD drawing according to the coordinates of the spraying point positions.
2. The method of claim 1, wherein said building an integer programming model from said model input parameters comprises:
establishing a target function according to the model input parameters;
establishing a constraint rule according to the model input parameters;
and generating an integer programming model according to the objective function and the constraint rule.
3. The method of claim 2, wherein said building an objective function from said model input parameters comprises:
acquiring the weight of the number of spray heads, the weight of the alignment degree, a first decision variable, a second decision variable, a set of placeable spraying point positions, a set of alignment lines, a target point position and the alignment lines according to the model input parameters;
and establishing a target function according to the weight of the number of the spray heads, the weight of the alignment degree, the first decision variable, the second decision variable, the set of the placeable spraying point positions, the set of the alignment lines, the target point positions and the alignment lines.
4. The method of claim 2, wherein said building a constraint rule based on said model input parameters comprises:
obtaining a third decision variable, a target point position, a distance between points, a longest distance between a spray head and an adjacent wall and a wall beam edge set according to the model input parameters;
and establishing a first constraint rule according to the third decision variable, the target point position, the distance between the point and the point, the longest distance between the spray head and the adjacent wall and the wall beam edge set, wherein the constraint rule comprises the first constraint rule.
5. The method of claim 2, wherein said building a constraint rule based on said model input parameters comprises:
obtaining a third decision variable, a target point position, a distance between points, a spray head spraying range and a point set according to the model input parameters;
and establishing a second constraint rule according to the third decision variable, the target point position, the distance between the points, the spray head spraying range and the point set, wherein the constraint rule comprises the second constraint rule.
6. The method of claim 2, wherein said building a constraint rule based on said model input parameters comprises:
obtaining a first decision variable, a second decision variable, a target point position, an alignment line set and an alignment line according to the model input parameters;
and establishing a third constraint rule according to the first decision variable, the second decision variable, the target point position, the alignment line set and the alignment line, wherein the constraint rule comprises the third constraint rule.
7. A CAD-based spray point location planning apparatus, comprising:
the selecting module is used for selecting a region to be planned on the CAD drawing;
the gridding module is used for gridding the area to be planned to obtain a gridded area to be planned;
the acquisition module is used for acquiring model input parameters according to the gridding area to be planned and a preset planning rule;
the establishing module is used for establishing an integer programming model according to the model input parameters;
the calculation module is used for calculating to obtain the coordinates of the spraying point on the gridding to-be-planned area according to the integer planning model;
and the planning module is used for planning the spraying point positions on the CAD drawing according to the coordinates of the spraying point positions.
8. The apparatus of claim 7, wherein the establishing module is further configured to establish an objective function based on the model input parameters; establishing a constraint rule according to the model input parameters; and generating an integer programming model according to the objective function and the constraint rule.
9. A CAD-based spray point location planning apparatus, comprising: a memory, a processor, and a CAD-based spray point location planning program stored on the memory and executable on the processor, the CAD-based spray point location planning program configured to implement the CAD-based spray point location planning method of any of claims 1-6.
10. A storage medium, wherein a CAD-based spray point location planning program is stored on the storage medium, and when executed by a processor, the CAD-based spray point location planning program implements the CAD-based spray point location planning method according to any one of claims 1 to 6.
CN202210798376.6A 2022-07-05 2022-07-05 CAD (computer-aided design) -based spray point location planning method, device, equipment and storage medium Pending CN115270214A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210798376.6A CN115270214A (en) 2022-07-05 2022-07-05 CAD (computer-aided design) -based spray point location planning method, device, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210798376.6A CN115270214A (en) 2022-07-05 2022-07-05 CAD (computer-aided design) -based spray point location planning method, device, equipment and storage medium

Publications (1)

Publication Number Publication Date
CN115270214A true CN115270214A (en) 2022-11-01

Family

ID=83763823

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210798376.6A Pending CN115270214A (en) 2022-07-05 2022-07-05 CAD (computer-aided design) -based spray point location planning method, device, equipment and storage medium

Country Status (1)

Country Link
CN (1) CN115270214A (en)

Similar Documents

Publication Publication Date Title
Eleftheriadis et al. BIM-embedded life cycle carbon assessment of RC buildings using optimised structural design alternatives
CN110516370B (en) Prefabricated part deepening drawing generation method and device, computer equipment and medium
Chen et al. Simulation and analytical techniques for construction resource planning and scheduling
CN104808627A (en) Workshop layout method of discrete manufacturing system
CN114692250A (en) Method and device for reinforcing ribs of wall body and computer equipment
CN112035934A (en) Method for construction management control based on digital design model of transformer substation
CN115270214A (en) CAD (computer-aided design) -based spray point location planning method, device, equipment and storage medium
Slager et al. Landscape generator: method to generate landscape configurations for spatial plan-making
CN115292783A (en) Automatic arrangement method, device and equipment for spraying point positions and storage medium
CN106844986B (en) Deck layout calculation method based on improved genetic algorithm
CN111737809A (en) Building model generation method, system, equipment and medium
CN113496073A (en) Spraying path planning method, device, equipment and storage medium
CN111914364A (en) Frequency selection antenna housing modeling method based on high-order moment method and projection
Eleftheriadis et al. Multilevel computational model for cost and carbon optimisation of reinforced concrete floor systems
CN115249303A (en) Layout drawing method, device, equipment and storage medium based on drawing segmentation
CN115249297A (en) Method and device for detecting layout state of production line and computer equipment
Inoue et al. Layout algorithm for an EC-based room layout planning support system
CN112287427A (en) Building wall position determining method and device, computer equipment and storage medium
Wang et al. Evolutionary Optimization of Benchmarks: Parametric Typologies for Generating Typical Designs
CN110196961B (en) Aircraft radar echo prediction method of non-cooperative uncertain shape
CN117195383B (en) Method, device, equipment and medium for generating modularized steel structure model
CN115394170B (en) Electronic sand table construction method and device, electronic equipment and storage medium
CN105873078B (en) A kind of network analysis Area generation method and device
WO2023145515A1 (en) Information processing system, information processing method, and information processing program
CN117236196B (en) Optimization method and system for point location layout of fire-fighting nozzle

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