Data processing method and device for multi-physics field calculation software of power equipment, computer equipment, readable storage medium and program product

By storing simulation data in the multi-physics computing software of power equipment to general and exclusive databases and converting them into the input format of the target solver, the problem of cumbersome data format conversion in multi-physics simulation is solved, and efficient data sharing and simulation solution are achieved.

CN119918294APending Publication Date: 2025-05-02ELECTRIC POWER RES INST CHINA SOUTHERN POWER GRID CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510141766.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-02-08
Publication Date
2025-05-02

AI Technical Summary

Technical Problem

In multi-physics simulation calculation, the input data formats corresponding to different solvers are different, resulting in cumbersome format conversions, affecting the simulation efficiency.

Method used

By obtaining the simulation data set of the simulation model of the power equipment, the general data is stored in the general database, and the exclusive data corresponding to the physics field is stored in the exclusive database. When performing simulation solutions, the corresponding data set is extracted from the database and converted into the input format of the target solver.

Benefits of technology

Data sharing and coupling between different physics fields is realized, redundant work and error risks caused by inconsistent data formats are reduced, and simulation efficiency and data description accuracy are improved.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119918294A_ABST
    Figure CN119918294A_ABST
Patent Text Reader

Abstract

The invention relates to a data processing method and device for multi-physics field calculation software of power equipment, computer equipment, a computer readable storage medium and a computer program product. The method comprises the following steps: acquiring a simulation data set of a simulation model; according to the application relation of various data in the simulation data set to each physical field, storing general data in the simulation data set to a general database, and storing exclusive data corresponding to each physical field in the simulation data set to exclusive databases corresponding to the physical fields; when simulation solving is carried out, according to a target physical field corresponding to simulation solving, a physical field simulation data set of the target physical field is extracted from the general database and the exclusive database of the target physical field; and converting the physics field simulation data set into an input file in an input format conforming to a target physics field solver for simulation solution. By adopting the method, the data conversion complexity in multi-physics field simulation can be reduced, and the simulation efficiency can be improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of data processing technology, and in particular to a data processing method, device, computer equipment, computer-readable storage medium and computer program product for multi-physics field calculation software for power equipment. Background Art

[0002] With the development of simulation technology, multi-physics simulation can be used in the power field to comprehensively analyze the interaction of multiple physical fields, more accurately predict the performance of power equipment, and optimize the design of power equipment. In multi-physics simulation, it is usually necessary to use a variety of different solvers to simulate and solve the simulation data. However, different solvers usually correspond to different input data formats, which leads to the need for cumbersome format conversion of simulation data in multi-physics simulation, affecting simulation efficiency. Summary of the invention

[0003] Based on this, it is necessary to provide a data processing method, device, computer equipment, computer-readable storage medium and computer program product for multi-physical field calculation software of power equipment to address the above-mentioned technical problems.

[0004] In a first aspect, the present application provides a data processing method for multi-physics field calculation software of power equipment, comprising:

[0005] Acquire a simulation data set of a simulation model of an electric power device;

[0006] According to the applicable relationship between various types of data in the simulation data set and various physical fields, the general data in the simulation data set is stored in a general database, and the exclusive data corresponding to each physical field in the simulation data set is stored in an exclusive database corresponding to the physical field; wherein the general data is applicable to multiple physical fields, and the exclusive data is applicable to the corresponding physical field; and the data in the general database and the exclusive database conform to a preset data format;

[0007] When the simulation model is simulated and solved, a physical field simulation data set of the target physical field is extracted from the general database and the exclusive database of the target physical field according to the target physical field corresponding to the simulation solution;

[0008] The physical field simulation data set is converted into an input file that conforms to the input format of the target physical field solver for the simulation solution.

[0009] In one embodiment, the method of obtaining a simulation data set of a simulation model of an electric power device includes: displaying a visual input interface for simulation model data; obtaining the simulation data set in response to a parameter input operation based on the visual input interface; or obtaining a data input script file for the simulation model; and obtaining the simulation data set according to the data input script file.

[0010] In one of the embodiments, the method of obtaining a simulation data set of a simulation model of an electric power device includes: obtaining a data input file of the simulation model; extracting multiple simulation input data contained in the data input file according to the file format of the data input file; if the data format corresponding to the multiple simulation input data conforms to the first data format corresponding to the simulation data set, obtaining the simulation data set according to the simulation input data; if the data format is not the first data format, converting each simulation input data into simulation data conforming to the first data format according to a data mapping relationship between the data format and the first data format; and obtaining the simulation data set according to each simulation data.

[0011] In one of the embodiments, converting the physical field simulation data set into the input format of the target physical field solver for the simulation includes: obtaining a supported input format of the target physical field solver; if the supported input format includes a preset first file format, converting the physical field simulation data set into an input file of the first file format; if the supported input format does not include the first file format, converting the physical field simulation data set into an input file of the second file format according to the second file format included in the supported input format.

[0012] In one embodiment, the method further includes: inputting the input file into the target physical field solver to obtain a solution result output by the target physical field solver; if the file format of the solution result is a preset first file format, parsing the solution result and displaying visual information of the solution result; if the file format of the solution result is not the first file format, converting the solution result into the first file format according to a data mapping relationship between a second file format corresponding to the solution result and the first file format, executing the steps of parsing the solution result and displaying visual information of the solution result.

