An automated modeling and simulation method and device based on model geometry data

By extracting and repairing model geometric data and performing parameterized automatic modeling, the problem of model defects and low simulation efficiency in power equipment design verification is solved, automatic simulation of power equipment is realized, and simulation efficiency and resource utilization are improved.

CN118734378BActive Publication Date: 2024-11-26CHINA ELECTRIC POWER RESEARCH INSTITUTE CO LTD +3
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411203746.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-08-30
Publication Date
2024-11-26
Estimated Expiration
2044-08-30

AI Technical Summary

Technical Problem

During the design verification and simulation of existing power equipment, model defects and human mapping errors lead to the inability to carry out the simulation, and commercial simulation software cannot complete the batch verification task of specific simulations, which consumes a lot of human resources and is inefficient.

Method used

By extracting the model geometric data and its reference coordinate statistics table, performing parameterized automatic modeling, generating a transmission equipment simulation model, and using data detection and repairing programs to repair model defects, realizing automated simulation calculations.

Benefits of technology

The modeling and simulation process is simplified, manual operations are reduced, efficiency is improved, human resources can be effectively liberated, and automated simulation of large-scale verification tasks can be realized.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118734378B_ABST
    Figure CN118734378B_ABST
Patent Text Reader

Abstract

The present invention discloses an automatic modeling and simulation method and device based on model geometric data, comprising: extracting model geometric data and a reference coordinate statistical table thereof based on an input model file of a power transmission device; setting parameterized input conditions of the power transmission device based on the reference coordinate statistical table and simulation requirements, wherein the parameterized input conditions include: material parameters, excitation and boundary condition parameters, mesh generation parameters, and a solver; performing parameterized automatic modeling of the model geometric data based on the parameterized input conditions to generate a power transmission device simulation model; performing simulation calculation on the power transmission device simulation model, and outputting a simulation result of a power transmission line.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of power system simulation, and more specifically, to an automatic modeling and simulation method and device based on model geometry data. Background Art

[0002] With the rapid development of the national economy, the demand for electricity supply continues to rise, the scale of the power grid and the power generation capacity continue to increase, which makes the capacity and voltage level of power transformers continue to increase. Oil-immersed transformers are key equipment in the power transmission and distribution system of the power grid. The reliability of their operation is crucial to the safe and stable operation of the power grid. Therefore, before the transformer is produced and put into operation, the transformer needs to be designed and verified and conformity evaluated. At present, the design verification and conformity evaluation process of power equipment usually requires model simulation verification results as part of the data support.

[0003] Existing simulation tests are usually carried out by importing drawings or model files provided by manufacturers into simulation software. However, since the draftsmen and simulators are independent of each other in simulation verification, the model only meets the annotation requirements of processing and manufacturing, and cannot meet the requirements of the simulation process for model integrity. At the same time, designers make human errors in drawing. Directly using design drawings for simulation will result in many model defects, making it impossible to perform simulation.

[0004] At present, a huge number of power equipment need to be designed, verified and evaluated every year, which requires a large amount of repetitive simulation testing. However, today's commercial simulation software is general and involves a large number of experience-based setting steps. It is unable to complete batch verification tasks for specific simulations. When faced with large-scale verification tasks, it consumes a lot of human resources, the overall process is time-consuming and the efficiency is low. Summary of the invention

[0005] In view of the deficiencies in the prior art, the present invention provides an automated modeling and simulation method and device based on model geometry data.

[0006] According to one aspect of the present invention, there is provided an automated modeling and simulation method based on model geometry data, comprising:

[0007] Based on the input model file of the power transmission equipment, extract the model geometry data and its reference coordinate statistics table;

[0008] The parameterized input conditions of the power transmission equipment are set based on the reference coordinate statistics table and simulation requirements, wherein the parameterized input conditions include: material parameters, excitation and boundary condition parameters, mesh generation parameters, and solver;

[0009] Automatically model the model geometry data based on parameterized input conditions to generate a simulation model of the power transmission equipment;

[0010] Perform simulation calculations on the power transmission equipment simulation model and output the simulation results of the power transmission equipment.

[0011] Optionally, the model geometry data includes the coordinates of the two end points of the line segment, the coordinates of the center point of the arc, the radius, and the rotation angle.

[0012] Optionally, based on the input model file, extract the model geometry data and its reference coordinate statistics table, including:

[0013] Use a data detection program to extract data from the input model file and determine the extracted data;

[0014] Perform error detection on the extracted data and return error information if there is an error in the extracted data;

[0015] When there is no error in the extracted data, a data processing program is used to correct the extracted data to obtain the model geometry data.

[0016] Optionally, a data processing program is used to correct the extracted data to obtain model geometry data, including:

[0017] Perform model defect detection on the extracted data to determine the model defect type of the extracted data;

[0018] When the model defect type is a geometric logic defect, a preset defect repair method is used to repair the extracted data to obtain the model geometric data;

[0019] When the model defect type is a non-geometric logic defect, the specific non-geometric defect type of the extracted data is diagnosed according to the pre-trained neural network diagnosis model, and the extracted data is repaired based on the specific non-geometric defect type to obtain the model geometric data.

[0020] Optionally, a preset defect repair method is used to repair defects in the extracted data to obtain model geometry data, including:

[0021] Traverse all the line segments of the extracted data to determine whether there are other line segments overlapping with the current line segment, and delete the overlapping line segments in the case of complete overlap until the overlapping line segments are unique. In the case of partial overlap, delete the line segments that do not form a closed domain.

[0022] Traverse all coordinate points of the extracted data. If the current coordinate point only connects two line segments, the slopes of the two line segments are opposite and it is not an arc endpoint, then the current coordinate point is determined to be a redundant coordinate point, and the current coordinate point is deleted and the two line segments connected to it are merged.

[0023] Traverse all points of the extracted data. If breakpoint A exists, determine the location of breakpoint A, and search for another breakpoint B that is closest to breakpoint A. If breakpoint A and breakpoint B belong to the same unclosed domain, connect breakpoint A and breakpoint B to form a closed domain. If breakpoints A and B do not belong to the same unclosed domain, exclude breakpoint B information and continue to search for other breakpoints outward until the breakpoint can form a closed domain with breakpoint A.

[0024] The coordinate information of the intersection of line segments or arcs in the extracted data is calculated, and the corresponding line segment or arc information is updated according to the intersection coordinate information to obtain the model geometry data.

[0025] Optionally, parameterized input conditions of the power transmission equipment are set based on the reference coordinate statistics table and simulation requirements, including:

[0026] Automatically obtain the corresponding material domain number of the power transmission equipment based on the reference coordinate statistics table, set the required material type for the corresponding area according to the material domain number, and set the input material parameters according to the set material type;

[0027] Automatically obtain the physical field number of the power transmission equipment based on the reference coordinate statistics table, set the condition type according to the physical field number, and set the input excitation and boundary condition parameters according to the condition type;

[0028] The model mesh is automatically generated through program control, the mesh generation parameters are determined, and the appropriate solver is set according to the simulation requirements.

[0029] According to another aspect of the present invention, there is provided an automatic modeling and simulation device based on model geometry data, comprising:

[0030] An extraction module, used for extracting model geometric data and a statistical table of reference coordinates thereof based on an input model file of a power transmission device;

[0031] A setting module, used to set parameterized input conditions of the power transmission equipment based on the reference coordinate statistics table and simulation requirements, wherein the parameterized input conditions include: material parameters, excitation and boundary condition parameters, mesh generation parameters, and solver;

[0032] A generation module, used for automatically performing parametric modeling on model geometry data based on parametric input conditions to generate a simulation model of a power transmission equipment;

[0033] The output module is used to perform simulation calculations on the power transmission equipment simulation model and output the simulation results of the power transmission line.

[0034] According to another aspect of the present invention, a computer-readable storage medium is provided, wherein the storage medium stores a computer program, and the computer program is used to execute the method described in any one of the above aspects of the present invention.

[0035] According to another aspect of the present invention, an electronic device is provided, comprising: a processor; a memory for storing instructions executable by the processor; the processor is configured to read the executable instructions from the memory and execute the instructions to implement the method described in any one of the above aspects of the present invention.

[0036] Thus, the present invention extracts model geometry data based on the input model file and performs detection and correction processing to obtain the model geometry data and reference coordinate statistics table of the model; performs parameterized automatic modeling based on the model geometry data, realizes automatic model simulation under program control according to the reference coordinate statistics table and the corresponding parameters input manually, and derives the corresponding simulation results based on specific simulation requirements. Since the platform described in the present invention completes the secondary development of multi-physics field simulation software through self-compiled code, realizes data interaction between the platform and the simulation software, solves the problem that the model geometry data information is difficult to obtain and the model parameters are difficult to modify during the modeling process, simplifies manual operation, avoids the problem of excessive time consumption caused by a large amount of manual participation in the modeling and simulation process, and can well liberate human resources and improve efficiency. BRIEF DESCRIPTION OF THE DRAWINGS

[0037] A more complete understanding of exemplary embodiments of the present invention may be obtained by referring to the following drawings:

[0038] Figure 1 It is a flowchart of an automated modeling and simulation method based on model geometry data provided by an exemplary embodiment of the present invention;

[0039] Figure 2 is a flow chart of a model defect detection and repair technology provided by an exemplary embodiment of the present invention;

[0040] Figure 3 and Figure 4 is a schematic diagram of line segment redundancy defect provided by an exemplary embodiment of the present invention;

[0041] Figure 5 is a schematic diagram of coordinate point redundancy defect provided by an exemplary embodiment of the present invention;

[0042] Figure 6 and Figure 7 is a schematic diagram of a line segment missing defect provided by an exemplary embodiment of the present invention;

[0043] Figure 8 is a schematic diagram of a coordinate point missing defect provided by an exemplary embodiment of the present invention;

[0044] Fig. 9 is a schematic diagram of a precision problem defect provided by an exemplary embodiment of the present invention;

[0045] Fig.10It is a schematic diagram of repairing non-geometric logic problem defects using an expert experience method provided by an exemplary embodiment of the present invention;

[0046] Fig.11 It is a functional flow diagram of an automated modeling and simulation platform provided by an exemplary embodiment of the present invention;

[0047] Fig.12 is a schematic diagram of a non-geometric logic problem of multiple oil domains in a transformer provided by an exemplary embodiment of the present invention;

[0048] Fig.13 It is a schematic diagram of a main insulation model of a 220 kV transformer constructed by an automated modeling and simulation platform provided by an exemplary embodiment of the present invention;

[0049] Fig.14 It is a 220kV transformer main insulation electric field simulation potential cloud diagram provided by an exemplary embodiment of the present invention;

[0050] Fig.15 It is a local power line diagram of a 220kV transformer main insulation electric field simulation provided by an exemplary embodiment of the present invention;

[0051] Fig.16 is a schematic structural diagram of an automatic modeling and simulation device based on model geometry data provided by an exemplary embodiment of the present invention;

[0052] Fig.17 This is a structure of an electronic device provided by an exemplary embodiment of the present invention. DETAILED DESCRIPTION

[0053] Below, the exemplary embodiments according to the present invention will be described in detail with reference to the accompanying drawings. Obviously, the described embodiments are only part of the embodiments of the present invention, rather than all the embodiments of the present invention, and it should be understood that the present invention is not limited to the exemplary embodiments described here.

[0054] It should be noted that the relative arrangement of components and steps, the numerical expressions and numerical values ​​set forth in these embodiments do not limit the scope of the present invention unless specifically stated otherwise.

[0055] Those skilled in the art can understand that the terms "first" and "second" in the embodiments of the present invention are only used to distinguish different steps, devices or modules, etc., and neither represent any specific technical meaning nor indicate the necessary logical order between them.

[0056] It should also be understood that, in the embodiments of the present invention, “plurality” may refer to two or more than two, and “at least one” may refer to one, two or more than two.

[0057] It should also be understood that any component, data or structure mentioned in the embodiments of the present invention can generally be understood as one or more, unless explicitly limited or otherwise indicated in the context.

[0058] In addition, the term "and / or" in the present invention is only a description of the association relationship of the associated objects, indicating that there can be three relationships. For example, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone. In addition, the character " / " in the present invention generally indicates that the associated objects before and after are in an "or" relationship.

[0059] It should also be understood that the description of the various embodiments of the present invention focuses on the differences between the various embodiments, and the same or similar aspects thereof can be referenced to each other, and for the sake of brevity, they will not be described one by one.

[0060] At the same time, it should be understood that for the convenience of description, the sizes of the various parts shown in the drawings are not drawn according to the actual proportional relationship.

[0061] The following description of at least one exemplary embodiment is merely illustrative in nature and is in no way intended to limit the invention, its application, or uses.

[0062] Technologies, methods, and equipment known to ordinary technicians in the relevant art may not be discussed in detail, but where appropriate, the technologies, methods, and equipment should be considered part of the specification.

[0063] It should be noted that like reference numerals and letters refer to similar items in the following figures, and therefore, once an item is defined in one figure, it need not be further discussed in subsequent figures.

[0064] Embodiments of the present invention can be applied to electronic devices such as terminal devices, computer systems, servers, etc., which can operate with many other general or special computing system environments or configurations. Examples of well-known terminal devices, computing systems, environments and / or configurations suitable for use with electronic devices such as terminal devices, computer systems, servers, etc. include, but are not limited to: personal computer systems, server computer systems, thin clients, thick clients, handheld or laptop devices, microprocessor-based systems, set-top boxes, programmable consumer electronics, network personal computers, small computer systems, large computer systems, and distributed cloud computing technology environments including any of the above systems, etc.

[0065] Electronic devices such as terminal devices, computer systems, servers, etc. can be described in the general context of computer system executable instructions (such as program modules) executed by computer systems. Generally, program modules can include routines, programs, object programs, components, logic, data structures, etc., which perform specific tasks or implement specific abstract data types. Computer systems / servers can be implemented in a distributed cloud computing environment, where tasks are performed by remote processing devices linked through a communication network. In a distributed cloud computing environment, program modules can be located on local or remote computing system storage media including storage devices.

[0066] Exemplary Methods

[0067] Figure 1 FIG. 1 is a flow chart of an automatic modeling and simulation method based on model geometry data provided by an exemplary embodiment of the present invention. This embodiment can be applied to electronic devices, such as Figure 1 As shown, the automated modeling and simulation method 100 based on model geometry data includes the following steps:

[0068] Step 101, extracting model geometry data and its reference coordinate statistics table based on the input model file of the power transmission equipment;

[0069] Step 102, setting parameterized input conditions of the power transmission equipment based on the reference coordinate statistics table and simulation requirements, wherein the parameterized input conditions include: material parameters, excitation and boundary condition parameters, mesh generation parameters, and solver;

[0070] Step 103, performing parameterized automatic modeling on the model geometry data based on the parameterized input conditions to generate a power transmission equipment simulation model;

[0071] Step 104: Perform simulation calculation on the power transmission equipment simulation model and output the simulation result of the power transmission equipment.

[0072] Specifically, the platform of the present invention completes the secondary development of multi-physics field simulation software through self-compiled code, realizes data interaction between the platform and simulation software, and can realize automatic model construction and multi-physics field automatic simulation functions. The platform is suitable for the situation where a large number of simulation tests are carried out on the same type of models, such as scenes where there are a large number of simulation requirements such as equipment factory test verification. The platform is divided into two major functional modules: data extraction and automatic modeling and simulation. Among them, the platform data extraction module can obtain a modifiable modeling parameter file, which solves the problem that the model geometry data information is difficult to obtain and the model parameters are difficult to modify during the modeling process; the platform automatic modeling and simulation module can quickly and accurately build the geometric model required for simulation. By manually inputting the necessary parameter data, the system automatically sets the general materials and conditions for the model, realizes the automatic simulation of the model, simplifies a large number of setting steps in the simulation software, and avoids the problem of excessive time consumption caused by a large number of manual repetitive operations during the modeling and simulation process, which can well liberate human resources.

[0073] The present invention proposes an automated modeling and simulation platform based on model geometry data, the method comprising the following steps:

[0074] Step 1: Based on the input model file, extract the model geometry data and perform detection and correction processing to obtain the model geometry data and reference coordinate statistics table of the model;

[0075] Step 2: Perform parametric automatic modeling based on the model geometry data;

[0076] According to the statistical table of reference coordinates and the corresponding parameters input manually, the automatic simulation of the model under program control is realized;

[0077] Export corresponding simulation results based on specific simulation requirements.

[0078] Furthermore, the model geometry data in step 1 includes the coordinates of the two end points of the line segment, the coordinates of the center point of the arc, the radius, and the rotation angle.

[0079] Furthermore, the specific process of extracting the model geometry data and performing screening processing in step 1 is as follows:

[0080] Based on the model geometry drawing file, extract the model geometry data through the program;

[0081] refer to Figure 2 As shown, the model defect detection and repair technology judges and repairs model defects based on geometric logic and expert experience, and completes the model defect repair problem through the defect detection and repair algorithm program, so that the model integrity meets the simulation requirements, among which;

[0082] Geometric logic: Applicable to model defects such as redundant segments, too long segments, missing segments, precision problems, etc. These defects do not conform to geometric logic. Model defects can be repaired by connecting, adding, deleting, etc. to make the graphics conform to geometric logic. Here are several geometric logic defect repair solutions:

[0083] Line segment redundancy defects, that is, the existence of overlapping line segments and line segments that are too long are also line segment redundancy defects, such as Figure 3 and Figure 4 As shown. By traversing all line segments, it is determined whether there are other line segments overlapping with the current line segment, and whether it is completely overlapping or partially overlapping. In the case of complete overlap, the overlapping line segment data is deleted until it is unique, and in the case of partial overlap, the line segments that do not form a closed domain are deleted.

[0084] Coordinate point redundancy defect, that is, there are redundant coordinate points other than the endpoints in a single line segment, such as Figure 5 As shown. Traverse all points and determine whether the current point connects only two line segments, and the slopes of the two line segments are opposite, and it is not the endpoint of the arc. If the above conditions are met, the point is a redundant point. Delete the redundant point and merge the two line segments connected to it.

[0085] Missing line segment defect, that is, some line segments of the closed domain are missing, resulting in the domain not being closed, such as Figure 6 and Figure 7 As shown. Traverse all points, determine the location of breakpoint A (an isolated point located only on a single line segment), and retrieve another breakpoint B that is closest to it. If the distance between breakpoint B and breakpoint A is greater than the model accuracy size and breakpoints B and A belong to the same unclosed domain, then connect the two breakpoints to form a closed domain.

[0086] Coordinate point missing defect, that is, the line segments or arcs intersect but the intersection point does not exist, such as Figure 8 Calculate the coordinate information of the intersection of line segments or arcs, cut off the corresponding line segments or arcs at the intersection points, and add the newly added line segment and arc geometry information to the geometry data statistics table.

[0087] Precision defects usually occur at the connection between arcs and line segments, such as Fig. 9 Traverse all points, determine the location of breakpoint A (an isolated point located only on a single line segment), retrieve the other breakpoint B that is closest to it, and if the distance between breakpoint B and breakpoint A is less than the model accuracy size, adjust the coordinate accuracy of the two breakpoints to the standard accuracy (usually 0.1mm), and adjust the breakpoint coordinates of the affiliated arc to be consistent with the breakpoint coordinates of the affiliated line segment.

[0088] Expert Experience: Reference Fig.10 As shown in the figure, a neural network diagnosis model is trained based on the model defect feature points given by experts. It is applicable to non-geometric logic defect problems. The defect type can be determined through the diagnosis model, and the model defects can be repaired in a targeted manner.

[0089] The processed and corrected model geometry data can be used for parameterized automatic modeling of the model;

[0090] The automated simulation process still requires further processing of the model geometry data. All points must be traversed counterclockwise to construct the minimum closed domain, and the closed domain must be reorganized according to whether the regional structure has an inclusion relationship to obtain each minimum closed domain and its model geometry data, where the minimum closed domain corresponds to the area of ​​each component of the model; the reference coordinates are obtained and numbered based on the model line segment, arc information, and domain geometry information to form a reference coordinate statistics table.

[0091] Furthermore, the specific process of the parameterized automatic modeling and model automatic simulation described in step 2 is:

[0092] Based on the model geometry data processed in step 1, the simulation model is automatically constructed through a parametric modeling program;

[0093] Based on the geometric model of parametric modeling, program control is used to realize the automation functions such as material setting, excitation and boundary condition setting, meshing, solver setting, result calculation, etc., replacing a large number of manual setting operations, and only the necessary parameter data needs to be manually input. The specific process is:

[0094] Material setting: Based on the manually input material domain reference coordinates, the corresponding material domain number is automatically obtained based on the reference coordinate statistics table in step 1, and the required material type is set for the corresponding area according to the number; then the input material parameters are set according to the set material type;

[0095] Setting of excitation and boundary conditions: First, set the physical field required for simulation; the reference coordinates of the condition domain or boundary manually input are automatically numbered based on the reference coordinate statistics table in step 1, and the required condition type is set according to the number, and the input condition parameters are set according to the set condition type;

[0096] Mesh and solver settings: Automatically generate model mesh through program control and set appropriate solver according to simulation requirements;

[0097] Mesh optimization: Optimize the mesh based on the calculation results after the initial meshing, without the need to input parameter adjustment. During use, you can choose whether to use the mesh optimization function;

[0098] Simulation result export: Output the corresponding simulation results according to simulation requirements.

[0099] In one embodiment of the present invention, Fig.11 As shown, the platform process includes the following steps:

[0100] This embodiment uses the SSZ-150000 / 220 transformer model as the implementation object to perform automated modeling and simulation.

[0101] Step 1: Based on the input model file, extract the model geometry data and perform detection and correction processing to obtain the model geometry data and reference coordinate statistics table of the model; wherein the model geometry data includes the coordinates of the two end points of the line segment, the coordinates of the center point of the arc, the radius, and the rotation angle.

[0102] Based on the 220kV transformer geometry drawing file, the geometric information features are extracted through the program;

[0103] The 220kV transformer model has geometric logic problems such as model inclosure caused by missing line segments, redundant line segments, and non-geometric logic problems such as non-unique transformer oil domain. Fig.12 As shown, the model defect detection and repair technology is used to repair the defects of the model geometry drawing file, and the repaired model can meet the simulation requirements;

[0104] The automated simulation process still requires further processing of the model geometry data. All points must be traversed counterclockwise to construct the minimum closed domain, and the closed domain must be reorganized according to whether the regional structure has an inclusion relationship to obtain each minimum closed domain and its model geometry data, where the minimum closed domain corresponds to the area of ​​each component of the model; the reference coordinates are obtained and numbered based on the model line segment, arc information, and domain geometry information to form a reference coordinate statistics table.

[0105] Step 2: Based on the model geometry data processed in step 1, the simulation model is automatically constructed through a parametric modeling program. The constructed transformer model is as follows: Fig.13 As shown;

[0106] Based on the geometric model of parametric modeling, the platform of the present invention realizes the automatic simulation of the main insulation electric field of the 220kV transformer;

[0107] Material setting: The material domain reference coordinates manually inputted are used to automatically obtain the corresponding material domain number based on the reference coordinate statistics table in step 1. The required material type is set for the corresponding area according to the number. Then, the input material parameters are set according to the set material type. The material parameter input is shown in Table 1:

[0108] Table 1

[0109] Material Type Parameter name Parameter Value serial number Insulation cardboard Relative dielectric constant 4.4 all copper Relative dielectric constant 1 22, 26, 51, 56, 77, 102 Transformer oil Relative dielectric constant 2.2 1

[0110] Excitation and boundary condition setting: First, set the simulation physical field to electrostatic field; the reference coordinates of the condition domain or boundary manually input are automatically numbered based on the reference coordinate statistics table in step 1, and the required condition type is set according to the number, and the input condition parameters are set according to the set condition type. The voltage setting parameters of SWFSZ-240000 / 220 transformer are shown in Table 2:

[0111] Table 2

[0112]

[0113] Mesh and solver settings: Program-controlled automatic generation of model mesh and solver:

[0114] Mesh optimization: Optimize the mesh based on the calculation results after the initial meshing, without the need to input parameter adjustment. During use, you can choose whether to use the mesh optimization function;

[0115] Simulation result export: The transformer main insulation electric field simulation has three output objects: potential, electric field, and power line. The output results can be further divided into Excel data files and distribution cloud maps. And according to different simulation models, the data and distribution cloud maps of specific parts required can be output; the potential cloud map of the 220kV transformer main insulation electric field simulation is as follows: Fig.14 , the local power line diagram is as follows Fig.15 .

[0116] Thus, the present invention extracts model geometry data based on the input model file and performs detection and correction processing to obtain the model geometry data and reference coordinate statistics table of the model; performs parameterized automatic modeling based on the model geometry data, realizes automatic model simulation under program control according to the reference coordinate statistics table and the corresponding parameters input manually, and derives the corresponding simulation results based on specific simulation requirements. Since the platform described in the present invention completes the secondary development of multi-physics field simulation software through self-compiled code, realizes data interaction between the platform and the simulation software, solves the problem that the model geometry data information is difficult to obtain and the model parameters are difficult to modify during the modeling process, simplifies manual operation, avoids the problem of excessive time consumption caused by a large amount of manual participation in the modeling and simulation process, and can well liberate human resources and improve efficiency.

[0117] Exemplary Devices

[0118] Fig.16 FIG. 1 is a schematic diagram of the structure of an automatic modeling and simulation device based on model geometry data provided by an exemplary embodiment of the present invention. Fig.16 As shown, the apparatus 1600 includes:

[0119] An extraction module 1610 is used to extract model geometry data and a statistical table of reference coordinates thereof based on an input model file of a power transmission device;

[0120] A setting module 1620, for setting parameterized input conditions of the power transmission equipment based on the reference coordinate statistics table and the simulation requirements, wherein the parameterized input conditions include: material parameters, excitation and boundary condition parameters, mesh generation parameters, and solver;

[0121] A generation module 1630, for performing parameterized automatic modeling on the model geometry data based on the parameterized input conditions to generate a power transmission equipment simulation model;

[0122] The output module 1640 is used to perform simulation calculations on the power transmission equipment simulation model and output simulation results of the power transmission line.

[0123] Optionally, the model geometry data includes the coordinates of the two end points of the line segment, the coordinates of the center point of the arc, the radius, and the rotation angle.

[0124] Optionally, the extraction module 1610 includes:

[0125] A submodule is determined, which is used to extract data from the input model file using a data detection program to determine the extracted data;

[0126] The return submodule is used to perform error detection on the extracted data and return error information if there is an error in the extracted data;

[0127] The acquisition submodule is used to correct the extracted data using a data processing program to obtain model geometric data when there is no error in the extracted data.

[0128] Optionally, obtain submodules, including:

[0129] A determination unit, used to perform model defect detection on the extracted data and determine the model defect type of the extracted data;

[0130] A first acquisition unit is used to, when the model defect type is a geometric logic defect, use a preset defect repair method to perform defect repair on the extracted data to obtain model geometric data;

[0131] The second acquisition unit is used to diagnose the specific non-geometric defect type of the extracted data according to the pre-trained neural network diagnosis model when the model defect type is a non-geometric logical defect, and repair the extracted data based on the specific non-geometric defect type to obtain the model geometric data.

[0132] Optionally, the first acquisition unit includes:

[0133] A deletion subunit is used to traverse all line segments of the extracted data, determine whether there are other line segments overlapping with the current line segment, and delete the overlapping line segments in the case of complete overlap until the overlapping line segments are unique, and delete the line segments that do not form a closed domain in the case of partial overlap;

[0134] The merging subunit is used to traverse all coordinate points of the extracted data. If the current coordinate point only connects two line segments, the slopes of the two line segments are opposite and it is not an arc endpoint, the current coordinate point is determined to be a redundant coordinate point, the current coordinate point is deleted and the two line segments connected to it are merged;

[0135] The connection subunit is used to traverse all points of the extracted data. If there is a breakpoint A, determine the location of breakpoint A, and retrieve another breakpoint B that is closest to breakpoint A. If breakpoint A and breakpoint B belong to the same unclosed domain, then breakpoint A and breakpoint B are connected to form a closed domain. If breakpoints A and B do not belong to the same unclosed domain, exclude breakpoint B information and continue to search for other breakpoints outward until the breakpoint can form a closed domain with breakpoint A.

[0136] The acquisition subunit is used to calculate the coordinate information of the intersection of the line segment or arc in the extracted data, and update the corresponding line segment or arc information according to the intersection coordinate information to obtain the model geometry data.

[0137] Optionally, the setting module 1620 includes:

[0138] A first setting submodule is used to automatically obtain the corresponding material domain number of the power transmission equipment based on the reference coordinate statistical table, set the required material type for the corresponding area according to the material domain number, and set the input material parameter according to the set material type;

[0139] The second setting submodule is used to automatically obtain the physical field number of the power transmission equipment based on the reference coordinate statistical table, and set the condition type according to the physical field number, and set the input excitation and boundary condition parameters according to the condition type;

[0140] The third setting submodule is used to automatically generate model meshes through program control, determine mesh generation parameters, and set a suitable solver according to simulation requirements.

[0141] Exemplary Electronic Devices

[0142] Fig.17 This is a structure of an electronic device provided by an exemplary embodiment of the present invention. Fig.17 As shown, the electronic device 170 includes one or more processors 171 and a memory 172 .

[0143] The processor 171 may be a central processing unit (CPU) or other forms of processing units having data processing capabilities and / or instruction execution capabilities, and may control other components in the electronic device to perform desired functions.

[0144] The memory 172 may include one or more computer program products, which may include various forms of computer-readable storage media, such as volatile memory and / or non-volatile memory. The volatile memory may include, for example, random access memory (RAM) and / or cache memory (cache), etc. The non-volatile memory may include, for example, read-only memory (ROM), hard disk, flash memory, etc. One or more computer program instructions may be stored on the computer-readable storage medium, and the processor 171 may run the program instructions to implement the methods of the software programs of the various embodiments of the present invention described above and / or other desired functions. In one example, the electronic device may also include: an input device 173 and an output device 174, which are interconnected via a bus system and / or other forms of connection mechanisms (not shown).

[0145] In addition, the input device 173 may also include, for example, a keyboard, a mouse, etc.

[0146] The output device 174 can output various information to the outside, and can include, for example, a display, a speaker, a printer, a communication network and a remote output device connected thereto.

[0147] Of course, to simplify, Fig.17 Only some of the components related to the present invention in the electronic device are shown, and components such as a bus, an input / output interface, etc. are omitted. In addition, the electronic device may further include any other appropriate components according to specific application conditions.

[0148] Exemplary computer program products and computer-readable storage media

[0149] In addition to the above-mentioned methods and devices, an embodiment of the present invention may also be a computer program product, which includes computer program instructions, which, when executed by a processor, enable the processor to execute the steps of the method according to various embodiments of the present invention described in the above-mentioned "Exemplary Method" section of this specification.

[0150] The computer program product may be written in any combination of one or more programming languages ​​to write program code for performing the operations of the embodiments of the present invention, including object-oriented programming languages ​​such as Java, C++, etc., and conventional procedural programming languages ​​such as "C" or similar programming languages. The program code may be executed entirely on the user computing device, partially on the user device, as a separate software package, partially on the user computing device and partially on a remote computing device, or entirely on a remote computing device or server.

[0151] In addition, an embodiment of the present invention may also be a computer-readable storage medium having computer program instructions stored thereon, which, when executed by a processor, enable the processor to execute the steps of the method according to various embodiments of the present invention described in the above “Exemplary Method” section of this specification.

[0152] The computer readable storage medium can adopt any combination of one or more readable media. The readable medium can be a readable signal medium or a readable storage medium. The readable storage medium can include, for example, but is not limited to, a system, system or device of electricity, magnetism, light, electromagnetic, infrared, or semiconductor, or any combination of the above. More specific examples (non-exhaustive list) of readable storage media include: an electrical connection with one or more wires, a portable disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above.

[0153] The basic principle of the present invention is described above in conjunction with specific embodiments. However, it should be pointed out that the advantages, strengths, effects, etc. mentioned in the present invention are only examples and not limitations, and it cannot be considered that these advantages, strengths, effects, etc. must be possessed by each embodiment of the present invention. In addition, the specific details disclosed above are only for the purpose of illustration and facilitation of understanding, rather than limitation, and the above details do not limit the present invention to being implemented by adopting the above specific details.

[0154] Each embodiment in this specification is described in a progressive manner, and each embodiment focuses on the differences from other embodiments. The same or similar parts between the embodiments can be referred to each other. For the system embodiment, since it basically corresponds to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment.

[0155] The block diagrams of the devices, systems, equipment, and systems involved in the present invention are only illustrative examples and are not intended to require or imply that they must be connected, arranged, and configured in the manner shown in the block diagram. As will be appreciated by those skilled in the art, these devices, systems, equipment, and systems can be connected, arranged, and configured in any manner. Words such as "including", "comprising", "having", etc. are open words, referring to "including but not limited to", and can be used interchangeably with them. The words "or" and "and" used here refer to the words "and / or" and can be used interchangeably with them, unless the context clearly indicates otherwise. The word "such as" used here refers to the phrase "such as but not limited to", and can be used interchangeably with it.

[0156] The method and system of the present invention may be implemented in many ways. For example, the method and system of the present invention may be implemented by software, hardware, firmware or any combination of software, hardware, firmware. The above order of steps for the method is only for illustration, and the steps of the method of the present invention are not limited to the order specifically described above, unless otherwise specifically stated. In addition, in some embodiments, the present invention may also be implemented as a program recorded in a recording medium, which includes machine-readable instructions for implementing the method according to the present invention. Thus, the present invention also covers a recording medium storing a program for executing the method according to the present invention.

[0157] It should also be noted that in the system, device and method of the present invention, each component or each step can be decomposed and / or recombined. These decompositions and / or recombinations should be regarded as equivalent schemes of the present invention. The above description of the disclosed aspects is provided to enable any technician in the field to make or use the present invention. Various modifications to these aspects are very obvious to those skilled in the art, and the general principles defined here can be applied to other aspects without departing from the scope of the present invention. Therefore, the present invention is not intended to be limited to the aspects shown here, but in accordance with the widest range consistent with the principles and novel features disclosed here.

[0158] The above description has been given for the purpose of illustration and description. In addition, this description is not intended to limit the embodiments of the present invention to the forms disclosed herein. Although a number of example aspects and embodiments have been discussed above, those skilled in the art will recognize certain variations, modifications, changes, additions and sub-combinations thereof.

Claims

1. An automated modeling and simulation method based on model geometry data, characterized in that: include: Based on the input model file of the power transmission equipment, the model geometry data and its reference coordinate statistics table are extracted, wherein the reference coordinates are obtained by screening and numbering the model line segments, arc information and domain geometry information of the model geometry data; Setting the parameterized input conditions of the power transmission equipment based on the reference coordinate statistics table and the simulation requirements, wherein the parameterized input conditions include: material parameters, excitation and boundary condition parameters, mesh generation parameters, and solver; Performing parameterized automatic modeling on the model geometry data based on the parameterized input conditions to generate a power transmission equipment simulation model; Performing simulation calculation on the power transmission equipment simulation model, and outputting the simulation result of the power transmission equipment; Based on the input model file, extract the model geometry data and its reference coordinate statistics, including: Using a data detection program to extract data from the input model file to determine the extracted data; Performing error detection on the extracted data, and returning error information if there is an error in the extracted data; In the case that there is no error in the extracted data, a data processing program is used to correct the extracted data to obtain the model geometry data; The parameterized input conditions of the power transmission equipment are set based on the reference coordinate statistical table and the simulation requirements, including: Automatically obtain the corresponding material domain number of the power transmission equipment based on the reference coordinate statistical table, set the required material type for the corresponding area according to the material domain number, and set the input material parameter according to the set material type; Automatically obtain the physical field number of the power transmission equipment based on the reference coordinate statistical table, set the condition type according to the physical field number, and set the input excitation and boundary condition parameters according to the condition type; The model grid is automatically generated through program control, the grid partitioning parameters are determined, and the appropriate solver is set according to the simulation requirements.

2. The method according to claim 1, characterized in that The model geometry data includes the coordinates of the two end points of the line segment, the coordinates of the center point of the arc, the radius, and the rotation angle.

3. The method according to claim 1, characterized in that The extracted data is corrected and processed by a data processing program to obtain the model geometry data, including: Performing model defect detection on the extracted data to determine the model defect type of the extracted data; In the case where the model defect type is a geometric logic defect, a preset defect repair method is used to repair the extracted data to obtain the model geometric data; In the case where the model defect type is a non-geometric logic defect, the specific non-geometric defect type of the extracted data is diagnosed according to a pre-trained neural network diagnosis model, and the extracted data is repaired based on the specific non-geometric defect type to obtain the model geometric data.

4. The method according to claim 3, characterized in that The defect repairing method set in advance is used to repair the defect of the extracted data to obtain the model geometry data, including: Traversing all line segments of the extracted data, determining whether there are other line segments overlapping with the current line segment, and deleting the overlapping line segments in the case of complete overlap until the overlapping line segments are unique, and deleting the line segments that do not form a closed domain in the case of partial overlap; Traversing all coordinate points of the extracted data, if the current coordinate point only connects two line segments, the two line segments have opposite slopes and are not arc endpoints, the current coordinate point is determined to be a redundant coordinate point, the current coordinate point is deleted and the two line segments connected to it are merged; Traverse all points of the extracted data, if there is a breakpoint A, determine the location of the breakpoint A, retrieve another breakpoint B that is closest to the breakpoint A, if the breakpoint A and the breakpoint B belong to the same unclosed domain, connect the breakpoint A and the breakpoint B to form a closed domain, if the breakpoints A and B do not belong to the same unclosed domain, exclude the information of the breakpoint B, and continue to search for other breakpoints outward until the breakpoint can form a closed domain with the breakpoint A; The coordinate information of the intersection points of the line segments or circular arcs in the extracted data is calculated, and the corresponding line segment or circular arc information is updated according to the intersection coordinate information to obtain the model geometry data.

5. An automated modeling and simulation device based on model geometry data, characterized in that: include: An extraction module, for extracting model geometry data and a statistical table of reference coordinates thereof based on an input model file of a power transmission device, wherein the statistical table of reference coordinates is formed by screening and numbering the reference coordinates of the model line segments, arc information and domain geometry information of the model geometry data; A setting module, used for setting the parameterized input conditions of the power transmission equipment based on the reference coordinate statistical table and the simulation requirements, wherein the parameterized input conditions include: material parameters, excitation and boundary condition parameters, mesh generation parameters, and solver; A generation module, used for performing parameterized automatic modeling on the model geometry data based on the parameterized input conditions to generate a power transmission equipment simulation model; An output module, used to perform simulation calculation on the power transmission equipment simulation model and output the simulation result of the power transmission equipment; Extraction modules, including: A determination submodule is used to extract data from the input model file using a data detection program to determine the extracted data; A return submodule, used for performing error detection on the extracted data, and returning error information if there is an error in the extracted data; An acquisition submodule, used for, if there is no error in the extracted data, using a data processing program to correct the extracted data and acquire the model geometry data; Setup module, including: A first setting submodule, configured to automatically obtain a corresponding material domain number of the power transmission equipment based on the reference coordinate statistical table, set a required material type for a corresponding area according to the material domain number, and set the input material parameter according to the set material type; A second setting submodule is used to automatically obtain the physical field number of the power transmission equipment based on the reference coordinate statistical table, set the condition type according to the physical field number, and set the input excitation and boundary condition parameters according to the condition type; The third setting submodule is used to automatically generate the model grid through program control, determine the grid segmentation parameters, and set the appropriate solver according to the simulation requirements.

6. The device according to claim 5, characterized in that The model geometry data includes the coordinates of the two end points of the line segment, the coordinates of the center point of the arc, the radius, and the rotation angle.

7. A computer-readable storage medium, characterized in that: The storage medium stores a computer program, and the computer program is used to execute the method according to any one of claims 1 to 4.

8. An electronic device, characterized in that: The electronic device comprises: processor; a memory for storing instructions executable by the processor; The processor is used to read the executable instructions from the memory and execute the instructions to implement the method described in any one of claims 1 to 4.