CN115130181A - Method and device for arranging electromechanical equipment in non-rectangular room and electronic equipment - Google Patents

Method and device for arranging electromechanical equipment in non-rectangular room and electronic equipment Download PDF

Info

Publication number
CN115130181A
CN115130181A CN202210762841.0A CN202210762841A CN115130181A CN 115130181 A CN115130181 A CN 115130181A CN 202210762841 A CN202210762841 A CN 202210762841A CN 115130181 A CN115130181 A CN 115130181A
Authority
CN
China
Prior art keywords
room
electromechanical
devices
equipment
electromechanical devices
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
CN202210762841.0A
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.)
Shenzhen Jizhi Digital Technology Co Ltd
Original Assignee
Shenzhen Jizhi Digital 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 Shenzhen Jizhi Digital Technology Co Ltd filed Critical Shenzhen Jizhi Digital Technology Co Ltd
Priority to CN202210762841.0A priority Critical patent/CN115130181A/en
Publication of CN115130181A publication Critical patent/CN115130181A/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
    • G06F30/13Architectural design, e.g. computer-aided architectural design [CAAD] related to design of buildings, bridges, landscapes, production plants or roads
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F30/00Computer-aided design [CAD]
    • G06F30/20Design optimisation, verification or simulation

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Geometry (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • General Physics & Mathematics (AREA)
  • Evolutionary Computation (AREA)
  • General Engineering & Computer Science (AREA)
  • Architecture (AREA)
  • Civil Engineering (AREA)
  • Structural Engineering (AREA)
  • Computational Mathematics (AREA)
  • Mathematical Analysis (AREA)
  • Mathematical Optimization (AREA)
  • Pure & Applied Mathematics (AREA)
  • Air Conditioning Control Device (AREA)

Abstract

The application provides a method, a device and electronic equipment for arranging electromechanical equipment in a non-rectangular room, wherein an imaginary room surrounding all plane ranges of the room is constructed based on position information of an equipment reference wall; according to the room information of the room and the equipment information of the electromechanical equipment which needs to be arranged in the room, the electromechanical equipment which needs to be arranged in the room is arranged in the virtual room in a row-column mode, the arrangement information of the electromechanical equipment in the virtual room is obtained, the electromechanical equipment arranged in the room is determined according to the arrangement information, irregular non-rectangular room equipment arrangement is converted into equipment arrangement of the rectangular virtual room, the difficulty of non-rectangular room equipment arrangement is greatly reduced, and the efficiency of non-rectangular room equipment arrangement is improved.

Description

Method and device for arranging electromechanical equipment in non-rectangular room and electronic equipment
Technical Field
The application relates to the technical field of architectural engineering design, in particular to a method and a device for arranging electromechanical equipment in a non-rectangular room and electronic equipment.
Background
At present, electromechanical equipment is arranged in a rectangular room, and the method is a common equipment arrangement mode for design of electric, ventilation and air conditioning, water supply and drainage major and the like in constructional engineering. The process of arranging electromechanical devices in a matrix in a non-rectangular room is more complex than a rectangular room, and basically is arranged based on the experience of designers, and has no uniform rule and method.
Disclosure of Invention
To solve the above problems, embodiments of the present application aim to provide a method, an apparatus and an electronic device for arranging electromechanical devices in a non-rectangular room.
In a first aspect, an embodiment of the present application provides a method for arranging electromechanical devices in a non-rectangular room, including:
acquiring room information of a room in which the electromechanical equipment is to be arranged and equipment information of the electromechanical equipment required to be arranged in the room; wherein the room information comprises: position information of the equipment reference wall;
constructing a virtual room surrounding all plane ranges of the room based on the position information of the equipment reference wall; the virtual room is formed by a minimum rectangular plane area which can surround all plane ranges of the room, and the equipment reference wall is superposed with one wall body in the virtual room;
arranging the electromechanical devices to be arranged in the room in the virtual room in a manner of being parallel to the device reference wall and being perpendicular to the device reference wall according to the room information of the room and the device information of the electromechanical devices to be arranged in the room, and obtaining the arrangement information of the electromechanical devices in the virtual room;
and determining the electromechanical equipment arranged in the room according to the arrangement information of the electromechanical equipment in the virtual room.
In a second aspect, an embodiment of the present application further provides an apparatus for arranging electromechanical devices in a non-rectangular room, including:
the system comprises an acquisition module, a storage module and a control module, wherein the acquisition module is used for acquiring room information of a room in which the electromechanical equipment is to be arranged and equipment information of the electromechanical equipment which needs to be arranged in the room; wherein the room information comprises: position information of the equipment reference wall;
the building module is used for building a virtual room surrounding all plane ranges of the room based on the position information of the equipment reference wall; the virtual room is formed by a minimum rectangular plane area which can surround all plane ranges of the room, and the equipment reference wall is superposed with one wall body in the virtual room;
the arrangement module is used for arranging the electromechanical devices required to be arranged in the room in the virtual room in a mode of being parallel to the device reference wall and being perpendicular to the device reference wall according to the room information of the room and the device information of the electromechanical devices required to be arranged in the room, and obtaining the arrangement information of the electromechanical devices in the virtual room;
a determining module for determining the electromechanical devices arranged in the room according to the arrangement information of the electromechanical devices in the virtual room.
In a third aspect, this application further provides a computer-readable storage medium, on which a computer program is stored, where the computer program is executed by a processor to perform the steps of the method in the first aspect.
In a fourth aspect, embodiments of the present application further provide an electronic device, which includes a memory, a processor, and one or more programs, where the one or more programs are stored in the memory and configured to be executed by the processor to perform the steps of the method according to the first aspect.
In the solutions provided in the foregoing first to fourth aspects of the embodiments of the present application, a virtual room surrounding all plane ranges of a room is constructed based on location information of a device reference wall; arranging the electromechanical devices required to be arranged in the room in the imaginary room according to the room information of the room and the device information of the electromechanical devices required to be arranged in the room, obtaining the arrangement information of the electromechanical devices in the imaginary room, and determining the electromechanical devices arranged in the room according to the arrangement information, compared with the mode that electromechanical equipment is arranged only based on the experience of designers when the electromechanical equipment is arranged in a non-rectangular room matrix mode in the related art, irregular non-rectangular room equipment arrangement is converted into equipment arrangement of a rectangular virtual room, the electromechanical equipment which needs to be arranged in the non-rectangular room is arranged according to the rectangular room equipment arrangement mode, the difficulty of non-rectangular room equipment arrangement is greatly reduced, the efficiency of non-rectangular room equipment arrangement is improved, a very efficient set of rules and methods for arranging electromechanical devices in non-rectangular rooms is thus obtained.
In order to make the aforementioned objects, features and advantages of the present application more comprehensible, preferred embodiments accompanied with figures are described in detail below.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present application, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
FIG. 1 is a flow chart illustrating a method for arranging mechatronic devices in a non-rectangular room according to embodiment 1 of the present application;
FIG. 2 is a schematic structural diagram of a non-rectangular room arrangement electromechanical device provided in embodiment 2 of the present application;
fig. 3 shows a schematic structural diagram of an electronic device provided in embodiment 3 of the present application.
Detailed Description
In the description of the present application, it is to be understood that the terms "center," "longitudinal," "lateral," "length," "width," "thickness," "upper," "lower," "front," "rear," "left," "right," "vertical," "horizontal," "top," "bottom," "inner," "outer," "clockwise," "counterclockwise," and the like are used in the orientations and positional relationships indicated in the drawings for convenience in describing the present application and for simplicity in description, and are not intended to indicate or imply that the referenced devices or elements must have a particular orientation, be constructed in a particular orientation, and be operated in a particular manner, and thus should not be considered limiting.
Furthermore, the terms "first", "second" and "first" are used for descriptive purposes only and are not to be construed as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of that feature. In the description of the present application, "a plurality" means two or more unless specifically limited otherwise.
In this application, unless expressly stated or limited otherwise, the terms "mounted," "connected," "secured," and the like are to be construed broadly and encompass, for example, both fixed and removable connections or integral connections; can be mechanically or electrically connected; they may be connected directly or indirectly through intervening media, or they may be interconnected between two elements. The specific meaning of the above terms in the present application can be understood by those of ordinary skill in the art as the case may be.
At present, electromechanical equipment is arranged in a rectangular room, and the method is a common equipment arrangement mode for design of electric, ventilation and air conditioning, water supply and drainage major and the like in constructional engineering. The process of arranging electromechanical devices in a matrix in a non-rectangular room is more complex than a rectangular room, and basically is arranged based on the experience of designers, and has no uniform rule and method.
Based on the above, the embodiments provided by the application provide a method, a device and an electronic device for arranging electromechanical devices in a non-rectangular room, and an imaginary room surrounding all plane ranges of the room is constructed based on the position information of the device reference wall; according to the room information of a room and the equipment information of electromechanical equipment needing to be arranged in the room, the electromechanical equipment needing to be arranged in the room is arranged in the virtual room in a row-column mode to obtain the arrangement information of the electromechanical equipment in the virtual room, the electromechanical equipment arranged in the room is determined according to the arrangement information, irregular non-rectangular room equipment arrangement is converted into rectangular virtual room equipment arrangement, the electromechanical equipment needing to be arranged in the non-rectangular room is arranged in the rectangular room equipment arrangement mode, and the difficulty of non-rectangular room equipment arrangement is greatly reduced.
In order to make the aforementioned objects, features and advantages of the present application more comprehensible, the present application is described in further detail with reference to the accompanying drawings and the detailed description.
Example 1
The execution subject of the method for arranging mechatronic devices in a non-rectangular room proposed by the present embodiment is a server.
Referring to a flow chart of a method for arranging electromechanical devices in a non-rectangular room shown in fig. 1, the present embodiment proposes a non-rectangular room arranging electromechanical device, which includes the following specific steps:
step 100, acquiring room information of a room in which electromechanical equipment is to be arranged and equipment information of electromechanical equipment required to be arranged in the room; wherein the room information includes: the device references the location information of the wall.
In the step 100, the device information of the mechatronic devices to be arranged in the room is obtained by the server from the building design drawing software run by the server itself.
In one embodiment, the Building design drawing software may be a Building Information Modeling (BIM) model.
The electromechanical devices, including but not limited to: lamps and lanterns, fire detector, fire control broadcasting loudspeaker, air conditioner wind gap and watering shower nozzle.
The room information of the room in which the electromechanical device is to be arranged is input into the server by a worker.
The room information includes, but is not limited to: room name, room dimensions, and location information of walls within the room.
The position information of the wall in the room comprises: the device references the location information of the wall and the location information of other walls.
The position information of the other wall bodies is the position information of other walls except the equipment reference wall in the room wall body.
The position information of the equipment reference wall comprises: the device references the endpoint location information of the wall.
The position information of the other wall bodies comprises: end points of other walls, etc.
If the other wall bodies are arc-shaped walls, the position information of the other wall bodies further comprises: radius and circle center, etc.
And according to the room wall information, the room of the electromechanical equipment to be arranged can be drawn in the architectural design drawing software.
In the case that the room in which the electromechanical device is to be arranged is drawn, the server may determine a plane area included in the room in which the electromechanical device is to be arranged.
The device information of the mechatronic device includes, but is not limited to: the electromechanical device may include one or more of a device type, a device model, a device size, a mounting height, a device orientation (e.g., parallel to a wall or window), a ratio of electromechanical device wall spacing to row spacing, and a minimum clear distance of the electromechanical device from the wall.
If the four walls of the room are: the wall comprises an upper wall body, a lower wall body, a left wall body and a right wall body; and the electromechanical device is arranged in the room in the condition of 'n rows by m columns', the ratio of the electromechanical device wall distance to the row-column distance comprises: the ratio of the lower equipment wall distance to the line space, the ratio of the upper equipment wall distance to the equipment space, the ratio of the left equipment wall distance to the column space, and the ratio of the right equipment wall distance to the column space.
102, constructing a virtual room surrounding all plane ranges of the room based on the position information of the equipment reference wall; the virtual room is formed by a minimum rectangular plane area which can surround all plane ranges of the room, and the equipment reference wall is superposed with one wall body in the virtual room.
In step 102, the server constructs a hypothetical room encompassing all planar extents of the room using the building design charting software based on the endpoint location information for the device reference wall and the endpoint location information for the other walls.
Wherein a plane area included in the virtual room is larger than a plane area included in the room.
The process of the server using the architectural design mapping software to construct a hypothetical room encompassing all the planar extents of the room is prior art and will not be described in detail here.
And 104, arranging the electromechanical devices required to be arranged in the room in the virtual room in a row-column manner according to the room information of the room and the device information of the electromechanical devices required to be arranged in the room, so as to obtain the arrangement information of the electromechanical devices in the virtual room.
In step 104, according to the room information of the room and the device information of the electromechanical devices that need to be arranged in the room, the specific process of arranging the electromechanical devices that need to be arranged in the room in a row-by-row and column manner in the virtual room is a result automatically obtained after the server runs the building design drawing software, and the specific process is the prior art and is not described herein again.
When the electromechanical devices to be arranged in the room are arranged in the imaginary room in rows and columns, the electromechanical devices are uniformly arranged in the imaginary room, that is, the row spacing and the column spacing of the electromechanical devices are the same.
After the electromechanical devices needing to be arranged in the room are arranged in the virtual room, the arrangement information of the electromechanical devices in the virtual room can be obtained.
Information of placement of the mechatronic device within the imaginary room, comprising: a number of rows of the mechatronic devices within the imaginary room, a number of columns of the mechatronic devices within the imaginary room, a row spacing of the mechatronic devices within the imaginary room, a column spacing of the mechatronic devices within the imaginary room, a position of the mechatronic devices within the imaginary room.
And 106, determining the electromechanical equipment arranged in the room according to the arrangement information of the electromechanical equipment in the virtual room.
In the step 106, in order to determine the electromechanical devices arranged in the room, the following steps (1) to (5) may be further performed:
(1) removing mechatronic devices not in the room from among the mechatronic devices arranged in the imaginary room according to the position information of the mechatronic devices;
(2) determining the equipment occupation radius of the electromechanical equipment according to the type information of the electromechanical equipment;
(3) determining the distance between the electromechanical equipment arranged in the room and the wall in the room according to the position information of the electromechanical equipment and the position information of the wall in the room, and removing the electromechanical equipment, which is arranged in the room and is away from the wall in the room by a distance smaller than the sum of the equipment occupation radius of the electromechanical equipment and the minimum clear distance between the electromechanical equipment and the wall;
(4) counting the number of mechatronic devices remaining in the room except for the removed mechatronic devices;
(5) when the number of the electromechanical devices remained in the room is within a preset number range, determining the electromechanical devices remained in the room as the electromechanical devices arranged in the room;
(6) when the number of the electromechanical devices remained in the room is smaller than the lower limit value of the preset number range, calculating the ratio of the column spacing of the electromechanical devices in the virtual room to the row spacing of the electromechanical devices in the virtual room;
(7) when the ratio is smaller than or equal to a preset spacing ratio, performing incremental operation on the number of rows of the electromechanical devices in the virtual room, re-arranging the electromechanical devices in the virtual room according to the number of columns of the electromechanical devices in the virtual room, the row spacing of the electromechanical devices in the virtual room, the column spacing of the electromechanical devices in the virtual room and the number of rows of the electromechanical devices after the incremental operation in the virtual room, and returning to execute the step (1);
(8) when the ratio is larger than a preset spacing ratio, performing incremental operation on the number of columns of the electromechanical devices in the virtual room, re-arranging the electromechanical devices in the virtual room according to the number of rows of the electromechanical devices in the virtual room, the row spacing of the electromechanical devices in the virtual room, the column spacing of the electromechanical devices in the virtual room and the number of columns of the electromechanical devices after the incremental operation in the virtual room, and returning to execute the step (1);
(9) when the number of the electromechanical devices remained in the room is larger than the upper limit value of the preset number range, calculating the device difference value number of the electromechanical devices remained in the room and the upper limit value of the preset number range;
(10) and removing the electromechanical devices with the difference quantity of the devices which are close to the wall body in the room from the electromechanical devices reserved in the room to obtain the electromechanical devices arranged in the room.
In the step (2), the server determines the device footprint radius of the electromechanical device according to the correspondence between the type information of the electromechanical device and the device footprint radius.
And the corresponding relation between the type information of the electromechanical equipment and the occupied radius of the equipment is cached in the server in advance.
In one embodiment, the calculation of the device footprint radius of the mechatronic device is as follows: and representing the appearance of the equipment by using a minimum horizontal cuboid surrounding the equipment, projecting an equipment base point when the equipment is placed on the bottom surface of the cuboid, and determining the farthest distance from a rectangular endpoint of the bottom surface of the cuboid, which is farthest from a projection point of the equipment base point, to a projection point of the equipment base point as the equipment occupation radius of the electromechanical equipment.
In the step (3), the distance between the electromechanical device arranged in the room and the wall in the room is determined according to the position information of the electromechanical device and the position information of the wall in the room, that is, the distance between the electromechanical device and each wall in the room is calculated according to the position information of the electromechanical device and the position information of the wall in the room.
And when the distance between the electromechanical device and each wall in the room is smaller than the sum of the device occupation radius of the electromechanical device and the minimum clear distance between the electromechanical device and the wall, the electromechanical device is removed from the room.
And the minimum clear distance between the electromechanical equipment and the wall body is a preset value and is cached in the server in advance.
In one embodiment, the electromechanical device may be a minimum clear distance of 0.1 meters from the wall.
In the step (5), the preset number range is cached in the server in advance.
In the step (7), the preset distance ratio is a constant and is cached in the server in advance.
In the step (10), the removing of the electromechanical devices with the difference number of the devices closer to the wall in the room from the electromechanical devices remaining in the room specifically includes the following steps (20) to (21):
(20) calculating the distance between the electromechanical equipment reserved in the room and the wall body in the room, and sequencing the electromechanical equipment reserved in the room according to the sequence of the distance from the electromechanical equipment reserved in the room to the wall body in the room from small to large to obtain an electromechanical equipment sequence;
(21) removing the electromechanical devices of the number of device differences ordered before in the electromechanical device sequence.
And after the electromechanical equipment arranged in the room is obtained, the equipment is placed in the room according to the position of the electromechanical equipment in the virtual room, and equipment components are placed in the architectural design drawing software, so that the task of arranging the electromechanical equipment in the non-rectangular room is completed.
The method for arranging the electromechanical equipment in the non-rectangular room has the following advantages:
1. and introducing the virtual room, converting the irregular non-rectangular room equipment arrangement into the equipment arrangement of the rectangular virtual room, and judging whether the number of the equipment falling into the actual room is between the minimum value and the maximum value of the room equipment, wherein the judgment is used as the basis for judging whether the non-rectangular room equipment arrangement meets the requirement.
2. When the number of the devices falling into the actual room is smaller than the minimum value of the room devices, whether the rows or the columns are increased is judged according to the relationship between the current devices (column distance/row distance) and the optimal devices (column distance/row distance): if the current devices (column spacing/row spacing) are less than or equal to the optimum (column spacing/row spacing), the number of columns of devices in the hypothetical room is increased, otherwise the number of rows is increased.
In summary, the present embodiment provides a method for arranging electromechanical devices in a non-rectangular room, which constructs a virtual room surrounding all plane ranges of the room based on the position information of the device reference wall; arranging the electromechanical devices required to be arranged in the room in the imaginary room according to the room information of the room and the device information of the electromechanical devices required to be arranged in the room, obtaining the arrangement information of the electromechanical devices in the imaginary room, and determining the electromechanical devices arranged in the room according to the arrangement information, compared with the mode that electromechanical equipment is arranged only based on the experience of designers when the electromechanical equipment is arranged in a non-rectangular room matrix mode in the related art, irregular non-rectangular room equipment arrangement is converted into equipment arrangement of a rectangular virtual room, the electromechanical equipment which needs to be arranged in the non-rectangular room is arranged according to the rectangular room equipment arrangement mode, the difficulty of non-rectangular room equipment arrangement is greatly reduced, the efficiency of non-rectangular room equipment arrangement is improved, a very efficient set of rules and methods for arranging electromechanical devices in non-rectangular rooms is thus obtained.
Example 2
The present embodiment proposes an apparatus for arranging mechatronic devices in a non-rectangular room, which is used for executing the method for arranging mechatronic devices in a non-rectangular room proposed in the above embodiment 1.
Referring to a schematic structural diagram of an apparatus for arranging electromechanical devices in a non-rectangular room shown in fig. 2, the present embodiment proposes an apparatus for arranging electromechanical devices in a non-rectangular room, including:
an obtaining module 200, configured to obtain room information of a room in which the mechatronic devices are to be arranged and device information of the mechatronic devices that need to be arranged in the room; wherein the room information includes: position information of the device reference wall;
a building module 202, configured to build a hypothetical room surrounding all plane ranges of the room based on the location information of the device reference wall; the virtual room is formed by a minimum rectangular plane area which can surround all plane ranges of the room, and the equipment reference wall is superposed with one wall body in the virtual room;
the arrangement module 204 is configured to arrange the mechatronic devices required to be arranged in the room in the virtual room in rows and columns according to the room information of the room and the device information of the mechatronic devices required to be arranged in the room, so as to obtain arrangement information of the mechatronic devices in the virtual room;
a determining module 206, configured to determine the mechatronic devices arranged in the room according to the arrangement information of the mechatronic devices in the virtual room.
Information of placement of the mechatronic device within the imaginary room, comprising: location information of the mechatronic device.
Room information for the room, comprising: location information of walls within the room.
The device information of the mechatronic device comprises: the type of equipment of the electromechanical equipment and the minimum clear distance of the electromechanical equipment from the wall.
The determining module is specifically configured to:
removing mechatronic devices not in the room from among the mechatronic devices arranged in the imaginary room according to the position information of the mechatronic devices;
determining the equipment occupation radius of the electromechanical equipment according to the type information of the electromechanical equipment;
determining the distance between the electromechanical equipment arranged in the room and the wall in the room according to the position information of the electromechanical equipment and the position information of the wall in the room, and removing the electromechanical equipment, which is arranged in the room and is away from the wall in the room by a distance smaller than the sum of the equipment occupation radius of the electromechanical equipment and the minimum clear distance between the electromechanical equipment and the wall;
counting the number of mechatronic devices remaining in the room except for the removed mechatronic devices;
when the number of the electromechanical devices remained in the room is within a preset number range, the electromechanical devices remained in the room are determined as the electromechanical devices arranged in the room.
Information of placement of the mechatronic device within the imaginary room, further comprising: the number of rows of the mechatronic devices within the imaginary room, the number of columns of the mechatronic devices within the imaginary room, the spacing of the rows of the mechatronic devices within the imaginary room, and the spacing of the columns of the mechatronic devices within the imaginary room.
The determining module is configured to determine the mechatronic devices arranged in the room according to the arrangement information of the mechatronic devices in the virtual room, and further includes:
when the number of the electromechanical devices remained in the room is smaller than the lower limit value of the preset number range, calculating the ratio of the column spacing of the electromechanical devices in the virtual room to the row spacing of the electromechanical devices in the virtual room;
when the ratio is smaller than or equal to a preset spacing ratio, performing incremental operation on the number of rows of the electromechanical devices in the virtual room, re-arranging the electromechanical devices in the virtual room according to the number of columns of the electromechanical devices in the virtual room, the row spacing of the electromechanical devices in the virtual room, the column spacing of the electromechanical devices in the virtual room and the number of rows of the electromechanical devices after the incremental operation in the virtual room, and returning to execute the step of removing electromechanical devices which are not in the room from the electromechanical devices arranged in the virtual room according to the position information of the electromechanical devices;
when the ratio is larger than a preset spacing ratio, performing incremental operation on the number of columns of the electromechanical devices in the virtual room, rearranging the electromechanical devices in the virtual room according to the number of rows of the electromechanical devices in the virtual room, the row spacing of the electromechanical devices in the virtual room, the column spacing of the electromechanical devices in the virtual room and the number of columns of the electromechanical devices after the incremental operation in the virtual room, and returning to execute the step of removing electromechanical devices which are not in the room from the electromechanical devices arranged in the virtual room according to the position information of the electromechanical devices.
The determining module is configured to determine the mechatronic devices arranged in the room according to the arrangement information of the mechatronic devices in the virtual room, and further includes:
when the number of the electromechanical devices remained in the room is larger than the upper limit value of the preset number range, calculating the device difference value number of the electromechanical devices remained in the room and the upper limit value of the preset number range;
and removing the electromechanical devices with the difference quantity of the electromechanical devices which are close to the wall body in the room from the electromechanical devices reserved in the room to obtain the electromechanical devices arranged in the room.
In summary, the present embodiment provides an apparatus for arranging electromechanical devices in non-rectangular rooms, which constructs a virtual room surrounding all plane ranges of a room based on location information of a device reference wall; arranging the electromechanical devices required to be arranged in the room in the imaginary room according to the room information of the room and the device information of the electromechanical devices required to be arranged in the room, obtaining the arrangement information of the electromechanical devices in the imaginary room, and determining the electromechanical devices arranged in the room according to the arrangement information, compared with the mode that electromechanical equipment is arranged only based on the experience of designers when the electromechanical equipment is arranged in a non-rectangular room matrix mode in the related art, irregular non-rectangular room equipment arrangement is converted into equipment arrangement of a rectangular virtual room, the electromechanical equipment which needs to be arranged in the non-rectangular room is arranged according to the rectangular room equipment arrangement mode, the difficulty of non-rectangular room equipment arrangement is greatly reduced, the efficiency of non-rectangular room equipment arrangement is improved, a very efficient set of rules and methods for arranging electromechanical devices in non-rectangular rooms is thereby obtained.
Example 3
The present embodiment proposes a computer-readable storage medium having stored thereon a computer program which, when executed by a processor, performs the steps of the method of arranging electromechanical devices in a non-rectangular room as described in embodiment 1 above. For specific implementation, refer to method embodiment 1, which is not described herein again.
In addition, referring to the schematic structural diagram of an electronic device shown in fig. 3, the present embodiment further provides an electronic device, where the electronic device includes a bus 51, a processor 52, a transceiver 53, a bus interface 54, a memory 55, and a user interface 56. The electronic device comprises a memory 55.
In this embodiment, the electronic device further includes: one or more programs stored on the memory 55 and executable on the processor 52, configured to be executed by the processor for performing the following steps (1) to (4):
(1) acquiring room information of a room in which the electromechanical equipment is to be arranged and equipment information of the electromechanical equipment required to be arranged in the room; wherein the room information includes: position information of the device reference wall;
(2) constructing a virtual room surrounding all plane ranges of the room based on the position information of the equipment reference wall; the virtual room is formed by a minimum rectangular plane area which can surround all plane ranges of the room, and the equipment reference wall is superposed with one wall body in the virtual room;
(3) arranging the electromechanical devices required to be arranged in the room in the virtual room according to the room information of the room and the device information of the electromechanical devices required to be arranged in the room, and obtaining the arrangement information of the electromechanical devices in the virtual room;
(4) and determining the electromechanical equipment arranged in the room according to the arrangement information of the electromechanical equipment in the virtual room.
A transceiver 53 for receiving and transmitting data under the control of the processor 52.
Where a bus architecture (represented by bus 51) is used, bus 51 may include any number of interconnected buses and bridges, and bus 51 links together various circuits including one or more processors, represented by processor 52, and memory, represented by memory 55. The bus 51 may also link together various other circuits such as peripherals, voltage regulators, power management circuits, and the like, which are well known in the art, and therefore, will not be described any further in this embodiment. A bus interface 54 provides an interface between the bus 51 and the transceiver 53. The transceiver 53 may be one element or may be multiple elements, such as multiple receivers and transmitters, providing a means for communicating with various other apparatus over a transmission medium. For example: the transceiver 53 receives external data from other devices. The transceiver 53 is used for transmitting data processed by the processor 52 to other devices. Depending on the nature of the computing system, a user interface 56, such as a keypad, display, speaker, microphone, joystick, may also be provided.
The processor 52 is responsible for managing the bus 51 and the usual processing, running a general-purpose operating system as described above. And memory 55 may be used to store data used by processor 52 in performing operations.
Alternatively, processor 52 may be, but is not limited to: a central processing unit, a singlechip, a microprocessor or a programmable logic device.
It will be appreciated that the memory 55 in the embodiments of the subject application can be either volatile memory or nonvolatile memory, or can include both volatile and nonvolatile memory. The non-volatile Memory may be a Read-Only Memory (ROM), a Programmable ROM (PROM), an Erasable PROM (EPROM), an Electrically Erasable PROM (EEPROM), or a flash Memory. Volatile Memory can be Random Access Memory (RAM), which acts as external cache Memory. By way of example, and not limitation, many forms of RAM are available, such as Static Random Access Memory (SRAM), Dynamic Random Access Memory (DRAM), Synchronous Dynamic Random Access Memory (SDRAM), Double Data Rate Synchronous Dynamic Random Access Memory (DDRSDRAM), Enhanced Synchronous SDRAM (ESDRAM), Synchronous Link DRAM (SLDRAM), and Direct Rambus RAM (DRRAM). The memory 55 of the systems and methods described in this embodiment is intended to comprise, without being limited to, these and any other suitable types of memory.
In some embodiments, memory 55 stores elements, executable modules or data structures, or a subset thereof, or an expanded set thereof as follows: an operating system 551 and application programs 552.
The operating system 551 includes various system programs, such as a framework layer, a core library layer, a driver layer, and the like, for implementing various basic services and processing hardware-based tasks. The application 552 includes various applications, such as a Media Player (Media Player), a Browser (Browser), and the like, for implementing various application services. A program for implementing the method according to an embodiment of the present application may be included in the application 552.
In summary, the present embodiment provides a computer-readable storage medium and an electronic device, which construct a virtual room surrounding all plane ranges of a room based on location information of a device reference wall; arranging the electromechanical devices required to be arranged in the room in the virtual room in a row-column manner according to the room information of the room and the device information of the electromechanical devices required to be arranged in the room, obtaining the arrangement information of the electromechanical devices in the virtual room, and determining the electromechanical devices arranged in the room according to the arrangement information, compared with the mode that electromechanical equipment is arranged only based on the experience of designers when the electromechanical equipment is arranged in a non-rectangular room matrix mode in the related art, irregular non-rectangular room equipment arrangement is converted into equipment arrangement of a rectangular virtual room, the electromechanical equipment which needs to be arranged in the non-rectangular room is arranged according to the rectangular room equipment arrangement mode, the difficulty of non-rectangular room equipment arrangement is greatly reduced, the efficiency of non-rectangular room equipment arrangement is improved, a very efficient set of rules and methods for arranging electromechanical devices in non-rectangular rooms is thus obtained.
The above description is only for the specific embodiments of the present application, but the scope of the present application is not limited thereto, and any person skilled in the art can easily conceive of the changes or substitutions within the technical scope of the present application, and shall be covered by the scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.

Claims (10)

1. A method of arranging electromechanical devices in a non-rectangular room, comprising:
acquiring room information of a room in which the electromechanical equipment is to be arranged and equipment information of the electromechanical equipment required to be arranged in the room; wherein the room information includes: position information of the device reference wall;
constructing a virtual room surrounding all plane ranges of the room based on the position information of the equipment reference wall; the virtual room is formed by a minimum rectangular plane area which can surround all plane ranges of the room, and the equipment reference wall is superposed with one wall body in the virtual room;
arranging the electromechanical devices required to be arranged in the room in the virtual room in a row-column manner according to the room information of the room and the device information of the electromechanical devices required to be arranged in the room, so as to obtain arrangement information of the electromechanical devices in the virtual room;
and determining the electromechanical equipment arranged in the room according to the arrangement information of the electromechanical equipment in the virtual room.
2. The method of claim 1, wherein the placement information of the mechatronic device within the imaginary room comprises: location information of the mechatronic device;
room information for the room, comprising: location information of walls within the room;
the device information of the mechatronic device comprises: the equipment type of the electromechanical equipment and the minimum clear distance between the electromechanical equipment and a wall body;
the determining the electromechanical devices arranged in the room according to the arrangement information of the electromechanical devices in the virtual room comprises:
removing mechatronic devices not in the room from among the mechatronic devices arranged in the imaginary room according to the position information of the mechatronic devices;
determining the equipment occupation radius of the electromechanical equipment according to the type information of the electromechanical equipment;
determining the distance between the electromechanical equipment arranged in the room and the wall in the room according to the position information of the electromechanical equipment and the position information of the wall in the room, and removing the electromechanical equipment, which is arranged in the room and is away from the wall in the room by a distance smaller than the sum of the equipment occupation radius of the electromechanical equipment and the minimum clear distance between the electromechanical equipment and the wall;
counting the number of mechatronic devices remaining in the room except for the removed mechatronic devices;
when the number of the electromechanical devices remained in the room is within a preset number range, the electromechanical devices remained in the room are determined as the electromechanical devices arranged in the room.
3. The method of claim 2, wherein the placement information of the mechatronic device within the imaginary room further comprises: a number of rows of the mechatronic devices within the imaginary room, a number of columns of the mechatronic devices within the imaginary room, a row spacing of the mechatronic devices within the imaginary room, a column spacing of the mechatronic devices within the imaginary room;
the determining the electromechanical devices arranged in the room according to the arrangement information of the electromechanical devices in the virtual room further comprises:
when the number of the electromechanical devices remained in the room is smaller than the lower limit value of the preset number range, calculating the ratio of the column spacing of the electromechanical devices in the virtual room to the row spacing of the electromechanical devices in the virtual room;
when the ratio is smaller than or equal to a preset spacing ratio, performing incremental operation on the number of rows of the electromechanical devices in the virtual room, rearranging the electromechanical devices in the virtual room according to the number of columns of the electromechanical devices in the virtual room, the row spacing of the electromechanical devices in the virtual room, the column spacing of the electromechanical devices in the virtual room and the number of rows of the electromechanical devices after the incremental operation in the virtual room, and returning to execute the step of removing electromechanical devices which are not in the room from the electromechanical devices arranged in the virtual room according to the position information of the electromechanical devices;
when the ratio is larger than a preset spacing ratio, performing incremental operation on the number of columns of the electromechanical devices in the virtual room, rearranging the electromechanical devices in the virtual room according to the number of rows of the electromechanical devices in the virtual room, the row spacing of the electromechanical devices in the virtual room, the column spacing of the electromechanical devices in the virtual room and the number of columns of the electromechanical devices after the incremental operation in the virtual room, and returning to execute the step of removing electromechanical devices which are not in the room from the electromechanical devices arranged in the virtual room according to the position information of the electromechanical devices.
4. The method of claim 2, wherein determining the mechatronic devices arranged in the room based on the placement information of the mechatronic devices in the imaginary room further comprises:
when the number of the electromechanical devices remained in the room is larger than the upper limit value of the preset number range, calculating the device difference value number of the electromechanical devices remained in the room and the upper limit value of the preset number range;
and removing the electromechanical devices with the difference quantity of the devices which are close to the wall body in the room from the electromechanical devices reserved in the room to obtain the electromechanical devices arranged in the room.
5. An apparatus for arranging electromechanical devices in a non-rectangular room, comprising:
the system comprises an acquisition module, a storage module and a control module, wherein the acquisition module is used for acquiring room information of a room in which the electromechanical equipment is to be arranged and equipment information of the electromechanical equipment which needs to be arranged in the room; wherein the room information comprises: position information of the equipment reference wall;
the building module is used for building a virtual room surrounding all plane ranges of the room based on the position information of the equipment reference wall; the virtual room is formed by a minimum rectangular plane area which can surround all plane ranges of the room, and the equipment reference wall is superposed with one wall body in the virtual room;
the arrangement module is used for arranging the electromechanical devices required to be arranged in the room in the virtual room in a row-to-column manner according to the room information of the room and the device information of the electromechanical devices required to be arranged in the room, so as to obtain the arrangement information of the electromechanical devices in the virtual room;
a determining module for determining the electromechanical devices arranged in the room according to the arrangement information of the electromechanical devices in the virtual room.
6. The apparatus of claim 5, wherein the placement information of the mechatronic device within the imaginary room comprises: location information of the mechatronic device;
room information for the room, comprising: location information of walls within the room;
the device information of the mechatronic device comprises: the equipment type of the electromechanical equipment and the minimum clear distance between the electromechanical equipment and a wall body;
the determining module is specifically configured to:
removing mechatronic devices not in the room from among the mechatronic devices arranged in the imaginary room according to the position information of the mechatronic devices;
determining the equipment occupation radius of the electromechanical equipment according to the type information of the electromechanical equipment;
determining the distance between the electromechanical equipment arranged in the room and the wall in the room according to the position information of the electromechanical equipment and the position information of the wall in the room, and removing the electromechanical equipment, which is arranged in the room and is away from the wall in the room by a distance smaller than the sum of the equipment occupation radius of the electromechanical equipment and the minimum clear distance between the electromechanical equipment and the wall;
counting the number of mechatronic devices remaining in the room except for the removed mechatronic devices;
when the number of the electromechanical devices remained in the room is within a preset number range, the electromechanical devices remained in the room are determined as the electromechanical devices arranged in the room.
7. The apparatus of claim 6, wherein the placement information of the mechatronic device within the imaginary room further comprises: a number of rows of the mechatronic devices within the imaginary room, a number of columns of the mechatronic devices within the imaginary room, a row spacing of the mechatronic devices within the imaginary room, a column spacing of the mechatronic devices within the imaginary room;
the determining module is configured to determine the mechatronic devices arranged in the room according to the arrangement information of the mechatronic devices in the virtual room, and further includes:
when the number of the electromechanical devices remained in the room is smaller than the lower limit value of the preset number range, calculating the ratio of the column spacing of the electromechanical devices in the virtual room to the row spacing of the electromechanical devices in the virtual room;
when the ratio is smaller than or equal to a preset interval ratio, performing incremental operation on the number of rows of the electromechanical devices in the virtual room, rearranging the electromechanical devices in the virtual room according to the number of columns of the electromechanical devices in the virtual room, the row spacing of the electromechanical devices in the virtual room, the column spacing of the electromechanical devices in the virtual room and the number of rows of the electromechanical devices after the incremental operation in the virtual room, returning to execute the step of removing electromechanical devices which are not in the room from the electromechanical devices arranged in the virtual room according to the position information of the electromechanical devices;
when the ratio is larger than a preset spacing ratio, performing incremental operation on the number of columns of the electromechanical devices in the virtual room, rearranging the electromechanical devices in the virtual room according to the number of rows of the electromechanical devices in the virtual room, the row spacing of the electromechanical devices in the virtual room, the column spacing of the electromechanical devices in the virtual room and the number of columns of the electromechanical devices after the incremental operation in the virtual room, and returning to execute the step of removing electromechanical devices which are not in the room from the electromechanical devices arranged in the virtual room according to the position information of the electromechanical devices.
8. The apparatus according to claim 6, wherein the determining module is configured to determine the mechatronic devices arranged in the room according to the arrangement information of the mechatronic devices in the virtual room, and further comprises:
when the number of the electromechanical devices reserved in the room is larger than the upper limit value of the preset number range, calculating the number of the device difference values between the number of the electromechanical devices reserved in the room and the upper limit value of the preset number range;
and removing the electromechanical devices with the difference quantity of the devices which are close to the wall body in the room from the electromechanical devices reserved in the room to obtain the electromechanical devices arranged in the room.
9. 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 according to any one of the claims 1 to 4.
10. An electronic device comprising a memory, a processor, and one or more programs, wherein the one or more programs are stored in the memory and configured to be executed by the processor to perform the steps of the method of any of claims 1-4.
CN202210762841.0A 2022-06-30 2022-06-30 Method and device for arranging electromechanical equipment in non-rectangular room and electronic equipment Pending CN115130181A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210762841.0A CN115130181A (en) 2022-06-30 2022-06-30 Method and device for arranging electromechanical equipment in non-rectangular room and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210762841.0A CN115130181A (en) 2022-06-30 2022-06-30 Method and device for arranging electromechanical equipment in non-rectangular room and electronic equipment

Publications (1)

Publication Number Publication Date
CN115130181A true CN115130181A (en) 2022-09-30

Family

ID=83382253

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210762841.0A Pending CN115130181A (en) 2022-06-30 2022-06-30 Method and device for arranging electromechanical equipment in non-rectangular room and electronic equipment

Country Status (1)

Country Link
CN (1) CN115130181A (en)

Similar Documents

Publication Publication Date Title
US20160234972A1 (en) System and methods for simulation-based optimization of data center cooling equipment
US20080120069A1 (en) Generating an analytical model of building for use in thermal modeling and environmental analyses
US20080120068A1 (en) Generating an analytical model of a building for use in thermal modeling and environmental analyses
CN103370712A (en) System and methods for rack cooling analysis
CN111737795B (en) Aluminum template encoding method, computer device and storage medium
JP2018080887A (en) Parameter estimation device, air conditioning system evaluation device, parameter estimation method, and program
CN112784340B (en) Conversion method and conversion device for construction BIM model
CN109388840A (en) The dedicated programmed computer of numerical simulation for the Metal Forming Process with predefined load paths and corresponding grid Adjusted Option
CN115130181A (en) Method and device for arranging electromechanical equipment in non-rectangular room and electronic equipment
CN112948928A (en) Headroom calculation method based on building information model and related device
CN116127578A (en) BIM-based electromechanical tube comprehensive height information generation method, device and medium
CN110704898A (en) Method for placing connecting node between tiger window model and roof truss girder model and product
CN113987665B (en) Optimization method and device for removing pipeline collision of building equipment system
CN112287443B (en) Method and device for generating structural floor slab, electronic equipment and storage medium
US7809533B2 (en) Computer aided modeling
CN111125809B (en) Building steel column generation method and device, computer equipment and storage medium
CN110737934B (en) Tiger window roof truss node generation method, device and storage medium
CN112149213B (en) Method, device and equipment for transmitting finite element model grid data of nuclear island structure
CN115270215A (en) Method and device for arranging air diffuser in room and electronic equipment
CN113094785A (en) Building model construction method and related device
Martins Earthquake damage and loss assessment of reinforced concrete buildings
CN113836615B (en) Intelligent matching method and system for house type modules in standard layer
CN113569365A (en) Arrangement method and device of power supply device and electronic equipment
CN112836264B (en) Node generation method and device, computer equipment and storage medium
JP7157498B1 (en) CONSTRUCTION SUPPORT METHOD, CONSTRUCTION SUPPORT PROGRAM, AND CONSTRUCTION SUPPORT DEVICE

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