CN115080558A - Rapid rendering and construction progress simulation method for power grid information model - Google Patents

Rapid rendering and construction progress simulation method for power grid information model Download PDF

Info

Publication number
CN115080558A
CN115080558A CN202210450278.3A CN202210450278A CN115080558A CN 115080558 A CN115080558 A CN 115080558A CN 202210450278 A CN202210450278 A CN 202210450278A CN 115080558 A CN115080558 A CN 115080558A
Authority
CN
China
Prior art keywords
data
data file
construction progress
rendering
file
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.)
Pending
Application number
CN202210450278.3A
Other languages
Chinese (zh)
Inventor
李彦吉
王艳辉
李岩
于洋
刘彬
孟繁利
雷红霞
王向上
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing North Star Technology Development Co ltd
State Grid Economic and Technological Research Institute
State Grid Eastern Inner Mongolia Power Co Ltd
Original Assignee
Beijing North Star Technology Development Co ltd
State Grid Economic and Technological Research Institute
State Grid Eastern Inner Mongolia Power Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Beijing North Star Technology Development Co ltd, State Grid Economic and Technological Research Institute, State Grid Eastern Inner Mongolia Power Co Ltd filed Critical Beijing North Star Technology Development Co ltd
Priority to CN202210450278.3A priority Critical patent/CN115080558A/en
Publication of CN115080558A publication Critical patent/CN115080558A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/22Indexing; Data structures therefor; Storage structures
    • G06F16/2282Tablespace storage structures; Management thereof
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • G06F16/18File system types
    • G06F16/182Distributed file systems
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/24Querying
    • G06F16/245Query processing
    • G06F16/2458Special types of queries, e.g. statistical queries, fuzzy queries or distributed queries
    • G06F16/2477Temporal data queries
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/24Querying
    • G06F16/248Presentation of query results
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/27Replication, distribution or synchronisation of data between databases or within a distributed database system; Distributed database system architectures therefor
    • G06F16/278Data partitioning, e.g. horizontal or vertical partitioning
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/28Databases characterised by their database models, e.g. relational or object models
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/28Databases characterised by their database models, e.g. relational or object models
    • G06F16/284Relational databases
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/29Geographical information databases
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q10/00Administration; Management
    • G06Q10/06Resources, workflows, human or project management; Enterprise or organisation planning; Enterprise or organisation modelling
    • G06Q10/063Operations research, analysis or management
    • G06Q10/0631Resource planning, allocation, distributing or scheduling for enterprises or organisations
    • G06Q10/06313Resource planning in a project environment
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q10/00Administration; Management
    • G06Q10/06Resources, workflows, human or project management; Enterprise or organisation planning; Enterprise or organisation modelling
    • G06Q10/063Operations research, analysis or management
    • G06Q10/0631Resource planning, allocation, distributing or scheduling for enterprises or organisations
    • G06Q10/06316Sequencing of tasks or work
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q10/00Administration; Management
    • G06Q10/06Resources, workflows, human or project management; Enterprise or organisation planning; Enterprise or organisation modelling
    • G06Q10/067Enterprise or organisation modelling
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q50/00Information and communication technology [ICT] specially adapted for implementation of business processes of specific business sectors, e.g. utilities or tourism
    • G06Q50/06Energy or water supply
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q50/00Information and communication technology [ICT] specially adapted for implementation of business processes of specific business sectors, e.g. utilities or tourism
    • G06Q50/08Construction
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T15/003D [Three Dimensional] image rendering
    • G06T15/04Texture mapping
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T15/003D [Three Dimensional] image rendering
    • G06T15/50Lighting effects
    • G06T15/506Illumination models
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T15/003D [Three Dimensional] image rendering
    • G06T15/50Lighting effects
    • G06T15/80Shading
    • G06T15/83Phong shading
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T15/003D [Three Dimensional] image rendering
    • G06T15/50Lighting effects
    • G06T15/80Shading
    • G06T15/87Gouraud shading
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T17/00Three dimensional [3D] modelling, e.g. data description of 3D objects
    • G06T17/20Finite element generation, e.g. wire-frame surface description, tesselation
    • G06T17/205Re-meshing
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2210/00Indexing scheme for image generation or computer graphics
    • G06T2210/04Architectural design, interior design
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2210/00Indexing scheme for image generation or computer graphics
    • G06T2210/32Image data format
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2210/00Indexing scheme for image generation or computer graphics
    • G06T2210/36Level of detail

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Human Resources & Organizations (AREA)
  • Databases & Information Systems (AREA)
  • Strategic Management (AREA)
  • Economics (AREA)
  • General Engineering & Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Entrepreneurship & Innovation (AREA)
  • General Business, Economics & Management (AREA)
  • Marketing (AREA)
  • Computer Graphics (AREA)
  • Tourism & Hospitality (AREA)
  • Quality & Reliability (AREA)
  • Educational Administration (AREA)
  • Game Theory and Decision Science (AREA)
  • Health & Medical Sciences (AREA)
  • Software Systems (AREA)
  • Operations Research (AREA)
  • Development Economics (AREA)
  • Computational Linguistics (AREA)
  • Primary Health Care (AREA)
  • General Health & Medical Sciences (AREA)
  • Geometry (AREA)
  • Remote Sensing (AREA)
  • Fuzzy Systems (AREA)
  • Mathematical Physics (AREA)
  • Probability & Statistics with Applications (AREA)
  • Public Health (AREA)
  • Water Supply & Treatment (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Biodiversity & Conservation Biology (AREA)
  • Computing Systems (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The invention discloses a method for simulating rapid rendering and construction progress of a power grid information model, which relates to the technical field of data model storage and display and comprises the following steps: receiving a data stream on a line and writing the data stream into a local file; decompressing the local file to form a first data file with a specific format; analyzing the first data file according to a setting module to form a second data file; carrying out lightweight processing on the second data file to form a third data file; storing the data attributes of a third data file into different databases, wherein first instruction information is received, and the first instruction information is used for instructing the databases to select different rendering strategies and display strategies according to the model characteristics of the third data file so as to display the third data file; and receiving second instruction information, wherein the second instruction information is used for showing the construction progress of the third data file.

Description

Rapid rendering and construction progress simulation method for power grid information model
Technical Field
The invention relates to the technical field of data model storage and display, in particular to a method for quickly rendering a power grid information model and simulating construction progress.
Background
The GIM (Grid Information Model) refers to a technical standard which is set by national Grid limited companies to meet the three-dimensional design requirements of power transmission and transformation projects, and a national Grid institute independently develops and is suitable for power transmission and transformation project construction and an extensible national Grid GIM standard system by setting a unified data architecture, a coding system, an interaction mode, a design depth and a result form. The GIM standard strives to standardize and unify design objects, processes and achievements, constructs a full-professional and full-process coverage technical standard system, and forms a data docking standard of upstream and downstream business links.
However, the storage and display processes of the converter station model in the prior art are slow, and the construction progress cannot be displayed.
Disclosure of Invention
Aiming at the defects in the prior art, the invention provides a method for simulating the rapid rendering and construction progress of a power grid information model, so as to improve the speed of storing and displaying a converter station model.
In order to achieve the purpose, the invention can adopt the following technical scheme:
a method for rapid rendering and construction progress simulation of a power grid information model comprises the following steps:
receiving a data stream on a line and writing the data stream into a local file;
decompressing the local file to form a first data file with a specific format;
analyzing the first data file according to a setting module to form a second data file;
carrying out lightweight processing on the second data file to form a third data file;
storing the data attributes of a third data file into different databases, wherein the first data file, the second data file and the third data file all comprise models;
receiving first instruction information, wherein the first instruction information is used for instructing the database to select different rendering strategies and display strategies according to the model characteristics of the third data file so as to display the third data file;
and receiving second instruction information, wherein the second instruction information is used for showing the construction progress of the third data file.
The method for simulating the rapid rendering and the construction progress of the power grid information model further includes the following steps that the first data file is analyzed according to a setting module to form a second data file, and the method includes:
the electric part analyzes and parameterizes files at each level of cbm/dev/phm/mod of the first data file through an Open CASCADE Open source geometry engine to realize the construction of basic primitives and steel component primitives;
the civil engineering part is stored in an IFC format file and is analyzed by adopting an XBIM open source software development kit;
if the intermediate result analyzed in the step is a whole station GIM file, processing the analysis result into a 3 dfiles file for issuing; and if the device-level GIM file exists, processing the analysis result into a GLB format for releasing.
The method for fast rendering and simulating construction progress of the power grid information model further includes performing lightweight processing on the second data file to form a third data file, and includes:
mesh simplification, namely reducing the number of triangular surfaces of Mesh by adopting an edge folding simplification algorithm based on weighted quadratic error measure under the condition of ensuring that the outer contour is not changed, and setting different simplification coefficients for models with different fineness degrees;
a shell, which only retains the surface information of the model and filters the components in the model when processing the building or regular electrical equipment;
mesh compression, which adopts a Google open source Draco 3D geometric Mesh compression algorithm to compress Mesh information so as to reduce the Mesh volume;
the LOD technology loads models with different fineness according to the size of the area occupied by the models on the screen and the user viewpoint; cutting and partitioning the model according to the area, establishing a spatial index mechanism, and only rendering the model data in the current view range;
instantiation techniques multiplex models having the same shape in space, and draw multiple instances with only one copy of data loaded.
The method for simulating the rapid rendering and the construction progress of the power grid information model further stores the data attributes of the third data file into different databases, and comprises the following steps:
constructing a storage environment of a hybrid architecture based on a distributed storage technology, and expanding and comprehensively utilizing a NoSQL database and a distributed file system on the basis of a traditional relational database and a shared file system;
creating a corresponding base table, warehousing the original GIM data, the processing result data and the engineering attribute information, and adding a timestamp and label information into each warehoused record;
the method comprises the steps of storing the data through a relational database facing to structured data;
and storing the data by a NoSQL database facing to unstructured data.
The method for simulating the rapid rendering and the construction progress of the power grid information model further includes the following steps of storing the data attributes of the third data file into different databases:
storing the data volume exceeding the set volume and the parallel processing requirement exceeding the set number in a database-dividing and read-write separation mode;
and for the data volume of the single table exceeding the set volume, storing the data volume in a manner of dividing the table and the sub-table.
The method for simulating the rapid rendering and the construction progress of the power grid information model further comprises the following rendering strategies:
real-time cloud rendering, namely inputting an instruction through a remote terminal, transmitting the instruction to a server, executing the instruction on the server, and transmitting an execution result to the remote terminal in a video picture stream mode;
and (3) distributed cluster rendering, namely, a background server distributed cluster is built, a rendering area is divided at a user terminal, a single frame of picture is divided into different areas, the background server distributed cluster respectively renders a part of the areas, and finally rendered area images are combined into a picture which is transmitted to the user terminal for rendering.
The method for simulating the rapid rendering and the construction progress of the power grid information model further comprises the following steps:
constructing a material library of the model and providing general materials;
constructing an illumination model library and providing a universal illumination model;
and providing a combination of general materials and illumination models so that a user can select a corresponding display mode according to different rendering effect requirements.
The method for simulating the rapid rendering and the construction progress of the power grid information model further includes:
obtaining the construction period of a region or a whole station according to the input construction conditions by taking construction items or the minimum installation unit as a unit, and arranging a construction plan;
the construction progress plan arranges the subentry sequence according to the logic relation among the subentries.
The method for simulating the rapid rendering and the construction progress of the power grid information model further includes the following steps:
and dynamically assembling a minimum installation unit model by taking the minimum installation unit as a basic model unit according to the actual construction progress, and displaying the three-dimensional scene under the current construction progress, wherein when the model does not reach the granularity of the minimum installation unit, the current construction progress is displayed by adopting the form of different colors or percentages of the equipment main body.
The method for simulating the rapid rendering and the construction progress of the power grid information model further includes the following steps:
filling the current construction progress by taking the sub-item or the minimum installation unit as a unit;
the construction progress is shown in the form of a chart and a text by combining a three-dimensional scene;
and when the site construction progress lags behind the construction progress plan, sending out an early warning.
Compared with the prior art, the invention has the beneficial effects that:
1. the invention has the function of GIM model online automatic analysis, the analysis of the GIM file is divided into three parts, the analysis result is processed into a 3 dfiles file for the whole station GIM file to be issued, and the processing result is converted into a GLB format for the equipment GIM file to be issued.
2. The invention can carry out lightweight processing on the GIM model, keeps smooth rendering speed at the front end, and needs to carry out automatic lightweight processing on the analyzed model.
3. The method can be used for constructing a storage environment of a hybrid architecture for distributed storage of the GIM model based on a distributed storage technology, and can expand and comprehensively utilize the NoSQL database and the distributed file system on the basis of the traditional relational database and the shared file system. And establishing a corresponding base table, warehousing the original GIM data, the processed result data, the engineering attribute information and the like, and adding a timestamp and label information into each warehoused record to facilitate query. The method comprises the steps of (1) storing the data oriented to the structure through a relational database, wherein the relational database comprises spatial information, attribute information and the like; and storing the data by a NoSQL database facing the unstructured data, wherein the data comprises monomer model data, slice data, document data and the like.
And for the data with large data volume and high concurrency, a strategy of database partitioning and read-write separation is adopted. And for the condition that the single table has large data quantity, a table partitioning mode and a table partitioning mode are adopted.
4. The invention can perform online visual rendering and online visual rendering on the GIM model, and in order to ensure that the model has better display effect in the model library, the model effect needs to be optimized by adopting a corresponding algorithm, and in addition, model data scene interaction is provided.
5. The construction progress can be simulated in an emulation way, and construction procedures are arranged according to a site construction milestone plan; and performing progress simulation, filling and early warning of construction progress.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed to be used in the embodiments will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art that other drawings can be obtained according to these drawings without creative efforts.
Fig. 1 is a flowchart of a method for rapid rendering and construction progress simulation of a power grid information model according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be described clearly and completely with reference to the accompanying drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
Example (b):
it should be noted that the terms "first," "second," and the like in the description and claims of the present invention and in the drawings described above are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the invention described herein are capable of operation in sequences other than those illustrated or described herein. Furthermore, the terms "comprises," "comprising," and any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
And building a three-dimensional visual scene for realizing uploading analysis, lightweight processing, cloud rendering and simulation of construction progress of a power Grid Information Model (GIM). The performance and effect of online rendering of the power grid information model are optimized, and meanwhile the working efficiency and quality of the power grid information model in construction management and control application are improved.
Techniques used by the system include:
web end development technology: a mature interface showing technology is adopted, including React, ant and dva, three-dimensional rendering adopts WebGL as a graphic library and ThreeJS as a front-end graphic rendering engine, and common browsers such as chord, Firefox and IE are adapted.
The server development technology comprises the following steps: the method comprises the steps of building background services by adopting the technologies of node.js, eg.js, redis, sequenelize and the like, adopting an Open CASCADE engine for model services, and adopting a relational database mysql for a system database to store data.
And (3) encoding specification: the JavaScript code, the client component, the data serialization related file and the data are uniformly coded by UTF-8.
Referring to fig. 1, a method for fast rendering of a power grid information model and simulating a construction progress may include:
step 1: receiving a data stream on a line and writing the data stream into a local file;
step 2: decompressing the local file to form a first data file with a specific format;
and step 3: analyzing the first data file according to a setting module to form a second data file;
and 4, step 4: carrying out lightweight processing on the second data file to form a third data file;
and 5: storing the data attributes of a third data file into different databases, wherein the first data file, the second data file and the third data file all comprise models;
receiving first instruction information, wherein the first instruction information is used for instructing the database to select different rendering strategies and display strategies according to the model characteristics of the third data file so as to display the third data file;
and receiving second instruction information, wherein the second instruction information is used for showing the construction progress of the third data file.
The following explains the important functions of the present invention:
further, the analyzing of the first data file according to the setting module to form a second data file includes: in the embodiment, a GIM model background analysis system receives data streams transmitted by online uploading and publishing and writes the data streams into local files. And decompressing the GIM file into a text file by an LZMA compression algorithm. The parsing of the GIM file is divided into three parts: 1. and in the electrical part, analyzing and carrying out parametric modeling on files at cbm/dev/phm/mod levels of the GIM through an Open CASCADE (OCC for short) Open source geometric engine to realize the construction of basic primitives and steel component primitives. 2. The method comprises a civil engineering part and a GIM civil engineering part, wherein a model of the GIM civil engineering part is in an IFC format, and an XBIM (extensible Building Information modeling) open source software development kit is adopted for analyzing an IFC file. 3. And format conversion, namely processing the analysis result into a 3 dfiles for the whole station GIM file to be issued, and converting the processing result into a GLB format for the equipment GIM file to be issued.
Further, the lightening processing is performed on the second data file to form a third data file, and the method comprises the following steps: mesh simplification, shell extraction and Mesh compression, in this embodiment, in order to keep the smooth rendering speed of the converter station GIM model at the front end, the analyzed model needs to be automatically subjected to lightweight processing. The lightweight treatment is divided into three parts: 1. and Mesh simplification, namely reducing the number of triangular surfaces of the Mesh by adopting a weighted quadratic error measure-based Edge folding simplification algorithm (Quadric Edge Collapse simplification) under the condition of ensuring that the outer contour is not changed. Meanwhile, different simplification coefficients are set for equipment models with different fineness degrees, and the situation that the simplification degree is too large or too small is avoided. 2. Shell extraction: for buildings or regular electrical equipment, a shell drawing technology is adopted, only surface information of the model is reserved, and components inside the model are filtered, so that the data volume of the model is reduced. 3. Mesh compression: by adopting a Google open source Draco 3D geometric Mesh compression algorithm, the Mesh information is compressed, the Mesh size is reduced, and the efficiency of the 3D Mesh information in network transmission is improved. 4. LOD technique: and loading models with different fineness according to factors such as the size of the area occupied by the object on the screen, the viewpoint of a user and the like. Block scheduling: and cutting and partitioning the model according to the area, establishing a quick spatial index mechanism, selecting the model in the scene by parameters such as the sight direction and the like, and only rendering the model data in the current view range. 5. Instantiation technology: the models with the same shape in the space are multiplexed, the effect of loading only one piece of data and drawing a plurality of examples is realized, the memory space and the disk storage space of the system are saved, and the processing performance of the real-time system can be improved.
Further, storing the data attribute of the third data file into a different database, including: based on a distributed storage technology, a storage environment of a hybrid architecture is constructed, and a NoSQL database and a distributed file system are expanded and comprehensively utilized on the basis of a traditional relational database and a shared file system. And establishing a corresponding base table, warehousing the original GIM data, the processed result data, the engineering attribute information and the like, and adding a timestamp and label information into each warehoused record to facilitate query. The method comprises the steps of (1) storing the data oriented to the structure through a relational database, wherein the relational database comprises spatial information, attribute information and the like; and storing the data by a NoSQL database facing the unstructured data, wherein the data comprises monomer model data, slice data, document data and the like. And for the data with large data volume and high concurrency, a strategy of database partitioning and read-write separation is adopted. And for the condition that the single table has large data quantity, a table partitioning mode and a table partitioning mode are adopted.
Further, the rendering strategy includes: real-time cloud rendering and distributed cluster rendering. In this embodiment, real-time cloud rendering: in the conventional rendering, a GPU of a user's own computer is used to draw a scene. Different users have larger difference of rendering effect due to difference of computer performance. And because the computers used by users are common office computers and do not have professional graphic display cards, the high-quality rendering effect cannot be achieved. The real-time cloud rendering technology is that rendering work is transferred to a server, a terminal user quickly transmits an instruction input by a mouse, a keyboard and other equipment to a cloud program of the server, the instruction is executed, and an execution result is transmitted to a terminal interface in a video picture stream mode to be decoded and displayed. The whole process has low delay, and a user feels that the user operates the program on the computer, so that the user does not feel that the user is stuck, and a high-quality rendering effect can be achieved. Rendering the distributed clusters: the method comprises the steps of building a background server distributed cluster, dividing rendering areas at a user terminal, dividing a single frame of picture into different areas, rendering a part of the areas by the background server distributed cluster respectively, and finally combining images of the areas into a large picture to be transmitted to the user rendering terminal.
Further, the presentation policy includes: constructing a material library of the model and providing general materials; constructing an illumination model library and providing a universal illumination model; and providing a combination of general materials and illumination models so that a user can select a corresponding display mode according to different rendering effect requirements. In this embodiment, in order to enable the model to have a better display effect in the model library, the model effect needs to be optimized by using a corresponding algorithm. The method comprises the steps of firstly constructing a material library, and replacing conventional materials with PBR materials, wherein the PBR materials are materials which finally obtain color expression close to the physical world through given attributes such as roughness, metal degree and the like. The material library comprises a strong highlight material, a weak highlight material, a pure color material, a light material, a metal material, a texture material, a glass material, a non-highlight material and the like, and the model material can be replaced according to the effect. And secondly, constructing an illumination model library, and simulating an illumination effect and the reflection condition of an object by realizing various classical illumination models to enable the illumination effect to be close to the rendering effect of the real world. The illumination model comprises a Lambert diffuse reflection model, a Gourand illumination model, a Phong illumination model, a Blinn-Phong illumination model and a Cook-Torrance illumination model. According to different rendering effect requirements, a combination of a plurality of universal material display and illumination models is provided, so that a user can conveniently and quickly select a response display mode, and the optimal display effect is quickly achieved.
Further, the displaying the construction progress of the third data file includes: the construction plan is automatically arranged, namely according to the site construction milestone plan, the construction process is arranged. In this embodiment, a construction project of one area or a whole station is estimated based on input resource input of personnel, equipment, and the like, with a construction section or a minimum installation unit as a unit, and a construction progress plan is arranged. And (4) automatically arranging the sequence of the items in consideration of the logic relation among the items in the construction progress plan. The actual work is to study the dynamic allocation of construction resources and equipment. The sub-items have a front-back sequence relationship and a mutual exclusion relationship.
Further, the displaying the construction progress of the third data file further includes: and (5) simulating the progress. In this embodiment, the minimum installation unit (such as a main transformer body, a casing, and the like) is used as a basic model unit, and a minimum installation unit model is dynamically assembled according to an actual construction progress, so as to show a three-dimensional scene at the current construction progress. And under the condition that the model does not reach the granularity of the minimum installation unit, the current construction progress is shown in the form of different colors or percentages of the equipment main body.
Further, the displaying the construction progress of the third data file further includes: and (5) filling and early warning the construction progress. In this embodiment, the construction progress is filled: and filling the current construction progress by taking the sub-item or the minimum installation unit as a unit. And filling the construction progress according to the minimum installation unit. And filling the construction progress of the sub-items in sequence according to all the sub-items in the major item. And (3) construction progress display: and (4) displaying the construction progress in the form of a chart and a text by combining the three-dimensional scene. The construction progress of the whole station can be respectively counted, and construction progress statistics of major (electric, civil engineering and the like) can be divided. Construction progress early warning: and when the site construction progress lags behind the construction plan, early warning is timely sent out to urge the site to reasonably arrange construction.
In the description herein, references to the description of the term "one embodiment," "some embodiments," "an example," "a specific example," or "some examples," etc., mean that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the invention. In this specification, the schematic representations of the terms used above are not necessarily intended to refer to the same embodiment or example. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples. Furthermore, various embodiments or examples and features of different embodiments or examples described in this specification can be combined and combined by one skilled in the art without contradiction.
The above embodiments are only for illustrating the technical concept and features of the present invention, and the purpose thereof is to enable those skilled in the art to understand the contents of the present invention and implement the present invention accordingly, and not to limit the protection scope of the present invention accordingly. All equivalent changes or modifications made in accordance with the spirit of the present disclosure are intended to be covered by the scope of the present disclosure.

Claims (10)

1. A method for simulating rapid rendering and construction progress of a power grid information model is characterized by comprising the following steps:
receiving a data stream on a line and writing the data stream into a local file;
decompressing the local file to form a first data file with a specific format;
analyzing the first data file according to a setting module to form a second data file;
carrying out lightweight processing on the second data file to form a third data file;
storing the data attributes of a third data file into different databases, wherein the first data file, the second data file and the third data file all comprise models;
receiving first instruction information, wherein the first instruction information is used for instructing the database to select different rendering strategies and display strategies according to the model characteristics of the third data file so as to display the third data file;
and receiving second instruction information, wherein the second instruction information is used for showing the construction progress of the third data file.
2. The method for simulating the rapid rendering and the construction progress of the power grid information model according to claim 1, wherein the first data file is analyzed by a setting module to form a second data file, and the method comprises the following steps:
the electric part analyzes and parameterizes files at each level of cbm/dev/phm/mod of the first data file through an Open CASCADE Open source geometry engine to realize the construction of basic primitives and steel component primitives;
the civil engineering part is stored in an IFC format file and is analyzed by adopting an XBIM open source software development kit;
if the intermediate result analyzed in the step is a whole station GIM file, processing the analysis result into a 3 dfiles file for issuing; and if the device-level GIM file exists, processing the analysis result into a GLB format for releasing.
3. The method for simulating the rapid rendering and the construction progress of the power grid information model according to claim 1, wherein the step of performing light-weighting processing on the second data file to form a third data file comprises:
mesh simplification, namely reducing the number of triangular surfaces of Mesh by adopting an edge folding simplification algorithm based on weighted quadratic error measure under the condition of ensuring that the outer contour is not changed, and setting different simplification coefficients for models with different fineness degrees;
a shell, which only retains the surface information of the model and filters the components in the model when processing the building or regular electrical equipment;
mesh compression, which adopts a Google open source Draco 3D geometric Mesh compression algorithm to compress Mesh information so as to reduce the Mesh volume;
the LOD technology loads models with different fineness according to the size of the area occupied by the models on the screen and the user viewpoint; cutting and partitioning the model according to the area, establishing a spatial index mechanism, and only rendering the model data in the current view range;
instantiation techniques multiplex models having the same shape in space, and draw multiple instances with only one copy of data loaded.
4. The method for simulating the rapid rendering and the construction progress of the power grid information model according to claim 1, wherein the step of storing the data attributes of the third data file into different databases comprises the steps of:
constructing a storage environment of a hybrid architecture based on a distributed storage technology, and expanding and comprehensively utilizing a NoSQL database and a distributed file system on the basis of a traditional relational database and a shared file system;
creating a corresponding base table, warehousing the original GIM data, the processing result data and the engineering attribute information, and adding a timestamp and label information into each warehoused record;
the method comprises the steps of storing the data through a relational database facing to structured data;
and storing the data by a NoSQL database facing to unstructured data.
5. The method for simulating the rapid rendering and the construction progress of the power grid information model according to claim 1, wherein the data attributes of the third data file are stored in different databases, and further comprising:
storing the data volume exceeding the set volume and the parallel processing requirement exceeding the set number in a database-dividing and read-write separation mode;
and for the data volume of the single table exceeding the set volume, storing the data volume in a manner of dividing the table and the sub-table.
6. The method for rapid rendering and construction progress simulation of a power grid information model according to claim 1, wherein the rendering strategy comprises:
real-time cloud rendering, namely inputting an instruction through a remote terminal, transmitting the instruction to a server, executing the instruction on the server, and transmitting an execution result to the remote terminal in a video picture stream mode;
and (3) distributed cluster rendering, namely, a background server distributed cluster is built, a rendering area is divided at a user terminal, a single frame of picture is divided into different areas, the background server distributed cluster respectively renders a part of the areas, and finally rendered area images are combined into a picture which is transmitted to the user terminal for rendering.
7. The method for rapid rendering and construction progress simulation of a power grid information model according to claim 1, wherein the display strategy comprises:
constructing a material library of the model and providing general materials;
constructing an illumination model library and providing a universal illumination model;
and providing a combination of general materials and illumination models so that a user can select a corresponding display mode according to different rendering effect requirements.
8. The method for rapid rendering and construction progress simulation of a power grid information model according to claim 1, wherein the displaying of the construction progress of the third data file comprises:
taking the construction item or the minimum installation unit as a unit, obtaining the construction period of a region or the whole station according to the input construction conditions, and arranging a construction plan;
the construction progress plan arranges the subentry sequence according to the logic relation among the subentries.
9. The method for rapid rendering and construction progress simulation of a power grid information model according to claim 8, wherein the showing of the construction progress of the third data file further comprises:
and dynamically assembling a minimum installation unit model by taking the minimum installation unit as a basic model unit according to the actual construction progress, and displaying the three-dimensional scene under the current construction progress, wherein when the model does not reach the granularity of the minimum installation unit, the current construction progress is displayed by adopting the form of different colors or percentages of the equipment main body.
10. The method for rapid rendering and construction progress simulation of a power grid information model according to claim 9, wherein the displaying the construction progress of the third data file further comprises:
filling the current construction progress by taking the sub-item or the minimum installation unit as a unit;
the construction progress is shown in the form of a chart and a text by combining a three-dimensional scene;
and when the site construction progress lags behind the construction progress plan, sending out an early warning.
CN202210450278.3A 2022-04-26 2022-04-26 Rapid rendering and construction progress simulation method for power grid information model Pending CN115080558A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210450278.3A CN115080558A (en) 2022-04-26 2022-04-26 Rapid rendering and construction progress simulation method for power grid information model

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210450278.3A CN115080558A (en) 2022-04-26 2022-04-26 Rapid rendering and construction progress simulation method for power grid information model

Publications (1)

Publication Number Publication Date
CN115080558A true CN115080558A (en) 2022-09-20

Family

ID=83247612

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210450278.3A Pending CN115080558A (en) 2022-04-26 2022-04-26 Rapid rendering and construction progress simulation method for power grid information model

Country Status (1)

Country Link
CN (1) CN115080558A (en)

Similar Documents

Publication Publication Date Title
Zhou et al. Cross-platform online visualization system for open BIM based on WebGL
CN110751712A (en) Online three-dimensional rendering technology and system based on cloud platform
CN113255051B (en) Method and device for lightening large-volume BIM (building information modeling) model
CN111079244B (en) Distributed simulation platform based on behavior tree
CN110855482A (en) Three-dimensional dynamic communication network analog simulation method, system and storage medium
CN109670222A (en) A kind of model or the online contrast difference's methods, devices and systems of drawing
CN111625226A (en) Prototype-based human-computer interaction design implementation method and system
CN114372355A (en) Digital twinning method based on digital-analog separation data flow mode
CN114356868A (en) Three-dimensional model file processing method and related equipment thereof
CN115098907A (en) Transformer substation 4D-BIM visualization method and system based on virtual reality
CN112651711A (en) System for building collaborative design management platform based on XDB (X data base) file under BS (browser/server) architecture
Ji et al. Design and development of a maintenance and virtual training system for ancient Chinese architecture
CN116340260A (en) Building model data rendering method and device, electronic equipment and readable storage medium
CN116126981A (en) Method for using three-dimensional visualization technology in urban security service scene
CN115495069A (en) Model-driven coal industry software flow implementation method, device and equipment
CN114281509B (en) Spacecraft multiuser collaborative task planning system based on scene description
CN112818450B (en) BIM (building information modeling) model organization method based on block index
Li et al. Investigations on visualization and interaction of ship structure multidisciplinary finite element analysis data for virtual environment
CN115080558A (en) Rapid rendering and construction progress simulation method for power grid information model
CN114461959A (en) WEB side online display method and device of BIM data and electronic equipment
Quammen Scientific Data Analysis and Visualization with Python, VTK, and ParaView.
CN114791986A (en) Three-dimensional information model processing method and device
CN109389662B (en) A kind of three-dimensional scenic visual configuration method and device
CN116227103A (en) Power communication resource operation and maintenance control method based on digital twin
CN117390315A (en) Web-side three-dimensional visualization method, electronic equipment and storage medium

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