CN115423951A - Water supply and drainage visualization method based on digital twinning - Google Patents
Water supply and drainage visualization method based on digital twinning Download PDFInfo
- Publication number
- CN115423951A CN115423951A CN202211381859.2A CN202211381859A CN115423951A CN 115423951 A CN115423951 A CN 115423951A CN 202211381859 A CN202211381859 A CN 202211381859A CN 115423951 A CN115423951 A CN 115423951A
- Authority
- CN
- China
- Prior art keywords
- water
- model
- drainage
- district
- cell
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T17/00—Three dimensional [3D] modelling, e.g. data description of 3D objects
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T19/00—Manipulating 3D models or images for computer graphics
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T19/00—Manipulating 3D models or images for computer graphics
- G06T19/20—Editing of 3D images, e.g. changing shapes or colours, aligning objects or positioning parts
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T2219/00—Indexing scheme for manipulating 3D models or images for computer graphics
- G06T2219/20—Indexing scheme for editing of 3D models
- G06T2219/2012—Colour editing, changing, or manipulating; Use of colour codes
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02A—TECHNOLOGIES FOR ADAPTATION TO CLIMATE CHANGE
- Y02A20/00—Water conservation; Efficient water supply; Efficient water use
- Y02A20/152—Water filtration
Landscapes
- Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- Computer Graphics (AREA)
- Software Systems (AREA)
- General Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Computer Hardware Design (AREA)
- General Engineering & Computer Science (AREA)
- Geometry (AREA)
- Architecture (AREA)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
Abstract
The invention provides a water supply and drainage visualization method based on digital twins, which comprises the following steps: s1, drawing a building semitransparent model and a water network system model by using a blender, and exporting a model file based on the building semitransparent model and the water network system model; and S2, creating a unity scene, and importing the exported model file into the scene, wherein a sub-camera is arranged in the unity scene, so that a water network system model in the unity scene is observed. The water pipe arrangement of each household on each floor and the water pipe arrangement of the basement are displayed in a 3D visual mode, so that the water pipe arrangement of the community can be known very clearly, and the community management personnel and the professional water pipe maintenance personnel can communicate efficiently.
Description
Technical Field
The invention relates to the technical field of water supply and drainage and 3D visualization, in particular to a water supply and drainage visualization method based on digital twins.
Background
With the development of modern intelligent communities, the community sewage treatment and the community high-rise water supply pressurization are gradually mature, and convenience is provided for the living conditions of residents. In addition, the classification of water supply in the current life is more and more refined, such as domestic drinking water for daily drinking and washing, domestic miscellaneous water for flushing a toilet and washing a car, and the like, or a domestic wastewater network consisting of rainwater, wastewater and sewage.
In modern life, the drainage system of a district can be tested to the most in heavy rain, but often after heavy rain, a large amount of ponding in district elevartor shaft lead to the elevator to be unable to use, and a large amount of ponding in district road lead to the user to go on a journey inconvenient, and bilge well, rainwater well, waste water well are through the water level swell flood phenomenon that heavy rain probably appears.
Modern living water supplies provide convenience and also have new problems, such as backflow caused by water pressure in a community higher than that of a water supply end, backflow caused by mixture formed by water or liquid of a sanitary ware caused by negative pressure of a water pipe, which can cause backflow pollution of a water supply system, and the problems all need to provide an efficient visualization system for a drainage system.
Disclosure of Invention
In view of the defects in the prior art, the invention aims to provide a digital twin-based supply and drainage visualization method.
According to the present invention provided: a digital twin-based water supply and drainage visualization method comprises the following steps:
s1, drawing a building semitransparent model and a water network system model by using a blender, and exporting a model file based on the building semitransparent model and the water network system model;
s2, creating a unity scene, and importing the exported model file into the scene, wherein a sub-camera is arranged in the unity scene and can observe a water network system model in the unity scene;
preferably, the water network system model includes: building floor water network pipeline model, district basement water network pipeline model, district elevator shaft, district sewage shaft, district waste water well, district booster pump station model, district submersible pump model, district waste water pump model, district pool model, and district water tank model;
preferably, in step S2, the sub-camera is configured to adjust a default angle and a view angle size, and further observe the intra-cell water network system model;
preferably, the community booster pump station model, the community submersible pump model and the community waste water pump model are used for displaying water pump data.
Preferably, the water pump data has two states based on visualization: 1. displaying water pressure and working state, 2, displaying detailed data of the water pump;
preferably, the method for presenting water pump data comprises: creating UIcanvas in the unity, adding UI components into the UIcanvas, and displaying detailed running data and static data of each model through a Text component;
preferably, a water level detector is bound in the cell pool model and the cell water tank model;
the water level detector is used for detecting water level data of a community pool and a community water tank and transmitting the water level data as vertex data to a model in a unity scene in real time;
preferably, the vertex data transmission method is as follows: setting a shader type as an opaque shader in Tags of the Subshader, writing a starting identifier CGPROGRAM, declaring a vertex shader entry function vert and a fragment shader entry function frag in a rendering channel of the Subshader by using CG grammar, referencing an external library UnityCG. Cginc, encapsulating a common function inside, defining a structure body appdata for the attribute transmission of an object into vertex shading, and defining a structure body v2f for transmitting data from the vertex shader into the fragment shader;
preferably, based on the liquid level line data of the cell pool model and the cell water tank model, an alarm is given out after the liquid level is higher than the alarm lines of the cell pool model and the cell water tank model, and a drainage pump is started;
preferably, the building floor water network pipeline model, the community basement water network pipeline model and the community water network pipeline model are set to be capable of displaying the water flow direction, a pressure pump is started to pressurize when the water pressure of a high layer reaches a set threshold value, the water pressures of different sections of water pipes are compared, whether the water pipe leakage condition exists or not is judged, and the water pipe section with the problem is marked;
compared with the prior art, the invention has the following beneficial effects:
1. the pipelines of the community water supply and drainage system are clear at a glance, the water pipe arrangement of each household on each floor and the water pipe arrangement of the basement are displayed in a 3D visual mode, the community water pipe arrangement can be clearly known, and community managers can communicate with professional water pipe maintenance personnel efficiently;
2. each water tank well is displayed in a 3D visual mode, so that the operation condition of the water tank well can be known in real time, and management personnel can conveniently adjust the operation condition in real time;
3. the system can provide more comprehensive and effective community water consumption data, is convenient for a community to optimize a water supply and drainage system, and prevents the problem of heavy water accumulation caused by rainstorm.
Drawings
Other features, objects and advantages of the invention will become more apparent upon reading of the detailed description of non-limiting embodiments with reference to the following drawings:
FIG. 1 is a schematic diagram of the basic structure of the present invention.
Detailed Description
The present invention will be described in detail with reference to specific examples. The following examples will assist those skilled in the art in further understanding the invention, but are not intended to limit the invention in any way. It should be noted that it would be obvious to those skilled in the art that various changes and modifications can be made without departing from the spirit of the invention. All falling within the scope of the present invention.
The invention provides a digital twin-based water supply and drainage visualization method as shown in figure 1, which comprises the following steps:
s1, drawing a building semitransparent model and a water network system model by using a blender, and exporting a model file based on the building semitransparent model and the water network system model;
the step S1 specifically comprises the following steps: drawing a needed building translucent model, a building water network pipeline model of each floor, a district basement water network pipeline model, a district other part water network pipeline model, each elevator shaft of a district, a district sewage well, a district waste water well, a district booster pump station model, a district submersible pump model, a district waste water pump model, a district pool model and a district water tank model by using a blender, and then exporting the model files in fbx format.
To be supplemented, in the present embodiment: the community booster pump station model, the community submersible pump model and the community waste water pump model are used for showing water pump data and have two states based on the showing of the water pump data: 1. displaying water pressure and working state, 2, displaying detailed data of the water pump;
further: a water level detector is bound in the cell pool model and the cell water tank model and is used for detecting water level data of the cell pool and the cell water tank and transmitting the water level data as vertex data to the model in the unity scene in real time, and based on the liquid level line data of the pool model and the water tank model, an alarm is given out after the liquid level is higher than the alarm line of the pool model and the water tank model, and a drainage pump is started;
further: building floor water network pipeline model, district basement water network pipeline model, district water network pipeline model are set up to show the rivers direction, start the force (forcing) pump when the high-rise water pressure of control reachs the threshold value that sets up and pressurize to compare the water pipe water pressure of different sections, judge whether have the water pipe condition of leaking, mark the water pipe section that goes wrong
And S2, creating a unity scene, and importing the exported model file into the scene, wherein a sub-camera is arranged in the unity scene and used for observing a water network system model in the unity scene.
The step S2 specifically comprises the following steps: and creating a unity scene, and importing the exported model file into the unity scene. The sub-cameras are arranged on the unity, the sub-cameras are adjusted to proper default angles and view angles, the cameras can be freely moved to observe all water networks in the cell to form a model, the model does not need to be moved, but the change of the water networks in the cell needs to be reflected in the model through data of all devices.
The main logics of the water level changes of the water pool and the water tank in the water network system model are as follows:
the water level detector is bound to corresponding pool and water tank models, data transmitted in real time are used as model fixed point data, a shader type is set in Tags of the SubShader to be an opaque shader, a CG grammar compiling starting identifier CGPROGRAM is used in a rendering channel of the SubShader, a vertex shader entry function vert and a fragment shader entry function frag are declared, an external library UnityCG. A structure v2f is defined for transferring data from the vertex shader to the fragment shader, and the vertex shader v2fvert will be implemented below, with the parameter appdata. Calling method unitobjecttoclippos () first enters the coordinate position of water in the parameter appdata, and calls UNITY _ TRANSFER _ FOG to convert the coordinate. Then, world coordinates are obtained, the liquid height is controlled to change, the structure body v2f is returned, then, the color of a wire frame needs to be rendered, an inlet function fixed4frag of the fragment shader is realized, the parameter is a structure body variable v2fi, and the output semantic of the function is set as SV _ Target (the semantic used for outputting the color of the fragment shader function is more than DX 10). And calculating the liquid level line of the liquid in the water tank, realizing line color matching through a step function, and sending an alarm to a manager for informing the manager of the alarm of a pool or a well higher than the alarm line, or setting a linkage to reach the alarm line to start the drainage pump. And then, the step function is also used for the liquid surface liquid to realize color matching.
To be supplemented, in the present embodiment: the data that each water pump of district afferent directly demonstrate on the water pump model that corresponds, acquiesce only to show water pressure and operating condition, and after the user clicked the water pump alone, the camera removed to water pump the place ahead, and the detailed data of showing the water pump is shown to the detailed model, show water pump detailed data, like water pump position, model, parameter, live time etc..
In order to show the detailed data of each model, a UIcanvas needs to be created in the unity, a UI component is added to the UIcanvas, and the detailed running data and static data of each model can be displayed through a Text component. Creating a unity script, inheriting a Monobehaviour class, acquiring a corresponding component by a GetComponent < render > (), setting a variable receiving component, and sending application data to a shader by a variable material.
Further: the other models are also operated in the same flow, and the models of the buildings are only subjected to translucency treatment, so that managers can visually see the arrangement of the water networks of all floors conveniently. And (3) displaying the water flow direction of the water network model of the community, starting a pressurizing pump to pressurize when the water pressure of each layer of water pipe reaches a set threshold value, but not pressurizing when the water pressure of the high layer of water pipe is insufficient. Meanwhile, the water pressures of the water pipes in different sections are compared, whether the water pipe leakage condition exists or not is judged, the water pipe section with the problem is marked, and an alarm is sent to prompt a manager. For each water pump, an administrator can click the designated water pump to carry out switch operation, and can also carry out automatic treatment by configuring a contextual mode, such as timely warning the administrator when an error or an abnormality occurs.
The working principle and the purpose are as follows: in order to solve the defects of the existing water supply and drainage system, a digital twin-based visual scheme of a community water supply and drainage system is provided, 3D visual operation is carried out on water supply and drainage distribution in a community, the community water supply and drainage can be clear at a glance, and meanwhile, the working condition of equipment is detected in real time by combining a water level detector, a water pressure detector, a booster pump, a submersible pump, a sewage pump, a water pool, a water tank and other internet-of-things equipment, and the condition which possibly occurs is alarmed. When rainstorm occurs, when a large amount of accumulated water appears in the elevator shaft, an alarm is given in time, and community managers can handle the alarm in time.
The data that acquires through the water level detector of each bilge well, wastewater well, elevartor shaft, adjust in real time to the 3D effect of water level, can very audio-visual change of seeing the water level to let the managers efficient make the decision whether long-range water pump of opening carries out the drainage, also can set up the water level threshold value of safe drainage, let district drainage system can more efficient operation, increase district drainage throughput.
Through the data that a large amount of water pressure detectors obtained in the inside water supply network of district and the drainage network, carry out the visual display of 3D to the water pressure of district water network pipeline in real time, let managers can easily know the pressure variation between each pipeline, come the backward flow pollution problem that the early warning probably appears through pressure variation. Meanwhile, the water supply pressurization operation of the pressurization pump room can be adjusted according to the real-time 3D visually displayed high-rise water supply pressure condition, so that the electric quantity is saved.
Of course, in order to reduce the requirements of 3D visualization on the performance of the computer, the display effects of the water level of the water pool, the water pressure of each water pump and the water flow direction are changed in real time, other models which are set in advance are used, and the real-time operation of each device is also operated through the selected and displayed interface. Each detection device carries out alarm prompt by changing the color of the model and flashing, and displays alarm content, so that a manager can quickly and accurately know the alarm position and specific alarm information.
The foregoing description has described specific embodiments of the present invention. It is to be understood that the present invention is not limited to the specific embodiments described above, and that various changes or modifications may be made by one skilled in the art within the scope of the appended claims without departing from the spirit of the invention. The embodiments and features of the embodiments of the present application may be combined with each other arbitrarily without conflict.
Claims (10)
1. A water supply and drainage visualization method based on digital twinning is characterized by comprising the following steps:
s1, drawing a building semitransparent model and a water network system model by using a blender, and exporting a model file based on the building semitransparent model and the water network system model;
and S2, creating a unity scene, and importing the exported model file into the scene, wherein a sub-camera is arranged in the unity scene and can observe a water network system model in the unity scene.
2. The digital twin-based supply and drainage visualization method according to claim 1, wherein the water network system model comprises: building floor water network pipeline model, district basement water network pipeline model, district elevartor shaft, district bilge well, district waste water well, district booster pump station model, district immersible pump model, district waste water pump model, district pond model, district water tank model.
3. The digital twin-based supply and drainage visualization method according to claim 1, wherein in step S2, the sub-camera is configured to adjust a default angle and a view angle size to further observe the intra-cell water network system model.
4. The digital twinning-based water supply and drainage visualization method according to claim 2, wherein the cell booster pump station model, the cell submersible pump model, and the cell wastewater pump model are used to visualize water pump data.
5. The digital twin-based supply and drainage visualization method according to claim 4, wherein the water pump data has two states based on visualization: 1. and 2, displaying the water pressure and the working state, and displaying detailed data of the water pump.
6. The digital twin-based supply and drainage visualization method according to claim 5, wherein the method for visualizing the water pump data is as follows: UIcanvas is created in the unity, UI components are added into the UIcanvas, and detailed running data and static data of each model are displayed through a Text component.
7. The visualization method for water supply and drainage based on digital twin as claimed in claim 2, wherein water level detectors are bound in the cell pool model and the cell water tank model;
the water level detector is used for detecting water level data of a community pool and a community water tank and transmitting the water level data serving as vertex data to the model in the unity scene in real time.
8. The digital twin-based supply and drainage visualization method as claimed in claim 7, wherein the vertex data transmission method is as follows: setting a shader type as an opaque shader in Tags of the Subshader, writing a starting identifier CGPROGRAM by using CG grammar in a rendering channel of the Subshader, declaring a vertex shader entry function vert and a fragment shader entry function frag, referencing an external library UnityCG.
9. The visualization method for water supply and drainage based on digital twin as claimed in claim 7, wherein based on the liquid level line data of the cell pool model and the cell tank model, an alarm is given when the liquid level is higher than the alarm line of the cell pool model and the cell tank model, and a drainage pump is started.
10. The visualization method for water supply and drainage based on digital twins as claimed in claim 2, wherein the building floor water network pipeline model, the cell basement water network pipeline model and the cell water network pipeline model are set to show the water flow direction, the booster pump is started to pressurize when the water pressure of the high floor reaches the set threshold, the water pressures of the water pipes in different sections are compared to judge whether the water pipe leakage condition exists or not, and the water pipe section with the problem is marked.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202211381859.2A CN115423951B (en) | 2022-11-07 | 2022-11-07 | Water supply and drainage visualization method based on digital twin |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202211381859.2A CN115423951B (en) | 2022-11-07 | 2022-11-07 | Water supply and drainage visualization method based on digital twin |
Publications (2)
Publication Number | Publication Date |
---|---|
CN115423951A true CN115423951A (en) | 2022-12-02 |
CN115423951B CN115423951B (en) | 2023-09-26 |
Family
ID=84208088
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202211381859.2A Active CN115423951B (en) | 2022-11-07 | 2022-11-07 | Water supply and drainage visualization method based on digital twin |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN115423951B (en) |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20200265329A1 (en) * | 2019-02-14 | 2020-08-20 | Rockwell Automation Technologies, Inc. | Ai extensions and intelligent model validation for an industrial digital twin |
CN111857520A (en) * | 2020-06-16 | 2020-10-30 | 广东希睿数字科技有限公司 | 3D visual interactive display method and system based on digital twins |
CN112417619A (en) * | 2020-11-23 | 2021-02-26 | 江苏大学 | Pump unit optimal operation adjusting system and method based on digital twinning |
CN113091123A (en) * | 2021-05-11 | 2021-07-09 | 杭州英集动力科技有限公司 | Building unit heat supply system regulation and control method based on digital twin model |
CN113542403A (en) * | 2021-07-14 | 2021-10-22 | 南京朝鹿鸣科技有限公司 | Community Internet of things open platform based on unified Internet of things perception protocol module |
CN113963100A (en) * | 2021-10-25 | 2022-01-21 | 广东工业大学 | Three-dimensional model rendering method and system for digital twin simulation scene |
CN115220391A (en) * | 2021-04-14 | 2022-10-21 | 上海宝信软件股份有限公司 | Industrial digital twin three-dimensional visualization system, method and medium |
-
2022
- 2022-11-07 CN CN202211381859.2A patent/CN115423951B/en active Active
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20200265329A1 (en) * | 2019-02-14 | 2020-08-20 | Rockwell Automation Technologies, Inc. | Ai extensions and intelligent model validation for an industrial digital twin |
CN111857520A (en) * | 2020-06-16 | 2020-10-30 | 广东希睿数字科技有限公司 | 3D visual interactive display method and system based on digital twins |
CN112417619A (en) * | 2020-11-23 | 2021-02-26 | 江苏大学 | Pump unit optimal operation adjusting system and method based on digital twinning |
CN115220391A (en) * | 2021-04-14 | 2022-10-21 | 上海宝信软件股份有限公司 | Industrial digital twin three-dimensional visualization system, method and medium |
CN113091123A (en) * | 2021-05-11 | 2021-07-09 | 杭州英集动力科技有限公司 | Building unit heat supply system regulation and control method based on digital twin model |
CN113542403A (en) * | 2021-07-14 | 2021-10-22 | 南京朝鹿鸣科技有限公司 | Community Internet of things open platform based on unified Internet of things perception protocol module |
CN113963100A (en) * | 2021-10-25 | 2022-01-21 | 广东工业大学 | Three-dimensional model rendering method and system for digital twin simulation scene |
Non-Patent Citations (2)
Title |
---|
王靖 等: "楼宇设备自动化智能仿真系统", 《四川工业学院学报》 * |
王靖 等: "楼宇设备自动化智能仿真系统", 《四川工业学院学报》, vol. 23, no. 1, 30 March 2004 (2004-03-30), pages 22 - 24 * |
Also Published As
Publication number | Publication date |
---|---|
CN115423951B (en) | 2023-09-26 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110298076B (en) | Urban waterlogging intelligent modeling and analysis method based on GIS and SWMM | |
WO2021259009A1 (en) | Operation scheduling method and apparatus for deep sewage drainage tunnel, and computer device | |
CN111077864A (en) | Intelligent drainage scheduling and analyzing method and system | |
CN117275188A (en) | Mountain torrent disaster monitoring and early warning system and mountain torrent disaster monitoring and early warning method | |
CN109840870A (en) | A kind of drainage system grid-based management pattern analysis method and the medium for storing it | |
KR20220149031A (en) | A simulation method of urban water resources cyber physical system through water distribution and sewerage linkage | |
CN107544383A (en) | A kind of residential property apparatus monitoring method and system | |
CN204762608U (en) | Afforestation intelligent management system of community | |
Zhi et al. | A 3D dynamic visualization method coupled with an urban drainage model | |
CN115423951A (en) | Water supply and drainage visualization method based on digital twinning | |
CN104615823B (en) | A kind of method circulated using SWMM software simulating riverways water | |
CN103324171B (en) | A kind of cloud thing connection shutter drainage centralized control system | |
CN114462335A (en) | Fluid dynamics system and method for sponge city | |
CN109190176A (en) | It is a kind of based on the tide prediction method for visualizing of Revit platform and its application | |
CN117314051A (en) | Visual flood prevention emergency decision system | |
CN111830225A (en) | Ecological flow monitoring and early warning method based on intelligent scheduling | |
TWM607552U (en) | Intelligent monitoring and control system for sewage | |
CN101482516A (en) | Method for image on-line measurement of river silt sediment concentration | |
CN112837022A (en) | System and method for transforming urban water supply and drainage pipe network of GIS | |
CN110990659A (en) | Urban waterlogging management method based on three-dimensional real scene | |
CN116562060A (en) | Rain and sewage pipe network data analysis system and method based on smart city | |
CN115060240A (en) | Multi-functional integrated wisdom hydrology pole | |
CN113886321A (en) | Secondary water supply district water quality calculator | |
CN114817413A (en) | Anti-rainstorm capacity modeling visualization method and system for small and medium-sized reservoirs | |
CN113309173A (en) | Water supply system optimization method and adjustment method for community water supply system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |