CN115423951B - Water supply and drainage visualization method based on digital twin - Google Patents
Water supply and drainage visualization method based on digital twin Download PDFInfo
- Publication number
- CN115423951B CN115423951B CN202211381859.2A CN202211381859A CN115423951B CN 115423951 B CN115423951 B CN 115423951B CN 202211381859 A CN202211381859 A CN 202211381859A CN 115423951 B CN115423951 B CN 115423951B
- Authority
- CN
- China
- Prior art keywords
- water
- model
- district
- pump
- drainage
- 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.)
- Active
Links
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 application provides a digital twinning-based water supply and drainage visualization method, which comprises the following steps of: s1, drawing a building semitransparent model and a water network system model by using a blender, and deriving a model file based on the building semitransparent model and the water network system model; and S2, creating a unit scene, and importing the exported model file into the scene, wherein sub-cameras are arranged in the unit scene, so that a water network system model in the unit scene is observed. The water supply and drainage system pipeline of the community is clear at a glance, the water pipe arrangement of each household and the basement water pipe arrangement of each layer are displayed in a 3D visual mode, the water pipe arrangement of the community can be known very clearly, and community management staff and professional water channel maintenance staff can communicate with each other efficiently.
Description
Technical Field
The application 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 twinning.
Background
With the development of modern intelligent communities, the sewage treatment of the communities and the water supply pressurization of high-rise communities are gradually mature, and convenience is provided for resident living conditions. The classification of water supply in the life is also becoming finer, and living miscellaneous water such as living drinking water for daily drinking and washing, flushing and washing water and the like, or living wastewater networks consisting of rainwater, wastewater, sewage and the like are also becoming more and more refined.
In modern life, a drainage system of a district can be most tested by heavy rain, but often after heavy rain, a large amount of accumulated water in an elevator shaft of the district can not be used, a large amount of accumulated water in a road of the district can cause inconvenient traveling of users, and water level swelling and flooding phenomena possibly occur in a sewage shaft, a rainwater well and a wastewater well through heavy rain.
Modern living water supply provides convenience and also has new problems, such as backflow caused by water pressure higher than water pressure at the water supply end in a community, backflow caused by water or liquid formed mixture of sanitary ware due to negative pressure of a water pipe, backflow pollution of a water supply system is caused, and an efficient visualization system is required for a water supply and drainage system.
Disclosure of Invention
In view of the drawbacks of the prior art, it is an object of the present application to provide a digital twinning based water supply and drainage visualization method.
According to the application, there is provided: a digital twinning-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 deriving a model file based on the building semitransparent model and the water network system model;
s2, creating a unit scene, and importing the exported model file into the scene, wherein a sub-camera is arranged in the unit scene, and can observe a water network system model in the unit scene;
based on a district booster pump station model, a district submersible pump model and a district waste water pump model in a water network system model, water pump data can be displayed, and the displayed water pump data has two working states: one kind of display water pressure and working state, the other kind of display water pump detailed data;
the water network system model comprises: 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 water tank model;
the building floor water network pipeline model, the district basement water network pipeline model and the district water network pipeline model are arranged to be capable of displaying the water flow direction, a booster pump is started to pressurize when the water pressure of a high layer reaches a set threshold value, water pipe water pressures of different sections are compared, whether water pipe leakage exists or not is judged, and the water pipe section with a problem is marked;
preferably, in step S2, the sub-camera is configured to be capable of adjusting a default angle and a view angle size, and further observe the intra-cell water network system model;
preferably, the cell booster pump station model, the cell submersible pump model and the cell wastewater pump model are used for visualizing water pump data.
Preferably, the method for displaying the water pump data comprises the following steps: creating a UIcanvas in the unit, adding a UI component into the UIcanvas, and displaying detailed operation data and static data of each model through a Text component;
preferably, a water level detector is bound in the district pool model and the district water tank model;
the water level detector is used for detecting water level data of 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 comprises the following steps: setting a shader type as an opaque shader in Tags of a subshot, writing a starting identifier CGPROGRAM in a rendering channel of the subshot by using CG grammar, declaring a vertex shader entry function vert, declaring a fragment shader entry function frag, referring to an external library UnityCG.cginc, encapsulating a common function inside, defining a structure appdata for attribute afferent vertex shading of an object, defining a structure v2f for afferent 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 sent out after the liquid level is higher than the alarm line of the cell pool model and the cell water tank model, and a drainage pump is started;
compared with the prior art, the application has the following beneficial effects:
1. the water pipe arrangement of each household and the water pipe arrangement of the basement of each layer are displayed in a 3D visual mode, so that the water pipe arrangement of the district can be clearly known, and the community manager can conveniently and efficiently communicate with the professional water channel maintainer;
2. the water tank wells are displayed in a 3D visual mode, so that the operation condition of the water tank wells can be known in real time, and management personnel can conveniently adjust in real time;
3. the method can provide more comprehensive and effective district water consumption data, is convenient for district optimization of water supply and drainage systems, and can prevent heavy rain and water accumulation.
Drawings
Other features, objects and advantages of the present application will become more apparent upon reading of the detailed description of non-limiting embodiments, given with reference to the accompanying drawings in which:
FIG. 1 is a schematic diagram of the basic structure of the present application.
Detailed Description
The present application will be described in detail with reference to specific examples. The following examples will assist those skilled in the art in further understanding the present application, but are not intended to limit the application in any way. It should be noted that variations and modifications could be made by those skilled in the art without departing from the inventive concept. These are all within the scope of the present application.
The application provides a digital twinning-based water supply and drainage visualization method as shown in fig. 1, which comprises the following steps:
s1, drawing a building semitransparent model and a water network system model by using a blender, and deriving 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 semitransparent model, a building each layer water network pipeline model, a community basement water network pipeline model, community other part water network pipeline models, community elevator shafts, community sewage shafts, community waste water shafts, community booster pump station models, community submersible pump models, community waste water pump models, community water tank models and community water tank models by using a blender, and then exporting model files in a fbx format.
To be added, in the present embodiment: the cell booster pump station model, the cell submersible pump model and the cell wastewater pump model are used for displaying water pump data, and have two states based on the displaying of the water pump data: one is to display the water pressure and working state, the other is to display the detailed data of the water pump;
further: the water level detectors are bound in the cell pool model and the cell water tank model, are used for detecting water level data of the cell pool and the cell water tank, transmitting the water level data as vertex data to the model in the unit scene in real time, giving an alarm after the water level is higher than the alarm line of the pool model and the water tank model based on the liquid level line data of the pool model and the water tank model, and starting the drainage pump;
further: the building floor water network pipeline model, the district basement water network pipeline model and the district water network pipeline model are arranged to be capable of displaying the water flow direction, a booster pump is started to pressurize when the water pressure of a high layer reaches a set threshold value, water pipe water pressures of different sections are compared, whether water pipe water leakage exists or not is judged, and water pipe sections with problems are marked
And S2, creating a unit scene, and importing the exported model file into the scene, wherein a sub-camera is arranged in the unit scene and used for observing a water network system model in the unit scene.
The step S2 specifically comprises the following steps: creating a unit scene, and importing the exported model file into the unit scene. Setting sub-cameras in units, adjusting to a proper default angle and view angle, and freely moving the cameras to observe all water networks in the cell to form a model, wherein the model does not need to be moved, but the water network change of the cell needs to be reflected in the model through data of each device.
The main logic of the water level change of the water tank in the water network system model is as follows:
the water level detector is bound to a corresponding pool model and a corresponding water tank model, data transmitted in real time are used as model fixed-point data, a shader type is set to be an opaque shader in Tags of a subloader, a CG grammar is used for writing a starting mark CGPROGRAM in a rendering channel of the subloader, a vertex shader entry function vert is declared, a fragment shader entry function frag is declared, an external library UnityCG.cginc is quoted, a common function is packaged in the external library, a structure body appdata is defined, attributes of an object are used for coloring vertices, and a structure body v2f is defined, and is used for transmitting data from the vertex shader to the fragment shader. A structure v2f is defined for passing data from the vertex shader into the fragment shader, and the vertex shader v2fvert will be implemented below, referred to as appdata. Firstly, a method UnityObjectToClipPos () is called to TRANSFER the coordinate of the coordinate position of water in the input parameter appdata, and then UNITY_TRANSFER_FOG is called to TRANSFER the coordinate. Then, world coordinates are acquired, the height of liquid is controlled to change, the structure v2f is returned, the color of a frame is needed to be rendered, an entry function fixed4 flag of the fragment shader is realized, the entry is referred to as a structure variable v2fi, and the output semantic of the function is set to be SV_Target (the semantic above DX10 for the color output of the fragment shader function). Calculating the liquid level line of the liquid in the water tank, realizing the color matching of lines through a step function, sending an alarm to a pool or a well higher than the alarm line to inform a manager, and also setting up linkage to reach the alarm line to start the drainage pump. The step function is then also used to color the liquid surface liquid.
To be added, in the present embodiment: the data transmitted by each water pump in the community are directly displayed on the corresponding water pump model, only the water pressure and the working state are displayed by default, after a user clicks the water pump independently, the camera moves to the front of the water pump, the water pump model is displayed in detail, and the water pump detailed data such as the position, the model, the parameters, the service time and the like of the water pump are displayed.
To expose detailed data of each model, a uicanvases needs to be created in units, and UI components are added to the uicanvases, and detailed running data and static data of each model can be displayed through Text components. An universal script is created, the Monobehaviour class is inherited, the corresponding component is obtained through a GetComponent < render > () method, a variable receiving component is set, and application data is sent to a shader through a variable.
Further: other models are operated in the same way as the flow, and of course, the building model is only semitransparent, so that management personnel can conveniently and intuitively see the water network arrangement of each floor. And displaying the water flow direction of the water network model of the district, starting a pressurizing pump to pressurize when the water pressure of each water pipe layer reaches a set threshold value, and pressurizing when the water pressure of the high water pipe layer is not insufficient. Meanwhile, the water pressures of the water pipes of different sections are compared, whether the water leakage condition of the water pipe exists or not is judged, the water pipe section with the problem is marked, and an alarm is sent to prompt an administrator. For each water pump, an administrator can perform switching operation by clicking a designated water pump, and also can perform automatic processing by configuring a scene mode, such as error or abnormality, and timely alarm the administrator.
Working principle and purpose: in order to solve the defects of the existing water supply and drainage system, a visualization scheme of the community water supply and drainage system based on digital twinning is provided, 3D visualization operation is carried out on water supply and drainage distribution in a community, water supply and drainage of the community can be clear at a glance, and meanwhile, real-time detection is carried out on equipment working conditions by combining with internet of things equipment such as a water level detector, a water pressure detector, a pressurizing pump, a submersible pump, a sewage pump, a water tank and the like, and warning is carried out on the possible conditions. When heavy rain occurs, when a great amount of ponding occurs in the elevator shaft, an alarm is timely sent out, so that community management staff can timely process the ponding.
The 3D effect of the water level is adjusted in real time through the data acquired by the water level detectors of each sewage well, the waste water well and the elevator shaft, so that the change of the water level can be seen very intuitively, a manager can efficiently make a decision whether to remotely start the water pump to drain water or not, a water level threshold of safe drainage can be set, a district drainage system can operate more efficiently, and the district drainage throughput is increased.
The water pressure of the water supply network pipeline of the district is subjected to 3D visual display in real time through data acquired by a large number of water pressure detectors in the water supply network and the water drainage network inside the district, so that a manager can easily know the pressure change between the pipelines, and the problem of backflow pollution possibly occurring is pre-warned through the pressure change. Meanwhile, the water supply pressurization operation of the pressurization pump room can be adjusted according to the high-rise water supply pressure condition displayed in a real-time 3D visual mode, so that electric quantity is saved.
Of course, in order to reduce the requirement of 3D visualization on the performance of the computer, the display effect of the water pressure and the water flow direction of each water pump is changed in real time only for the water level of the water tank, and other models which are set in advance are used, and the real-time operation of each device is also operated through the interface displayed after being selected. Each detection device carries out alarm prompt in a mode of 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 describes specific embodiments of the present application. It is to be understood that the application is not limited to the particular embodiments described above, and that various changes or modifications may be made by those skilled in the art within the scope of the appended claims without affecting the spirit of the application. The embodiments of the application and the features of the embodiments may be combined with each other arbitrarily without conflict.
Claims (7)
1. The digital twinning-based water supply and drainage visualization method is characterized by comprising the following steps of:
s1, drawing a building semitransparent model and a water network system model by using a blender, and deriving a model file based on the building semitransparent model and the water network system model;
s2, creating a unit scene, and importing the exported model file into the scene, wherein a sub-camera is arranged in the unit scene, and can observe a water network system model in the unit scene;
based on a district booster pump station model, a district submersible pump model and a district waste water pump model in a water network system model, water pump data can be displayed, and the displayed water pump data has two working states: one is to display the water pressure and working state, the other is to display the detailed data of the water pump;
the water network system model comprises: 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 water tank model;
the building floor water network pipeline model, the district basement water network pipeline model and the district water network pipeline model are arranged to be capable of displaying the water flow direction, the pressurizing pump is started to pressurize when the water pressure of a high-rise is controlled to reach a set threshold value, water pipe water pressures of different sections are compared, whether water pipe leakage exists or not is judged, and the water pipe section with a problem is marked.
2. The digital twinning-based water supply and drainage visualization method according to claim 1, wherein in step S2, the sub-cameras are set to be able to adjust a default angle and a view angle size, and further observe the intra-cell water network system model.
3. 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 for visualizing water pump data.
4. A digital twinning-based water supply and drainage visualization method according to claim 3, wherein the method for visualizing water pump data is as follows: the UIcanvas is created in the unity, the UI component is added into the UIcanvas, and detailed running data and static data of each model are displayed through the Text component.
5. The digital twinning-based water supply and drainage visualization method according to claim 2, wherein 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 water tank and transmitting the water level data as vertex data to a model in a unit scene in real time.
6. The digital twinning-based water supply and drainage visualization method according to claim 5, wherein the vertex data transmission method is as follows: setting a shader type as an opaque shader in Tags of a subshot, writing a starting identifier CGPROGRAM in a rendering channel of the subshot by using CG grammar, declaring a vertex shader entry function vert, declaring a fragment shader entry function frag, referencing an external library UnityCG.
7. The digital twinning-based water supply and drainage visualization method according to claim 6, wherein based on liquid level line data of the cell pool model and the cell water tank model, an alarm is given after the liquid level is higher than alarm lines of the cell pool model and the cell water tank model, and a drainage pump is started.
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 CN115423951A (en) | 2022-12-02 |
CN115423951B true 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 (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111857520A (en) * | 2020-06-16 | 2020-10-30 | 广东希睿数字科技有限公司 | 3D visual interactive display method and system based on digital twins |
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 |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US11403541B2 (en) * | 2019-02-14 | 2022-08-02 | Rockwell Automation Technologies, Inc. | AI extensions and intelligent model validation for an industrial digital twin |
CN112417619B (en) * | 2020-11-23 | 2021-10-08 | 江苏大学 | Pump unit optimal operation adjusting system and method based on digital twinning |
-
2022
- 2022-11-07 CN CN202211381859.2A patent/CN115423951B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111857520A (en) * | 2020-06-16 | 2020-10-30 | 广东希睿数字科技有限公司 | 3D visual interactive display method and system based on digital twins |
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 (1)
Title |
---|
王靖 等.楼宇设备自动化智能仿真系统.《四川工业学院学报》.2004,第23卷(第1期),第22-24页. * |
Also Published As
Publication number | Publication date |
---|---|
CN115423951A (en) | 2022-12-02 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2022048156A1 (en) | Pumped storage power station comprehensive management method, platform and system, device and medium | |
CN110298076B (en) | Urban waterlogging intelligent modeling and analysis method based on GIS and SWMM | |
CN108399652B (en) | Method and device for establishing three-dimensional monitoring model of urban underground pipeline, storage medium and terminal equipment | |
CN103177391B (en) | A kind of facilities and equipment supervisory system based on three-dimensional live and system integration method | |
CN205028126U (en) | Water supply network intelligent monitoring system based on GIS | |
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 | |
KR20220149031A (en) | A simulation method of urban water resources cyber physical system through water distribution and sewerage linkage | |
CN109697333A (en) | Detection method, device and the electronic equipment of pipeline detection database | |
CN114942948A (en) | Drainage pipe network diagnosis and management method | |
KR20220126917A (en) | Dam sluice discharge simulation system and method using 3D digital twin dam model | |
CN109840870A (en) | A kind of drainage system grid-based management pattern analysis method and the medium for storing it | |
CN115423951B (en) | Water supply and drainage visualization method based on digital twin | |
CN117275188A (en) | Mountain torrent disaster monitoring and early warning system and mountain torrent disaster monitoring and early warning method | |
Zhi et al. | A 3D dynamic visualization method coupled with an urban drainage model | |
CN104615823B (en) | A kind of method circulated using SWMM software simulating riverways water | |
CN111945760A (en) | Deep foundation pit engineering pressure reduction and precipitation control method and device, terminal and storage medium | |
CN113742873B (en) | Intelligent urban drainage management system | |
CN103324171B (en) | A kind of cloud thing connection shutter drainage centralized control system | |
CN215117519U (en) | Drainage pipe network operation analysis system | |
CN113887895A (en) | Flexible city intelligent planning system, method and storage medium | |
CN109190176A (en) | It is a kind of based on the tide prediction method for visualizing of Revit platform and its application | |
CN116527721A (en) | Intelligent monitoring and diagnosis method for underground drainage pipe network | |
CN115587456A (en) | BIM (building information modeling) forward design method and system for outdoor water supply and drainage pipe network | |
CN115168670A (en) | 3D water environment treatment integrated digital platform and application method thereof |
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 |