Detailed Description
It should be understood that the specific embodiments described herein are merely illustrative of the technical solution of the present application and are not intended to limit the present application.
For a better understanding of the technical solution of the present application, the following detailed description will be given with reference to the drawings and the specific embodiments.
With the acceleration of the urban process, the gas industry is taken as an important component of urban infrastructure, and the safe operation of the gas industry has important significance for the life and social stability of urban residents. In this context, digital twin technology has been developed to provide powerful support for the transformation and upgrading of the gas industry. The CIM platform is used as a digital twin technology in the gas industry, and contributes to the digital, networked and intelligent management of gas facilities by integrating multidimensional and multi-scale information model data and city perception data and combining technologies such as the Internet of things, big data and artificial intelligence. However, in practical application, while the CIM platform provides a basis for digitizing and visualizing gas facilities, these integrated gas facility data cannot be effectively presented to users in an intuitive and easy-to-understand manner in terms of data presentation. The method has the advantages that the safety control of the gas is limited in real time, and the safety control of the digital twin technology in the gas industry is difficult to fully exert.
In view of the above problems, the present application provides a control method of a gas safety control system based on a CIM platform, which is used for controlling the gas safety control system. The method comprises the steps of obtaining modeling data of a gas facility, wherein the gas facility comprises a gas pipeline, a gas station and a residential building for receiving gas supply in a city, then carrying out three-dimensional modeling based on the modeling data to obtain a three-dimensional model of the gas facility, determining risk warning data according to operation data of the gas facility, and rendering the risk warning data based on the three-dimensional model of the gas facility. According to the method, the information originally scattered in different systems and data formats is integrated through generating the three-dimensional model of the gas facility, the information is presented in a three-dimensional visual mode, potential risk points are identified from the operation data of the gas facility, and the risk warning data are rendered on the three-dimensional model of the gas facility, so that a user can intuitively see which parts are at risk and the degree of risk, and the effect of the digital twin technology in safety management of the gas industry is fully exerted.
Based on this, a first embodiment of the present application provides a control method of a gas safety control system based on a CIM platform, and referring to fig. 1, in this embodiment, the control method of the gas safety control system based on the CIM platform includes steps S10 to S30:
Step S10, modeling data of a gas facility including a gas pipeline, a gas station, and a residential building in a city receiving a gas supply is acquired.
The gas facility refers to various facilities and buildings for transporting, storing, distributing and using gas in cities. The gas pipeline is a pipeline made of steel pipe, plastic pipe or other suitable materials, and is used for safely conveying gas underground or above ground and connecting a gas source with an end user. Gas stations are an important component of gas supply systems, typically including facilities for storing, dispensing and controlling gas, and are responsible for receiving, storing, measuring and dispensing gas to a network of pipelines for urban or industrial users, including gas receiving stations, pressure regulating stations, storage stations, etc. Residential buildings in cities that receive a supply of gas refer to a collection of residential, commercial or industrial buildings in cities that use gas as an energy source, requiring a large amount of gas for heating, cooking, hot water supply, etc.
In addition, the modeling data is detailed information for creating a three-dimensional digital model. Such data typically includes information about the geographic location, size, structure, materials, function, etc. of the facility.
Alternatively, modeling data for different types of gas facilities may be collected, such as by a geographic information system, laser scanning, unmanned aerial vehicle aerial photography, field measurements, etc. Modeling data with different sources and formats are converted and cleaned to form a unified data set, and cleaned data are stored in a central database of the gas safety control system to form a data management platform, so that the safety and accessibility of the data are ensured.
And step S20, carrying out three-dimensional modeling based on the modeling data to obtain a three-dimensional model of the gas facility.
A three-dimensional model is created according to modeling data of the gas facility, and an intuitive and interactive environment is provided for displaying, analyzing and simulating the operating state and potential problems of the gas facility.
Illustratively, the distribution of the gas conduits is shown in a three-dimensional model, including the floor, storey, room, and gas conduit layout of the entire residential building. The gas conduits are shown from different angles and levels, including horizontal and vertical directions, providing a comprehensive view showing the specific location and path of the gas conduits branching from the main conduit to the individual households. The key public gas pipelines in residential buildings are highlighted, including the main supply pipelines or the pipelines connected to important facilities, etc. The specific positions of key components such as pipeline branching points, valves and the like in the three-dimensional space are clearly shown.
Optionally, the urban earth surface image data including the topography, the relief and other earth surface characteristic digitized information are obtained from the GIS (Geographic Information System ), and are used for constructing a base map of the three-dimensional model of the gas facility to provide the spatial geographic information.
For example, the earth's surface image data is obtained by using aerial photography or satellite remote sensing technology, wherein the earth's surface image data describes the situation that the earth's surface is covered by different types of ground objects, such as vegetation, water bodies, roads, etc., and the position and shape information including various geographic elements on the earth's surface, such as rivers, roads, boundaries of buildings, etc., can be stored in the form of vector images.
The surface image data can be combined with modeling data of gas facilities such as gas pipelines, gas stations and the like to form a comprehensive three-dimensional visual model, and support is provided for planning, construction and management of the gas facilities. By means of these data, the relation of the gas plant to the surroundings can be presented more intuitively.
Optionally, the three-dimensional model of the gas facility is subjected to artistic processing, including mold turning, map replacement, material beautification, etc., to improve the visual quality of the model, optimize the model, reduce the data volume, and ensure that each facility model can be processed and displayed independently.
Illustratively, the design drawings or objects of existing gas facilities are converted into three-dimensional models by three-dimensional scanning, and texture maps are applied to the three-dimensional models, which can simulate the appearance of materials such as the texture of metal, concrete or paint. And material properties such as reflectivity, transparency, roughness and the like are adjusted to realize more realistic visual effects. The number of polygons of the model is reduced, and detail simplification is performed to reduce the data size and improve the rendering efficiency. Unnecessary details in the model are removed, similar vertexes and edges are combined, and complexity of the model is reduced.
Optionally, a user interface is provided that enables a user to interact with the three-dimensional model, such as rotation, zooming, sectioning, etc., to understand the gas facility from different angles and planes.
Illustratively, a user may control viewpoint movement in a three-dimensional scene through an input device such as a mouse, keyboard, or joystick. For example, the operation proceeds back and forth to effect movement in the scene in the current viewpoint direction or in the opposite direction. The left-right movement is operated to realize the horizontal movement of the viewpoint position or the horizontal rotation around the current viewpoint, and the direction of the viewpoint is adjusted. The vertical height and tilt angle of the viewpoint may also be adjusted to view different height levels, etc.
Illustratively, the user can quickly switch from the current view to the global view of the entire three-dimensional model through a one-touch operation, allowing the user to quickly obtain an overall view and overview. In addition, specific observation positions or scenes can be saved and marked, for example, certain viewpoints with good visual effects, so that a user can quickly locate the marked viewpoints through searching the marks for key observation or analysis.
For example, a user may manage layers in a three-dimensional scene, display or hide particular layers as desired, reducing visual interference.
Illustratively, a user may view the internal structure of a building by selecting the building and performing a sectioning operation. Specifically, the user selects a building in the three-dimensional scene through a mouse or other input device, and after selecting the building, the user can specify a split plane, and the plane can be a plane perpendicular to the view angle of the user or a plane with any angle. And then virtually cutting the building model according to the cutting position and the cutting direction designated by the user, displaying the sectional view, wherein in the process, the user can select the cutting depth and the cutting range and whether the internal structure is required to be displayed or hidden, and the three-dimensional model can distinguish different internal structures by using different colors or transparencies so as to improve the visual effect.
And step S30, determining risk warning data according to the operation data of the gas facility, and rendering the risk warning data based on the three-dimensional model of the gas facility.
It should be noted that, the operation data of the gas facility refers to various information generated during normal operation of the gas facility, including, but not limited to, pressure, temperature, flow, leak detection, equipment status, etc., which can be collected in real time by sensors and monitoring equipment installed on the gas facility.
For example, for a gas pipe, the gas pressure in the pipe may be monitored in real time by a pressure sensor on the pipe, the flow rate of the gas in the pipe may be measured by a flow meter in the pipe, a specific gas concentration change or sound generated when a gas leak is detected using a leak detection sensor, or the like. For a gas station, a temperature sensor may be installed on a gas storage tank or a processing device for monitoring temperature changes, and for a residential building in a city, the amount of gas used in the building may be measured by a gas meter in the building.
In addition, it should be noted that the risk alert data refers to a set of indicators or information that indicate that a particular facility or environment may be potentially at risk or dangerous conditions, and that action is required to prevent or mitigate possible adverse consequences. The risk warning data may include, among other things, sensor readings outside of normal operating ranges, such as abnormally high pressures, temperatures, or flows, etc., signals that gas leaks are detected, equipment identified by the monitoring system is operating abnormally or malfunctioning, such as shut down of the pump, improper operation of the valve, etc.
The collected operational data is analyzed to identify patterns or thresholds that may indicate potential risks or abnormal conditions. For example, if the pressure of the gas pipeline exceeds a safety range or gas leakage is detected, risk warning data is generated, and detailed data such as the pressure value of the pipeline, the pipeline position, the gas leakage point and the like are recorded.
Risk alert information is visually presented on a three-dimensional model using different colors, icons, labels, or other visual indicators to represent different levels of risk, e.g., red may represent high risk areas, yellow may represent medium risk, and green may represent security.
In this embodiment, the operation data of the gas facility is analyzed to identify and determine which data indicate potential risks, and these risk warning data are visually displayed on the three-dimensional model of the gas facility, so that the user can intuitively see which parts are at risk and the degree of risk, so that relevant personnel can intuitively identify and understand the safety condition of the gas facility.
In the second embodiment of the present application, the same or similar content as in the first embodiment of the present application may be referred to the description above, and will not be repeated. On this basis, referring to fig. 2, step S30 further includes steps S31 to S33:
step S31, determining dynamic process data of the gas safety accidents according to the operation data of the gas facilities corresponding to different accident scenes.
Optionally, the type of accident scene to be simulated, such as leakage, fire or explosion, is determined, the operation data of the gas facilities under different types of accident scenes is collected, and a three-dimensional calculation model is built according to physical and chemical equations by using computational fluid dynamics software or other numerical simulation tools. Initial conditions such as the position, the occurrence rate and the like of the occurrence of the security event are set in the three-dimensional calculation model, and boundary conditions required by simulation are used for defining the fluid behaviors on the boundary of the calculation domain. The three-dimensional calculation model carries out numerical simulation and calculates the diffusion, combustion or explosion process of the fuel gas in the environment. And simulating the evolution process of the event along with time by using a time stepping algorithm to obtain dynamic process data. Wherein, the time stepping algorithm can be used for tracking the change of the state of the gas accident with time in numerical simulation, and the time stepping algorithm simulates the development of the event by gradually updating the state of the gas accident. For example, the time is divided into a series of small time intervals, called time steps, within each of which the state of the gas accident is updated according to laws of physics such as fluid dynamics equations, heat conduction equations, etc., and boundary conditions.
Illustratively, it is assumed that the dynamic process of gas pipeline leakage is to be simulated by a three-dimensional computational model. The type of simulated gas leak, such as a pipe break or a small hole leak, is first determined. The initial state of the gas leakage is specified, including the location of the leakage source, the leakage rate, the nature of the leakage substance, etc. According to the actual condition of the simulation area, proper boundary conditions are set, including fixed wall surfaces, adiabatic conditions, pressure boundaries or mass flow boundaries and the like, a three-dimensional calculation model is constructed by utilizing the basic theory of fluid mechanics, such as a continuity equation, a momentum equation and an energy equation, and a turbulence model suitable for gas leakage, and a control equation of a leakage event is determined. And (3) performing discrete solution on the control equation by adopting a numerical algorithm such as a finite difference method, a finite element method or a finite volume method, and selecting proper computational fluid dynamics software for simulation. Optionally, gridding an analog region, creating a calculation domain for numerical calculation, carrying out grid encryption on a region near a leakage source to improve calculation accuracy, inputting environmental conditions which have significant influence on gas diffusion, such as atmospheric pressure, temperature, humidity, wind speed and the like, running numerical simulation, analyzing diffusion processes and influence ranges after gas leakage, and adjusting model parameters according to simulation results.
Step S32, determining the risk warning data according to the dynamic process data, wherein the risk warning data comprises a risk area range of the gas safety accident.
And step S33, rendering the dynamic process data and the risk area range based on the gas facility three-dimensional model.
And carrying out statistical analysis on the dynamic process data obtained by simulation, determining distribution characteristics and statistical rules of parameters such as gas concentration, temperature, pressure and the like, and setting safety thresholds of the parameters such as gas concentration, temperature, pressure and the like according to the existing gas safety standard based on analysis results. And determining the area exceeding the safety threshold as a risk area of the gas safety accident, and rendering a risk area range in the three-dimensional model.
Optionally, the gas with different concentrations is represented by using color gradient, a diffusion process changing with time is displayed by dynamic effect, the area where the gas concentration exceeds the safety threshold is identified, highlighting or marking is carried out in a three-dimensional model, and the range of the risk area of the gas safety event is determined. Meanwhile, according to the safety standard of the risk area range and the gas concentration, the prompt information of the safety distance between the gas facility and surrounding buildings and personnel can be generated, and the prompt information is displayed on the three-dimensional model in a visual mode.
Illustratively, in the three-dimensional computational model, assuming that a gas station is in the event of a gas leak, the prediction results are displayed in an area of 500 meters around the leak, and the gas concentration may exceed the safety standards. To ensure safety, it is recommended to set warning signs in this area to limit personnel access. In the three-dimensional model, a circular area with a radius of 500 meters can be accurately drawn according to a scale by taking the leakage point as the center, so that the safety warning range can be intuitively marked.
In this embodiment, the operation data of the gas facility is combined with the accident simulation to dynamically display the process of the gas humidity. Through color gradual change and dynamic effect, the user can clearly identify the region where the gas concentration exceeds the safety threshold value, so that the comprehensiveness and practicability of the data are improved.
Based on the above embodiments, in the third embodiment of the present application, the same or similar contents as those of the above embodiments may be referred to the above description, and will not be repeated. On this basis, referring to fig. 3, step S30 includes steps S34 to S35:
And step S34, associating the operation data of the gas pipeline with the corresponding three-dimensional model of the gas pipeline.
The operation data of the gas pipeline is key information for monitoring the state and the operation performance of the pipeline, and comprises pressure data, flow data, temperature data, leakage monitoring data, corrosion monitoring data and the like of the pipeline.
Optionally, the operation data of the gas pipeline includes information capable of uniquely identifying each section of the gas pipeline, such as a pipeline number or a position coordinate, the operation data is analyzed through a data processing algorithm, a pipeline section corresponding to each data point is identified, a three-dimensional model is logically segmented according to a physical segment of an actual pipeline, and each section model is ensured to correspond to an actual pipeline portion. The operational data is associated with corresponding portions of the three-dimensional model by a matching algorithm.
Optionally, the operation data of the gas pipeline is displayed above the corresponding model in a mode of suspending the label, the label can be dynamically displayed and hidden under the control of user interaction such as mouse hovering or a program, and the size and the position of the label can be correspondingly adjusted through scrolling or zooming operation. Meanwhile, a certain transparency can be set for the labels, so that a user can view the details of the model while viewing the data.
And step S35, adding a risk warning mark on the three-dimensional model of the gas pipeline when the operation data of the gas pipeline is larger than a preset operation threshold value.
Optionally, a fixed operating threshold is preset according to design parameters and operating specifications of the pipeline, or the threshold is adjusted in real time according to historical data analysis so as to adapt to ageing or environmental change of the pipeline.
Optionally, when the monitored gas pipeline operation data exceeds a preset safety range, namely a preset operation threshold value, the pipeline part exceeding the threshold value is visually marked on the three-dimensional model so as to highlight the area where the problem can occur.
Illustratively, when the flow speed of the fuel gas in a fuel gas pipeline exceeds a preset speed threshold, the fuel gas pipeline is highlighted in different colors on the three-dimensional model, or a warning icon or a text prompt is displayed above the fuel gas pipeline, or the fuel gas pipeline is rendered through a flashing or flowing animation effect.
Optionally, when the monitored gas pipeline operation data exceeds a preset operation threshold, which is a preset safety range, the gas safety control system triggers a safety alarm, and notifies related personnel or a control center of potential safety risk by playing a warning sound or sending a warning message.
Optionally, the operational data of the gas conduit may also include an operational gas flow direction within the conduit. Through three-dimensional modeling, an accurate model of the gas pipeline is constructed, the accurate model comprises components such as a pipeline, a valve, a compressor and the like, and an animation effect of gas flow is added to simulate the gas flow direction in actual operation. The route, the flow speed, the names and the attribute parameters of the flowing equipment of the whole process flow are dynamically displayed, and the medium in the pipeline is distinguished by different colors, so that a user is helped to know information such as different media, flow directions and the like. For example, in a three-dimensional model, the flow path of the gas from the start point to the end point is shown in the form of a dynamic arrow, a flow effect, or the like, or the gas flow velocities at different positions are shown in the form of numerals or color gradients, or the like, on the flow path.
In the embodiment, the operation data of the gas pipeline is tightly combined with the three-dimensional model, and a marked suspension display mode is adopted, so that the state of the gas pipeline is intuitively monitored in real time. The user can view and hide the data mark through the interactive operation developments, and gas safety control system can send out the security alarm when data is unusual according to the operation threshold value of predetermineeing simultaneously to guide maintainer location problem area fast through the visual suggestion, promoted the visual, the interactive effect of gas pipeline operation data.
Based on the above embodiments, in the fourth embodiment of the present application, the same or similar contents as those of the above embodiments may be referred to the above description, and will not be repeated. On this basis, referring to fig. 4, step S30 further includes steps S36 to S37:
And step S36, displaying the gas use data of residents in the residential building on the three-dimensional model of the residential building.
Optionally, gas usage data of residents in the residential building is collected from a data management system of the gas company, and the collected data is processed and converted into a format which can be displayed on the three-dimensional model. And determining the specific position of each resident on the three-dimensional model, creating a floating frame for each resident, and corresponding the floating frame to the position of the resident. And filling the processed data into the corresponding floating frames in real time so that the user can view the data. The user may view or hide the information in the floating frame by a mouse hover, click, etc.
Alternatively, a pop-up window is used to present information, or a fixed sidebar is provided alongside the three-dimensional model for presenting all the resident data, or a separate data panel is created in which the user can switch to view the different resident data.
Illustratively, it is assumed that there is a three-dimensional model of a residential building including commercial shops, residential units and public service facilities. And collecting the gas use data of each residential unit and each shop in real time through an intelligent gas meter. And analyzing the use modes of residents in the residential building in different time periods in one day, and using gas data. The gas consumption of each residential unit or business is recorded for different time periods during the day. In the three-dimensional model, each residential unit and business is represented accurately, including the residential unit and business gas pipeline runs, the gas meter connected to each unit. The gas peaks for different time periods are represented on the three-dimensional model by lines or icons of different colors, e.g. peak periods are represented by red and off-peak periods are represented by blue. The color change is dynamically updated along with the time, the change of the gas consumption mode is reflected in real time, and the gas safety control system can display the gas consumption conditions of different time periods in one day through time axis control. Besides each residential unit and each shop, the monthly fuel gas consumption is displayed through a floating frame or a mark, and when a user hovers or clicks the floating frame by a mouse, more detailed gas consumption behavior analysis such as daily consumption, peak-to-valley electricity consumption proportion and the like is displayed. Meanwhile, the user can also inquire detailed information by clicking or hovering a specific unit on the model, and a trend chart of the total gas consumption of the householder in the unit, historical gas consumption data comparison and the like are displayed.
And S37, adding a risk warning mark on the three-dimensional model of the residential building when the gas use data of the resident is greater than a preset use threshold.
The gas usage data of the householder may include data of gas consumption, frequency of use, cost information, peak period of gas consumption, etc. of the householder. The preset use threshold is a preset standard for judging whether the gas use of the resident is normal, and when the gas use data of the resident is larger than the preset use threshold, the gas consumption of the resident exceeds the normal expected level, and hidden troubles such as equipment failure, improper use and the like can exist.
Optionally, the gas safety control system monitors the gas usage data of the households in real time, compares the monitored data with a preset usage threshold, determines that the household is abnormal if the data exceeds the threshold, finds the position of the corresponding household on the three-dimensional model, triggers labeling display, and labels the abnormal household through color change, icon addition or other visual means. When the abnormal resident is hovered or clicked by a mouse, a floating frame is popped up, and the gas use data of the abnormal resident are displayed in detail, wherein the gas use data comprise the current use amount, the amount exceeding a threshold value, the detailed analysis of the gas use peak period and the like.
Optionally, the gas safety control system can generate detailed analysis reports through abnormal gas use data of households, including analysis of reasons of gas abnormality, energy saving advice, preventive measures and the like. Meanwhile, the gas safety management and control system can automatically send analysis reports to property management and gas supply companies, help relevant management staff to take actions in time, optimize energy use and improve safety.
In the embodiment, the gas use conditions of each resident in the residential building are collected and analyzed in real time, and the gas use conditions in different time periods can be clearly reflected through dynamic color change and icon representation. The user can check the gas consumption behavior analysis of the resident through the mouse operation, and the gas safety control system can automatically mark and inform abnormal conditions, so that the user can more intuitively see the gas consumption data in the city, and the gas consumption behavior of the resident can be better analyzed.
Based on the above embodiments, in the fifth embodiment of the present application, the same or similar contents as those of the above embodiments may be referred to the above description, and will not be repeated. On this basis, please refer to fig. 5, after step S30, steps S40 to S60 are further included:
step S40, video monitoring data in the gas facilities are obtained, wherein the video monitoring data comprise video monitoring places and corresponding real-time monitoring videos.
And step S50, adding a video warning identifier in the gas facility three-dimensional model based on the video monitoring place.
First, the data of the video monitoring system needs to be integrated into the gas safety control system to obtain the position, state and other relevant information of the monitoring point. In the three-dimensional model, according to the actual geographic position of the video monitoring place, a corresponding model position is found to ensure the correct mapping of the video monitoring place in the three-dimensional scene. For each video monitoring place, adding a video warning identifier, such as a visual label or icon, in the three-dimensional model, wherein the labels can be marks with different colors or shapes so as to distinguish different monitoring points or states, and displaying a video monitoring list in a floating frame form, wherein the video monitoring list contains all video monitoring place information.
And step S60, responding to the clicking action of the video warning mark, and displaying the real-time monitoring video of the video monitoring place.
The gas safety control system recognizes clicking actions of a user, determines clicking monitoring places, requests real-time monitoring video streams to a monitoring system where the monitoring cameras are located, and receives and displays real-time monitoring videos transmitted from the monitoring cameras.
Optionally, the user can obtain detailed data and video streams of the monitoring point by clicking or hovering a video alert identifier, such as a camera annotation, in the three-dimensional model. When a user interacts with the video warning mark in the three-dimensional model, the gas safety control system responds to the action, displays a real-time video picture of the monitoring point through a user interface, and fuses the video picture with the three-dimensional model, so that video content can be displayed as a part of the three-dimensional scene, and the visual effect and the spatial sense are enhanced.
Illustratively, feature point pairs corresponding to a scene live-action three-dimensional model are selected from frame images captured by a camera, and the precise position and direction of the camera are determined by using a least square method or singular value decomposition to calculate the spatial geometric pose of the video surveillance camera. And then calculating the visual range of the visual angle of the camera, intersecting with the three-dimensional model to obtain the model vertex of the visual camera, and establishing a mapping relation. And transmitting and decoding the real-time monitoring video stream into a gas safety control system, converting the real-time video stream frame into standard texture images, and attaching the images to the surface of the three-dimensional model according to the mapping relation. And then rendering the video textures in real time in the three-dimensional scene, adjusting visual parameters such as proportion, angle and illumination according to the requirements, dynamically updating the rendered video textures, and selecting proper refreshing frequency to ensure smooth visual effect.
Optionally, the user may click on a certain video monitoring location in the video list, and the gas safety control system may automatically adjust the viewing angle of the three-dimensional view to the video monitoring location, obtain a video stream of the video monitoring location, and display the video stream through the user interface.
In this embodiment, by integrating video monitoring data into a three-dimensional model of the gas facility, the user can intuitively see the exact location and coverage of the monitoring camera. When a user interacts with the video warning mark, the real-time video stream can be immediately acquired, and the real-time visual feedback enables the acquisition of the monitoring information to be more direct and dynamic. In addition, through rendering video textures in the three-dimensional scene, a user can not only see the monitoring picture, but also combine the monitoring picture with an actual facility model, a more comprehensive visual angle is provided for observing and analyzing the running condition of the gas facility, and the intuitiveness and the easy understandability of data presentation are effectively improved.
In the sixth embodiment of the present application, the same or similar contents as those of the above embodiment can be referred to the above description, and the description thereof will be omitted. On this basis, referring to fig. 6, step S20 further includes steps S21 to S23:
S21, acquiring a preset visual field range of a three-dimensional view point of the gas facility three-dimensional model;
And S22, loading a two-dimensional view of the gas pipeline when the gas pipeline is out of the preset visual field range.
And S23, loading a three-dimensional model of the gas pipeline and vector data when the gas pipeline is in the preset visual field range, wherein the vector data comprises the geometric shape, attribute information and connection points of the gas pipeline.
It should be noted that the vector data represents a geographic or engineering object by a mathematical vector. The geometry of the gas pipeline comprises a straight line section, a curve section, a starting point, a finishing point and the like of the pipeline. The attribute information is data associated with the geometry, including diameter, material, operating pressure, flow direction, transport capacity, age of construction, etc. of the conduit, and may be associated with the gas conduit by a unique identifier. In a gas pipeline network, a connection relationship exists between pipeline sections. The connection points in the vector data define these relationships, ensuring that the topology of the pipeline network is correct.
Illustratively, vector data of the gas pipeline is collected and collated first, and a three-dimensional model of the gas pipeline is created using three-dimensional modeling software. And establishing a three-dimensional shape of the gas pipeline, and reserving storage spaces of the attribute information and the connection points in the three-dimensional model. And matching and integrating the geometric shapes in the vector data with the corresponding parts of the three-dimensional model, so as to ensure that the three-dimensional representation of each pipeline segment is consistent with the vector data. The attribute information and the connection point data are mapped to corresponding pipeline segments in the three-dimensional model, and labels are added to the three-dimensional view or different colors and textures are used to represent different attributes. And displaying the gas pipeline with the vector data superimposed in the three-dimensional model, so that a user can intuitively see the spatial distribution, the connection relation and the related attribute information of the pipeline.
And determining the observation point, the view angle and the view field size of the user in the three-dimensional view, wherein when the gas pipeline is positioned outside the preset view field range, namely the view field of the user is wider, the gas safety control system displays the gas pipeline in a simplified two-dimensional view, for example, the gas pipeline is represented by lines, so that the user can observe a large-scale underground pipeline layout. When the gas pipeline is located in a preset visual field range, namely, the visual field of a user is focused in a specific small area, the gas safety control system displays a detailed three-dimensional model and vector data of the gas pipeline so as to provide a finer visual effect and display the spatial relationship and detailed characteristics of the gas pipeline.
Optionally, vector data of the gas conduit is superimposed on the three-dimensional model of the gas conduit by vector slicing. Slices can break up data into multiple portions or levels. Optimizing the loading and rendering of data. Especially when processing large-scale or complex geographical data, slicing may be performed according to different criteria, such as geographical extent, scale level or complexity of the data.
The vector data of the gas pipeline is illustratively sliced according to certain rules or criteria to generate a plurality of data blocks or data sets. Each slice may represent a particular geographic region, scale level, or level of data detail. Thus, when a user browses or zooms in the three-dimensional model, the gas safety management and control system can only load and render vector data slices of the gas pipeline within the current field of view of the user.
For better understanding of the solution presented in this example, this example is further described in connection with a specific application scenario.
Assume a network of urban gas pipelines covering different areas of a city, including business, residential and industrial areas. The data for the gas pipeline includes pipeline geometry, attribute information such as diameter, material, pressure rating, and connection points. Vector data of the all-market gas pipeline is collected, including accurate position, shape and attribute information of the pipeline. Slicing rules are defined according to geographic area, scale, and level of data detail. For example, gas pipeline data of a commercial area, a residential area, and an industrial area are divided into three data sets, respectively, by area division, and two-dimensional surface image data are superimposed on the three areas. The user interface is designed to allow the user to navigate through the three-dimensional model by zooming, panning, rotating, etc. When a user browses or zooms in the three-dimensional model, the gas safety control system dynamically loads corresponding gas pipeline vector data slices according to the visual field range of the user. For example, if a user zooms in to a commercial area, the gas safety management system only loads gas pipeline data slices for that area. When the user's field of view is focused on a particular pipe segment, the gas safety management and control system may provide detailed information about the pipe segment, such as diameter, pressure, etc.
In large cities, the gas pipeline network is complex and can be sliced according to the scale and the data detail level. For example, when the user zooms the view to 1: when the scale is 1000, vector data in 1000 meters of the three-dimensional view point are displayed, and only the trend layout of the gas pipeline is displayed; as the user continues to zoom, enter 1:500, displaying vector data in a three-dimensional viewpoint of 500 meters, and displaying trend layout, connection points, valve positions and the like of the gas pipeline; when the user zooms view 1:250, vector data within 250 meters of the three-dimensional viewpoint is displayed, and finer pipeline layout and attribute information, such as the diameter and pressure level of the gas pipeline, are displayed. By slicing according to the scale level, the loading and displaying of the data can be dynamically adjusted according to the browsing requirements of the user, and the response speed and the user experience of the gas safety control system are improved.
In the embodiment, by superposing vector data of the gas pipeline with the three-dimensional model and dynamically loading corresponding views according to the visual field range, efficient management and visualization of the gas pipeline network are realized. The accessibility and the visualization effect of the data are improved, and the user can obtain the most suitable view under different viewpoints.
Based on the above embodiments, in the seventh embodiment of the present application, the same or similar contents as those of the above embodiments may be referred to the above description, and will not be repeated. On this basis, referring to fig. 7, after step S20, the control method of the CIM platform-based gas safety control system further includes step S70:
And step S70, responding to clicking actions of the three-dimensional models of the gas station and the residential building, and displaying modeling data of the gas station and the residential building.
For example, the modeling data may include building information model data. Where building information model data refers to a collection of data generated during the building information model creation and use. The building information model is a digital building project expression mode, and relates to digital information representation of physical characteristics and functional characteristics of a building, and the digital information model is used for full life cycle management of building design, construction, operation and maintenance. The building information model data includes three-dimensional geometry of the building, various non-geometric information related to building elements such as material type, spatial layout of the interior of the building, and the like. When a user clicks or hovers over a certain component within a certain gas station or residential building, the building information model data for that component may be highlighted or queried. The building information model data can be marked, and a user can quickly position the corresponding model component by searching the mark.
In the present embodiment, by integrating building information model data in three-dimensional models of gas stations and residential buildings, a user can intuitively view physical characteristics and functional information of the building. The user can quickly acquire the attribute data of the building by clicking or hovering on the specific building, so that the limitation of the traditional method in presenting the data of the gas facilities is effectively solved, and the user can understand and manage the gas facilities in an intuitive and understandable manner.
Based on the above embodiments, in the eighth embodiment of the present application, the same or similar contents as those of the above embodiments may be referred to the above description, and will not be repeated. On this basis, referring to fig. 8, after step S20, the control method of the CIM platform-based gas safety control system further includes step S80:
And step S80, adjusting the transparency of the three-dimensional model of the residential building in response to the clicking action of the three-dimensional model of the residential building so as to display the layout of the gas pipelines in the residential building.
For example, a user may search for a specific residential building through the query function of the gas safety management system. And the gas safety control system searches corresponding data in the database according to the query condition of the user, and positions the specific position of the residential building in the three-dimensional view. After a user selects or clicks a resident, the transparency of the outer wall of a building and other structures can be adjusted, and the display of the gas pipeline still keeps the form and the position of the gas pipeline in the actual physical space, so that the user can accurately understand the trend and the distribution of the pipeline. The user can freely move and observe in the three-dimensional scene, view the layout of the gas pipeline from different angles and positions, and in the observation process, the user can view the detailed information of the gas pipeline, such as the diameter, the material, the trend, the connection relation with other facilities and the like of the pipeline.
In this embodiment, by adjusting the transparency of the three-dimensional model of the residential building to display the gas pipeline layout inside thereof, the user can not only obtain an intuitive understanding of the gas pipeline layout inside the residential building, but also effectively plan, inspect and maintain the pipeline system without entering the building.
Illustratively, the gas safety management and control system comprises an information inquiry interface which can integrate data of a gas related system, such as annual gas transmission quantity, pipeline mileage, staff number, pipe network composition, gas supply structure, service capability and the like, and is presented in a data chart form. The information inquiry interface can display the distribution of the high-pressure, the secondary high-pressure and the medium-pressure gas pipelines through a unified view. The user can view the distribution of the pipeline in a two-dimensional or three-dimensional view by selecting different pipeline types, and acquire attribute information of a specific pipeline section, such as pipeline information, specifications, wall thickness, length, corrosion prevention information, space coordinates and the like. Meanwhile, the information inquiry interface allows a user to inquire and display relevant information of a gas station, a residential building and a village in a city. The user can jump to a specific view angle by clicking on the interface element and view building information model attribute information such as building materials, complex profiles, pipe profiles, photographs, job plans, risk levels, box and valve information, etc. Through visual user interfaces and rich information display, the capability of the gas safety management and control system for monitoring gas facilities in real time and evaluating risks is enhanced.
For example, in a three-dimensional model, the position of the vehicle is visually noted. Different types of vehicles are distinguished using icons of different colors, such as blue for motorcycles, red for fire engines, yellow for ambulances, etc., to facilitate quick identification. The user may display detailed attribute information of the vehicle, including vehicle pictures, license plates, communication numbers, speeds, directions, times, mileage, latitude and longitude coordinates, status, driver information, warning information, and other related data, by clicking on a vehicle icon in the three-dimensional scene or a vehicle entry in the vehicle list. The gas safety control system can display the real-time position and the historical track of the vehicle, and help a user to know the past moving path of the vehicle. Meanwhile, vehicle information and personnel number information are displayed in a floating frame mode, so that a user is allowed to inquire according to different areas and vehicle types, and the vehicle type, the license plate number, the engine number and other detailed information are included. Vehicles and personnel in the gas facility are effectively monitored and managed, and the safety management level and emergency response capability are improved.
It should be noted that the foregoing examples are only for understanding the present application, and do not constitute a limitation on the control method of the CIM platform-based gas safety control system of the present application, and it is within the scope of the present application to perform more forms of simple transformation based on the technical concept.
The flowcharts and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present application. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
The modules involved in the embodiments of the present application may be implemented in software or in hardware. Wherein the name of the module does not constitute a limitation of the unit itself in some cases.
The foregoing description is only a partial embodiment of the present application, and is not intended to limit the scope of the present application, and all the equivalent structural changes made by the description and the accompanying drawings under the technical concept of the present application, or the direct/indirect application in other related technical fields are included in the scope of the present application.