An electrical equipment handover attribute information processing method, device and equipment
By parsing and associating electrical equipment model data, standard data for power grid information models is generated, solving the problem of cumbersome process of matching and assigning electrical equipment handover attributes, achieving efficient and accurate data processing, and reducing the risk of file corruption and data loss.
Patent Information
- Application Number
- CN202411171598.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-26
- Publication Date
- 2026-01-23
- Estimated Expiration
- 2044-08-26
AI Technical Summary
The existing process of matching and assigning transfer attributes for electrical equipment is cumbersome, inefficient, prone to human error, and increases the risk of file corruption and data loss.
By acquiring electrical equipment model data, parsing and processing it into physical model data, obtaining transfer attribute data, and performing correlation processing, standard data for power grid information models are generated, enabling batch processing and fast and accurate data acquisition.
It improves data processing speed and accuracy, reduces the risk of file corruption and data loss, enhances data security and stability, simplifies workflows, and reduces human error.
Smart Images

Figure CN119127791B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of computer information processing technology, and in particular to a method, apparatus and equipment for processing transfer attribute information of electrical equipment. Background Technology
[0002] Currently, the handover attributes of the Grid Information Model (GIM) in power transmission and transformation engineering projects include one main equipment handover attribute and multiple sub-equipment handover attributes, with clear regulations on the format, field types, and granularity of these attributes. The existing process for assigning handover attributes to electrical equipment involves using 3D design software to match and assign handover attributes to the main and sub-equipment of the electrical equipment model one by one. After matching and assignment, a GIM standard file is exported for data verification of the handover attributes. If a problem is detected, the handover attributes of the main and sub-equipment need to be modified again in the 3D design software, and then the GIM standard file is re-imported for verification, repeating this process until the verification is successful. This entire process is cumbersome, requiring repeated operations at different stages, consuming a significant amount of time and manpower. Furthermore, the need to match and assign attributes one by one results in low work efficiency and a high risk of human error. Repeated export, import, and modification operations also increase the possibility of file corruption and data loss. Summary of the Invention
[0003] This invention provides a method, apparatus, and equipment for processing handover attribute information of electrical equipment, which solves the problems of cumbersome and inefficient process of matching and assigning handover attributes of electrical equipment.
[0004] To solve the above-mentioned technical problems, the technical solution of the present invention is as follows:
[0005] This invention provides a method for processing handover attribute information of electrical equipment, including:
[0006] Obtain electrical equipment model data;
[0007] The electrical equipment model data is parsed to obtain physical model data;
[0008] Based on the physical model data, the combined model data is obtained;
[0009] Obtain the handover attribute data of electrical equipment;
[0010] The combined model data and the transfer attribute data are correlated to obtain standard data for the power grid information model.
[0011] Optionally, acquiring the electrical equipment model data includes:
[0012] Based on the original power grid information model standard document, obtain electrical equipment model data.
[0013] Optionally, the electrical equipment model data is parsed to obtain physical model data, including:
[0014] The electrical equipment model data is classified and processed according to equipment name and attributes to obtain physical model data, wherein the physical model data includes: main equipment physical model name data, attribute file information referenced by the main equipment physical model, number of sub-equipment, combined model data referenced by the sub-equipment, and sub-equipment name data.
[0015] Optionally, based on the physical model data, combined model data is obtained, including:
[0016] Based on the name data of the multiple sub-devices, obtain the combined model data referenced by the multiple sub-devices;
[0017] A dataset is constructed based on the combined model data referenced by multiple sub-devices to obtain combined model data, which includes a first device name dataset.
[0018] Optionally, obtain the handover attribute data of the electrical equipment, including:
[0019] The electrical equipment attribute files are classified and processed according to the data equipment name and attributes to obtain the transfer attribute data of the electrical equipment. The transfer attribute data includes a second equipment name dataset and an equipment attribute dataset, wherein each equipment name data in the second equipment name dataset corresponds to a piece of equipment attribute data in the equipment attribute dataset.
[0020] Optionally, the combined model data and the transfer attribute data are correlated to obtain standard data for the power grid information model, including:
[0021] Obtain the first device name dataset from the combined model data and the second device name dataset from the handover attribute data;
[0022] The first device name dataset and the second device name dataset are compared to determine the same device name data;
[0023] Determine the device attribute data in the transfer attribute data that corresponds to the same device name data;
[0024] A model dataset is constructed based on the same equipment name data and equipment attribute data to obtain standard data for the power grid information model.
[0025] Optionally, the method for processing the handover attribute information of electrical equipment further includes:
[0026] The standard data of the power grid information model is verified and the processing result is output. The verification process includes correcting data in the standard data of the power grid information model where the device attribute is null.
[0027] This invention also provides an electrical equipment handover attribute information processing device, the device comprising:
[0028] The first acquisition module is used to acquire electrical equipment model data;
[0029] The first determining module is used to parse and process the electrical equipment model data to obtain physical model data;
[0030] The second determining module is used to obtain combined model data based on the physical model data;
[0031] The second acquisition module is used to acquire the handover attribute data of electrical equipment;
[0032] The generation module is used to perform correlation processing on the combined model data and the transfer attribute data to obtain standard data for the power grid information model.
[0033] This invention also provides a computing device, including: a processor and a memory storing a computer program, wherein the computer program, when run by the processor, executes the above-described method.
[0034] This invention also provides a computer-readable storage medium storing instructions that, when executed on a computer, cause the computer to perform the above-described method.
[0035] The technical solution of the present invention has at least the following effects:
[0036] The above-described solution of the present invention obtains electrical equipment model data; parses and processes the electrical equipment model data to obtain physical model data; obtains combined model data based on the physical model data; obtains handover attribute data of electrical equipment; and performs correlation processing on the combined model data and the handover attribute data to obtain standard data of the power grid information model. This achieves batch processing of electrical equipment model attributes, enabling faster and more accurate file parsing, acquisition of key data, improved data processing speed and accuracy, reduced risk of file corruption and data loss, and enhanced data security and stability. Attached Figure Description
[0037] Figure 1 This is a flowchart of the electrical equipment handover attribute information processing provided in an embodiment of the present invention;
[0038] Figure 2This is a structural diagram of the electrical equipment handover attribute information processing device provided in an embodiment of the present invention;
[0039] Figure 3 This is a schematic diagram of the structure of a computing device provided in an embodiment of the present invention. Detailed Implementation
[0040] Exemplary embodiments of the invention will now be described in more detail with reference to the accompanying drawings. While exemplary embodiments of the invention are shown in the drawings, it should be understood that the invention may be implemented in various forms and should not be limited to the embodiments set forth herein. Rather, these embodiments are provided so that this invention will be thorough and complete, and will fully convey the scope of the invention to those skilled in the art.
[0041] like Figure 1 As shown, an embodiment of the present invention proposes a method for processing electrical equipment handover attribute information, including:
[0042] Step 11, Obtain electrical equipment model data;
[0043] Step 12: Parse the electrical equipment model data to obtain physical model data;
[0044] Step 13: Obtain combined model data based on the physical model data;
[0045] Step 14: Obtain the handover attribute data of the electrical equipment;
[0046] Step 15: Perform correlation processing on the combined model data and the transfer attribute data to obtain standard data for the power grid information model.
[0047] In this example, electrical equipment model data is first obtained from the original Grid Information Model (GIM). This data typically includes the geometric dimensions, interface types, electrical parameters (such as rated voltage, current, and power), and other possible technical specifications of the electrical equipment. After obtaining the original electrical equipment model data, it needs to be parsed to extract the field names, quantities, and parameters of the physical model of the equipment, transforming the original model data into physical model data usable for subsequent analysis and processing. Based on the field names of the equipment in the physical model data, combined model data is obtained. Transfer attribute data refers to a series of additional information required when electrical equipment is transferred to the operation and maintenance department or deployed, such as the equipment's installation location, maintenance records, operation manuals, and safety specifications. The transfer attribute data of the electrical equipment is obtained through the technical support documents of the electrical equipment. The combined model data and the transfer attribute data are then correlated according to the field names of the equipment to obtain standard Grid Information Model data. This technical solution enables batch processing of electrical equipment model attributes, allowing for faster and more accurate file parsing, acquisition of key data, improved data processing speed and accuracy, reduced risk of file corruption and data loss, and enhanced data security and stability.
[0048] In one optional embodiment of the present invention, step 12 may include:
[0049] Step 121: Classify the electrical equipment model data according to equipment name and attributes to obtain physical model data, wherein the physical model data includes: main equipment physical model name data, attribute file information referenced by the main equipment physical model, number of sub-equipment, combined model data referenced by the sub-equipment, and sub-equipment name data.
[0050] In this example, firstly, all model data related to electrical equipment needs to be collected. The collected data is then cleaned to remove duplicate, erroneous, or irrelevant information, ensuring accuracy and consistency. Next, the model data is categorized according to the names of the electrical equipment, grouping devices with similar or identical functions together for easier management and retrieval later. For example, transformers, circuit breakers, and switches can be categorized separately, with each device's unique identifier recorded during the categorization process. For each main device (i.e., the device playing a key role in the system), the attribute file information referenced by its physical model needs to be recorded. Attribute files typically contain detailed technical parameters, operating procedures, maintenance records, and other crucial information. In complex electrical systems, main devices are often associated with multiple sub-devices, forming complex equipment combinations. When constructing the physical model, the number of sub-devices connected to each main device is recorded, along with detailed records of the combined model data referenced by these sub-devices. All the data obtained from the above categorization process is then integrated into complete physical model data, including the main device's physical model name, the attribute file information referenced by the main device's physical model, the number of sub-devices, the combined model data referenced by the sub-devices, and the sub-device names. In practice, the original GIM standard file of the electrical equipment model is imported to obtain the DEV physical model to which the electrical equipment model belongs. The file data includes:
[0051] (1) Main equipment DEV physical model name, “SYMBOLNAME=220kV Transformer”;
[0052] (2) The attribute file referenced by the main equipment DEV physical model, "BASEFAMILYPOINTER=a6628d14-d7dc-4821-9533-5c89f04af3f2-0035456c.fam". Among them, the main equipment DEV physical model contains ( ) file and attribute file ( The names are the same, and each field consists of 6 random fields and is unique.
[0053] (3) Read the number of sub-devices, “SOLIDMODELS.NUM=19”;
[0054] (4) Based on the number of sub-devices, read the PHM combined model referenced by the corresponding number of sub-devices, as well as the field names of each sub-device, from "SOLIDMODEL0=4ed81011-793c-4e33-b72e-b74f42b9036c.phm" to "SOLIDMODEL18=a8bf4e2c-34dc-4b38-8bf4-bf389c76a5cf-00368961.phm". The index of the referenced file starts from 0;
[0055] (5) Read the unique field name of each sub-device, that is, the physical model file to which the sub-device belongs ( ), property file ( ), combined model file ( The names are the same, and each field consists of 6 random fields and is unique.
[0056] In one optional embodiment of the present invention, step 13 may include:
[0057] Step 131: Based on the multiple sub-device name data, obtain the combined model data referenced by the multiple sub-devices;
[0058] Step 132: Construct a dataset based on the combined model data referenced by the multiple sub-devices to obtain combined model data, wherein the combined model data includes a first device name dataset.
[0059] In this example, the first step is to identify and extract the name data of all sub-devices from the existing data. These names are key identifiers that distinguish different sub-devices and are typically stored as strings in the database. During extraction, it's crucial to ensure that each sub-device's name is unique so that it can be accurately linked to its corresponding composite model data later. For each sub-device's name data, the composite model data it references needs to be queried and retrieved. During the query process, all sub-device name data needs to be traversed, and for each name, its corresponding composite model data needs to be found in the relevant data structure. After obtaining the composite model data referenced by all sub-devices, this data is integrated to construct a complete dataset; namely, the first device name dataset, which includes the device's field name. Simultaneously, a unique identifier needs to be assigned to each composite model data point for easy referencing and querying in subsequent processing. For example, based on the unique field name of the sub-device, the PHM composite model (…) can be retrieved. The file data, namely "FamilyName#FamilyName#220kVTransformer_High Voltage Bushing", indicates that the sub-equipment name is "High Voltage Bushing".
[0060] In one optional embodiment of the present invention, step 14 may include:
[0061] Step 141: Classify the electrical equipment attribute file according to the data equipment name and attributes to obtain the transfer attribute data of the electrical equipment. The transfer attribute data includes a second equipment name dataset and an equipment attribute dataset, wherein each equipment name data in the second equipment name dataset corresponds to a piece of equipment attribute data in the equipment attribute dataset.
[0062] In this example, the technical support documents for the electrical equipment are first obtained, resulting in an electrical equipment attribute file. This file is then categorized by data device name and attributes to obtain the transfer attribute data for the electrical equipment. The transfer attribute data includes a second device name dataset and a device attribute dataset. Each device name in the second device name dataset corresponds to a device attribute in the device attribute dataset. Specifically, the electrical equipment model is used as a whole to establish a transfer attribute set, containing transfer attribute information for one main device and multiple sub-devices. This is achieved through the main device name and sub-device name fields, as well as attribute information (…). ) file, complete the handover of attribute file ( (Format) and mapping of the main device name and sub-devices.
[0063] In one optional embodiment of the present invention, step 15 may include:
[0064] Step 151: Obtain the first device name dataset from the combined model data and the second device name dataset from the handover attribute data;
[0065] Step 152: Compare the first device name dataset and the second device name dataset to determine the same device name data;
[0066] Step 153: Determine the device attribute data in the transfer attribute data that corresponds to the same device name data;
[0067] Step 154: Construct a model dataset based on the same equipment name data and equipment attribute data to obtain standard data for the power grid information model.
[0068] In this example, the first equipment name dataset and the second equipment name dataset are compared to identify identical equipment name data. Simultaneously, the equipment attribute data corresponding to the identical equipment name data in the transfer attribute data is determined. A model dataset is constructed based on the identical equipment name data and the equipment attribute data to obtain standard data for the power grid information model. In specific implementation, the main equipment physical model is rewritten sequentially. ) file and rewrite the master device physical model ( The file needs to reference the master device attribute file ( ); Regenerate the DEV physical model of the sub-device ( ) files and generated sub-device DEV physical model ( The file needs to reference the sub-device property file ( Finally, the DEV composite model in the GIM standard file ( Data checks and null value corrections are performed in the file, including rewriting the main device physical model. ) files, including:
[0069] (1) Transfer attribute file ( The number of sub-devices mapped to (format), "SUBDEVICES.NUM=10";
[0070] (2) Sub-device physical model ( Files from “SUBDEVICE0=d98e791e-ee81-4fe0-a67e-86b9bd3ca9a3.dev” to “SUBDEVICE9=873aa926-cc2d-4996-9350-a5ce59397909.dev”;
[0071] (3) Modify the sub-device reference combination model file ( The quantity is "SOLIDMODELS.NUM=9";
[0072] (4) Remove "transfer attribute file ( The combined model file of "format) and mapping of sub-devices" (reference);
[0073] Rewrite the physical model of the main device ( The file needs to reference the master device attribute file ( ),include:
[0074] (1) Create a new field “
Design Parameters
[0075] (2) Read the handover attribute file ( The format) and the mapping file data of the master device, "English attribute = Chinese attribute = parameter value + unit";
[0076] (3) Create new fields according to the format "English attribute = Chinese attribute = parameter value + unit", such as "Unknown = type = three-phase integrated MVA, Unknown = capacity = 180MVA, Unknown = rated frequency = 50Hz";
[0077] Generate the physical model of the sub-device DEV ( ) files, including:
[0078] (1) Sub-device DEV physical model ( The attribute file referenced by the file ( ), "BASEFAMILYPOINTER=bb8c2564-eaf7-46db-8030-4b62fe382d59.fam",
[0079] (2) Sub-equipment name, “SYMBOLNAME=220kV Transformer_High Voltage Bushing”
[0080] (3) Sub-device type, "TYPE=OTHERS",
[0081] (4) Referencing physical models ( The number of files, "SUBDEVICES.NUM=0",
[0082] (5) Reference Combination Model ( Number of files, "SOLIDMODELS.NUM=1",
[0083] (6) The combined model referenced by the sub-device ( The file, "SOLIDMODEL0=a8bf4e2c-34dc-4b38-8bf4-bf389c76a5cf-00368561.phm",
[0084] Generate the physical model of the sub-device DEV ( The file needs to reference the sub-device property file ( The generation rules are the same as those for the main device physical model. The file needs to reference the master device attribute file ( ),include:
[0085] (1) Create a new field “
Design Parameters
[0086] (2) Read the handover attribute file ( The mapping file data between the format and the sub-device, "English attribute = Chinese attribute = parameter value + unit";
[0087] (3) Create new fields according to the format of “English attribute = Chinese attribute = parameter value + unit”, such as “Unkown = rated current = 1600A, Unkown = insulation level = 252kV, Unkown = partial discharge level = 220pC”.
[0088] A specific embodiment of the electrical equipment handover attribute information processing method provided in this invention is as follows:
[0089] Step 1: Obtain electrical equipment model data and parse the electrical equipment model data to obtain physical model data;
[0090] (1) Read the GIM standard file;
[0091] (2) Import the original GIM standard file of the electrical equipment model and obtain the DEV physical model to which the electrical equipment model belongs. The file data includes:
[0092] 1) Main equipment DEV physical model name, "SYMBOLNAME=220kV Transformer";
[0093] 2) The attribute file referenced by the main device DEV physical model, "BASEFAMILYPOINTER=a6628d14-d7dc-4821-9533-5c89f04af3f2-0035456c.fam". The main device DEV physical model contains (...). ) file and attribute file ( The names are the same, and each field consists of 6 random fields and is unique.
[0094] 3) Read the number of sub-devices, "SOLIDMODELS.NUM=19";
[0095] 4) Based on the number of sub-devices, read the corresponding number of PHM composite models referenced by the sub-devices, as well as the field names of each sub-device, from "SOLIDMODEL0=4ed81011-793c-4e33-b72e-b74f42b9036c.phm" to "SOLIDMODEL18=a8bf4e2c-34dc-4b38-8bf4-bf389c76a5cf-00368961.phm". The index of the referenced files starts from 0.
[0096] 5) Read the unique field name of each sub-device, i.e., the physical model file to which the sub-device belongs ( ), property file ( ), combined model file ( The names are the same, and each field consists of 6 random fields and is unique.
[0097] Step 2: Based on the multiple sub-device name data, obtain the combined model data referenced by the multiple sub-devices;
[0098] Step 3: Construct a dataset based on the combined model data referenced by the multiple sub-devices to obtain combined model data. The combined model data includes a first device name dataset. For example, based on the unique field name to which the sub-device belongs, read the PHM combined model (…). The file data, namely "FamilyName#FamilyName#220kVTransformer_High Voltage Bushing", indicates that the sub-equipment name is "High Voltage Bushing".
[0099] Step 4: Obtain the handover attribute data of the electrical equipment; establish a handover attribute set based on the electrical equipment model as a whole, containing handover attribute information for one main device and multiple sub-devices; this is done through the main device name and sub-device name fields, as well as attribute information (…). ) file, complete the handover of attribute file ( (Format) and mapping of the main device name and sub-devices.
[0100] Step 5: Perform correlation processing on the combined model data and the transfer attribute data to obtain standard data for the power grid information model. In specific implementation, this is done in folder format using... Format, batch read electrical equipment model handover attribute data PHM combined model ( The file data and the field names of the handover attribute set are automatically associated or manually matched; the physical model of the master device is rewritten in sequence. ) file and rewrite the master device physical model ( The file needs to reference the master device attribute file ( ); Regenerate the DEV physical model of the sub-device ( ) files and generated sub-device DEV physical model ( The file needs to reference the sub-device property file ( ); among which, the physical model of the main equipment is rewritten ( ) files, including:
[0101] (1) Transfer attribute file ( The number of sub-devices mapped to (format), "SUBDEVICES.NUM=10";
[0102] (2) Sub-device physical model ( Files from “SUBDEVICE0=d98e791e-ee81-4fe0-a67e-86b9bd3ca9a3.dev” to “SUBDEVICE9=873aa926-cc2d-4996-9350-a5ce59397909.dev”;
[0103] (3) Modify the sub-device reference combination model file ( The quantity is "SOLIDMODELS.NUM=9";
[0104] (4) Remove "transfer attribute file ( The combined model file of "format) and mapping of sub-devices" (reference);
[0105] Rewrite the physical model of the main device ( The file needs to reference the master device attribute file ( ),include:
[0106] (1) Create a new field “
Design Parameters
[0107] (2) Read the handover attribute file ( The format) and the mapping file data of the master device, "English attribute = Chinese attribute = parameter value + unit";
[0108] (3) Create new fields according to the format "English attribute = Chinese attribute = parameter value + unit", such as "Unknown = type = three-phase integrated MVA, Unknown = capacity = 180MVA, Unknown = rated frequency = 50Hz";
[0109] Generate the physical model of the sub-device DEV ( ) files, including:
[0110] (1) Sub-device DEV physical model ( The attribute file referenced by the file ( ), "BASEFAMILYPOINTER=bb8c2564-eaf7-46db-8030-4b62fe382d59.fam",
[0111] (2) Sub-equipment name, “SYMBOLNAME=220kV Transformer_High Voltage Bushing”
[0112] (3) Sub-device type, "TYPE=OTHERS",
[0113] (4) Referencing physical models ( The number of files, "SUBDEVICES.NUM=0",
[0114] (5) Reference Combination Model ( Number of files, "SOLIDMODELS.NUM=1",
[0115] (6) The combined model referenced by the sub-device ( The file, "SOLIDMODEL0=a8bf4e2c-34dc-4b38-8bf4-bf389c76a5cf-00368561.phm",
[0116] Generate the physical model of the sub-device DEV ( The file needs to reference the sub-device property file ( The generation rules are the same as those for the main device physical model. The file needs to reference the master device attribute file ( ),include:
[0117] (1) Create a new field “
Design Parameters
[0118] (2) Read the handover attribute file ( The mapping file data between the format and the sub-device, "English attribute = Chinese attribute = parameter value + unit";
[0119] (3) Create new fields according to the format of “English attribute = Chinese attribute = parameter value + unit”, such as “Unkown = rated current = 1600A, Unkown = insulation level = 252kV, Unkown = partial discharge level = 220pC”.
[0120] Step 6, for the DEV composite model in the GIM standard file ( Data checks and null value corrections are performed in the file.
[0121] The electrical equipment handover attribute information processing method proposed in this invention simplifies the entire workflow, reduces tedious repetitive operations, and makes the entire process more efficient and smooth; it lowers the high requirements for computer hardware, saves hardware costs, and also improves the applicability and scalability of the system; it reduces errors caused by human operation, improves the accuracy and reliability of data; and it reduces the risk of file corruption and data loss, enhancing data security and stability.
[0122] like Figure 2 As shown, this embodiment of the invention also provides an electrical equipment handover attribute information processing device 20, the device 20 comprising:
[0123] The first acquisition module 21 is used to acquire electrical equipment model data;
[0124] The first determining module 22 is used to parse and process the electrical equipment model data to obtain physical model data;
[0125] The second determining module 23 is used to obtain combined model data based on the physical model data;
[0126] The second acquisition module 24 is used to acquire the handover attribute data of electrical equipment;
[0127] The generation module 25 is used to perform correlation processing on the combined model data and the transfer attribute data to obtain standard data for the power grid information model.
[0128] Optionally, the first acquisition module 21 is specifically used for:
[0129] Based on the original power grid information model standard document, obtain electrical equipment model data.
[0130] Optionally, the first determining module 22 is specifically used for:
[0131] The electrical equipment model data is classified and processed according to equipment name and attributes to obtain physical model data, wherein the physical model data includes: main equipment physical model name data, attribute file information referenced by the main equipment physical model, number of sub-equipment, combined model data referenced by the sub-equipment, and sub-equipment name data.
[0132] Optionally, the second determining module 23 is specifically used for:
[0133] Based on the name data of the multiple sub-devices, obtain the combined model data referenced by the multiple sub-devices;
[0134] A dataset is constructed based on the combined model data referenced by multiple sub-devices to obtain combined model data, which includes a first device name dataset.
[0135] Optionally, the second acquisition module 24 is specifically used for:
[0136] The electrical equipment attribute files are classified and processed according to the data equipment name and attributes to obtain the transfer attribute data of the electrical equipment. The transfer attribute data includes a second equipment name dataset and an equipment attribute dataset, wherein each equipment name data in the second equipment name dataset corresponds to a piece of equipment attribute data in the equipment attribute dataset.
[0137] Optionally, the generation module 25 is specifically used for:
[0138] Obtain the first device name dataset from the combined model data and the second device name dataset from the handover attribute data;
[0139] The first device name dataset and the second device name dataset are compared to determine the same device name data;
[0140] Determine the device attribute data in the transfer attribute data that corresponds to the same device name data;
[0141] A model dataset is constructed based on the same equipment name data and equipment attribute data to obtain standard data for the power grid information model.
[0142] Optionally, the device 20 further includes:
[0143] The verification module 26 is used to perform verification processing on the standard data of the power grid information model and output the processing result. The verification processing includes correcting data in the standard data of the power grid information model where the device attribute is null.
[0144] It should be noted that this device is a device corresponding to the above method. All implementation methods in the above method embodiments are applicable to this embodiment and can achieve the same technical effect.
[0145] like Figure 3 As shown, this embodiment of the invention also provides a computing device 30, including a processor 31, a memory 32, and a program or instructions stored in the memory 32 and executable on the processor 31. When the program or instructions are executed by the processor 31, they implement the various processes of the above-described electrical equipment handover attribute information processing method embodiment and achieve the same technical effects. To avoid repetition, they will not be described again here. It should be noted that the computing device in this embodiment of the invention includes the above-described mobile electronic devices and non-mobile electronic devices.
[0146] Those skilled in the art will recognize that the units and algorithm steps of the various examples described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are implemented in hardware or software depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementations should not be considered beyond the scope of this invention.
[0147] Those skilled in the art will understand that, for the sake of convenience and brevity, the specific working processes of the systems, devices, and units described above can be referred to the corresponding processes in the foregoing method embodiments, and will not be repeated here.
[0148] In the embodiments provided by this invention, it should be understood that the disclosed apparatus and methods can be implemented in other ways. For example, the apparatus embodiments described above are merely illustrative; for instance, the division of units is only a logical functional division, and in actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. Furthermore, the coupling or direct coupling or communication connection shown or discussed may be through some interfaces; the indirect coupling or communication connection between apparatuses or units may be electrical, mechanical, or other forms.
[0149] The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the units can be selected to achieve the purpose of this embodiment according to actual needs.
[0150] In addition, the functional units in the various embodiments of the present invention can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit.
[0151] The data is stored in a computer-readable storage medium. Based on this understanding, the technical solution of this invention, or the part that contributes to the prior art, or a portion of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods of the various embodiments of this invention. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, ROM, RAM, magnetic disks, or optical disks.
[0152] Furthermore, it should be noted that in the apparatus and method of the present invention, it is obvious that the components or steps can be decomposed and / or recombined. These decompositions and / or recombinations should be considered equivalent solutions of the present invention. Moreover, the steps performing the above series of processes can naturally be executed in the order described, but are not necessarily required to be executed in chronological order; some steps can be executed in parallel or independently of each other. Those skilled in the art will understand that all or any step or component of the method and apparatus of the present invention can be implemented in any computing device (including processors, storage media, etc.) or network of computing devices, in hardware, firmware, software, or a combination thereof. This is something that those skilled in the art can achieve by using their basic programming skills after reading the description of the present invention.
[0153] Therefore, the object of the present invention can also be achieved by running a program or a set of programs on any computing device. The computing device can be a known general-purpose device. Therefore, the object of the present invention can also be achieved simply by providing a program product containing program code for implementing the method or apparatus. That is, such a program product also constitutes the present invention, and the storage medium storing such a program product also constitutes the present invention. Obviously, the storage medium can be any known storage medium or any storage medium developed in the future. It should also be noted that in the apparatus and method of the present invention, it is obvious that the components or steps can be decomposed and / or recombined. These decompositions and / or recombinations should be considered equivalent to the present invention. Furthermore, the steps for performing the above series of processes can naturally be performed in the order described, but are not necessarily required to be performed in chronological order. Some steps can be performed in parallel or independently of each other.
[0154] The above are preferred embodiments of the present invention. It should be noted that, for those skilled in the art, several improvements and modifications can be made without departing from the principle of the present invention, and these improvements and modifications should also be considered within the scope of protection of the present invention.
Claims
1. A method for processing transfer attribute information of electrical equipment, characterized in that, include: Obtain electrical equipment model data; The electrical equipment model data is parsed to obtain physical model data; Based on the physical model data, the combined model data is obtained; Obtain the handover attribute data of electrical equipment; The combined model data and the handover attribute data are correlated to obtain standard data for the power grid information model; The acquisition of electrical equipment model data includes: Based on the original power grid information model standard document, obtain electrical equipment model data; Specifically, the electrical equipment model data is parsed to obtain physical model data, including: The electrical equipment model data is classified and processed according to equipment name and attributes to obtain physical model data, wherein the physical model data includes: main equipment physical model name data, attribute file information referenced by the main equipment physical model, number of sub-equipment, combined model data referenced by the sub-equipment, and sub-equipment name data; The main device physical model data, attribute file, and combined model data have the same name, consist of 6 random fields, and are unique; based on the number of sub-devices, the combined model referenced by the corresponding number of sub-devices, as well as the field names of each sub-device, are read. The combined model data obtained based on the physical model data includes: Based on the name data of the multiple sub-devices, obtain the combined model data referenced by the multiple sub-devices; A dataset is constructed based on the combined model data referenced by multiple sub-devices to obtain combined model data, which includes a first device name dataset; specifically including: Identify and extract the name data of all sub-devices from the existing data, query the name data of each sub-device and obtain the referenced composite model data; during the query process, traverse the name data of all sub-devices, and for each name, search for the corresponding composite model data in the corresponding data structure; after obtaining the composite model data referenced by all sub-devices, integrate the composite model data to form a complete dataset, namely the first device name dataset, which includes the field name and identifier of the device; This includes obtaining the handover attribute data of electrical equipment, including: The electrical equipment attribute files are classified and processed according to the data equipment name and attributes to obtain the transfer attribute data of the electrical equipment. The transfer attribute data includes a second equipment name dataset and an equipment attribute dataset, wherein each equipment name data in the second equipment name dataset corresponds to one equipment attribute data in the equipment attribute dataset. Specifically, the combined model data and the handover attribute data are correlated to obtain standard data for the power grid information model, including: Obtain the first device name dataset from the combined model data and the second device name dataset from the handover attribute data; The first device name dataset and the second device name dataset are compared to determine the same device name data; Determine the device attribute data in the transfer attribute data that corresponds to the same device name data; A model dataset is constructed based on the identical device name data and the device attribute data to obtain standard data for the power grid information model; the specific process includes: The process involves: rewriting the main equipment physical model file and the main equipment attribute files that need to be referenced in the rewriting of the main equipment physical model file; generating the sub-equipment physical model file and the sub-equipment attribute files that need to be referenced in the generation of the sub-equipment physical model file; performing data checks and correcting null values in the combined model files in the standard file; rewriting the main equipment physical model file, including: the number of mappings between the transfer attribute files and sub-equipment; sub-equipment physical model files; correcting the number of combined model files referenced by sub-equipment; and removing references to combined model files in the mapping between the transfer attribute files and sub-equipment. The process of rewriting the main equipment physical model file requires referencing the main equipment attribute file, including: creating new design parameter fields; reading the mapping file data between the transfer attribute file and the main equipment, where English attributes = Chinese attributes = parameter value + unit; and creating new fields according to the above format. Generate a physical model file for the sub-device, including: the attribute files referenced by the physical model file of the sub-device; the name of the sub-device; the type of the sub-device; the number of referenced physical model files; the number of referenced combined model files; and the combined model files referenced by the sub-device. The generation of the sub-equipment physical model file requires reference to the sub-equipment attribute file. The generation rules are the same as those for the main equipment physical model file, which requires reference to the main equipment attribute file. This includes: creating new design parameter fields; reading the mapping file data between the transfer attribute file and the sub-equipment, where English attributes = Chinese attributes = parameter value + unit; and creating new fields according to the above format. The method for processing the transfer attribute information of electrical equipment further includes: The standard data of the power grid information model is verified and the processing result is output. The verification process includes correcting data in the standard data of the power grid information model where the equipment attribute is null. The specific implementation process of the method includes: S1, acquire electrical equipment model data, and parse the electrical equipment model data to obtain physical model data, including: S11, Read the GIM standard file; S12, Import the original GIM standard file of the electrical equipment model, and obtain the DEV physical model file data in dev format to which the electrical equipment model belongs, including: S121, Name of the physical model of the master device DEV; S122, The attribute file referenced by the master device's DEV physical model, wherein the master device's dev format DEV physical model file has the same name as the fam format attribute file, and consists of 6 random fields, which are unique. S123, Read the number of sub-devices; S124, based on the number of sub-devices, read the PHM combined model referenced by the corresponding number of sub-devices, as well as the field name of each sub-device, where the index of the referenced file starts from 0; S125, read the unique field name of each sub-device, that is, the physical model file in dev format, the attribute file in fam format, and the combined model file in phm format to which the sub-device belongs have the same name, and are composed of 6 random fields, and are unique. S2, based on the multiple sub-device name data, obtain the combined model data referenced by the multiple sub-devices; S3, construct a dataset based on the combined model data referenced by the multiple sub-devices to obtain combined model data, wherein the combined model data includes a first device name dataset; S4, obtain the handover attribute data of electrical equipment; establish a handover attribute set based on the electrical equipment model as a whole, including the handover attribute information of one main equipment and multiple sub-equipment; complete the mapping between the handover attribute file in xlsx format and the main equipment name and sub-equipment through the main equipment name and sub-equipment name fields, as well as the attribute information file in fam format; S5, perform correlation processing on the combined model data and the handover attribute data to obtain standard data for the power grid information model. In specific implementation, this is done in folder format using... The format involves batch reading the handover attribute data (PHM) combined model file data of electrical equipment models and automatically associating or manually matching it with the field names of the handover attribute collection; sequentially rewriting the main equipment physical model file and the main equipment attribute files that need to be referenced in the rewriting of the main equipment physical model file; then generating the sub-equipment DEV physical model file and the sub-equipment attribute files that need to be referenced in the generation of the sub-equipment DEV physical model file; wherein, rewriting the main equipment physical model file includes: S511, the number of mappings between attribute files and sub-devices; S512, Sub-device physical model file; S513, corrects the number of sub-device referenced composite model files; S514, Remove references to the combined model file of "transfer attribute file and sub-device mapping"; Rewriting the master device physical model file requires referencing the master device's FAM format attribute file, including: S521, Create a new "Design Parameters" field; S522, reads the handover attribute file and the mapping file data of the master device, English attribute = Chinese attribute = parameter value + unit; S523, create a new field according to the format "English attribute=Chinese attribute=parameter value+unit", "Unkown=type=three-phase integrated MVA, Unkown=capacity=180MVA, Unkown=rated frequency=50Hz"; Generate the DEV physical model file for the sub-device, including: S531, the attribute file referenced by the sub-device DEV physical model file. S532, Sub-device Name S533, Sub-device type S534, Number of referenced physical model files S535, Number of referenced composite model files S536, the combined model file referenced by the sub-device. The generation rules for the sub-device DEV physical model file are the same as those for the main device physical model file, which requires the reference of the main device attribute file. These include: S541, Create a new "Design Parameters" field; S542, reads the handover attribute file and the mapping file data of the sub-device, English attribute = Chinese attribute = parameter value + unit; S543, create a new field according to the format "English attribute=Chinese attribute=parameter value+unit" and "Unkown=rated current=1600A, Unkown=insulation level=252kV, Unkown=partial discharge level=220pC"; S6 performs data inspection and data null value correction on the DEV composite model file in the GIM standard file.
2. An electrical equipment handover attribute information processing device, characterized in that, The device includes: The first acquisition module is used to acquire electrical equipment model data; The first determining module is used to parse and process the electrical equipment model data to obtain physical model data; The second determining module is used to obtain combined model data based on the physical model data; The second acquisition module is used to acquire the handover attribute data of electrical equipment; The generation module is used to perform correlation processing on the combined model data and the handover attribute data to obtain standard data for the power grid information model. The acquisition of electrical equipment model data includes: Based on the original power grid information model standard document, obtain electrical equipment model data; Specifically, the electrical equipment model data is parsed to obtain physical model data, including: The electrical equipment model data is classified and processed according to equipment name and attributes to obtain physical model data, wherein the physical model data includes: main equipment physical model name data, attribute file information referenced by the main equipment physical model, number of sub-equipment, combined model data referenced by the sub-equipment, and sub-equipment name data; The main device physical model data, attribute file, and combined model data have the same name, consist of 6 random fields, and are unique; based on the number of sub-devices, the combined model referenced by the corresponding number of sub-devices, as well as the field names of each sub-device, are read. The combined model data obtained based on the physical model data includes: Based on the name data of the multiple sub-devices, obtain the combined model data referenced by the multiple sub-devices; A dataset is constructed based on the combined model data referenced by multiple sub-devices to obtain combined model data, which includes a first device name dataset; specifically including: Identify and extract the name data of all sub-devices from the existing data, query the name data of each sub-device and obtain the referenced composite model data; during the query process, traverse the name data of all sub-devices, and for each name, search for the corresponding composite model data in the corresponding data structure; after obtaining the composite model data referenced by all sub-devices, integrate the composite model data to form a complete dataset, namely the first device name dataset, which includes the field name and identifier of the device; This includes obtaining the handover attribute data of electrical equipment, including: The electrical equipment attribute files are classified and processed according to the data equipment name and attributes to obtain the transfer attribute data of the electrical equipment. The transfer attribute data includes a second equipment name dataset and an equipment attribute dataset, wherein each equipment name data in the second equipment name dataset corresponds to one equipment attribute data in the equipment attribute dataset. Specifically, the combined model data and the handover attribute data are correlated to obtain standard data for the power grid information model, including: Obtain the first device name dataset from the combined model data and the second device name dataset from the handover attribute data; The first device name dataset and the second device name dataset are compared to determine the same device name data; Determine the device attribute data in the transfer attribute data that corresponds to the same device name data; A model dataset is constructed based on the identical device name data and the device attribute data to obtain standard data for the power grid information model; the specific process includes: The process involves: rewriting the main equipment physical model file and the main equipment attribute files that need to be referenced in the rewriting of the main equipment physical model file; generating the sub-equipment physical model file and the sub-equipment attribute files that need to be referenced in the generation of the sub-equipment physical model file; performing data checks and correcting null values in the combined model files in the standard file; rewriting the main equipment physical model file, including: the number of mappings between the transfer attribute files and sub-equipment; sub-equipment physical model files; correcting the number of combined model files referenced by sub-equipment; and removing references to combined model files in the mapping between the transfer attribute files and sub-equipment. The process of rewriting the main equipment physical model file requires referencing the main equipment attribute file, including: creating new design parameter fields; reading the mapping file data between the transfer attribute file and the main equipment, where English attributes = Chinese attributes = parameter value + unit; and creating new fields according to the above format. Generate a physical model file for the sub-device, including: the attribute files referenced by the physical model file of the sub-device; the name of the sub-device; the type of the sub-device; the number of referenced physical model files; the number of referenced combined model files; and the combined model files referenced by the sub-device. The generation of the sub-equipment physical model file requires reference to the sub-equipment attribute file. The generation rules are the same as those for the main equipment physical model file, which requires reference to the main equipment attribute file. This includes: creating new design parameter fields; reading the mapping file data between the transfer attribute file and the sub-equipment, where English attributes = Chinese attributes = parameter value + unit; and creating new fields according to the above format. The electrical equipment handover attribute information processing device further includes a verification module, used for: The standard data of the power grid information model is verified and the processing result is output. The verification process includes correcting data in the standard data of the power grid information model where the equipment attribute is null. Specifically, the following process is implemented on the device: S1, acquire electrical equipment model data, and parse the electrical equipment model data to obtain physical model data, including: S11, Read the GIM standard file; S12, Import the original GIM standard file of the electrical equipment model, and obtain the DEV physical model file data in dev format to which the electrical equipment model belongs, including: S121, Name of the physical model of the master device DEV; S122, The attribute file referenced by the master device's DEV physical model, wherein the master device's dev format DEV physical model file has the same name as the fam format attribute file, and consists of 6 random fields, which are unique. S123, Read the number of sub-devices; S124, based on the number of sub-devices, read the PHM combined model referenced by the corresponding number of sub-devices, as well as the field name of each sub-device, where the index of the referenced file starts from 0; S125, read the unique field name of each sub-device, that is, the physical model file in dev format, the attribute file in fam format, and the combined model file in phm format to which the sub-device belongs have the same name, and are composed of 6 random fields, and are unique. S2, based on the multiple sub-device name data, obtain the combined model data referenced by the multiple sub-devices; S3, construct a dataset based on the combined model data referenced by the multiple sub-devices to obtain combined model data, wherein the combined model data includes a first device name dataset; S4, obtain the handover attribute data of electrical equipment; establish a handover attribute set based on the electrical equipment model as a whole, including the handover attribute information of one main equipment and multiple sub-equipment; complete the mapping between the handover attribute file in xlsx format and the main equipment name and sub-equipment through the main equipment name and sub-equipment name fields, as well as the attribute information file in fam format; S5, perform correlation processing on the combined model data and the handover attribute data to obtain standard data for the power grid information model. In specific implementation, this is done in folder format using... The format involves batch reading the handover attribute data (PHM) combined model file data of electrical equipment models and automatically associating or manually matching it with the field names of the handover attribute collection; sequentially rewriting the main equipment physical model file and the main equipment attribute files that need to be referenced in the rewriting of the main equipment physical model file; then generating the sub-equipment DEV physical model file and the sub-equipment attribute files that need to be referenced in the generation of the sub-equipment DEV physical model file; wherein, rewriting the main equipment physical model file includes: S511, the number of mappings between attribute files and sub-devices; S512, Sub-device physical model file; S513, corrects the number of sub-device referenced composite model files; S514, Remove references to the combined model file of "transfer attribute file and sub-device mapping"; Rewriting the master device physical model file requires referencing the master device's FAM format attribute file, including: S521, Create a new "Design Parameters" field; S522, reads the handover attribute file and the mapping file data of the master device, English attribute = Chinese attribute = parameter value + unit; S523, create a new field according to the format "English attribute=Chinese attribute=parameter value+unit", "Unkown=type=three-phase integrated MVA, Unkown=capacity=180MVA, Unkown=rated frequency=50Hz"; Generate the DEV physical model file for the sub-device, including: S531, the attribute file referenced by the sub-device DEV physical model file. S532, Sub-device Name S533, Sub-device type S534, Number of referenced physical model files S535, Number of referenced composite model files S536, the combined model file referenced by the sub-device. The generation rules for the sub-device DEV physical model file are the same as those for the main device physical model file, which requires the reference of the main device attribute file. These include: S541, Create a new "Design Parameters" field; S542, reads the handover attribute file and the mapping file data of the sub-device, English attribute = Chinese attribute = parameter value + unit; S543, create a new field according to the format "English attribute=Chinese attribute=parameter value+unit" and "Unkown=rated current=1600A, Unkown=insulation level=252kV, Unkown=partial discharge level=220pC"; S6 performs data inspection and data null value correction on the DEV composite model file in the GIM standard file.
3. A computing device, characterized in that, include: A processor and a memory storing a computer program, wherein the computer program, when executed by the processor, performs the method as described in claim 1.
4. A computer-readable storage medium, characterized in that, The system stores instructions that, when executed on a computer, cause the computer to perform the method as described in claim 1.
Citation Information
Patent Citations
Secondary system equipment three-dimensional modeling digital transfer method based on GIM model
CN114818021A
Multi-dimensional data physical model establishment method of dam operation and maintenance system and data warehouse
CN117149920A