[0013] In one embodiment, the common data includes one or more of mesh data, geometric data, and material property data; the specific data of the physical field includes one or more of constraint data, load data, excitation data, connection relationship data, and unit property data corresponding to the physical field.

[0014] In a second aspect, the present application also provides a data processing device for multi-physics field calculation software of electric power equipment, comprising:

[0015] An acquisition module, used for acquiring a simulation data set of a simulation model of an electric power device;

[0016] A storage module, used for storing the general data in the simulation data set into a general database, and storing the exclusive data corresponding to each physical field in the simulation data set into an exclusive database corresponding to the physical field, according to the applicable relationship between each type of data in the simulation data set and each physical field; wherein the general data is applicable to multiple physical fields, and the exclusive data is applicable to the corresponding physical field; and the data in the general database and the exclusive database conform to a preset data format;

[0017] An extraction module, used for extracting a physical field simulation data set of the target physical field from the general database and the exclusive database of the target physical field according to the target physical field corresponding to the simulation solution when performing simulation solution on the simulation model;

[0018] The conversion module is used to convert the physical field simulation data set into an input file that conforms to the input format of the target physical field solver for the simulation solution.

[0019] In a third aspect, the present application further provides a computer device, including a memory and a processor, wherein the memory stores a computer program, and when the processor executes the computer program, the following steps are implemented:

[0020] Acquire a simulation data set of a simulation model of an electric power device;

[0021] According to the applicable relationship between various types of data in the simulation data set and various physical fields, the general data in the simulation data set is stored in a general database, and the exclusive data corresponding to each physical field in the simulation data set is stored in an exclusive database corresponding to the physical field; wherein the general data is applicable to multiple physical fields, and the exclusive data is applicable to the corresponding physical field; and the data in the general database and the exclusive database conform to a preset data format;

[0022] The general data are stored in a general database, and the specific data corresponding to each physical field are stored in a specific database corresponding to the physical field;

[0023] When the simulation model is simulated and solved, a physical field simulation data set of the target physical field is extracted from the general database and the exclusive database of the target physical field according to the target physical field corresponding to the simulation solution;

[0024] The physical field simulation data set is converted into an input file that conforms to the input format of the target physical field solver for the simulation solution.

[0025] In a fourth aspect, the present application further provides a computer-readable storage medium having a computer program stored thereon, wherein when the computer program is executed by a processor, the following steps are implemented:

[0026] Acquire a simulation data set of a simulation model of an electric power device;

[0027] According to the applicable relationship between various types of data in the simulation data set and various physical fields, the general data in the simulation data set is stored in a general database, and the exclusive data corresponding to each physical field in the simulation data set is stored in an exclusive database corresponding to the physical field; wherein the general data is applicable to multiple physical fields, and the exclusive data is applicable to the corresponding physical field; and the data in the general database and the exclusive database conform to a preset data format;

[0028] The general data are stored in a general database, and the specific data corresponding to each physical field are stored in a specific database corresponding to the physical field;

[0029] When the simulation model is simulated and solved, a physical field simulation data set of the target physical field is extracted from the general database and the exclusive database of the target physical field according to the target physical field corresponding to the simulation solution;

[0030] The physical field simulation data set is converted into an input file that conforms to the input format of the target physical field solver for the simulation solution.

[0031] In a fifth aspect, the present application further provides a computer program product, including a computer program, which implements the following steps when executed by a processor:

[0032] Acquire a simulation data set of a simulation model of an electric power device;

[0033] According to the applicable relationship between various types of data in the simulation data set and various physical fields, the general data in the simulation data set is stored in a general database, and the exclusive data corresponding to each physical field in the simulation data set is stored in an exclusive database corresponding to the physical field; wherein the general data is applicable to multiple physical fields, and the exclusive data is applicable to the corresponding physical field; and the data in the general database and the exclusive database conform to a preset data format;

[0034] The general data are stored in a general database, and the specific data corresponding to each physical field are stored in a specific database corresponding to the physical field;

[0035] When the simulation model is simulated and solved, a physical field simulation data set of the target physical field is extracted from the general database and the exclusive database of the target physical field according to the target physical field corresponding to the simulation solution;

[0036] The physical field simulation data set is converted into an input file that conforms to the input format of the target physical field solver for the simulation solution.

[0037] The data processing method, device, computer equipment, computer-readable storage medium and computer program product of the above-mentioned multi-physical field calculation software for power equipment first obtain a simulation data set of a simulation model of the power equipment, wherein the data in the simulation data set conforms to a preset first data format, and then stores the general data applicable to multiple physical fields in the simulation data set into a general database according to the applicable relationship between each type of data in the simulation data set and each physical field, and stores the exclusive data applicable to each physical field corresponding to the physical field into an exclusive database corresponding to the physical field. When it is necessary to simulate and solve the simulation model, according to the target physical field corresponding to the simulation solution, the physical field simulation data set of the target physical field is extracted from the general database and the exclusive database of the target physical field, and then the physical field simulation data set is converted into an input file that conforms to the input format of the target physical field solver for the simulation solution.

[0038] This solution uses a general database to uniformly store the common data shared between different physical fields, so that different physical fields can share a consistent data foundation, reduce the complexity of maintaining redundant data, and provide a standardized basis for data sharing and coupling across physical fields; and by using the exclusive database corresponding to the physical field to store the exclusive data of the physical field, it is possible to perform corresponding standardized processing on the exclusive data of the physical field according to the differentiated data requirements of each physical field, thereby ensuring the accuracy of data description. At the same time, since the standardized storage of simulation data can be achieved by storing simulation data in a general database and an exclusive database in this solution, when multi-physical field calculation software is needed for simulation and solving, a physical field simulation data set that conforms to the standardized data format can be extracted from the general database and the exclusive database. Only one format conversion is required to convert the physical field simulation data set into an input file that conforms to the input format of the target physical field solver, effectively reducing redundant work and error risks caused by inconsistent data formats. Moreover, the data storage and format conversion method in this solution is highly flexible and scalable, and can flexibly be compatible with new physical fields or solvers, which is conducive to complying with the development trend of multi-physical field simulation technology penetrating into a wider range of fields, and providing long-term support for the growing simulation needs. BRIEF DESCRIPTION OF THE DRAWINGS

[0039] In order to more clearly illustrate the technical solutions in the embodiments of the present application or related technologies, the drawings required for use in the embodiments of the present application or related technical descriptions will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other related drawings can be obtained based on these drawings without paying creative work.

[0040] Figure 1 A schematic flow chart of a data processing method of multi-physics field calculation software for power equipment in one embodiment;

[0041] Figure 2 A schematic diagram of the architecture of a simulation database and a converter in one embodiment;

[0042] Figure 3 A schematic diagram of a process of obtaining an input file in one embodiment;

[0043] Figure 4 A schematic diagram of a process for obtaining a simulation data set in one embodiment;

[0044] Figure 5 A schematic diagram of a process for displaying visual information according to a solution result in an embodiment;

[0045] Figure 6 A structural block diagram of a data processing device of a multi-physics field calculation software for power equipment in one embodiment;

[0046] Figure 7 FIG. 4 is a diagram showing the internal structure of a computer device in one embodiment. DETAILED DESCRIPTION

[0047] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.

[0048] In one embodiment, Figure 1 As shown, a data processing method for multi-physics field calculation software of power equipment is provided. This embodiment takes the method applied to a terminal as an example for illustration. It can be understood that the method can also be applied to a server, and can also be applied to a system including a terminal and a server, and is implemented through the interaction between the terminal and the server. In this embodiment, the method includes the following steps:

[0049] Step S101, obtaining a simulation data set of a simulation model of an electric power device.

[0050] Among them, the simulation data set of the simulation model of the power equipment may include a variety of simulation data of the simulation model, such as but not limited to the mesh data, geometry data, material property data, constraint data, load data, excitation data, connection relationship data, unit attribute data, etc. of the model. Among them, the mesh data can be used to describe the discretization results of the model, such as unit type, node distribution, etc., the geometry data can include the geometry, size and topological relationship of the model, etc., the material attribute data can include physical properties of the model material such as density, elastic modulus, conductivity, etc., the constraint data can include displacement boundary conditions, temperature fixed values, potential constraints, etc., the load data and excitation data can include, for example, external forces, heat sources, electromagnetic excitations, etc. of the model, the connection relationship data can include the interaction between physical fields, such as the interface connection of fluid-solid coupling, the power exchange of electrothermal coupling, etc., and the unit attribute data can include additional information that the solver may need, such as nonlinear material models, eddy current unit parameters, etc.

[0051] Exemplarily, the terminal can obtain the simulation data of the simulation model input by the user through the graphical interface to obtain the simulation data set. Exemplarily, the terminal can also obtain the simulation data set of the simulation model by running a script file provided by the user.

[0052] Step S102, according to the applicable relationship between each type of data in the simulation data set and each physical field, the general data in the simulation data set is stored in a general database, and the exclusive data corresponding to each physical field in the simulation data set is stored in an exclusive database corresponding to the physical field.

[0053] Specifically, for various types of data in the simulation data set, they can be classified as general data or exclusive data corresponding to a certain physical field according to the applicable relationship between each type of data and different physical fields. General data can be applicable to multiple physical fields, and it does not change with the change of the physical field in multi-physical field simulation. Exemplarily, general data can include but are not limited to mesh data, geometric data, material property data, etc. Exemplarily, the exclusive data of the physical field can include but are not limited to the data applicable to the physical field, which are closely related to the characteristics of the physical field. Exemplarily, the exclusive data of the physical field can include but are not limited to the constraint condition data, load data, excitation data, connection relationship data, unit attribute data, etc. of the physical field. For example, the exclusive data corresponding to the electromagnetic physical field may include electromagnetic excitation data, and for another example, the exclusive data corresponding to the structural physical field may include data such as external force load data.

[0054] Among them, the terminal can pre-establish a general database for storing general data, and for multiple physical fields, respectively establish exclusive databases for storing their corresponding exclusive data. Among them, the general database and each exclusive database can set corresponding constraint rules according to the preset data format, so that the data stored therein can conform to the preset data format. Among them, the exclusive database corresponding to each physical field can be set according to the specific data requirements of the physical field. For example, specific data types, verification rules, etc. can be set for various exclusive data corresponding to the physical field to ensure the accuracy of the data description of the physical field. In this step, the general data in the simulation data set can be stored in the general database, and the exclusive data corresponding to each physical field can be stored in the exclusive database corresponding to the physical field.

[0055] Exemplarily, the terminal may use different labels to mark different physical fields, so that in this step, the exclusive database with the same label can be searched according to the label of the physical field corresponding to the exclusive data, and then the exclusive data can be stored in the exclusive database.

[0056] Optionally, when the simulation data set contains exclusive data corresponding to a physical field, and the terminal has not established an exclusive database for the physical field, a new exclusive database for the physical field can be created according to the data requirements of the physical field, and the exclusive data can be stored in the exclusive database.

[0057] Step S103, when performing simulation solution on the simulation model, according to the target physical field corresponding to the simulation solution, a physical field simulation data set of the target physical field is extracted from the general database and the exclusive database of the target physical field.

[0058] When it is necessary to simulate and solve the simulation model of the power equipment, the physical field simulation data set corresponding to the target physical field can be extracted from the general database and the exclusive database of the target physical field according to the target physical field involved in the simulation solution. In different simulation solution scenarios, the target physical field may include one or more physical fields, and the physical field simulation data set corresponding to the target physical field may include simulation data that can realize the simulation solution of the simulation model of the power equipment in the one or more physical fields.

[0059] Step S104, converting the physical field simulation data set into an input file that conforms to the input format of the target physical field solver for simulation solution.

[0060] It is understandable that the data format of each simulation data in the physical field simulation data set extracted from the general database and the exclusive database is the preset data format corresponding to the database. In this step, each simulation data can be converted according to the input format of the target physical field solver used for this simulation solution to obtain an input file that conforms to the input format. Exemplarily, in this step, a file template of the input file can be obtained according to the input format corresponding to the input file, and then the physical field simulation data sets are respectively inserted into the corresponding positions in the file template to obtain an input file that conforms to the input format.

[0061] For example, Figure 2 As shown, the terminal in this embodiment can be configured with a simulation database and a converter. A general database and exclusive databases corresponding to structural physics, fluid physics, and electromagnetic physics can be set in the simulation database. The general database can store mesh data, geometric data, material property data and other data in the simulation data set, the exclusive database corresponding to the structural physics field can store connection relationship data, constraint data and the like, the exclusive database corresponding to the fluid physics field can store boundary condition data and the like, and the exclusive database corresponding to the electromagnetic physics field can store excitation data and the like. When it is necessary to simulate and solve the simulation model, the physical field simulation data set can be extracted from the general database and the exclusive database of the target physical field according to the target physical field corresponding to the simulation solution, and then the physical field simulation data set can be converted into an input file that conforms to the input format according to the input format of the target physical field solver using the converter. As shown in FIG. Figure 2 As shown, the converter can convert data into files in various input formats including but not limited to .xml format, .cdb format, .bdf format, etc.

[0062] In the data processing method of the multi-physics field computing software of the above-mentioned power equipment, the common data shared between different physical fields is uniformly stored by using a general database, so that different physical fields can share a consistent data basis, reduce the complexity of maintaining redundant data, and provide a standardized basis for data sharing and coupling across physical fields; and by using the exclusive database corresponding to the physical field to store the exclusive data of the physical field, the exclusive data of the physical field can be standardized according to the differentiated data requirements of each physical field, so as to ensure the accuracy of the data description. At the same time, since the standardized storage of simulation data can be achieved by storing the simulation data in the general database and the exclusive database in this scheme, when the multi-physics field computing software is needed for simulation and solving, only one format conversion is needed to convert the physical field simulation data set into an input file that conforms to the input format of the target physical field solver, effectively reducing the redundant work and error risks caused by inconsistent data formats. Moreover, the data storage and format conversion method in this scheme has high flexibility and scalability, and can be flexibly compatible with new physical fields or solvers, which is conducive to complying with the development trend of multi-physics field simulation technology penetrating into a wider field, and providing long-term support for the growing simulation needs.

[0063] In an exemplary embodiment, Figure 3 As shown, converting a physics simulation data set into the input format of a target physics solver for simulation may include:

[0064] Step S301, obtaining the supported input format of the target physics field solver.

[0065] When converting a physical field simulation data set into an input format of a target physical field solver, the supported input format of the target physical field solver to be used may be firstly obtained.

[0066] Each solver may have one or more supported input formats. When an input file corresponding to one of the supported input formats of the solver is input to the solver, the solver may parse it and extract corresponding data for simulation solution. It is understood that if the input file input to the solver does not conform to any of the supported input formats, the solver cannot process the input file.

[0067] After obtaining the supported input format of the target physical field solver, it can be determined whether the supported input format includes the preset first file format, and if so, step S302 can be executed, otherwise, step S303 can be executed.

[0068] Step S302: if the supported input format includes a preset first file format, the physical field simulation data set is converted into an input file in the first file format.

[0069] Among them, when the supported input format of the target physical field solver includes the first file format, the physical field simulation data set can be preferentially converted into an input file of the first file format. Optionally, the first file format can be an Extensible Markup Language (XML), which is a markup language for representing structured data, has good readability and flexibility, and is widely used for data storage and transmission. Optionally, the terminal can pre-set a converter that converts data in a general database and a proprietary database into different file formats, and the converter can be configured with data conversion rules corresponding to the data in the database and the first file format.

[0070] Step S303: if the supported input format does not include the first file format, converting the physical field simulation data set into an input file of the second file format according to the second file format included in the supported input format.

[0071] Among them, when the supported input format of the target physical field solver does not include the first file format, the second file format included in the supported input format can be obtained, and the physical field simulation data set can be converted into an input file of the second file format. Optionally, after determining that the supported input format does not include the first file format, the terminal can determine whether the supported input format of the target physical field solver contains a file format that its converter already supports for conversion. If so, the format can be used as the second file format. When all the file formats included in the supported input format do not match the file formats supported by the converter for conversion, a format can be selected from the supported input format as the second file format, and a data conversion rule corresponding to the second file format can be added to the converter. Then, the converter can be used to convert the physical field simulation data set into an input file of the second file format.

[0072] In this embodiment, when converting the physical field simulation data set into an input file, it is preferentially determined whether the target physical field solver supports the first file format, and if it is determined that it supports it, the physical field simulation data set is preferentially converted into an input file of the first file format. According to the universality of various file formats in different solvers, a format with higher universality can be selected as the first file format, thereby saving the development of format conversion interfaces for other file formats, which is conducive to improving processing efficiency.

[0073] In an exemplary embodiment, obtaining a simulation data set of a simulation model of an electrical device may include: displaying a visual input interface for simulation model data; obtaining a simulation data set in response to a parameter input operation based on the visual input interface; or, obtaining a data input script file for the simulation model; and obtaining a simulation data set based on the data input script file.

[0074] Among them, the terminal can obtain the simulation data set of the simulation model of the power equipment in a variety of different ways.

[0075] Optionally, the terminal may display a visual input interface for simulation model data, and the visual input interface may include interactive controls for inputting simulation data of the simulation model. The user may perform parameter input operations by interacting with the interactive controls in the visual input interface. Exemplarily, the visual input interface may include multiple input boxes, each of which may be used to input a type of simulation data of the simulation model, and the terminal may obtain the data input by the user in each input box, and obtain a simulation data set based on the data.

[0076] Optionally, the terminal may also obtain a data input script file provided by the user, and obtain simulation data of the simulation model by running the script file, and obtain a simulation data set based on the data. Exemplarily, the data input script file may include multiple simulation data of the simulation model, or may include data source information that can obtain multiple simulation data of the simulation model. By running the script file, the terminal may directly obtain multiple simulation data of the simulation model, or may obtain multiple simulation data of the simulation model from the corresponding data source.

[0077] In this embodiment, by providing the user with a data input method through a visual interface or using a script, the actual needs of different users for data input can be flexibly met, which is conducive to improving the data acquisition efficiency of the simulation data set.

[0078] In an exemplary embodiment, Figure 4 As shown, obtaining a simulation data set of a simulation model of an electric power device may include:

[0079] Step S401, obtaining a data input file of a simulation model.

[0080] In this embodiment, the user can provide a data input file to the terminal so that the terminal can obtain the simulation data set of the simulation model that needs to be input. The data input file can include multiple simulation input data of the simulation model, and these data can be represented in a structured or semi-structured form.

[0081] Step S402: extracting multiple pieces of simulation input data contained in the data input file according to the file format of the data input file.

[0082] The terminal can identify the file format of the data input file, and then parse the data input file using a parsing method corresponding to the file format, and extract various simulation input data contents contained therein.

[0083] Among them, different from obtaining user input data through a visual input interface, or directly importing data through a data input script file, etc., which can directly import data that meets the format requirements of the simulation data set, the data input file may come from a variety of different simulation processing tools, so the data format corresponding to the simulation input data extracted from the data input file may not meet the format requirements of the simulation data set, making it difficult to directly obtain a simulation data set based on the simulation input data. Based on this, after extracting multiple simulation input data from the data input file, it can be first determined whether the data format of each simulation input data meets the first data format corresponding to the simulation data set. If it meets, step S303 is executed, otherwise step S304 is executed.

[0084] Optionally, the first data format corresponding to the simulation data set may include data types, data fields, data lengths, constraints, etc. corresponding to different simulation data. Exemplarily, the terminal may determine whether each simulation input data conforms to the first data format corresponding to the simulation data set.

[0085] Step S403: if the data formats corresponding to the multiple simulation input data conform to the first data format corresponding to the simulation data set, a simulation data set is obtained according to the simulation input data.

[0086] If the data format corresponding to the simulation input data conforms to the first data format corresponding to the simulation data set, the simulation data set can be directly obtained according to the multiple simulation input data.

[0087] Step S404: if the data format is not the first data format, then according to the data mapping relationship between the data format and the first data format, each simulation input data is converted into simulation data conforming to the first data format.

[0088] Among them, the terminal can pre-store data mapping rules between various data formats and the first data format according to the data mapping relationship between various data formats and the first data format for the data formats commonly used by the simulation input data, so that the simulation input data can be directly format converted according to the mapping rules to obtain simulation data that conforms to the first data format.

[0089] Exemplarily, the data mapping relationship between the data format and the first data format may include field mapping, data type mapping, data value mapping, etc. For example, assuming that the data field of a simulation input data item is "A" and the data value is "123", and according to the first data format requirement of the simulation data set, the data field corresponding to the data should be "B", then in this step, according to the field mapping relationship between the data format of the simulation input data and the first data format, the simulation input data can be converted from "A: 123" to "B: 123". For another example, assuming that the data content of a simulation input data item is "yes / no", and the first data format of the simulation data set requires "1 / 0" to represent the same information, then in this step, according to the data value mapping relationship between the data format of the simulation input data and the first data format, the simulation input data can be converted from "yes / no" to "1 / 0".

[0090] Step S405, obtaining a simulation data set according to each simulation data.

[0091] After each simulation input data is converted into simulation data conforming to the first data format, a simulation data set can be obtained according to the simulation data.

[0092] In this embodiment, by providing the user with a data input file to input data of the simulation model, the user can directly import files from various simulation processing tools to avoid repeated data processing. Among them, after obtaining the simulation input data in the data input file, checking whether its data format conforms to the first data format of the simulation data set, and converting the format when it does not conform, the smooth import of the simulation data can be guaranteed, and the uniformity of various simulation data in the database can be maintained, providing a stable data foundation for subsequent cross-physical field data sharing and coupling.

[0093] In an exemplary embodiment, Figure 5 As shown, the method may also include:

[0094] Step S501, inputting the input file into the target physical field solver, and obtaining the solution result output by the target physical field solver.

[0095] After the physical field simulation data set is converted into an input file conforming to the input format of the target physical field solver for the simulation solution, it can be input into the target physical field solver, and the target physical field solver performs simulation solution of the simulation model of the power equipment according to the data in the input file. Then, the solution result output by the target physical field solver can be obtained.

[0096] The solution result output by the target physical field solver may be a data file. After obtaining the solution result, it may be determined whether the file format of the solution result is a preset first file format. If so, step S502 may be executed, otherwise, step S503 may be executed. Optionally, the first file format may be an Extensible Markup Language (XML) format.

[0097] Step S502: if the file format of the solution result is the preset first file format, the solution result is parsed and visual information of the solution result is displayed.

[0098] Wherein, when the file format of the solution result is the first file format, the solution result can be parsed and converted into visual information according to the parsing method corresponding to the first file format, and then the visual information can be displayed. For example, the visual information of the solution result can include but is not limited to field distribution information, frequency response curve, etc.

[0099] Step S503, if the file format of the solution result is not the first file format, the solution result will be converted into the first file format according to the data mapping relationship between the second file format corresponding to the solution result and the first file format, and the solution result will be parsed and the visual information of the solution result will be displayed.

[0100] Among them, when the file format of the solution result is not the first file format, the terminal can obtain the second file format corresponding to the solution result, and convert the solution result into a file that conforms to the first file format according to the data mapping relationship between the second file format and the first file format. Then, the parsing method corresponding to the first file format can be used to parse the converted solution result and convert it into visual information, and then display the visual information. Exemplarily, the terminal can pre-set data conversion rules for various formats that do not belong to the first file format according to the file format of the solution result output by the commonly used solver of the simulation model of the power equipment, based on the data mapping relationship between the first file format and the various formats, so that after obtaining the solution result, the corresponding data conversion rules can be directly used for conversion processing.

[0101] In this embodiment, by obtaining the solution result output by the target physical field solver, and parsing the solution result when the file format is the first file format and displaying the obtained visualization information, and converting the solution result when the file format is not the first file format to obtain a solution result that conforms to the first file format, the same parsing method can be used to efficiently parse various solution results, which is beneficial to improving overall processing efficiency.

[0102] In an exemplary embodiment, the general data includes one or more of mesh data, geometric data, and material property data; the specific data of the physical field includes one or more of constraint data, load data, excitation data, connection relationship data, and unit property data corresponding to the physical field.

[0103] Among them, the general data may include one or more of mesh data, geometric data, and material property data, which do not change with the change of the physical field in the multi-physics field simulation. For example, mesh data can be used to describe the discretization results of the model, such as unit type, node distribution, etc., geometric data can include the geometric shape, size and topological relationship of the model, etc., and material property data can include physical properties of the model material such as density, elastic modulus, conductivity, etc.

[0104] Among them, the exclusive data of the physical field may include one or more of the constraint data, load data, excitation data, connection relationship data, and unit attribute data corresponding to the physical field, and the exclusive data of the physical field is closely related to the characteristics of the physical field. Exemplarily, the constraint data corresponding to various physical fields may include displacement boundary conditions, temperature fixed values, potential constraints, etc., load data and excitation data may include external forces, heat sources, electromagnetic excitations, etc., connection relationship data can be used to describe the interaction between multiple physical fields, such as interface connection of fluid-solid coupling, power exchange of electrothermal coupling, etc., and unit attribute data may include additional information that may be required by the solver corresponding to each physical field, such as nonlinear material model, eddy current unit parameters, etc. Among them, each physical field may correspond to one or more exclusive data.

[0105] It should be understood that, although the steps in the flowcharts involved in the above embodiments are displayed in sequence according to the indication of the arrows, these steps are not necessarily executed in sequence according to the order indicated by the arrows. Unless there is a clear explanation in this article, the execution of these steps is not strictly limited in order, and these steps can be executed in other orders. Moreover, at least a part of the steps in the flowcharts involved in the above embodiments may include multiple steps or multiple stages, and these steps or stages are not necessarily executed at the same time, but can be executed at different times, and the execution order of these steps or stages is not necessarily carried out in sequence, but can be executed in turn or alternately with other steps or at least a part of the steps or stages in other steps.

[0106] Based on the same inventive concept, the embodiment of the present application also provides a data processing device for power equipment multi-physics field computing software for implementing the data processing method for power equipment multi-physics field computing software involved above. The implementation scheme for solving the problem provided by the device is similar to the implementation scheme recorded in the above method, so the specific limitations in the embodiments of the data processing device for power equipment multi-physics field computing software provided below can refer to the limitations of the data processing method for power equipment multi-physics field computing software above, and will not be repeated here.

[0107] In an exemplary embodiment, Figure 6 As shown, a data processing device 600 of multi-physics field calculation software for power equipment is provided, comprising:

[0108] An acquisition module 601 is used to acquire a simulation data set of a simulation model of an electric power device;

[0109] The storage module 602 is used to store the general data in the simulation data set into a general database, and store the exclusive data corresponding to each physical field in the simulation data set into an exclusive database corresponding to the physical field according to the applicable relationship between each type of data in the simulation data set and each physical field; wherein the general data is applicable to multiple physical fields, and the exclusive data is applicable to the corresponding physical field; and the data in the general database and the exclusive database conform to a preset data format;

[0110] An extraction module 603 is used to extract a physical field simulation data set of the target physical field from the general database and the exclusive database of the target physical field according to the target physical field corresponding to the simulation solution when performing simulation solution on the simulation model;

[0111] The conversion module 604 is used to convert the physical field simulation data set into an input file that conforms to the input format of the target physical field solver for the simulation solution.

[0112] In an exemplary embodiment, the conversion module 604 is used to: obtain a supported input format for the target physical field solver; if the supported input format includes a preset first file format, convert the physical field simulation data set into an input file of the first file format; if the supported input format does not include the first file format, convert the physical field simulation data set into an input file of the second file format according to the second file format included in the supported input format.

[0113] In an exemplary embodiment, the acquisition module 601 is used to: display a visual input interface for simulation model data; obtain the simulation data set in response to a parameter input operation based on the visual input interface; or, obtain a data input script file for the simulation model; and obtain the simulation data set according to the data input script file.

[0114] In an exemplary embodiment, the acquisition module 601 is used to: acquire a data input file of a simulation model; extract multiple simulation input data contained in the data input file according to the file format of the data input file; if the data format corresponding to the multiple simulation input data conforms to the first data format corresponding to the simulation data set, obtain the simulation data set according to the simulation input data; if the data format is not the first data format, convert each simulation input data into simulation data conforming to the first data format according to the data mapping relationship between the data format and the first data format; obtain the simulation data set according to each simulation data.

[0115] In an exemplary embodiment, the device also includes: a result acquisition module, which is used to input the input file into the target physical field solver to obtain the solution result output by the target physical field solver; a parsing module, which is used to parse the solution result if the file format of the solution result is a preset first file format, and display visual information of the solution result; a format conversion module, which is used to convert the solution result into the first file format according to the data mapping relationship between the second file format corresponding to the solution result and the first file format if the file format of the solution result is not the first file format, and execute the steps of parsing the solution result and displaying visual information of the solution result.

[0116] In an exemplary embodiment, the general data includes one or more of mesh data, geometric data, and material property data; the specific data of the physical field includes one or more of constraint data, load data, excitation data, connection relationship data, and unit property data corresponding to the physical field.

[0117] Each module in the data processing device of the above-mentioned power equipment multi-physics field calculation software can be implemented in whole or in part by software, hardware and their combination. The above-mentioned modules can be embedded in or independent of the processor in the computer device in the form of hardware, or can be stored in the memory of the computer device in the form of software, so that the processor can call and execute the operations corresponding to the above modules.

[0118] In an exemplary embodiment, a computer device is provided. The computer device may be a terminal, and its internal structure diagram may be as shown in FIG. Figure 7As shown. The computer device includes a processor, a memory, an input / output interface, a communication interface, a display unit and an input device. The processor, the memory and the input / output interface are connected through a system bus, and the communication interface, the display unit and the input device are connected to the system bus through the input / output interface. The processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The input / output interface of the computer device is used to exchange information between the processor and the external device. The communication interface of the computer device is used to communicate with an external terminal in a wired or wireless manner, and the wireless manner can be realized through WIFI, a mobile cellular network, near field communication (Near Field Communication, NFC) or other technologies. When the computer program is executed by the processor, a data processing method for multi-physics field calculation software of an electric power device is realized. The display unit of the computer device is used to form a visually visible picture, which can be a display screen, a projection device or a virtual reality imaging device. The display screen can be a liquid crystal display screen or an electronic ink display screen, and the input device of the computer device can be a touch layer covering the display screen, or a button, trackball or touchpad set on the computer device shell, or an external keyboard, touchpad or mouse.

[0119] Those skilled in the art will understand that Figure 7 The structure shown in the figure is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.

[0120] In one embodiment, a computer device is further provided, including a memory and a processor, wherein a computer program is stored in the memory, and the processor implements the steps in the above method embodiments when executing the computer program.

[0121] In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the steps in the above-mentioned method embodiments are implemented.

[0122] In one embodiment, a computer program product is provided, including a computer program, which implements the steps in the above method embodiments when executed by a processor.

[0123] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, stored data, displayed data, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties, and the collection, use and processing of relevant data must comply with relevant regulations.

[0124] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiments can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to the memory, database or other medium used in the embodiments provided in this application can include at least one of non-volatile memory and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetic random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. As an illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM). The database involved in each embodiment provided in this application may include at least one of a relational database and a non-relational database. Non-relational databases may include distributed databases based on blockchains, etc., but are not limited to this. The processor involved in each embodiment provided in this application may be a general-purpose processor, a central processing unit, a graphics processor, a digital signal processor, a programmable logic device, a data processing logic device based on quantum computing, an artificial intelligence (AI) processor, etc., but are not limited to this.

[0125] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this application.

[0126] The above embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the present application. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the attached claims.

Claims

1. A data processing method for multi-physics field calculation software of power equipment, characterized in that: The method comprises: Acquire a simulation data set of a simulation model of an electric power device; According to the applicable relationship between various types of data in the simulation data set and various physical fields, the general data in the simulation data set is stored in a general database, and the exclusive data corresponding to each physical field in the simulation data set is stored in an exclusive database corresponding to the physical field; wherein the general data is applicable to multiple physical fields, and the exclusive data is applicable to the corresponding physical field; and the data in the general database and the exclusive database conform to a preset data format; When the simulation model is simulated and solved, a physical field simulation data set of the target physical field is extracted from the general database and the exclusive database of the target physical field according to the target physical field corresponding to the simulation solution; The physical field simulation data set is converted into an input file that conforms to the input format of the target physical field solver for the simulation solution.

2. The method according to claim 1, characterized in that The step of converting the physical field simulation data set into an input format of a target physical field solver for the simulation solution comprises: Obtaining supported input formats of the target physics solver; If the supported input format includes a preset first file format, converting the physical field simulation data set into an input file of the first file format; If the supported input format does not include the first file format, the physical field simulation data set is converted into an input file of the second file format according to the second file format included in the supported input format.

3. The method according to claim 1, characterized in that The step of obtaining a simulation data set of a simulation model of an electric power device comprises: Display the visual input interface of simulation model data; In response to a parameter input operation based on the visual input interface, obtaining the simulation data set; or, Obtaining a data input script file of the simulation model; According to the data input script file, the simulation data set is obtained.

4. The method according to claim 1, characterized in that: The step of obtaining a simulation data set of a simulation model of an electric power device comprises: Get the data input file of the simulation model; Extracting multiple simulation input data contained in the data input file according to the file format of the data input file; If the data formats corresponding to the multiple simulation input data conform to the first data format corresponding to the simulation data set, obtaining the simulation data set according to the simulation input data; If the data format is not the first data format, converting each of the simulation input data into simulation data conforming to the first data format according to a data mapping relationship between the data format and the first data format; The simulation data set is obtained according to each of the simulation data.

5. The method according to claim 1, characterized in that The method further comprises: Inputting the input file into the target physical field solver to obtain a solution result output by the target physical field solver; If the file format of the solution result is a preset first file format, parsing the solution result and displaying visual information of the solution result; If the file format of the solution result is not the first file format, the solution result will be converted into the first file format according to the data mapping relationship between the second file format corresponding to the solution result and the first file format, and the steps of parsing the solution result and displaying the visual information of the solution result will be executed.

6. The method according to any one of claims 1 to 5, characterized in that: The general data includes one or more of grid data, geometric data, and material property data; The specific data of the physical field includes one or more of constraint condition data, load data, excitation data, connection relationship data, and unit attribute data corresponding to the physical field.

7. A data processing device for multi-physics field calculation software of power equipment, characterized in that: The device comprises: An acquisition module, used for acquiring a simulation data set of a simulation model of an electric power device; A storage module, used for storing the general data in the simulation data set into a general database, and storing the exclusive data corresponding to each physical field in the simulation data set into an exclusive database corresponding to the physical field, according to the applicable relationship between each type of data in the simulation data set and each physical field; wherein the general data is applicable to multiple physical fields, and the exclusive data is applicable to the corresponding physical field; and the data in the general database and the exclusive database conform to a preset data format; An extraction module, used for extracting a physical field simulation data set of the target physical field from the general database and the exclusive database of the target physical field according to the target physical field corresponding to the simulation solution when performing simulation solution on the simulation model; The conversion module is used to convert the physical field simulation data set into an input file that conforms to the input format of the target physical field solver for the simulation solution.

8. A computer device comprising a memory and a processor, wherein the memory stores a computer program, wherein: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 6 are implemented.

9. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 6 are implemented.

10. A computer program product, comprising a computer program, characterized in that When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 6 are implemented.