An automatic drawing generation method applicable to the ventilation and air-conditioning large system diagram of a subway station
Through the automated ventilation and air conditioning system drawing method, the problem of cumbersome and time-consuming drawing of subway station system drawing is solved, efficient and accurate system drawing generation is achieved, and human errors are reduced.
Patent Information
- Application Number
- CN202510294394.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2025-03-13
- Publication Date
- 2025-07-29
- Estimated Expiration
- 2045-03-13
AI Technical Summary
In the prior art, the drawing process of the ventilation and air conditioning system diagram of subway stations is cumbersome and time-consuming, and the lack of automated drawing algorithms, resulting in low design efficiency and prone to human errors.
An automatic drawing method suitable for large system diagrams of ventilation and air conditioning of subway stations is adopted. By determining the type of subway station, equipment information is extracted, drawing scaling ratio is calculated, and connecting air ducts is checked using ideal paths to realize automatic drawing and information annotation between equipment.
The automatic drawing of the ventilation and air conditioning system diagram of the subway station is realized, which reduces the burden on designers, improves work efficiency, and generates standard and accurate system diagrams, avoiding errors caused by human factors.
Smart Images

Figure CN119808202B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of HVAC system diagram design for subway stations, and particularly to an automatic drawing method applicable to the ventilation and air conditioning large system diagram of subway stations. Background Art
[0002] In the field of urban rail transit, the subway ventilation and air conditioning system is an important part of operation, and its actual power consumption accounts for about 40 - 50% of the total power consumption of the subway. Generally, the air system of the ventilation and air conditioning system in a subway station mainly consists of two major parts: the ventilation and air conditioning air system for the concourse and platform public areas and the ventilation and air conditioning air system for the station equipment management rooms. In engineering practice, the former is usually abbreviated as the large system, and the latter is abbreviated as the small system.
[0003] The system diagram includes the axonometric drawing of the air conditioning air and water systems and the system schematic diagram. For some complex systems, the drawing method of the axonometric drawing is more complex than that of the schematic diagram. Therefore, usually, the system diagram is expressed in the form of the system schematic diagram. The system schematic diagram, also called the system flow chart, expresses the loops and processes of the system in a simple and clear manner, and also includes the model, size, and quantity elements of all equipment. Since its drawing method does not require the actual scale and does not require strict consistency with the actual situation in terms of spatial position (only requires the relative position to be generally consistent), the system schematic diagram is one of the most intuitive displays of the designer's design scheme and is an important part of the design drawings.
[0004] At present, most of the system diagrams of the subway-related ventilation and air conditioning air systems still need to be manually drawn by designers. This process is cumbersome and complex. Although it has a high degree of repeatability, the whole process is still time-consuming and laborious.
[0005] Therefore, there is an urgent need to introduce an automatic drawing algorithm at present, and use computer technology to provide design guidance and assistance for designers to realize the automatic drawing of the large system diagram of the subway station. Automatic drawing can not only reduce the burden on designers and improve work efficiency, but also generate standard and accurate system diagrams, effectively avoid errors caused by human factors, and ensure the safe and reliable operation of the system.
[0006] Different from the automatic drawing of general building system diagrams, the large system diagram of the subway station needs to represent functional areas such as the concourse, platform, control and smoke exhaust machine rooms in the form of rooms in the system diagram; and the concourse layer and the platform layer are often at different elevations. Therefore, when drawing the system diagram, it is necessary to represent functional areas at different elevations in the plane coordinate system; all these make the drawing of the subway station system diagram more complex and bring new challenges to the automatic drawing algorithm. Summary of the Invention
[0007] The purpose of the present invention is to provide an automatic drawing method applicable to the ventilation and air conditioning large system diagram of subway stations.
[0008] The technical solution adopted by the present invention is as follows:
[0009] An automatic drawing method applicable to the ventilation and air-conditioning large system diagram of a subway station, comprising the following steps:
[0010] S1. Determine the single-end or double-end type of the subway station. For a single-end subway station, create a DeviceTree instance for storage, and for a double-end subway station, create two DeviceTree instances with opposite directions for storage;
[0011] S2. Extract and store the system diagram information, that is, obtain the device information of the loop to which it belongs from the loop information, classify and sort the rooms in a pre-agreed order, and then store the extracted information in a class tree structure DeviceTree;
[0012] S3. Calculate the drawing scaling ratio, that is, based on the initial data of the control room and the public area, add a set safety factor and safety distance to determine the scaling factors in the x direction and the y direction respectively;
[0013] S4. Draw the system diagram and annotate the information, that is, traverse the device, air duct and room information obtained from the DeviceTree, connect the available ideal paths of the air ducts between the devices, and complete the drawing of the devices, air ducts and rooms in each loop in turn, and then annotate the device, air duct and room information to complete the ventilation and air-conditioning large system diagram.
[0014] Further, the specific method of step S1 is as follows:
[0015] S1-1. Determine the single-end or double-end type of the subway station according to the number of fresh air shafts, exhaust air shafts or control rooms.
[0016] S1-2. For a single-end subway station, create a DeviceTree instance for storage, while for a double-end subway station, create two DeviceTree instances with opposite directions for storage.
[0017] S1-3. For an AB double-end subway station, the coordinates of the root node of the B-end DeviceTree need to be re-declared according to the size of the A-end DeviceTree, leaving enough space to ensure that the drawing of the public area does not overlap, and avoiding excessive intervals that may cause the public area ratio to be unbalanced and result in waste of drawing space.
[0018] Further, the specific method of step S2 is as follows:
[0019] S2-1. Read the loop information according to the information and obtain the devices of the loop to which it belongs.
[0020] 1) Read the loop information to determine its type and the rooms it includes;
[0021] 2) Traverse the room to obtain all the devices in the room;
[0022] S2-2, Classify and sort according to the agreed room order.
[0023] 1) Redefine the size of each room according to the device information in the room and the floor where the room is located.
[0024] 2) Divide the room into two types: device area and public area.
[0025] 3) Sort the rooms in the device area in the agreed order.
[0026] S2-3, Store the read information in the class tree structure DeviceTree.
[0027] Furthermore, the specific method of step S3 is as follows:
[0028] S3-1, For a single-ended system, determine the scaling factor in the x direction according to the distance in the x direction between the control machine room and the public area, and add the set safety factor and safety distance.
[0029] S3-2, For a double-ended system, determine the scaling factor in the x direction according to the distance between the two control machine rooms and the distance between the two fresh air shafts or exhaust shafts, and add the set safety factor and safety distance.
[0030] S3-3, Determine the scaling factor in the y direction according to the number of floors and size of the public area, and add the set safety factor and safety distance.
[0031] Furthermore, the specific method of step S4 is as follows:
[0032] S4-1, Generate all devices, air ducts and rooms.
[0033] S4-1-1, Read the root node and traverse DeviceTree starting from the root node.
[0034] S4-1-2, Traverse the air duct list and match the inlet device and outlet device in sequence.
[0035] S4-1-3, For some devices and rooms, the size and coordinates need to be re-declared according to the situation of the superior device and the internal device.
[0036] S4-2. Connect the air ducts between devices in a wired manner. More specifically, considering the characteristics of the wiring problem in the subway station large system diagram: ① The connecting line does not start from the center of the room abstracted as a rectangle, but from a certain position of the rectangle; ② The sizes of the connected rectangles are different from each other and are obstacles to each other during the connection process; ③ The rectangle based on the connection point may become an obstacle to the generation of the connecting line reaching this connection point; ④ In principle, it is required that the connecting line be as short as possible, the intersections be as few as possible, and the component distribution be as uniform as possible. Therefore, the present invention adopts a method based on ideal path checking to sequentially connect the devices in each loop linked list.
[0037] S4-2-1. Parameter initialization, obtain the starting point of the connection , the ending point of the connection , and generate room-related devices in the direction;
[0038] S4-2-2. Determine the wiring range according to the initial parameters, that is, determine the wiring range based on the relative position relationship between the starting point and the ending point, the drawing space range, and the distribution information of the nearest obstacles, so as to plan several paths within the wiring range;
[0039] S4-2-3. Calculate the ideal path in the established order to obtain the connection instance ;
[0040] S4-2-4. Conduct a rationality check, the content of which includes that the connection cannot coincide with the existing connection and cannot pass through the obstacle area; if it passes, output, if it does not pass, calculate the alternative path in the established order;
[0041] S4-2-5. When the alternative path is empty, start point-by-point exploration, that is, move the starting point along the starting direction, turn towards the ending point according to a certain step size, and obtain the turning point ;
[0042] S4-2-6. Use as the new starting point , and return to S4-2-2 for cycling;
[0043] S4-2-7. When the cycle ends, output the connection instance .
[0044] S4-3. Draw each loop device, air duct and room in the agreed order, and the connection representing the instantiation of the air duct can complete the cross interruption in the specified direction (x / y).
[0045] S4-4. Mark the information of the room, device, air duct, etc.
[0046] With the above technical solutions, based on the particularity of the subway station system diagram, an automatic drawing process for the air-conditioning system diagram of the subway station based on conventional design is established through links such as extracting information from standardized inputs, setting circuits, allocating equipment, connecting air ducts, and information marking, which can realize the automatic drawing of the system diagram of the large system of the subway station.
[0047] Compared with the prior art, the beneficial effects of the present invention are as follows: In view of the time-consuming and laborious problem of manually drawing the system diagram of the large system of the subway ventilation and air conditioning, the present invention provides an automatic drawing method applicable to the system diagram of the large system of the subway ventilation and air conditioning, and uses computer technology to provide design guidance and assistance for designers to realize the automatic drawing of the large system of the subway station. BRIEF DESCRIPTION OF THE DRAWINGS
[0048] The following further describes the present invention in detail in conjunction with the drawings and specific embodiments;
[0049] Figure 1 It is a schematic flow chart of an automatic drawing method applicable to the large system of the subway ventilation and air conditioning;
[0050] Figure 2 It is the information that equipment, rooms, loops and air ducts need to contain;
[0051] Figure 3 It is a schematic diagram of the basic structure of the class tree structure DeviceTree;
[0052] Figure 4 It is a schematic diagram of the process of traversing DeviceTree for drawing and marking;
[0053] Figure 5 It is a schematic flow chart of the line exploration algorithm based on the ideal path check;
[0054] Figure 6 It is a schematic diagram of path planning when the connection directions of the starting point and the ending point are not parallel, the ending point is on the positive side of the starting point, and the extension lines of the connection directions of the starting point and the ending point have intersections;
[0055] Figure 7 It is a schematic diagram of path planning when the connection directions of the starting point and the ending point are not parallel, the ending point is in the positive direction of the starting point, and the reverse extension line of the connection direction of the ending point and the starting point has an intersection;
[0056] Figure 8 It is a schematic diagram of path planning when the connection directions of the starting point and the ending point are not parallel and the ending point is on the negative side of the starting point;
[0057] Figure 9 It is a schematic diagram of path planning when the ending point is on the positive side of the starting point and in the same direction;
[0058] Figure 10A path planning schematic diagram with the end point on the positive direction side of the starting point and in the reverse direction;
[0059] Figure 11 A path planning schematic diagram with the end point on the opposite direction side of the starting point and in the same direction;
[0060] Figure 12 A path planning schematic diagram with the end point on the opposite direction side of the starting point and in the reverse direction;
[0061] Figure 13 The automatically drawn result in the embodiment; Detailed implementation manners
[0062] To make the objectives, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present application.
[0063] As Figures 1 to 7 shown in one of them, the present invention discloses an automatic drawing method applicable to the ventilation and air-conditioning large system diagram of a subway station, including the following steps:
[0064] S1. Determine the type of the subway station. It should be noted that, in this embodiment, the specific method of step S1 is:
[0065] S1-1. Determine the single-end or double-end type of the subway station according to the number of fresh air shafts, exhaust air shafts or control machine rooms.
[0066] Specifically, the ventilation and air-conditioning large system of a subway station generally refers to the ventilation and air-conditioning system serving the public areas of the concourse level and the platform level. When the equipment of the large system, such as air handling units, return and exhaust fans, etc., are centrally arranged in the air-conditioning control machine room at one end of the station, it is referred to as the large system single-end air supply system for short. The large system double-end air supply system is that the large system equipment is arranged in the ventilation and air-conditioning control machine rooms at both ends of the station and serves the public area together.
[0067] S1-2. A single-end subway station will create a DeviceTree instance for storage, while a double-end subway station will create two DeviceTree instances in opposite directions for storage.
[0068] S1-3. For an AB double-end subway station, the coordinates of the root node of the B-end DeviceTree need to be re-declared according to the size of the A-end DeviceTree, leaving enough space to ensure that the drawing of the public area will not overlap, and avoiding too large an interval resulting in an unbalanced ratio of the public area and wasting the drawing space.
[0069] S2. Extract and store the information related to the system diagram. It should be noted that, in this embodiment, the specific method of step S2 is:
[0070] S2-1. Read the loop information and obtain the devices belonging to the loop.
[0071] 1) Read the loop information to determine its type and the rooms it includes;
[0072] 2) Traverse the rooms to obtain all the devices in the rooms;
[0073] S2-2. Classify and sort according to the agreed room order.
[0074] 1) Redefine the size of each room according to the device information in the room and the floor where the room is located.
[0075] 2) Divide the rooms into two types: device area and public area.
[0076] 3) Sort the rooms in the device area according to the agreed order.
[0077] S2-3. Store the read information in the class tree structure DeviceTree.
[0078] 1) Read the device with device.type being well as the root of DeviceTree to create an instance of the class.
[0079] 2) The nodes in DeviceTree represent devices, and the connection relationships between the nodes represent the air ducts connecting the devices.
[0080] 3) Create the air ducts at the lower level of the node and the nodes at the lower level of the air duct through node.extend, and they will be stored in node.child.
[0081] 4) Implement the breadth-first traversal of the class tree structure through DeviceTree.plant. Among them, device.type being Mix_room / Pressure_room has multiple upper-level nodes in terms of physical meaning. To avoid repeated extension, create an additional list_many_front to store a dict in a predefined format to indicate the status of the read multi-predecessor nodes.
[0082] S3. Calculate the drawing scaling ratio. It should be noted that in this embodiment, the specific method of step S3 is as follows:
[0083] S3-1. For a single-end system, determine the scaling factor in the x direction according to the distance in the x direction between the control machine room and the public area, and add the set safety factor and safety distance.
[0084] S3-2. For a double-end system, determine the scaling factor in the x direction according to the distance between the two control machine rooms and the distance between the two fresh air shafts or exhaust air shafts, and add the set safety factor and safety distance.
[0085] S3-3. Determine the scaling factor in the y direction based on the number of floors and size of the common area, and additionally set safety factors and safety distances.
[0086] S4. System diagram drawing and information annotation. It should be noted that in this embodiment, the specific method of step S4 is as follows:
[0087] S4-1. Generate all devices, air ducts, and rooms.
[0088] 1) Create a multi-level queue with a front-in and rear-out structure. Physically, the levels of the queue represent the levels of the system diagram. During the drawing process, draw the previous level first and then the next level, that is, after all nodes in the previous level are dequeued, the next level starts to dequeue.
[0089] 2) Enqueue the root node.
[0090] 3) Perform one dequeue operation. The dequeued node is drawn and information is annotated, and the coordinates are recorded.
[0091] 4) Call node.extend to extend the dequeued node and read node.child.
[0092] 5) Re-declare the coordinates according to the relationship between the device type in node.child and the position of the predecessor node.
[0093] 6) Enqueue the subordinate nodes stored in node.child['device'] at the corresponding levels. For multiple-predecessor nodes, further read the information in list_many_front to re-declare the coordinates and sizes; return to 3).
[0094] 7) End the loop when the queue is empty.
[0095] 8) Traverse the air duct list and match the inlet devices and outlet devices in sequence.
[0096] 9) For some devices and rooms, re-declare the sizes and coordinates according to the upper-level devices and internal device conditions.
[0097] S4-2. Connect the air ducts between devices in a wired manner. More specifically, considering the following characteristics of the connection lines in the large system diagram of the subway station: ① The connection lines do not start from the center of the room abstracted as a rectangle, but from a certain position of the rectangle; ② The sizes of the connected rectangles are different from each other and are obstacles to each other during the connection process; ③ The rectangle based on the connection point may become an obstacle to the generation of the connection line reaching this connection point; ④ In principle, it is required that the connection lines be as short as possible, the intersections be as few as possible, and the component distribution be as uniform as possible. Therefore, the present invention adopts a method based on ideal path checking to sequentially connect the devices in each loop linked list.
[0098] 1) Parameter initialization, obtaining the starting point of the connection , the ending point of the connection , and generating room-related devices according to the direction;
[0099] 2) Determine the wiring range according to the initial parameters, that is, determine the wiring range based on the relative position relationship between the starting point and the ending point, the drawing space range, and the distribution information of the nearest obstacles, so as to plan several paths within the wiring range;
[0100] 3) Calculate the ideal path in a given order to obtain the connection instance ;
[0101] 4) Conduct a rationality check, the content of which includes that the connection cannot coincide with the existing connection and cannot pass through the obstacle area; if it passes, output it, if it does not pass, calculate the alternative path in a given order;
[0102] 5) When the alternative path is empty, start point-by-point exploration, that is, move the starting point along the starting direction, turn towards the ending point according to a certain step size, and obtain the turning point ;
[0103] Specifically, when all the ideal paths are unreasonable, that is, when the alternative path is empty, move the starting point according to a certain step size, and turn the direction towards the ending point once after the movement ends to obtain the turning point.
[0104] 6) Use as the new starting point , and return to (2) for loop;
[0105] 7) When the loop ends, output the connection instance .
[0106] Specifically, based on the characteristics of the system diagram connection described above, all connection situations can be classified into 7 ideal situations. The path generation principle is shown in a graphical way for each situation. Among them, the path labels 1, 2, 3, 4, 5 only represent the priority order of path generation. For example Figure 6 In the situation represented, always consider path 1 first. If path 1 is unreasonable, then consider the subsequent paths, and there is a certain distance step between 1 and 2.
[0107] It should be noted that in this embodiment, as Figures 6 to 12As shown in the figure, point A in the figure represents the starting point of the connection line, point B represents the ending point of the connection line, and point C represents: when the connection line reaches the ending point, it always reaches along the opposite direction of the ending point direction. If during path planning, the connection line does not reach along the opposite direction of the ending point direction, that is, when it reaches along the direction orthogonal to the ending point direction, this section of the connection line before the ending point will overlap with the boundary of the ending point obstacle rectangle, so it is necessarily unreasonable; to simplify the constraints during the connection line process, the ending point is moved a certain number of steps in advance along the ending point direction before the connection line starts, and the moved ending point is C. At this time, as long as the connection line reaches C and then connects BC, the connection can be completed, and no extra turning points will be generated (if during path planning, the connection line reaches along the opposite direction of the ending point direction, then no turning points will be added at this time; if it reaches along the direction orthogonal to the ending point direction, since the path is unreasonable at this time and a turn is required, the added C as a turning point in advance is not redundant). At this time, there is no need to consider the constraints of the ending point direction, and the connection line process is simplified. Then, the following principles are followed during the ideal path planning calculation:
[0108] When the connection direction between the starting point and the ending point is not parallel, there are the following three situations:
[0109] (1) The ending point is on the positive direction side of the starting point, and the extension line of the ending point connection direction and the starting point direction have an intersection point. The wiring range is taken as the rectangular space with AC as the diagonal endpoints. And in this ideal situation, the preferred path is ①, and the alternative paths ②③④⑤⑥ are explored and checked point by point with a fixed step length in the order of first on the same side of the starting point and then on the opposite side of the starting point. It should be noted that 123456 is the path order specified in each situation, and it does not mean there are only 6 paths. The same side of the starting point refers to the side in the starting point direction of the starting point, and the opposite side of the starting point refers to the reverse side of the starting point direction of the starting point.
[0110] (2) The ending point is on the positive direction side of the starting point, and the reverse extension line of the ending point connection direction and the starting point direction have an intersection point. The wiring range is taken as: on the starting point direction, with the projection of AC as the side length, and on the ending point direction, the largest rectangular space restricted by the drawing space and the nearest obstacle. At this time, in the ideal situation, the preferred path is ①, and the alternative paths ②③④⑤ are still checked point by point in the order of first on the same side of the starting point and then on the opposite side of the starting point.
[0111] (3) The ending point is on the opposite direction side of the starting point. The wiring range is taken as: on the ending point direction, with the projection of AC as the side length, and on the starting point direction, the largest rectangular space restricted by the drawing space and the nearest obstacle. At this time, in the ideal path, the preferred path is ①, and the alternative paths ②③④⑤ are still checked point by point in the order of first on the same side of the starting point and then on the opposite side of the starting point.
[0112] When the connection direction between the starting point and the ending point is parallel, there are the following four situations:
[0113] (1) The end point is on the positive direction side of the starting point and in the same direction: At this time, the wiring range is taken as: a rectangle with the projection of AC as the side length in the direction orthogonal to the starting point, and the maximum rectangular space restricted by the drawing space and the nearest obstacle in the starting point direction. In the ideal case, the preferred path is ①, and the alternative paths ②③④⑤⑥ are checked point by point with a fixed step length starting from the proximal end.
[0114] (2) The end point is on the positive direction side of the starting point and in the reverse direction: At this time, the wiring range is taken as a rectangular space with AC as the diagonal endpoints. In the ideal case, the preferred path is ①, and the alternative paths ②③④⑤⑥ are checked point by point with a fixed step length starting from the distal end.
[0115] (3) The end point is on the opposite direction side of the starting point and in the same direction: At this time, the wiring range is taken as: a rectangle with the projection of AC as the side length in the direction orthogonal to the end point, and the maximum rectangular space restricted by the drawing space and the nearest obstacle in the starting point direction. In the ideal case, the preferred path is ①, and the alternative paths ②③④⑤⑥ are checked point by point with a fixed step length starting from the proximal end.
[0116] (4) The end point is on the opposite direction side of the starting point and in the reverse direction: A rectangle with the projection of AC as the side length in the direction orthogonal to the end point, and the maximum rectangular space restricted by the drawing space and the nearest obstacle in the starting point direction. In the ideal case, the preferred path is ①, and the alternative paths ②③④⑤⑥ are checked point by point with a fixed step length starting from the proximal end.
[0117] S4-3. Draw each loop device, air duct, and room in sequence according to the agreed order. Among them, the connection line representing the instantiation of the air duct can complete the cross-break in the specified direction (x / y).
[0118] S4-4. Mark the information of the room, equipment, air duct, etc. In this embodiment, the result of automatic drawing is shown in Figure 13 .
[0119] The present invention adopts the above technical solutions. Based on the particularity of the subway station system diagram, through extracting information from the standardized input, setting loops, allocating equipment, connecting air ducts, information marking and other links, an automatic drawing process of the subway station air conditioning system diagram based on conventional design is established, and the automatic drawing of the subway station large system diagram can be realized.
[0120] Compared with the prior art, the beneficial effects of the present invention are as follows: Aiming at the problem that it takes a lot of time and effort to manually draw the subway ventilation and air conditioning large system diagram, the present invention provides an automatic drawing method applicable to the subway ventilation and air conditioning large system diagram, using computer technology to provide design guidance and assistance for designers, and realizing the automatic drawing of the subway station large system.
[0121] Obviously, the described embodiments are some but not all of the embodiments of the present application. Without conflict, the embodiments in the present application and the features in the embodiments can be combined with each other. Usually, the components of the embodiments of the present application described and illustrated in the accompanying drawings here can be arranged and designed in various different configurations. Therefore, the detailed description of the embodiments of the present application is not intended to limit the scope of the present application claimed, but merely represents the selected embodiments of the present application. All other embodiments obtained by those of ordinary skill in the art based on the embodiments in the present application without creative efforts shall fall within the scope of protection of the present application.
Claims
1. An automatic drawing generation method applicable to the ventilation and air conditioning large system diagram of a subway station, characterized in that: It includes the following steps: S1. Determine the single - end or double - end type of the subway station according to the number of fresh air shafts, exhaust air shafts or control rooms and whether they are concentrated at one end of the subway station. Create a DeviceTree instance for a single - end subway station and create two DeviceTree instances with opposite directions for storage for a double - end subway station; S2. Obtain the device information of the loop to which it belongs from the loop information, classify and sort the rooms in a predefined order, and then store the extracted information in the DeviceTree. In S2, the nodes in the DeviceTree represent devices, and the connection relationship between the nodes represents the air ducts connecting the devices; create the air ducts subordinate to the nodes and the nodes subordinate to the air ducts, and store them in node.child; S3. Based on the initial data of the control room and the public area, and by adding the set safety factor and safety distance, determine the scaling factors in the x - direction and y - direction respectively; the initial data includes the distance in the x - direction between the control room and the public area in a single - end system, the distance between the two control rooms and the distance between the two fresh air shafts or two exhaust air shafts in a double - end system, as well as the number of floors and dimensions of the public area; S4. Traverse the DeviceTree to obtain device, air duct and room information, connect the air ducts between devices in a wired manner, and complete the drawing of the devices, air ducts and rooms in each loop in sequence, and then label the device, air duct and room information to complete the large - scale ventilation and air - conditioning system diagram. In S4, 1) create a multi - level queue. Physically, the levels of the queue represent the levels of the system diagram. During the drawing process, after all the nodes in the previous level are dequeued, the nodes in the next level start to be dequeued; 2) enqueue the root node; 3) perform one dequeue operation. The dequeued node is drawn and the information is labeled, and the coordinates are recorded; 4) extend the dequeued node and read node.child; 5) re - declare the coordinates according to the relationship between the device type in node.child and the position of the predecessor node; 6) enqueue the subordinate nodes stored at the corresponding level. For multi - predecessor nodes, re - declare the coordinates and dimensions; return to 3); 7) end the loop when the queue is empty; 8) traverse the air duct list and match the inlet devices and outlet devices in sequence.
2. The automatic drawing method for the large system diagram of the ventilation and air conditioning system in a subway station according to claim 1, characterized in that: The specific method of step S2 is as follows: S2 - 1. Read the loop information and obtain the devices of the loop to which it belongs; 1) Read the loop information to determine its type and the rooms it includes; 2) Traverse the rooms to obtain all the devices in the rooms; S2 - 2. Classify and sort them in the predefined room order; 1) Re - declare the dimensions of each room according to the device information in the room and the floor where the room is located; 2) Divide the rooms into two types: equipment area and public area; 3) Sort the rooms in the equipment area in the predefined order; S2 - 3. Store the read - in information in the DeviceTree.
3. The automatic drawing method for the large system diagram of the ventilation and air conditioning system in the subway station according to claim 1, wherein: The specific method of step S3 is as follows: S3 - 1. For a single - end system, determine the scaling factor in the x - direction according to the distance in the x - direction between the control room and the public area, and by adding the set safety factor and safety distance; S3-2. For a double-ended system, determine the scaling factor in the x-direction based on the distance between the two control rooms, as well as the distance between two fresh air shafts or two exhaust air shafts, and add the set safety factor and safety distance. S3-3. Determine the scaling factor in the y-direction based on the number of floors and dimensions of the public area, and add the set safety factor and safety distance.
Citation Information
Patent Citations
Metro station three-dimensional model automatic generation method
CN108335356A