CN117077263A - Inspection method for three-dimensional space safety distance of substation equipment based on Revit - Google Patents
Inspection method for three-dimensional space safety distance of substation equipment based on Revit Download PDFInfo
- Publication number
- CN117077263A CN117077263A CN202311070649.6A CN202311070649A CN117077263A CN 117077263 A CN117077263 A CN 117077263A CN 202311070649 A CN202311070649 A CN 202311070649A CN 117077263 A CN117077263 A CN 117077263A
- Authority
- CN
- China
- Prior art keywords
- entity
- tested
- box
- intersection
- security
- 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
Links
- 238000000034 method Methods 0.000 title claims abstract description 13
- 238000007689 inspection Methods 0.000 title claims description 6
- 238000013461 design Methods 0.000 claims abstract description 9
- 238000012216 screening Methods 0.000 claims abstract description 4
- 239000011159 matrix material Substances 0.000 claims description 12
- 238000012986 modification Methods 0.000 claims description 6
- 230000004048 modification Effects 0.000 claims description 6
- 238000006243 chemical reaction Methods 0.000 claims description 4
- 239000007787 solid Substances 0.000 claims description 3
- 238000010586 diagram Methods 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000005259 measurement Methods 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F30/00—Computer-aided design [CAD]
- G06F30/10—Geometric CAD
- G06F30/13—Architectural design, e.g. computer-aided architectural design [CAAD] related to design of buildings, bridges, landscapes, production plants or roads
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F30/00—Computer-aided design [CAD]
- G06F30/10—Geometric CAD
- G06F30/12—Geometric CAD characterised by design entry means specially adapted for CAD, e.g. graphical user interfaces [GUI] specially adapted for CAD
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F30/00—Computer-aided design [CAD]
- G06F30/20—Design optimisation, verification or simulation
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F2111/00—Details relating to CAD techniques
- G06F2111/20—Configuration CAD, e.g. designing by assembling or positioning modules selected from libraries of predesigned modules
Landscapes
- Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- Geometry (AREA)
- Theoretical Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Computer Hardware Design (AREA)
- Evolutionary Computation (AREA)
- General Engineering & Computer Science (AREA)
- Computational Mathematics (AREA)
- Mathematical Analysis (AREA)
- Mathematical Optimization (AREA)
- Pure & Applied Mathematics (AREA)
- Architecture (AREA)
- Structural Engineering (AREA)
- Civil Engineering (AREA)
- Human Computer Interaction (AREA)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
Abstract
The invention relates to a method for checking three-dimensional space safety distance of substation equipment based on Rev i t, which comprises the following steps: s1, analyzing a model, screening a member to be tested in a Rev it platform, analyzing a three-dimensional graph of the member to be tested, and acquiring data of a three-dimensional entity So i l d; s2, respectively carrying out two bounding boxes according to the vertex data of the to-be-detected component in S1, wherein one of the bounding boxes is a maximum safe enveloping box based on AABB expansion, and the other bounding box is a minimum safe enveloping box based on OBB; s3, carrying out entity intersection with all three-dimensional entity So l i d data sets through the maximum security envelope box, and judging whether intersection exists or not; carrying out entity intersection by using the minimum security envelope box and components in the security range, if the entity intersection exists, namely, the design range is not satisfied; and S4, outputting the result calculated in the step S3 to a window. The invention has the advantages that: it can be quick accurate discernment equipment arrangement whether can satisfy the interval requirement of rule.
Description
Technical Field
The invention relates to application based on Revit, in particular to a method for checking three-dimensional space safety distance of substation equipment based on Revit.
Background
In the traditional mode, equipment arrangement in the substation can only rely on the mode of manual measurement distance to judge whether interval etc. can satisfy the requirement of standard, this kind of mode wastes time and energy, and still judge easily to miss, in case local regional interval etc. are found to be unable to satisfy the standard requirement in the later stage, cause later stage reworking easily, often only can judge whether the interval of equipment satisfies the requirement of standard on two-dimensional plane simultaneously in the traditional mode, but the standard also has clear requirement to the height of three-dimensional space, this often just the capacity is ignored on the plane, lead to the later stage to find that the intra-house height of the substation does not satisfy the standard requirement, lead to reworking etc. just troublesome, it is wasted time and energy.
Disclosure of Invention
The invention aims at: the method for checking the three-dimensional space safety distance of the substation equipment based on Revit can quickly and accurately identify whether the equipment arrangement can meet the standard spacing requirement.
The invention is realized by the following technical scheme: the inspection method of the three-dimensional space safety distance of the substation equipment based on Revit comprises the following steps:
s1, analyzing a model, screening out a member to be tested which needs to be subjected to safe distance analysis in a current model in a Revit platform, analyzing a three-dimensional graph of the member to be tested, acquiring all vertex data of the three-dimensional graph of the member to be tested, and storing the vertex data;
performing secondary analysis on three-dimensional graphs of all components in the current model, reserving data of a three-dimensional entity Soild, and storing the data as an object for entity intersection of a security bounding box;
s2, respectively calculating two bounding boxes according to the vertex data of the to-be-detected component in S1, wherein one bounding box is a maximum safe enveloping box based on AABB expansion, and the other bounding box is a minimum safe enveloping box based on OBB;
s3, carrying out entity intersection with all three-dimensional entity Solid data sets according to the maximum security envelope box, if the intersection exists, determining that the entity intersection is a component in the security range, and if the intersection does not exist, determining that the entity intersection is a component beyond the security range, namely determining that the entity intersection is correct; carrying out entity intersection by using the minimum security envelope box and the components in the security range, and if the components in the security range and the minimum security envelope box have entity intersection, namely, the design range is not satisfied;
s4, outputting the result calculated in the step S3 to a window, listing the components to be tested and reasons which do not meet the design conditions, positioning the components to be tested in the model to the specific positions of the components to be tested by clicking the result, and confirming and modifying the analysis result of the components to be tested; and returning to the step 2 for analysis after the modification is completed.
Compared with the prior art, the invention has the beneficial effects that:
1. the invention aims to automatically detect the distance between equipment and the surrounding and the room height through the Revit platform, thereby rapidly judging whether the arrangement distance and the height of the equipment meet the specification requirements. Thereby achieving the purpose of quickly and accurately identifying whether the equipment arrangement can meet the standard spacing requirement.
Drawings
FIG. 1 is a flow chart of the steps of the present invention;
FIG. 2 is a diagram showing the logical relationship between two security envelope boxes in step 2;
FIG. 3 is an interface diagram of the present invention after application.
Detailed Description
The invention is described in detail below with reference to the accompanying drawings:
as shown in fig. 1: the inspection method of the three-dimensional space safety distance of the substation equipment based on Revit comprises the following steps:
s1, analyzing a model, screening out a member to be tested which needs to be subjected to safe distance analysis in a current model in a Revit platform, analyzing a three-dimensional graph of the member to be tested, acquiring all vertex data of the three-dimensional graph of the member to be tested, and storing the vertex data;
performing secondary analysis on three-dimensional graphs of all components in the current model, reserving data of a three-dimensional entity Soild, and storing the data as an object for entity intersection of a security bounding box;
s2, respectively carrying out two bounding boxes according to the vertex data of the to-be-detected component in S1, wherein one of the bounding boxes is a maximum safe enveloping box based on AABB expansion, and the other bounding box is a minimum safe enveloping box based on OBB; in order to improve the calculation performance, by acquiring the BoundingBox of the component and performing outward expansion according to the maximum safe distance, a bounding box with the maximum range is obtained, one primary screen can be performed on all models in the project, if no component exists in the maximum safe distance, analysis and calculation of the minimum safe bounding box (the analysis model and the calculation bounding box have the maximum loss in execution performance) are not needed, and if the component exists, the number of secondary calculation can be reduced; as shown in fig. 2.
S3, carrying out entity intersection with all three-dimensional entity Solid data sets according to the maximum security envelope box, if the intersection exists, determining that the entity intersection is a component in the security range, and if the intersection does not exist, determining that the entity intersection is a component beyond the security range, namely determining that the entity intersection is correct; carrying out entity intersection by using the minimum security envelope box and the components in the security range, and if the components in the security range and the minimum security envelope box have entity intersection, namely, the security design range is not met;
s4, outputting the result calculated in the step S3 to a window, listing the components to be tested and reasons which do not meet the design conditions, positioning the components to be tested in the model to the specific positions of the components to be tested by clicking the result, and confirming and modifying the analysis result of the components to be tested; and returning to the step 2 for analysis after the modification is completed.
In step 2, the maximum security envelope box is obtained as follows: acquiring a value through the boundingBox attribute of the Revit primitive, and converting the value into a maximum safe bounding box according to the matrix; the attribute is the attribute that the Revit itself exposes, and the API does not require additional computation.
The minimum bounding box is obtained as follows: calculating the centroid position and the main direction according to the vertex data set of the component to be detected acquired in the step S1, establishing a covariance matrix,
covariance calculation formula:
cov(x i ,x j )=E[(x i -μ i )(x j -μ j )]
wherein cov is covariance; e is a desired value; xi, xj variables; mu i, mu j An average value;
covariance matrix:
and performing inverse matrix conversion, wherein the inverse matrix conversion formula is as follows:
p′=A -1 *p
wherein A is a matrix; p is the point coordinate;
establishing an OBB minimum bounding box according to the obtained vertex coordinates; and inquiring a design safety range according to the type of the component to be tested, obtaining the safety distances of the minimum bounding box in all directions, and establishing the minimum safety bounding box.
The method of the invention is applied to a Revit platform, and can detect corresponding components, and takes the components disclosed in fig. 3 as an example, the components are detected in a high-voltage wire inlet cabinet, a metering cabinet, a PT cabinet, a high-voltage contact cabinet and the like.
Taking a high-voltage wire inlet cabinet as an example, the calculation is carried out by the method of the invention, and the condition that the clearance 2500 is not met before the cabinet is found, and the display is not passed is found.
Taking a high-voltage contact cabinet as an example, the method of the invention is adopted to calculate, and the method is found to meet the requirement, so that the display passes.
All components of the Revit platform can be detected through the scheme of the invention, and whether the components are qualified or not is judged.
It should be noted that the foregoing description is only a preferred embodiment of the present invention, and although the present invention has been described in detail with reference to the foregoing embodiment, it should be understood that modifications, equivalents, improvements and modifications to the technical solution described in the foregoing embodiments may occur to those skilled in the art, and all modifications, equivalents, and alternatives falling within the spirit and principles of the present invention are included in the scope of the present invention.
Claims (2)
1. The inspection method for the three-dimensional space safety distance of the substation equipment based on Revit is characterized by comprising the following steps of: it comprises the following steps:
s1, analyzing a model, screening out a member to be tested which needs to be subjected to safe distance analysis in a current model in a Revit platform, analyzing a three-dimensional graph of the member to be tested, acquiring all vertex data of the three-dimensional graph of the member to be tested, and storing the vertex data;
performing secondary analysis on three-dimensional graphs of all components in the current model, reserving data of a three-dimensional entity Soild, and storing the data as an object for entity intersection of a security bounding box;
s2, respectively carrying out two bounding boxes according to the vertex data of the to-be-detected component in S1, wherein one of the bounding boxes is a maximum safe enveloping box based on AABB expansion, and the other bounding box is a minimum safe enveloping box based on OBB;
s3, carrying out entity intersection with all three-dimensional entity Solid data sets according to the maximum security envelope box, if the intersection exists, determining that the entity intersection is a component in the security range, and if the intersection does not exist, determining that the entity intersection is a component beyond the security range, namely determining that the entity intersection is correct; carrying out entity intersection by using the minimum security envelope box and the components in the security range, and if the components in the security range and the minimum security envelope box have entity intersection, namely, the design range is not satisfied;
s4, outputting the result calculated in the step S3 to a window, listing the components to be tested and reasons which do not meet the design conditions, positioning the components to be tested in the model to the specific positions of the components to be tested by clicking the result, and confirming and modifying the analysis result of the components to be tested; and returning to the step 2 for analysis after the modification is completed.
2. The inspection method for three-dimensional space safety distance of power substation equipment of Revit according to claim 1, characterized by comprising the following steps: in step 2:
the maximum security envelope box is obtained as follows: acquiring a value through the boundingBox attribute of the Revit primitive, and converting the value into a maximum safe bounding box according to the matrix;
the minimum bounding box meter is obtained as follows: calculating the centroid position and the main direction according to the vertex data set of the component to be detected acquired in the step S1, establishing a covariance matrix,
covariance calculation formula:
cov(x i ,x j )=E[(x i -μ i )(x j -μ j )],
wherein cov is covariance; e is a desired value; xi, xj variables; mu i, mu j average;
covariance matrix:
and performing inverse matrix conversion, wherein the inverse matrix conversion formula is as follows:
p′=A -1 *p
wherein A is a matrix; p is the point coordinate;
establishing an OBB minimum bounding box according to the obtained vertex coordinates; and inquiring a design safety range according to the type of the component to be tested, obtaining the safety distances of the minimum bounding box in all directions, and establishing the minimum safety bounding box.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202311070649.6A CN117077263A (en) | 2023-08-23 | 2023-08-23 | Inspection method for three-dimensional space safety distance of substation equipment based on Revit |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202311070649.6A CN117077263A (en) | 2023-08-23 | 2023-08-23 | Inspection method for three-dimensional space safety distance of substation equipment based on Revit |
Publications (1)
Publication Number | Publication Date |
---|---|
CN117077263A true CN117077263A (en) | 2023-11-17 |
Family
ID=88709387
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202311070649.6A Pending CN117077263A (en) | 2023-08-23 | 2023-08-23 | Inspection method for three-dimensional space safety distance of substation equipment based on Revit |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN117077263A (en) |
-
2023
- 2023-08-23 CN CN202311070649.6A patent/CN117077263A/en active Pending
Similar Documents
Publication | Publication Date | Title |
---|---|---|
Tate et al. | Line outage detection using phasor angle measurements | |
WO2021208079A1 (en) | Method and apparatus for obtaining power battery life data, computer device, and medium | |
CN111537884B (en) | Method and device for acquiring service life data of power battery, computer equipment and medium | |
CN111339612B (en) | Method, system, device and storage medium for rapidly assembling three-dimensional data model | |
CN109783591B (en) | Spatial data acquisition method and device based on Internet map | |
CN117010867B (en) | Packaging equipment monitoring system based on data analysis | |
CN114548012B (en) | Transformer winding deformation fault diagnosis method based on three-dimensional frequency response curve centroid analysis | |
CN111884207B (en) | Power grid topological structure visualization method, system and medium based on electrical distance | |
CN112800506A (en) | Transformer substation safety clear distance checking method and device, equipment and storage medium | |
CN117077263A (en) | Inspection method for three-dimensional space safety distance of substation equipment based on Revit | |
JP2005166019A (en) | Light source presumption system and method | |
CN105843736B (en) | Test method of power system state estimation software | |
CN116522502A (en) | Wind noise-based vehicle part inspection method and device and computer equipment | |
CN112801435A (en) | Substation fire prevention verification method and device, equipment and storage medium | |
CN115049371A (en) | Construction drawing pattern-die linkage examination marking method, system, device and storage medium | |
CN115937557A (en) | Automatic identification and positioning method for high-pressure valve and low-pressure valve of waste air conditioner based on machine vision | |
Bonvini et al. | Bridging the gap between simulation and the real world an application to FDD | |
CN115828400B (en) | Satellite cloud image-based power transmission and transformation project acceptance rechecking method and system | |
CN112084455B (en) | Least square interpolation method for S parameter | |
JP7478000B2 (en) | 3D image data analysis device | |
CN115081158B (en) | Graphic element display method based on digital expression | |
CN114970741B (en) | Data processing method and device and electronic equipment | |
Al-Suod et al. | Marine electric generating plants control systems software functional testing | |
CN112132921A (en) | Test data display method, device, equipment and storage medium | |
CN116933021A (en) | Multi-parameter relevance-based contact network operation state evaluation method and system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination |