Method and device for creating three-dimensional water resource pipeline network
Patent Information
- Application Number
- KR1020250024980
- Authority / Receiving Office
- KR · KR
- Patent Type
- Applications
- Current Assignee / Owner
- Filing Date
- 2025-02-26
- Publication Date
- 2026-09-02
Smart Images

Figure PAT00004_ABST
Abstract
Description
Technology Field
[0001] The present invention relates to a method and apparatus for generating a three-dimensional water resource network, and in particular, to a method and apparatus for generating a three-dimensional water resource network that visualizes and manages the water resource network in three dimensions. Background Technology
[0002] Water resources are essential for the survival and prosperity of humankind, and the importance of water resource network systems for efficiently managing and supplying them is increasing day by day. Water resource network systems consist of various pipe networks, such as water supply pipes, transmission pipes, and drainage pipes, and Geographic Information Systems (GIS) are widely used to effectively manage these networks.
[0003] GIS is a system capable of collecting, storing, analyzing, and managing geographical information, and can manage location information of water resource networks and pipe diameters as two-dimensional data. Currently, most water resource management systems manage networks based on this two-dimensional GIS data, but this has limitations in that it is difficult to intuitively grasp the complex network structure existing in actual three-dimensional space.
[0004] In particular, in urban areas, numerous underground pipes intersect or overlap, making it difficult to accurately understand the actual layout of the pipes using only two-dimensional drawings. Consequently, significant time and effort are required to locate pipes or plan repair work during maintenance. Furthermore, there are limitations in predicting changes in water flow caused by valve operation or the extent of water cutoff in specific sections.
[0005] Attempts have been made to introduce 3D visualization technology to address these problems, but existing approaches have the following limitations:
[0006] First, it merely converted 2D GIS data into 3D, failing to realistically reflect physical interference or intersection relationships between actual pipes.
[0007] Second, due to inadequate treatment of the connections between pipes, there was a problem where the points where pipes of different diameters met appeared unnatural or failed to accurately reflect the actual connection state.
[0008] Third, it was difficult to intuitively grasp the operation status of the water network because changes in water flow or pressure based on the valve's open / closed state could not be visualized in real time.
[0009] Fourth, it was difficult to accurately predict the range of impact caused by water cutoff or pressure drop in specific sections because the actual distance water reaches based on water pressure could not be calculated and reflected.
[0010] Due to the limitations of existing technologies, 3D visualization and management systems for water resource networks have been utilized only in a limited capacity in practice. Therefore, there is a need to develop new technologies that can accurately reflect the physical characteristics of actual networks and realistically simulate water flow. Prior art literature
[0011] Korean Registered Patent No. 10-0072043 The problem to be solved
[0012] One objective of the present invention is to provide a method and apparatus for generating a three-dimensional water resource network that reflects the physical characteristics of an actual network using two-dimensional GIS data, so that the operational status of the water resource network can be intuitively understood and efficiently managed. means of solving the problem
[0013] To achieve the above objective, the present invention is characterized in that it comprises a method for generating a three-dimensional water resource network using two-dimensional GIS (Geographic Information System) data, the method comprising: receiving GIS data including pipe object information regarding at least one of a pipe ID, two-dimensional coordinates, and diameter; generating a three-dimensional pipe object based on the pipe object information; extracting the coordinates of a node located inside the three-dimensional pipe object and storing the coordinates of a node located at both ends of the three-dimensional pipe object among the extracted nodes as candidate coordinates for a connection location; and connecting the plurality of three-dimensional pipe objects if there are a plurality of three-dimensional pipe objects within a preset range based on the candidate coordinates for the connection location.
[0014] Preferably, the step of generating the three-dimensional pipe object may determine that the generated three-dimensional pipe object passes through the other three-dimensional pipe object if a straight line connecting any two nodes of the generated three-dimensional pipe object penetrates the other three-dimensional pipe object.
[0015] Preferably, the step of creating the three-dimensional pipe object may be modified so that when the created three-dimensional pipe object passes through another three-dimensional pipe object, the created three-dimensional pipe object bypasses the other three-dimensional pipe object.
[0016] Preferably, the step of connecting the plurality of three-dimensional pipe objects may include: detecting a three-dimensional pipe object existing within a preset range based on the coordinates of the connection part location candidates; if there are multiple detected three-dimensional pipe objects, creating a three-dimensional connection part object for connecting the plurality of pipe objects to each of the plurality of pipe objects; and combining the three-dimensional connection part object created to each of the plurality of pipe objects.
[0017] Preferably, the step of generating the three-dimensional connection object may involve extracting the node closest to the connection position candidate coordinates among the nodes of the detected three-dimensional pipe object, extracting a three-dimensional rotation angle such that the reference direction set at the connection position candidate coordinates faces the closest node, generating a circle centered at the connection position candidate coordinates and with the reference direction as the axis of symmetry, wherein the diameter of the circle matches the diameter of the detected three-dimensional pipe object, extending the circle by a certain length in the reference direction to generate a cylinder, and rotating the generated cylinder by the three-dimensional rotation angle.
[0018] Preferably, the GIS data further includes valve object information including valve location information, and the method may further include a valve tree forming step of extracting a first valve, which is a higher valve based on the direction of water supply, from a three-dimensional pipe object created based on the valve object information, determining whether there is a second valve in a three-dimensional pipe object connected to the first valve, and if there is a second valve, performing information exchange between the first valve object and the second valve object.
[0019] Preferably, the method may further include the step of dividing the area of the 3D pipe object based on the valve located in the generated 3D pipe object.
[0020] Preferably, the method may further include a step of visualizing real-time water flow based on at least one of the status of the valve of the generated 3D pipe object, the separated zone, the presence or absence of another 3D pipe object connected to the connection, and whether or not water is discharged.
[0021] In addition, the present invention is further characterized by comprising: a device for generating a three-dimensional water resource network using two-dimensional GIS (Geographic Information System) data, wherein the device includes: a receiving unit that receives GIS data containing pipe object information regarding at least one of a pipe ID, two-dimensional coordinates, and diameter; a pipe generating unit that generates a three-dimensional pipe object based on the pipe object information; a connection location determining unit that extracts the coordinates of a node located inside the three-dimensional pipe object and stores the coordinates of a node located at both ends of the three-dimensional pipe object among the extracted nodes as connection location candidate coordinates; and a pipe connecting unit that connects the plurality of three-dimensional pipe objects if the plurality of three-dimensional pipe objects exist within a preset range based on the connection location candidate coordinates. Effects of the invention
[0022] The present invention has the advantage of allowing for an intuitive understanding of the complex water resource network structure by converting 2D GIS data into 3D and realistically representing the water resource network.
[0023] In addition, the present invention has the advantage of accurately reproducing the structure of an actual pipe network by automatically handling physical interference between pipes and naturally implementing the connections.
[0024] In addition, the present invention has the advantage of being able to effectively monitor the operating status of the pipe network and the flow of water by visualizing the interaction between the valve and the pipe.
[0025] In addition, the present invention has the advantage of improving the efficiency and reliability of facility management by providing information necessary for the maintenance and management of water resource networks in three dimensions. Brief explanation of the drawing
[0026] Figure 1 shows a flowchart of a method for generating a three-dimensional water resource network according to an embodiment of the present invention. FIG. 2 shows a unit pipe object and a bounding box according to an embodiment of the present invention. FIG. 3 shows a flowchart of a process of bypassing another three-dimensional pipe object that has passed through, according to an embodiment of the present invention. FIG. 4 shows an example of bypassing another three-dimensional pipe object that has passed through, according to an embodiment of the present invention. FIG. 5 shows a flowchart of the step of connecting three-dimensional pipe objects according to an embodiment of the present invention. FIG. 6 shows a flowchart of the operation performed in the step of creating a 3D connection object when there are two nodes of a connected 3D pipe according to an embodiment of the present invention. FIG. 7 shows a flowchart of operations performed in the step of creating a three-dimensional connection object when there are three or more nodes of a connected three-dimensional pipe according to an embodiment of the present invention. FIG. 8 shows an example of dividing the regions of a three-dimensional pipe object according to an embodiment of the present invention. FIG. 9 shows a configuration diagram of a device for generating a three-dimensional water resource network according to an embodiment of the present invention. Specific details for implementing the invention
[0027] The present invention will be described in detail below with reference to the contents described in the attached drawings. However, the present invention is not limited or restricted by exemplary embodiments. Identical reference numerals in each drawing indicate components that perform substantially the same function.
[0028] The purpose and effects of the present invention may be naturally understood or become clearer through the following description, and the purpose and effects of the present invention are not limited solely to the description below. Furthermore, in describing the present invention, if it is determined that a detailed description of known technology related to the present invention may unnecessarily obscure the essence of the present invention, such detailed description will be omitted.
[0029] The terms used in this invention are used merely to describe specific embodiments and are not intended to limit the invention. The singular expression includes the plural expression unless the context clearly indicates otherwise. In this application, terms such as "comprising" or "having" are intended to specify the presence of the features, numbers, steps, actions, components, parts, or combinations thereof described in the description of the invention, and should be understood as not precluding the existence or addition of one or more other features, numbers, steps, actions, components, parts, or combinations thereof.
[0030] Terms such as "first," "second," etc., may be used to describe various components, but said components should not be limited by said terms. These terms are used solely for the purpose of distinguishing one component from another. For example, without departing from the scope of the present invention, the first component may be named the second component, and similarly, the second component may be named the first component.
[0031] Unless otherwise defined, all terms used herein, including technical or scientific terms, have the same meaning as generally understood by those skilled in the art to which this invention pertains. Terms such as those defined in commonly used dictionaries should be interpreted as having a meaning consistent with their meaning in the context of the relevant technology, and should not be interpreted in an ideal or overly formal sense unless explicitly defined in this invention.
[0032] In interpreting the components, they are interpreted to include a margin of error even without a separate explicit indication. In the case of descriptions regarding temporal relationships, for example, where the temporal sequence is described using 'after,' 'following,' 'next,' 'before,' etc., cases that are not continuous are included unless 'immediately' or 'directly' is used.
[0033] Hereinafter, the technical configuration of the present invention will be described in detail with reference to the attached drawings.
[0034] FIG. 1 shows a flowchart of a method for generating a three-dimensional water resource network according to an embodiment of the present invention. Referring to FIG. 1, the method for generating a three-dimensional water resource network may include the steps of receiving GIS (Geographic Information System) data (S100), generating a three-dimensional pipe object (S200), storing candidate coordinates for connection locations (S300), connecting three-dimensional pipe objects (S400), forming a valve tree (S500), dividing areas of three-dimensional pipe objects (S600), and visualizing real-time water flow (S700). The method for generating a three-dimensional water resource network may generate a three-dimensional water resource network using two-dimensional GIS data.
[0035] A method for generating a 3D water resource network utilizes Unreal Engine to implement a real-world pipe network in 3D using GIS-based data, and by creating it beneath a 3D city environment generated based on GIS, it supports a more intuitive understanding of the actual locations of the pipes. Additionally, the method for generating a 3D water resource network can simulate water flow and closed states through the interaction between valves and pipes, and in cases where it is difficult to determine the direction of flow due to a full pipe, the direction of flow can be intuitively indicated by arrows through interaction with the pipes.
[0036] In particular, since the diameters of pipes may differ when connections between pipes are attached, a natural finish is required. Therefore, the method for generating a 3D water resource network can simulate and visualize the structure of a realistic pipe network by automatically generating connections based on the diameter data of the attached pipes. Through this, the method for generating a 3D water resource network enables realistic network management and analysis, and creates an environment where the operating status of the pipe network can be understood and represented more efficiently.
[0037] A method for generating a three-dimensional water resource network can be performed by a computing device. Specifically, a method for generating a three-dimensional water resource network can be performed by a processor.
[0038] The step of receiving GIS data (S100) may receive GIS data including pipe object information regarding at least one of the pipe ID, 2D coordinates, and diameter. Here, the 2D coordinates of the pipe may refer to the coordinates of the pipe node. Thus, there may be multiple 2D coordinates corresponding to a single pipe ID. The GIS data may further include valve object information regarding valve location information.
[0039] The step of receiving GIS data (S100) may receive additional valve opening / closing commands, and the step of visualizing real-time water flow (S700) may visualize the water flow in real-time by reflecting the valve opening / closing commands in real-time.
[0040] Generally, since GIS data is meter (m) based, in order to apply the present invention to the Unreal Engine, the step of receiving GIS data (S100) can change the GIS data to centimeter (cm) units.
[0041] The step of creating a three-dimensional pipe object (S200) can create a three-dimensional pipe object based on pipe object information. The step of creating a three-dimensional pipe object (S200) can create a three-dimensional pipe object based on a unit pipe object, specifically, a three-dimensional pipe object that reflects the actual pipe diameter can be created by scaling the diameter of the unit pipe object, and a three-dimensional pipe object that reflects the actual pipe length can be created by connecting one or more unit pipe objects.
[0042] FIG. 2 shows a unit pipe object and a bounding box according to an embodiment of the present invention. Referring to FIG. 2, in the step (S200) of creating a three-dimensional pipe object, the unit pipe object refers to a cylindrical pipe created in the X-axis direction, and the three-dimensional pipe object can be created by scaling this unit pipe object to the diameter of the actual pipe.
[0043] Specifically, the minimum coordinate (Vmin) of the bounding box of the unit pipe object is (x1, y1, z1) and the maximum coordinate (Vmax) is (x2, y2, z2). In this case, the diameter of the unit pipe object is equal to the length in the y-axis or z-axis direction of the bounding box, which can be expressed as y2-y1 or z2-z1.
[0044] The step of creating a 3D pipe object (S200) can obtain a scale value per 1 cm by dividing 1 by the diameter of the unit pipe object, and obtain the diameter of the 3D pipe object by multiplying the actual pipe diameter received from the GIS data by the scale value per 1 cm. For example, if the diameter of the unit pipe object is 100, the scale value per 1 cm becomes 1 / 100. At this time, if the actual pipe diameter received from the GIS data is 50 cm, the scale value of the pipe becomes 50 * (1 / 100) = 0.5, and a 3D pipe object can be created by applying 0.5 times scaling to the unit pipe object.
[0045] The step of creating a 3D pipe object (S200) can identify a single pipe based on the received pipe object information. In one embodiment, one or more 2D coordinates having the same pipe ID can be grouped together to identify a single pipe. For example, when given (ID, x-coordinate, y-coordinate), (1, 3, 2), (1, 5, -2), and (1, -1, 3) can be identified as a single pipe, and in this case, it can be seen that the identified pipe has 3 nodes.
[0046] The step of creating a 3D pipe object (S200) can obtain the length of the 3D pipe object by connecting multiple node coordinates specified as a single pipe. Note that, assuming there are nodes 1 through 4, the distance between the two end nodes, Node 1 and Node 4, may not be the length of the 3D pipe object. Since the 3D pipe object may not be in a straight line shape but in a bent shape, the length of the pipe object becomes (distance between Node 1 and Node 2 + distance between Node 2 and Node 3 + distance between Node 3 and Node 4).
[0047] The step of creating a three-dimensional pipe object (S200) can create a three-dimensional pipe object by connecting unit pipe objects. For example, a unit pipe object with Node 1 and Node 2 as end nodes, a unit pipe object with Node 2 and Node 3 as end nodes, and a unit pipe object with Node 3 and Node 4 as end nodes can be connected to create a single three-dimensional pipe object.
[0048] The step of creating a 3D pipe object (S200) may connect one or more unit pipe objects to match the length of the determined 3D pipe object. The reason for connecting one or more unit pipe objects rather than scaling a single unit pipe object is that if the length is increased or decreased by scaling the unit pipe object, the texture of the 3D pipe object may shrink and become unnatural. In one embodiment, if the length between nodes is shorter than the length of the unit pipe object, the unit pipe object may be cut and used, and if the length between nodes is longer than the length of the unit pipe object, the unit pipe object may be stretched and used. Multiple unit pipes may be integrated into a single organic structure in a manner similar to the 3D connection object joining step (S430).
[0049] The step of creating a three-dimensional pipe object (S200) can determine that the created three-dimensional pipe object passes through another three-dimensional pipe object if a straight line connecting any two nodes of the created three-dimensional pipe object penetrates another three-dimensional pipe object.
[0050] The step of creating a 3D pipe object (S200) can be modified so that if the created 3D pipe object passes through another 3D pipe object, the created 3D pipe object bypasses the other 3D pipe object.
[0051] FIG. 3 shows a flowchart of a process of bypassing another 3D pipe object that has passed through according to an embodiment of the present invention, and FIG. 4 shows an example of bypassing another 3D pipe object that has passed through according to an embodiment of the present invention. Referring to FIG. 3 and FIG. 4, the process of modifying a created 3D pipe object to bypass another 3D pipe object can be specifically examined. The step of creating a 3D pipe object (S200) can determine whether the created 3D pipe object (P1) penetrates another 3D pipe object by identifying the relative positional relationship between the created 3D pipe object (P1) and another 3D pipe object. The step of creating a 3D pipe object (S200) can terminate without modification if it does not penetrate, and can perform a process of creating a bypass path if it penetrates.
[0052] The step of creating a 3D pipe object (S200) can create a bypass path by first calculating the sum of the radius of the created 3D pipe object and the first user-specified distance value (D1) and removing nodes within this range. Next, the step of creating a 3D pipe object (S200) can create new nodes (N1, N2) at both ends of the range based on the sum of the radius of the created 3D pipe object and the first user-specified distance value (D1). Subsequently, the step of creating a 3D pipe object (S200) can create nodes (N3, N4) by maintaining the X and Y coordinate values of N1 and N2 while newly calculating the Z coordinate value. The Z coordinate value can be determined by applying the sum of the radius of the created 3D pipe object, the radius of the penetrated pipe, and the second user-specified distance value (D2) in a negative or positive direction. Finally, the step of creating a three-dimensional pipe object (S200) can create a new three-dimensional pipe object (P2) including a bypass path by sequentially connecting nodes N1, N2, N3, and N4.
[0053] The step of creating a 3D pipe object (S200) can effectively resolve interference between pipes in 3D space and enable realistic pipe placement through this bypass method.
[0054] The step of storing candidate coordinates for connection location (S300) may extract the coordinates of a node located inside a 3D pipe object and store the coordinates of the nodes located at both ends of the 3D pipe object among the extracted nodes as candidate coordinates for connection location. The step of storing candidate coordinates for connection location (S300) may determine a connectable location by utilizing the structural features of the 3D pipe object to effectively identify and manage connection points between pipes.
[0055] Specifically, in the step of storing candidate coordinates for connection location (S300), since the 3D pipe object is composed of multiple nodes, the coordinates of the nodes located inside the 3D pipe object can be extracted first. This process is intended to select the nodes that can actually be connected among all the nodes constituting the shape of the pipe. In the step of storing candidate coordinates for connection location (S300), among the extracted nodes, the nodes located at both ends of the 3D pipe object can be identified, and their coordinates can be stored as candidate coordinates for connection location (PCLA: Pipe Connection Location Array). For example, given a single 3D pipe object, the 3D coordinate values (x, y, z) of the nodes corresponding to the start and end points of the pipe object can be extracted and stored as candidate coordinates for connection location.
[0056] The stored candidate coordinates for connection locations can be used as reference coordinates during the subsequent process of establishing connection relationships between pipes or creating connections. For example, when multiple pipes meet at a specific location, the precise location and shape of the connection can be determined by referencing the candidate coordinates for each pipe. Furthermore, these coordinates can be utilized to assess the feasibility of connecting pipes or to design an optimal connection structure.
[0057] The step of storing candidate coordinates for connection locations (S300) enables systematic management of connection locations in a complex pipe network and allows for efficient configuration of the overall pipe network structure. In particular, the step of storing candidate coordinates for connection locations (S300) allows for the appropriate creation of connections based on the candidate coordinates even when the diameter or shape of the pipes varies, thereby enabling the implementation of a realistic pipe network.
[0058] The step of connecting three-dimensional pipe objects (S400) can connect multiple three-dimensional pipe objects if multiple three-dimensional pipe objects exist within a preset range based on the connection location candidate coordinates. The step of connecting three-dimensional pipe objects (S400) can perform the process of establishing a connection relationship between pipes based on the stored connection location candidate coordinates (PCLA) and creating an actual connection.
[0059] FIG. 5 shows a flowchart of the step of connecting three-dimensional pipe objects according to an embodiment of the present invention. Referring to FIG. 5, the step of connecting three-dimensional pipe objects (S400) may include the step of detecting three-dimensional pipe objects (S410), the step of creating three-dimensional connection objects (S420), and the step of combining three-dimensional connection objects (S430).
[0060] The step of detecting a 3D pipe object (S410) can detect a 3D pipe object existing within a preset range based on the coordinates of the connection location candidate. Here, the preset range refers to the maximum distance at which a connection can be created, and can be variably set considering the diameter of the pipe, the size of the connection, the installation environment, etc. In the step of detecting a 3D pipe object (S410), the distance between the connection location candidate coordinates and each pipe object is calculated to identify all pipe objects existing within the preset range.
[0061] The step of creating a 3D connection object (S420) may create a 3D connection object for connecting the multiple pipe objects to each of the multiple pipe objects when there are multiple detected 3D pipe objects. The step of creating a 3D connection object (S420) may create a 3D connection object for connecting them to each other when there are two or more detected 3D pipe objects. In this case, an individual 3D connection object is created that is suitable for the characteristics of each 3D pipe object, and this can be created in an optimized form by considering the diameter, direction, position, etc. of the pipe. The created 3D connection object includes an interface for joining with each pipe and can be created to form a single organic connection structure overall.
[0062] The 3D connection object creation step (S420) can establish connection relationships between pipes by reflecting the user's intent. Specifically, in the 3D connection object creation step (S420), control of the automatically generated connection can be performed through a user interface, thereby enabling the implementation of an optimal connection structure suitable for actual field conditions. Since determining whether there is an accurate connection between pipes based solely on data may be limited, the 3D connection object creation step (S420) may grant the user control over the establishment of connection relationships. To this end, the 3D connection object creation step (S420) basically creates connection parts for all detected pipes, but can adjust the connection parts based on the user's selection.
[0063] Specifically, the step of creating a three-dimensional connection object (S420) can provide a user interface for the three-dimensional connection object once the three-dimensional connection object is created. Through this interface, the user can view a list of currently connected pipes, which may be displayed with all pipes connected by default. The user can enable or disable the connection of a specific pipe using a selection tool in the form of a check box. When the user disables the connection of a specific pipe, the connection between that pipe and the connection is removed, and a new pipe can be selected and added to the connection.
[0064] The 3D connection object creation step (S420) can combine data-based automated connection creation with the user's practical experience through these user control functions, which can enable the implementation of a more realistic and accurate pipe network. In addition, the 3D connection object creation step (S420) can flexibly respond to changes in field conditions or special requirements, and can utilize both the efficiency of the automated system and the user's expertise, thereby enabling a more reliable pipe network design.
[0065] The step of creating a 3D connection object (S420) involves extracting the node closest to the connection position candidate coordinates among the nodes of the detected 3D pipe object, extracting a 3D rotation angle so that the reference direction set at the connection position candidate coordinates faces the closest node, creating a circle centered at the connection position candidate coordinates with the reference direction as the axis of symmetry, wherein the diameter of the circle matches the diameter of the detected 3D pipe object, extending the circle by a certain length in the reference direction to create a cylinder, and rotating the created cylinder by a 3D rotation angle. However, if there are three or more nodes of the connected 3D pipe and the connection position candidate coordinates are on a node rather than at the two ends of the pipe, two nodes closest to the connection position candidate coordinates among the nodes of the detected 3D pipe object are extracted, a 3D rotation angle to face each node is extracted, a cylinder is created for each node, and then each created cylinder is rotated by a 3D rotation angle.
[0066] FIG. 6 shows a flowchart of the operation performed in the step (S420) of creating a 3D connection object when there are two nodes of a connected 3D pipe according to an embodiment of the present invention. Referring to FIG. 6, when there are two nodes of a connected 3D pipe and the connection position candidate coordinates are on the nodes of the pipe, when the created cylinder is rotated by a 3D rotation angle, the center of the circle, that is, the connection position candidate coordinates, can be rotated with the center of rotation. When there are two nodes of a connected 3D pipe and the connection position candidate coordinates are not on the nodes of the pipe, when the created cylinder is rotated by a 3D rotation angle, the center of the cylinder can be aligned with the connection position candidate coordinates, and then the center of the cylinder (connection position candidate coordinates) can be rotated with the center of rotation.
[0067] FIG. 7 shows a flowchart of the operation performed in the step (S420) of creating a 3D connection object when there are three or more nodes of a connected 3D pipe according to an embodiment of the present invention. Referring to FIG. 7, when there are three or more nodes of a connected 3D pipe and the candidate coordinates of the connection location are on the nodes at both ends of the pipe, when the generated cylinder is rotated by a 3D rotation angle, it can be rotated with the center of the circle, i.e., the candidate coordinates of the connection location, as the center of rotation. When there are three or more nodes of a connected 3D pipe and the candidate coordinates of the connection location are on a node other than the nodes at both ends of the pipe, when the generated cylinder is rotated by a 3D rotation angle, it can be rotated with the center of the circle, i.e., the candidate coordinates of the connection location, as the center of rotation. When there are three or more nodes of a connected 3D pipe and the candidate coordinates of the connection location do not lie on the nodes of the pipe, when rotating the generated cylinder by a 3D rotation angle, the center of the cylinder can be aligned with the candidate coordinates of the connection location, and then the center of the cylinder (candidate coordinates of the connection location) can be rotated with the center of rotation as the center of rotation.
[0068] The step of combining three-dimensional connection objects (S430) may combine three-dimensional connection objects created on each of a plurality of pipe objects. The step of combining three-dimensional connection objects (S430) may perform a process of combining individually created three-dimensional connection objects with corresponding pipe objects. During the combining process, the position is adjusted so that the joint surface of each three-dimensional connection object and the three-dimensional pipe object exactly matches, and the seam between the connection and the pipe can be processed naturally.
[0069] Additionally, the step of combining three-dimensional connecting objects (S430) can perform a process of combining individually created three-dimensional connecting objects. During the combining process, the positions of each three-dimensional connecting object are adjusted so that the joining surfaces of each connecting object match exactly, and the seams between each connecting part can be processed naturally.
[0070] Through this, the step of combining three-dimensional connection objects (S430) can implement a connection structure that enables smooth fluid flow in the entire pipe network. The combined connection ensures the structural stability of the entire system and can satisfy the functional requirements required in actual pipe installations.
[0071] In one embodiment, the 3D connection object combination step (S430) can perform the process of integrating a plurality of generated connection objects into a single organic structure. Specifically, the 3D connection objects generated through Unreal Engine are created in the form of a dynamic mesh and maintain a state of being combined with pipes, and the boundaries between the connections can be naturally processed by integrating all the polygons of the dynamic mesh using the Compute Mesh Convex Decomposition function of Unreal Engine. Through this processing, the connection objects generated independently can be integrated into a single smooth structure.
[0072] For example, when multiple pipes meet at a single point, the 3D connection objects generated individually for each pipe exist as separate meshes. In this case, the 3D connection object combining step (S430) can integrate the meshes of these connection objects into one by applying a Compute Mesh Convex Decomposition function, thereby converting them into a single structure with a smooth surface. Through this, the 3D connection object combining step (S430) can satisfy both the structural completeness and aesthetic requirements of the connection required in an actual pipe system.
[0073] The 3D connection object joining step (S430) can implement a smooth connection structure, such as that seen in an actual pipe system, by naturally processing the boundaries between individual connection objects through this mesh integration process. The 3D connection object joining step (S430) can improve the completeness of the entire system by providing a visually natural connection structure, going beyond simply physically connecting pipes.
[0074] The valve tree formation step (S500) extracts a first valve, which is a higher-level valve based on the water supply direction, from a three-dimensional pipe object created based on valve object information, and determines whether there is a second valve in a three-dimensional pipe object connected to the first valve, and if there is a second valve, information exchange can be performed between the first valve object and the second valve object.
[0075] The valve tree formation step (S500) can perform the process of forming a hierarchical structure of valves for controlling the flow of water in a pipe network. Specifically, the valve tree formation step (S500) can store information about an adjacent upper or lower valve in a structure from the top valve to the bottom valve. For example, the valve tree formation step (S500) can identify a first valve located above based on the direction of water supply and check for the existence of a second valve along the pipe connected to this first valve. If a second valve exists, mutual information exchange takes place between the first valve and the second valve, so that each valve retains status information of the upper and lower valves connected to it.
[0076] The valve tree formation step (S500) can reflect the water supply path of the actual water supply system through the formed valve tree structure, and in particular, can calculate the water reach distance using the pressure of the water supply pipe. Specifically, the valve tree formation step (S500) can calculate the water reach distance based on the pressure of the water supply pipe. The valve tree formation step (S500) can calculate the flow rate (Q) using the pressure difference between pipes as shown in Equation 1 below, and calculate the initial flow velocity (v) through Equation 2 below. At this time, k can be set to 0.02, which is an approximate value corresponding to PVC or iron pipes.
[0077] [Mathematical Formula 1]
[0078]
[0079] [Mathematical Formula 2]
[0080]
[0081] The valve tree formation step (S500) can calculate the reach distance L using the Darcy-Weisbach equation (Equation 3 below) by applying an average friction coefficient (f=0.02 for PVC pipes). The reach distance calculated in this way can be compared with the actual length of each pipe section to serve as a criterion for determining whether water supply is possible. The valve tree formation step (S500) can calculate the length from the water supply pipe to the pipe for all pipes and determine that water cannot be supplied if it is longer than the reach distance.
[0082] [Mathematical Formula 3]
[0083]
[0084] The valve tree formation step (S500) enables the identification of the impact resulting from the opening and closing of a specific valve. For example, if an upper valve is closed, the water supply to all lower valves is interrupted, and the closure of a lower valve affects only the section following that valve. The valve tree formation step (S500) allows for the systematic control and monitoring of water flow in a complex pipe network through a valve tree structure, and enables accurate prediction of the impact of water cutoff or pressure changes in a specific section on the entire system.
[0085] The step of dividing the zones of a three-dimensional pipe object (S600) can divide the zones of the three-dimensional pipe object based on valves located in the three-dimensional pipe object created to effectively control the flow of water in each zone according to the overall pipe network flow. Specifically, the step of dividing the zones of the three-dimensional pipe object (S600) can realign the zones (Components) of the three-dimensional pipe object to the direction of pipe flow by considering the direction of the overall pipe network flow.
[0086] In the step of dividing the area of a 3D pipe object (S600), node 0 (first node) can be set as the starting point where the pipe flows, and the location of the valve connected to the 3D pipe object can be identified, and the area of the pipe can be divided based on the valve to subdivide the existing area.
[0087] FIG. 7 illustrates an example of dividing sections of a three-dimensional pipe object according to an embodiment of the present invention. Referring to FIG. 7(a), if a pipe is composed of 10 sections and Valve 1 is located between Section 4 and Section 5, the sections of the pipe can be subdivided into Components (1, 2, 3, 4) and Components (5, 6, 7, 8, 9, 10) based on Valve 1. Referring to FIG. 7(b), if multiple valves exist on the same pipe, the pipe can be subdivided into multiple sections based on the location of each valve. If Valve 1 is located between Section 4 and Section 5 and Valve 2 is located between Section 7 and Section 8, the sections can be subdivided into Components (1, 2, 3, 4), Components (5, 6, 7), and Components (8, 9, 10).
[0088] The zones separated in this way serve as a standard for controlling the flow of water according to the open / closed state of each valve, and allow the water flow state of a specific zone to be managed independently. Once this subdivision process is completed for all valves, the zones of the pipe can be finally updated and reflected in the entire system. The step of separating the zones of the 3D pipe object (S600) enables the accurate identification of the range of influence resulting from the opening and closing of the valve through this zone separation.
[0089] The step of visualizing real-time water flow (S700) can visualize real-time water flow based on at least one of the status of the valve of the generated 3D pipe object, the separated zone, the existence of another 3D pipe object connected to the connection, and whether water is discharged.
[0090] The step of visualizing real-time water flow (S700) can represent the flow of water under various conditions in real time so that the user can intuitively understand the dynamic state changes of the pipe network. Specifically, the step of visualizing real-time water flow (S700) first checks whether the pipe connected to the valve is in a non-discharge state when an event occurs. If it is a non-discharge state, the event is terminated, and if it is not a non-discharge state, the area constituting the pipe can be accessed to perform processing to represent the water flow.
[0091] The step of visualizing real-time water flow (S700) can visualize real-time water flow according to the state of the valve. For example, the step of visualizing real-time water flow (S700) can express the effect of water flowing when the valve is in an open state, and block the flow of water when the valve is in a closed state, thereby reflecting real-time flow changes according to changes in the state of the valve. The step of visualizing real-time water flow (S700) can perform visualization according to separated zones. The step of visualizing real-time water flow (S700) can express independent water flow for each pipe zone separated based on each valve, thereby reflecting in real-time the impact of a state change in a specific zone on other zones. The step of visualizing real-time water flow (S700) can visualize flow propagation through the connection. The step of visualizing real-time water flow (S700) can express the expansion of water flow to other pipes connected to the connection, thereby performing flow visualization that reflects the interaction between connected pipes. The step of visualizing real-time water flow (S700) can visualize processing based on whether water is not discharged. The step of visualizing real-time water flow (S700) can determine the non-discharge status considering water pressure and reach distance, and display a clear visual representation of the non-discharge section.
[0092] The step of visualizing real-time water flow (S700) can implement visualization by gradually changing the zone color of the pipe and can apply visualization sequentially along the direction of water flow. In particular, if the pipe has a connection, the step of visualizing real-time water flow (S700) can perform visualization so that the flow extends to all connected pipes, and can visualize the control of flow propagation according to the current state of each pipe (whether the valve is open or closed, whether water is discharged, etc.).
[0093] The step of visualizing real-time water flow (S700) enables the user to intuitively understand the operating status of the entire pipe network through this real-time visualization, and allows for the immediate visualization of the impact of the operation of a specific valve on the system.
[0094] FIG. 8 shows a configuration diagram of a device (10) for generating a three-dimensional water resource network, which is another embodiment of the present invention. Referring to FIG. 8, the device (10) for generating a three-dimensional water resource network, which is another embodiment according to the present invention, may include a receiving unit (100), a pipe generating unit (200), a connection location specifying unit (300), and a pipe connecting unit (400). The device (10) for generating a three-dimensional water resource network can generate a three-dimensional water resource network using two-dimensional data.
[0095] The receiving unit (100) can receive GIS data including pipe object information regarding at least one of the pipe ID, 2D coordinates, and diameter. The receiving unit (100) can perform the step (S100) of receiving the aforementioned GIS data.
[0096] The pipe generation unit (200) can generate a three-dimensional pipe object based on pipe object information. The pipe generation unit (200) can perform the step (S200) of generating the aforementioned three-dimensional pipe object.
[0097] The connection part location determining unit (300) can extract the coordinates of a node located inside a three-dimensional pipe object and store the coordinates of the nodes located at both ends of the three-dimensional pipe object among the extracted nodes as connection part location candidate coordinates. The connection part location determining unit (300) can perform the step (S300) of storing the aforementioned connection part location candidate coordinates.
[0098] The pipe connection unit (400) can connect multiple three-dimensional pipe objects if multiple three-dimensional pipe objects exist within a preset range based on the coordinates of the connection part location candidates. The pipe connection unit (400) can perform the step (S400) of connecting the aforementioned three-dimensional pipe objects.
[0099] Although the present invention has been described in detail above through representative embodiments, those skilled in the art will understand that various modifications can be made to the above-described embodiments within the scope of the present invention. Therefore, the scope of the present invention should not be limited to the described embodiments, but should be defined by the claims set forth below as well as all modifications or variations derived from the claims and equivalent concepts. Explanation of the symbols
[0100] 10: Device for generating a 3D water resource network 100: Receiving unit 200: Pipe generation unit 300: Connection location specific unit 400: Pipe connection unit
Claims
Claim 1 A method for generating a three-dimensional water resource network using two-dimensional GIS (Geographic Information System) data performed by a processor, comprising: receiving GIS data including pipe object information regarding at least one of a pipe ID, two-dimensional coordinates, and diameter; generating a three-dimensional pipe object based on the pipe object information; extracting the coordinates of a node located inside the three-dimensional pipe object and storing the coordinates of a node located at both ends of the three-dimensional pipe object among the extracted nodes as candidate coordinates for connection locations; and connecting the plurality of three-dimensional pipe objects if a plurality of three-dimensional pipe objects exist within a preset range based on the candidate coordinates for connection locations. Claim 2 A method according to claim 1, wherein the step of generating the three-dimensional pipe object is to determine that the generated three-dimensional pipe object passes through the other three-dimensional pipe object when a straight line connecting any two nodes of the generated three-dimensional pipe object penetrates the other three-dimensional pipe object. Claim 3 In paragraph 2, the step of creating the three-dimensional pipe object is a method in which, when the created three-dimensional pipe object passes through another three-dimensional pipe object, the created three-dimensional pipe object is modified to bypass the other three-dimensional pipe object. Claim 4 The method according to claim 1, wherein the step of connecting the plurality of three-dimensional pipe objects comprises: a step of detecting a three-dimensional pipe object existing within a preset range based on the coordinates of the connection part location candidates; a step of creating a three-dimensional connection part object for connecting the plurality of pipe objects to each of the plurality of pipe objects when there are a plurality of detected three-dimensional pipe objects; and a step of combining the three-dimensional connection part objects created to each of the plurality of pipe objects. Claim 5 In claim 4, the step of generating the three-dimensional connection object comprises extracting the node closest to the connection position candidate coordinates among the nodes of the detected three-dimensional pipe object, extracting a three-dimensional rotation angle such that the reference direction set at the connection position candidate coordinates faces the closest node, generating a circle centered at the connection position candidate coordinates and with the reference direction as the axis of symmetry, wherein the diameter of the circle matches the diameter of the detected three-dimensional pipe object, generating a cylinder by extending the circle by a certain length in the reference direction, and rotating the generated cylinder by the three-dimensional rotation angle. Claim 6 The method according to claim 1, wherein the GIS data further includes valve object information including valve location information, and the method further includes a valve tree formation step of extracting a first valve, which is a higher-level valve based on the water supply direction, from a three-dimensional pipe object created based on the valve object information, determining whether there is a second valve in a three-dimensional pipe object connected to the first valve, and if there is a second valve, performing information exchange between the first valve object and the second valve object. Claim 7 A method according to claim 6, further comprising the step of dividing a region of a three-dimensional pipe object based on a valve located in the generated three-dimensional pipe object. Claim 8 A method according to claim 7, further comprising the step of visualizing real-time water flow based on at least one of the state of a valve of a generated 3D pipe object, a separated zone, the presence or absence of another 3D pipe object connected to a connection part, and whether or not water is discharged. Claim 9 A device for generating a three-dimensional water resource network using two-dimensional GIS (Geographic Information System) data, comprising: a receiving unit that receives GIS data including pipe object information regarding at least one of a pipe ID, two-dimensional coordinates, and diameter; a pipe generating unit that generates a three-dimensional pipe object based on the pipe object information; a connection location determining unit that extracts the coordinates of a node located inside the three-dimensional pipe object and stores the coordinates of a node located at both ends of the three-dimensional pipe object among the extracted nodes as connection location candidate coordinates; and a pipe connecting unit that connects the plurality of three-dimensional pipe objects if the plurality of three-dimensional pipe objects exist within a preset range based on the connection location candidate coordinates.