Method and apparatus for checking data terminated by a nuclear power plant
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-04-18
- Publication Date
- 2026-08-11
AI Technical Summary
但是,该方法仅适用于初版设计流程,如果是升版设计,无法对升版中进行修改的电缆进行标识,所以还需要人为标注,而这极易造成失误,存在较大的安全风险
[0071]在检查到具有重复的电缆编码、或具有遗漏的电缆编码、或具有错误的电缆编码的电缆时,进行弹窗提示。
Smart Images

Figure CN116431640B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of nuclear power technology, and in particular to a method and apparatus for checking nuclear power termination data. Background Technology
[0002] With economic development, the contradiction of insufficient energy and electricity supply is becoming increasingly prominent, and environmental pressure is increasing. Therefore, it is necessary to continuously deepen the transformation of the energy system. Nuclear energy, with its advantages of being clean, stable, highly efficient, and abundant, is an important means of building a clean, low-carbon, safe, and efficient energy system. The DCS (distributed control system) in a nuclear power plant is an industrial automation control system based on computer control, display, and communication technologies. It disperses and controls hundreds of systems, nearly ten thousand devices, and various field devices under different operating conditions within the nuclear power plant, achieving centralized management, control, and operation. The compilation and implementation of termination documents in a nuclear power DCS system are crucial aspects of its construction and operation. They ensure the correctness and reliability of the DCS system and guarantee the safe and stable operation of the nuclear power plant. Therefore, the design of termination documents in a DCS system is one of the most important tasks in hardware design. Termination documents are numerous and complex, summarizing data from multiple LOT batches, multiple systems, and various cables. Termination documents may include IED (Index of Engineering Document) files or ICM (Interface Control Manual) files. The initial design of termination documents is relatively simple, but during the upgrade process, upgrade markers are currently added manually. Due to the large amount of data and numerous upgrade markers, manual modification is inefficient and prone to human error, significantly impacting the accuracy of termination documents and the reliability and stability of the nuclear power plant's DCS system. For example, with the continuous improvement of HPR reactor types, the number of hard points and inter-cabinet signal wiring has increased significantly, posing a considerable challenge to termination design and upgrade work. Furthermore, when checking cable codes in termination diagrams, hardware designers must check the cable codes according to the coding rules, which can easily lead to omissions and insufficient review.
[0003] Currently, patent CN103853859 discloses a method for generating nuclear power plant termination diagrams, which includes automatically merging multiple minimum unit diagrams and completing the drawing of the nuclear power plant termination diagram. Specifically, when the version of the nuclear power plant termination diagram changes, and the termination information imported into the drawing system is inconsistent with the termination list information stored in the DCS database, it is marked accordingly and an Excel export is generated. However, this method does not specifically disclose how to compare the content of the termination list information. Furthermore, directly marking and drawing based on the termination information in the drawing system without checking and correcting the termination information will introduce the risk of errors in the final termination diagram. Additionally, for erroneous termination diagrams, the termination information needs to be readjusted and re-imported into the drawing system, resulting in low work efficiency. Patent CN108170836 discloses a processing system and method for large-scale nuclear power plant cable termination data, capable of generating diagrams from the cable termination database in one go. However, this method is only applicable to the initial design process. If it is an upgraded design, it is impossible to identify the cables that are modified in the upgraded design, so manual labeling is still required, which is very easy to cause errors and poses a significant safety risk. Summary of the Invention
[0004] This application aims to at least partially address one of the aforementioned technical problems.
[0005] Therefore, the first objective of this application is to propose a method for checking nuclear power plant termination data, which can automatically, quickly, conveniently, efficiently and accurately check termination data, avoid the time cost caused by manual checking and the omissions caused by human error, and improve the efficiency of termination design work.
[0006] The second objective of this application is to provide a device for checking nuclear power plant termination data.
[0007] To achieve the above objectives, the first aspect of this application proposes a method for inspecting nuclear power plant termination data, including:
[0008] Obtain the input file for the termination design and generate the termination project;
[0009] Export the intermediate master table corresponding to the termination project;
[0010] Determine if the intermediate master table is the initial version of the intermediate master table;
[0011] If the intermediate master table is not the initial version of the intermediate master table, then the new version of the intermediate master table will be generated based on the termination data in the old version of the intermediate master table.
[0012] Based on the new intermediate master table, update the cable codes in the termination data;
[0013] Check the updated cable codes and generate the corresponding check files and final intermediate master sheets.
[0014] Optionally, the method further includes:
[0015] If the intermediate master table is a preliminary version, then write the cable code for the termination data of the intermediate master table;
[0016] Check the cable code and generate the corresponding check file and final intermediate master table.
[0017] Optionally, the input file includes the configuration input baseline, termination rack range, and termination specialty range.
[0018] Optionally, a new intermediate master table can be generated based on the termination data in the old intermediate master table, including:
[0019] Obtain information about both ends of the cable from the intermediate master table;
[0020] Retrieve the cable end information and corresponding cable codes from the old intermediate master table;
[0021] Compare the cable end information in the intermediate master table and the old version of the intermediate master table;
[0022] Synchronize the cable codes of cables with identical information at both ends to the intermediate master table;
[0023] Mark cables with different information at both ends.
[0024] Optionally, cables with different information at both ends can be marked, including:
[0025] If the intermediate master table contains information for both ends of a cable, but the old version of the intermediate master table does not contain information for both ends of the cable, then the cable is marked as a newly added cable.
[0026] If the intermediate master table does not contain information for both ends of a cable, but the old version of the intermediate master table does contain information for both ends of the cable, then the cable is marked as a deleted cable.
[0027] Optionally, the method further includes:
[0028] If both the intermediate master table and the old version of the intermediate master table contain information on both ends of a certain cable, and the influencing physical factors in the information on both ends of the cable are different, then the cable is marked as a newly added cable.
[0029] If both the intermediate master table and the old version of the intermediate master table contain information for both ends of a certain cable, and the influencing physical factors in the information for both ends of the cable are the same, but the non-influencing physical factors in the information for both ends are different, then the cable is marked as a modified cable.
[0030] Optionally, the method includes:
[0031] Obtain at least some cable properties from the source or destination side of the cable;
[0032] Arrange and combine at least some cable properties to obtain source-side and destination-side information of the cable;
[0033] Information is generated from both the source and target sides.
[0034] Optionally, check the updated cable codes and generate corresponding check files and final intermediate master sheets, or check the cable codes and generate corresponding check files and final intermediate master sheets, including:
[0035] Perform duplicate checking, omission checking, and error checking on cable codes to obtain at least one of duplicate cable codes, omission cable codes, and erroneous cable codes, and mark the detected events.
[0036] Optionally, the method further includes:
[0037] A pop-up notification will appear when a cable with a duplicate cable code, a missing cable code, or an incorrect cable code is detected.
[0038] Optionally, the method further includes:
[0039] Export the final intermediate master table and generate termination files.
[0040] The nuclear power plant termination data inspection method of this application embodiment first obtains the input file of the termination design and generates a termination project; then, it exports the intermediate master table corresponding to the termination project and determines whether the intermediate master table is the initial version. If the intermediate master table is not the initial version, a new version of the intermediate master table is generated based on the termination data in the old version of the intermediate master table. Based on the new version of the intermediate master table, the cable codes of the termination data are updated; finally, the updated cable codes are checked, and the corresponding inspection file and final version of the intermediate master table are generated. Therefore, this method fully considers the complexity of termination data and can automatically, quickly, conveniently, efficiently, and accurately realize the synchronization, comparison, and inspection of termination data. This results in a final intermediate master table with intuitive and clear annotations, avoiding the time costs and human error caused by manual annotation and inspection, improving the efficiency of termination design work, and making the modification of termination data more timely and targeted, thereby ensuring the accuracy of subsequent termination design work and ultimately guaranteeing the reliability and stability of the DCS system operation.
[0041] To achieve the above objectives, a second aspect of this application provides a nuclear power plant termination data inspection apparatus, comprising:
[0042] The acquisition module is used to acquire the input files for the termination design and generate the termination project;
[0043] The export module is used to export the intermediate master table corresponding to the termination project.
[0044] The judgment module is used to determine whether the intermediate master table is the initial version of the intermediate master table;
[0045] The first generation module is used to generate a new intermediate master table based on the termination data in the old intermediate master table if the intermediate master table is not the initial intermediate master table.
[0046] The update module is used to update the cable codes of termination data based on the new version of the intermediate master table;
[0047] The inspection module is used to inspect the updated cable codes and generate the corresponding inspection files and final intermediate master tables.
[0048] Optionally, the device also includes a writing module for:
[0049] If the intermediate master table is a preliminary version, then write the cable code for the termination data of the intermediate master table;
[0050] Check the cable code and generate the corresponding check file and final intermediate master table.
[0051] Optionally, the input file includes the configuration input baseline, termination rack range, and termination specialty range.
[0052] Optional, the first generation module is used for:
[0053] Obtain information about both ends of the cable from the intermediate master table;
[0054] Retrieve the cable end information and corresponding cable codes from the old intermediate master table;
[0055] Compare the cable end information in the intermediate master table and the old version of the intermediate master table;
[0056] Synchronize the cable codes of cables with identical information at both ends to the intermediate master table;
[0057] Mark cables with different information at both ends.
[0058] Optional, the first generation module is used for:
[0059] If the intermediate master table contains information for both ends of a cable, but the old version of the intermediate master table does not contain information for both ends of the cable, then the cable is marked as a newly added cable.
[0060] If the intermediate master table does not contain information for both ends of a cable, but the old version of the intermediate master table does contain information for both ends of the cable, then the cable is marked as a deleted cable.
[0061] Optionally, the first generation module is also used for:
[0062] If both the intermediate master table and the old version of the intermediate master table contain information on both ends of a certain cable, and the influencing physical factors in the information on both ends of the cable are different, then the cable is marked as a newly added cable.
[0063] If both the intermediate master table and the old version of the intermediate master table contain information for both ends of a certain cable, and the influencing physical factors in the information for both ends of the cable are the same, but the non-influencing physical factors in the information for both ends are different, then the cable is marked as a modified cable.
[0064] Optional, the first generation module is used for:
[0065] Obtain at least some cable properties from the source or destination side of the cable;
[0066] Arrange and combine at least some cable properties to obtain source-side and destination-side information of the cable;
[0067] Information is generated from both the source and target sides.
[0068] Optional, update modules and write modules are used for:
[0069] Perform duplicate checking, omission checking, and error checking on cable codes to obtain at least one of duplicate cable codes, omission cable codes, and erroneous cable codes, and mark the detected events.
[0070] Optional, update modules and write modules are used for:
[0071] A pop-up notification will appear when a cable with a duplicate cable code, a missing cable code, or an incorrect cable code is detected.
[0072] Optionally, the device further includes a second generation module for:
[0073] Export the final intermediate master table and generate termination files.
[0074] The nuclear power plant termination data inspection device of this application first acquires the input file of the termination design and generates a termination project. Then, it exports the intermediate master table corresponding to the termination project and determines whether the intermediate master table is the initial version. If the intermediate master table is not the initial version, a new version of the intermediate master table is generated based on the termination data in the old version. Based on the new version of the intermediate master table, the cable codes of the termination data are updated. Finally, the updated cable codes are checked, and the corresponding inspection file and final version of the intermediate master table are generated. Therefore, this device fully considers the complexity of termination data and can automatically, quickly, conveniently, efficiently, and accurately realize the synchronization, comparison, and inspection of termination data. This results in a final intermediate master table with clear and intuitive annotations, avoiding the time costs and human error caused by manual annotation and inspection. This improves the efficiency of termination design work and makes the modification of termination data more timely and targeted, thereby ensuring the accuracy of subsequent termination design work and ultimately guaranteeing the reliability and stability of the DCS system operation.
[0075] Additional aspects and advantages of this application will be set forth in part in the description which follows, and in part will be obvious from the description, or may be learned by practice of this application. Attached Figure Description
[0076] The accompanying drawings, which form part of this application, are used to provide a further understanding of this application. The illustrative embodiments and descriptions of this application are used to explain this application and do not constitute an undue limitation of this application. In the drawings:
[0077] Figure 1 A flowchart of a method for checking nuclear power plant termination data according to one embodiment is provided;
[0078] Figure 2 A flowchart of generating a new intermediate master table based on termination data in an old intermediate master table is presented as an example;
[0079] Figure 3 A flowchart of a method for checking nuclear power plant termination data according to another embodiment is presented;
[0080] Figure 4 A flowchart of a method for checking nuclear power plant termination data according to yet another embodiment is presented;
[0081] Figure 5 A flowchart of a method for checking nuclear power plant termination data according to a specific embodiment is provided;
[0082] Figure 6 A flowchart of a specific embodiment of the processing intermediate summary table is presented;
[0083] Figure 7 A schematic diagram of an intermediate summary table tool according to a specific embodiment is shown;
[0084] Figure 8 A schematic diagram of a nuclear power plant termination data inspection device according to one embodiment is shown;
[0085] Figure 9 A schematic diagram of a nuclear power plant termination data inspection device according to another embodiment is shown;
[0086] Figure 10 A schematic diagram of the structure of a nuclear power plant termination data inspection device according to yet another embodiment is presented. Detailed Implementation
[0087] It should be noted that, unless otherwise specified, the embodiments and features described in this application can be combined with each other. This application will now be described in detail with reference to the accompanying drawings and embodiments.
[0088] The present application will be further described in detail below with reference to specific embodiments, which should not be construed as limiting the scope of protection claimed in the present application.
[0089] The following describes a method and apparatus for checking nuclear power plant termination data according to embodiments of this application, with reference to the accompanying drawings.
[0090] Figure 1 This is a flowchart of a method for checking nuclear power plant termination data according to an embodiment of this application, which specifically includes the following steps:
[0091] S1: Obtain the input file for the termination design and generate the termination project.
[0092] The input file may include configuration input baseline, termination rack range, and termination professional range, etc.
[0093] Based on the above input files, information data of termination diagrams in DCS system design can be obtained, thereby enabling the generation of corresponding termination projects in drafting software, which in turn provides data support for subsequent comparison, analysis and inspection.
[0094] S2, export the intermediate master table corresponding to the termination project.
[0095] Through the above export process, the information data in the termination project is converted into an intermediate master table format that is easy to view and process, and then exported for subsequent processing. This makes the subsequent comparison, analysis and inspection work more convenient and efficient, avoiding the time-consuming and repetitive operations in the drawing software.
[0096] S3, determine whether the intermediate master table is the initial version of the intermediate master table.
[0097] In one embodiment, based on the identification information (such as baseline identifier and time identifier) in the past data, it can be determined whether there is a historical termination file corresponding to the current version of the intermediate master table. This can determine whether the current version of the intermediate master table is the initial version of the intermediate master table, so that corresponding processing work can be performed on the initial version of the intermediate master table and the upgraded version of the intermediate master table respectively to generate the corresponding termination file.
[0098] S4. If the intermediate master table is not the initial version of the intermediate master table, then generate the new version of the intermediate master table based on the termination data in the old version of the intermediate master table.
[0099] In one embodiment, such as Figure 2 As shown, S4 specifically includes the following steps:
[0100] S41, retrieve the cable end information from the intermediate master table.
[0101] Specifically, firstly, at least some cable attributes of the source side or target side of the cable are obtained, then at least some cable attributes are arranged and combined to obtain source side information and target side information of the cable, and then information of both ends is generated based on the source side information and target side information.
[0102] Specifically, since cables have numerous attributes, and the source and target sides share the same type and quantity of cable attributes, the specific usage scenario of the termination file, the necessity of comparing various cable attributes, and computational efficiency can be comprehensively considered. The cable information configuration table corresponding to the source or target side can be selected to determine the type and quantity of cable attributes to be compared subsequently. Then, the source and target side information corresponding to all cable attributes in the cable information configuration table is obtained, and end-point information is generated based on the selected cable attribute's source and target side information for subsequent comparison. Furthermore, arranging and combining at least some cable attributes can effectively reduce computational complexity, thereby improving computational efficiency and saving time. Additionally, since the order of the source and target sides in the intermediate master table is often reversed, but this does not affect the accuracy of the termination file, existing technologies that obtain source and target side information separately for subsequent comparisons produce incorrect comparison results, waste computational time, and reduce computational efficiency. This method ignores the order effect and combines the source and target side information to generate end-point information, avoiding unnecessary calculations caused by the order.
[0103] S42 retrieves the cable end information and corresponding cable codes from the old intermediate master table.
[0104] Specifically, based on at least some of the cable attributes determined in S41, the corresponding end-point information is generated in the old intermediate master table, and the end-point information and its corresponding cable code are obtained to provide data support for subsequent comparison work.
[0105] S43, compare the cable end information in the intermediate master table with that in the old version of the intermediate master table.
[0106] Specifically, the information at both ends of the cable in the intermediate master table is compared with that in the old version of the intermediate master table, so that the cable information such as cable code can be processed according to different comparison results.
[0107] S44 synchronizes the cable codes of cables with identical information at both ends to the intermediate master table.
[0108] In one embodiment, after comparison in S43, if the information at both ends of the cable is the same, it means that the cable has not been modified during the upgrade process. Therefore, the cable information such as the cable code in the old version intermediate master table is synchronized to the corresponding position of the cable in the intermediate master table, thereby avoiding duplicate coding of cables that have not been modified during the upgrade process, saving time and improving work efficiency.
[0109] S45 marks cables with different information at both ends.
[0110] Specifically, if the intermediate master table contains information about both ends of a cable, but the old version of the intermediate master table does not contain such information, then the cable is marked as a newly added cable. For example, if the cable attribute values in the information about both ends of a cable in the intermediate master table do not have corresponding cable attribute values in the information about both ends of the old version of the intermediate master table, then the cable is considered a newly added cable, and the row containing the cable in the intermediate master table can be marked in green.
[0111] If the intermediate master table does not contain information for the two ends of a cable, but the old version of the intermediate master table does, then the cable is marked as a deleted cable. For example, if the cable attribute values in the information for the two ends of a cable in the old version of the intermediate master table do not have corresponding cable attribute values in the information for the two ends of the cable in the intermediate master table, then the cable is a deleted cable. You can paste the row corresponding to the cable in the old version of the intermediate master table into the intermediate master table, mark the entire row in gray, and then add a strikethrough.
[0112] Furthermore, if both the intermediate master table and the old version of the intermediate master table contain information for both ends of a cable, and the influencing physical factors in the information for the two ends of the cable are different, then the cable will be marked as a new cable. For example, if each cable attribute value in the information for both ends of a cable in the old version of the intermediate master table has a corresponding cable attribute value in the information for both ends of the intermediate master table, and the influencing physical factors are different, then the cable will be marked as a new cable. Influencing physical factors may include room code, organization number, equipment number, etc.
[0113] If both the intermediate master table and the old version of the intermediate master table contain information for both ends of a cable, and the influencing physical factors are the same at both ends, but the non-influencing physical factors are different, then the cable is marked as a modified cable. For example, if each cable attribute value in the information for both ends of a cable in the old version of the intermediate master table has a corresponding cable attribute value in the information for both ends of the intermediate master table, and the influencing physical factors are the same at both ends, but the non-influencing physical factors are different, then the cable is marked as a modified cable.
[0114] By comparing the termination data of the upgraded intermediate master table with that of the old intermediate master table, the termination data can be automatically, quickly, conveniently and accurately synchronized based on the judgment result. Upgrade marks are added to the intermediate master table for modified cables, generating a new intermediate master table with the marks. This avoids omissions caused by human error during manual marking, saves time and improves work efficiency.
[0115] S5 updates the cable codes for termination data based on the new intermediate master table.
[0116] In one embodiment, the new intermediate master table generated based on S4 adds cable codes to cables marked as new cables, thereby quickly, conveniently and accurately updating the cable codes in the termination data.
[0117] S6 checks the updated cable codes and generates the corresponding check file and final intermediate master table.
[0118] Specifically, the cable codes are checked for duplicates, omissions, and errors to obtain at least one of duplicate, omission, or incorrect cable codes, and the detected events are marked.
[0119] In one embodiment, the inspection step in S6 may include the following functions:
[0120] 1. Duplicate Check Function: Performs a duplicate check on cable codes. For example, a cable code may include the cable code and the cable core code. If, during the check, a cable code and / or the cable core code of a particular cable are found to be duplicated, the cable corresponding to the duplicated cable code is marked. In addition to checking for duplicate cable codes that match exactly, this function can also detect instances of duplicate use of shared cable codes (X) within a unit. For example, if the shared cable code is X, meaning it includes both cable code 1 and cable code 2, then if other cable codes also contain cable code 1 or cable code 2, the corresponding cable is marked. This duplicate check prevents the reuse of cable codes.
[0121] 2. Missing Cable Codes Function: Performs a missing cable code check. For example, before the inspection step, a preset range of cable codes is entered in the intermediate master table tool. If, during the inspection, unused cable codes within the preset range are found (i.e., discontinuous or skipped cable codes), the missing cable codes are marked. This missing cable code check ensures that cable codes are used more efficiently.
[0122] 3. Error Detection Function: Performs error detection on cable codes. For example, cable code errors may include the cable code exceeding the preset range, the number of cable cores in the cable code exceeding the actual number of signals transmitted by the cable, or the cable model in the cable code not matching the actual cable model. If a cable code error is found during the inspection, the cable corresponding to the erroneous cable code will be marked. Error detection can prevent errors in the specific content of the cable code.
[0123] The above process enables a comprehensive and thorough inspection of cable codes, and generates an inspection file based on this inspection for easy subsequent querying and modification. Furthermore, after modifying the cable codes, a final intermediate master table can be directly generated, thus ensuring the accuracy of the termination data in the final intermediate master table.
[0124] In another embodiment, such as Figure 3 As shown, the method also includes:
[0125] S7. If the intermediate master table is the initial version of the intermediate master table, then write the cable code for the termination data of the intermediate master table, check the cable code, and generate the corresponding check file and the final version of the intermediate master table.
[0126] It should be understood that the inspection process in S7 is the same as that in S6, so it will not be repeated here.
[0127] In yet another embodiment, S6 and S7 further include:
[0128] When a cable with a duplicate, missing, or incorrect cable code is detected, a pop-up notification appears, enabling rapid feedback of the cable code inspection results and ensuring that the cable code can be corrected in a timely manner.
[0129] In yet another embodiment, such as Figure 4 As shown, the method also includes:
[0130] S8, export the final intermediate master table and generate termination files.
[0131] In one embodiment, if the intermediate master table is not the initial version of the intermediate master table, then by exporting the final version of the intermediate master table with the mark, and automatically generating a termination file that synchronizes the mark based on the final version of the intermediate master table, the termination file can intuitively display the changes in termination data, thereby facilitating the adjustment of the termination design after the upgrade, and thus promoting more convenient and efficient work.
[0132] The nuclear power plant termination data inspection method of this application embodiment first obtains the input file of the termination design and generates a termination project; then, it exports the intermediate master table corresponding to the termination project and determines whether the intermediate master table is the initial version. If the intermediate master table is not the initial version, a new version of the intermediate master table is generated based on the termination data in the old version of the intermediate master table. Based on the new version of the intermediate master table, the cable codes of the termination data are updated; finally, the updated cable codes are checked, and the corresponding inspection file and final version of the intermediate master table are generated. Therefore, this method fully considers the complexity of termination data and can automatically, quickly, conveniently, efficiently, and accurately realize the synchronization, comparison, and inspection of termination data. This results in a final intermediate master table with intuitive and clear annotations, avoiding the time costs and human error caused by manual annotation and inspection, improving the efficiency of termination design work, and making the modification of termination data more timely and targeted, thereby ensuring the accuracy of subsequent termination design work and ultimately guaranteeing the reliability and stability of the DCS system operation.
[0133] In one specific embodiment, such as Figure 5 As shown, it includes the following steps:
[0134] S501 defines the baseline for the termination design.
[0135] Specifically, at the beginning of the termination design, the input documents for the termination design are determined. The input documents may include the configuration input baseline specified for the project, the cabinet scope in this termination design, and the professional scope in this termination design, such as I / O points, power distribution, and networking.
[0136] S502, Processing EEC files.
[0137] EEC (Excel Export Core) is an Excel reading and writing tool.
[0138] Specifically, the input file data is extracted to generate an EEC file. For example, for signal terminations in the termination design, termination information can be directly extracted from the interrupt point table containing relay information in the control station's overall database to generate the EEC file. For terminations of different types, such as power distribution, grounding, network, monitoring, and time synchronization, staff need to fill out the form to generate the EEC file. Based on the EEC file, a project can be generated in drafting software (such as EPLAN).
[0139] S503 processes the intermediate master table.
[0140] Specifically, such as Figure 6 As shown, S503 specifically includes the following steps:
[0141] S601, Export intermediate master table based on EPLAN project.
[0142] S602, determine whether the intermediate master table of this version is the first version.
[0143] S603 If this version of the intermediate master table is the first version, then the cable code shall be written in the intermediate master table.
[0144] Specifically, cable codes are written in the intermediate master table based on the intermediate master table tool to generate a new version of the intermediate master table.
[0145] S604 If the intermediate master table for this version is not the initial version, then synchronize and compare the intermediate master table, and write the cable code.
[0146] Specifically, first, the exported intermediate master table is synchronized with the old version of the intermediate master table using the intermediate master table tool (e.g., ...). Figure 7 (As shown). Specifically, the synchronization means defining cables with identical information on both the source and destination sides in the two intermediate master tables as cables that do not require an upgrade, and directly synchronizing shared cable information such as cable codes from the old intermediate master table to the exported intermediate master table to generate the new intermediate master table.
[0147] Secondly, the new intermediate master table is compared with the old version, and a mark is added to the new version to update it. Specifically, the comparison results are divided into three types: If a cable exists in both the new and old versions of the intermediate master table, the information in the row containing that cable in the new version does not need to be changed; if a cable exists in both the new and old versions, it is a newly added cable in the new version, and the row containing that cable is marked in green; if a cable does not exist in the new version but exists in the old version, the row containing that cable in the old version is pasted into the new version, and that row is marked in gray and marked with a strikethrough.
[0148] It's worth noting that the termination list contains numerous attributes at both ends of the cable. The above process allows for the arrangement and combination of attributes on either side of the cable, and the program can be modified to select specific attributes for comparison. Furthermore, the order of the source and destination sides in the intermediate master table is commonly reversed. Simply comparing the source side with the source side and the destination side with the destination side in the cable to determine if the attribute information is the same can produce various unnecessary comparison results. The above process uses a combined comparison mode that ignores the order, avoiding redundant results caused by disordered order.
[0149] Next, based on the synchronization and comparison marking results, cable codes are written in the new intermediate master table to update the new intermediate master table again.
[0150] S504, Check cable coding.
[0151] Specifically, the cable codes in the new intermediate master table generated by S603 and S604 are checked and a check result file is generated. At the same time, a pop-up alarm is generated for duplicate cable codes and a pop-up prompt is generated for unused cable codes. Then, the new intermediate master table is modified based on the check file to generate the final intermediate master table.
[0152] It is worth noting that the key points of cable coding inspection are:
[0153] 1. The deduplication function can detect not only obvious cable code duplication, but also duplicate use of the inclusion class X and 1, 2 in the unit group, which can help avoid cable code duplication.
[0154] 2. Leak detection function: Before checking, you need to enter the cable code range in the intermediate master table tool to limit the code interval. Then check the skip codes in the cable code range, that is, the unused cable codes in the cable code range, which can help to centralize the cable codes.
[0155] 3. Error detection function: It can detect cables with more cores than signal count in the cable code. The error detection function can directly find the error, thereby avoiding usage errors.
[0156] S505, generate the official document.
[0157] Specifically, based on the final intermediate master table, the correct official files, such as termination IED or ICM files, are generated through the termination file generation program.
[0158] This specific embodiment details the synchronization, comparison, and inspection process of termination data, reducing manual review costs and improving the accuracy and efficiency of termination design and review. The inspection function can directly output cable omissions and duplicates, making the correction process more targeted, convenient, and efficient. Furthermore, it can accurately mark modifications made during the termination design upgrade process, allowing for a clear and intuitive display of these modifications in the termination file. This helps improve the efficiency of subsequent work, ensures the accuracy of termination design, and ultimately guarantees the reliability and stability of the DCS system.
[0159] To implement the above embodiments, this application also proposes a device for checking nuclear power plant termination data.
[0160] Figure 8 This is a schematic diagram of the structure of a nuclear power plant termination data inspection device according to an embodiment of this application.
[0161] like Figure 8 As shown, the nuclear power plant terminal data inspection device includes an acquisition module 81, an export module 82, a judgment module 83, a first generation module 84, an update module 85, and an inspection module 86.
[0162] The acquisition module 81 is used to acquire the input file for the termination design and generate the termination project. The input file may include the configuration input baseline, termination cabinet range, and termination professional scope, etc.
[0163] Export module 82 is used to export the intermediate master table corresponding to the termination project.
[0164] Module 83 is used to determine whether the intermediate master table is the initial version of the intermediate master table.
[0165] The first generation module 84 is used to generate a new intermediate master table based on the termination data in the old intermediate master table if the intermediate master table is not the initial intermediate master table.
[0166] The first generation module 84 is specifically used to: obtain the cable end information from the intermediate master table, and obtain the cable end information and corresponding cable codes from the old version of the intermediate master table. Then, it compares the cable end information from the intermediate master table and the old version of the intermediate master table, synchronizes the cable codes of cables with the same end information to the intermediate master table, and marks cables with different end information. Specifically, this can be achieved by obtaining at least some cable attributes from the source or destination side of the cable, arranging and combining these attributes to obtain the source and destination side information, and generating the end information based on the source and destination side information.
[0167] The first generation module 84 is specifically used for: if the intermediate master table contains information about both ends of a cable, and the old version of the intermediate master table does not contain information about both ends of the cable, then the cable is marked as a newly added cable; if the intermediate master table does not contain information about both ends of a cable, and the old version of the intermediate master table contains information about both ends of the cable, then the cable is marked as a deleted cable.
[0168] The first generation module 84 is further used for: if both the intermediate master table and the old version of the intermediate master table contain information on both ends of a certain cable, and the influencing physical factors in the information on both ends of the cable are different, then the cable is marked as a newly added cable; if both the intermediate master table and the old version of the intermediate master table contain information on both ends of a certain cable, and the influencing physical factors in the information on both ends of the cable are the same, but the non-influencing physical factors in the information on both ends are different, then the cable is marked as a modified cable.
[0169] Update module 85 to update the cable codes of termination data based on the new intermediate master table.
[0170] Inspection module 86 is used to inspect the updated cable codes and generate the corresponding inspection file and final intermediate master table.
[0171] In another embodiment, such as Figure 9 As shown, the device also includes:
[0172] Module 87 is used to: if the intermediate master table is the initial version of the intermediate master table, write the cable code for the termination data of the intermediate master table, check the cable code, and generate the corresponding check file and the final version of the intermediate master table.
[0173] The aforementioned update module and writing module are specifically used to: perform duplicate checking, omission checking, and error checking on cable codes to obtain at least one of duplicate cable codes, omission cable codes, and erroneous cable codes, and to mark the detected events.
[0174] The aforementioned update module and writing module are also specifically used to: provide a pop-up notification when a cable with a duplicate cable code, a missing cable code, or an incorrect cable code is detected.
[0175] In yet another embodiment, such as Figure 10 As shown, the device also includes:
[0176] The second generation module 88 is used to: export the final intermediate master table and generate termination files.
[0177] It should be understood that the embodiments of the nuclear power plant termination data inspection device and the corresponding nuclear power plant termination data inspection method are consistent, so they will not be repeated in this embodiment.
[0178] The nuclear power plant termination data inspection device of this application first acquires the input file of the termination design and generates a termination project. Then, it exports the intermediate master table corresponding to the termination project and determines whether the intermediate master table is the initial version. If the intermediate master table is not the initial version, a new version of the intermediate master table is generated based on the termination data in the old version. Based on the new version of the intermediate master table, the cable codes of the termination data are updated. Finally, the updated cable codes are checked, and the corresponding inspection file and final version of the intermediate master table are generated. Therefore, this device fully considers the complexity of termination data and can automatically, quickly, conveniently, efficiently, and accurately realize the synchronization, comparison, and inspection of termination data. This results in a final intermediate master table with clear and intuitive annotations, avoiding the time costs and human error caused by manual annotation and inspection. This improves the efficiency of termination design work and makes the modification of termination data more timely and targeted, thereby ensuring the accuracy of subsequent termination design work and ultimately guaranteeing the reliability and stability of the DCS system operation.
[0179] It should be noted that, in this document, relational terms such as "first" and "second" are used merely to distinguish one entity or operation from another, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Furthermore, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Without further limitations, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes the element.
[0180] It should be noted that, in the description of this specification, the references to terms such as "one embodiment," "some embodiments," "example," "specific example," or "some examples," etc., indicate that a specific feature, structure, material, or characteristic described in connection with that embodiment or example is included in at least one embodiment or example of this application. In this specification, the illustrative expressions of the above terms do not necessarily refer to the same embodiment or example. Furthermore, the specific features, structures, materials, or characteristics described may be combined in any suitable manner in one or more embodiments or examples. Moreover, without contradiction, those skilled in the art can combine and integrate the different embodiments or examples described in this specification, as well as the features of different embodiments or examples.
Claims
1. A method for checking nuclear power plant termination data, characterized in that, include: Obtain the input file for the termination design and generate the termination project; Export the intermediate master table corresponding to the termination project; Determine whether the intermediate master table is the initial version of the intermediate master table; If the intermediate master table is not the initial version, a new version of the intermediate master table is generated based on the termination data in the old version of the intermediate master table, including: obtaining the cable end information in the intermediate master table; obtaining the cable end information and corresponding cable code in the old version of the intermediate master table; comparing the cable end information in the intermediate master table and the old version of the intermediate master table; synchronizing the cable codes of cables with the same end information to the intermediate master table; and marking cables with different end information. The marking of cables with different information at both ends includes: if the intermediate master table contains information about the two ends of a cable, but the old version of the intermediate master table does not contain such information, then the cable is marked as a newly added cable; if the intermediate master table does not contain information about the two ends of a cable, but the old version of the intermediate master table contains such information, then the cable is marked as a deleted cable; if both the intermediate master table and the old version of the intermediate master table contain information about the two ends of a cable, and the influencing physical factors in the information at both ends of the cable are different, then the cable is marked as a newly added cable; if both the intermediate master table and the old version of the intermediate master table contain information about the two ends of a cable, and the influencing physical factors in the information at both ends of the cable are the same, but the non-influencing physical factors in the information at both ends are different, then the cable is marked as a modified cable. Based on the new intermediate master table, update the cable code of the termination data; The updated cable codes are checked, and corresponding check files and final intermediate master tables are generated. The check of updated cable codes includes deduplication, omission, and error checking. The deduplication operation not only checks for exact matches but also for duplicates caused by shared cable codes.
2. The method according to claim 1, characterized in that, Also includes: If the intermediate master table is a preliminary version, then write the cable code for the termination data of the intermediate master table; Check the cable code and generate the corresponding check file and final intermediate master table.
3. The method according to claim 1, characterized in that, The input file includes the configuration input baseline, termination rack range, and termination professional range.
4. The method according to claim 1, characterized in that, include: Obtain at least some cable properties from the source or destination side of the cable; Arrange and combine at least some of the cable properties to obtain source-side information and destination-side information of the cable; The information at both ends is generated based on the source-side information and the target-side information.
5. The method according to claim 2, characterized in that, The cable code is checked and a corresponding check file and final intermediate master table are generated, including: The cable codes are subjected to deduplication, omission, and error detection operations to obtain at least one of duplicate cable codes, missing cable codes, and incorrect cable codes, and the detected events are marked.
6. The method according to claim 5, characterized in that, Also includes: A pop-up notification will be displayed when a cable with the duplicate cable code, the missing cable code, or the incorrect cable code is detected.
7. The method according to claim 1, characterized in that, Also includes: Export the final intermediate master table and generate the termination file.
8. A nuclear power plant termination data inspection device, characterized in that, include: The acquisition module is used to acquire the input files for the termination design and generate the termination project; The export module is used to export the intermediate master table corresponding to the termination project; The judgment module is used to determine whether the intermediate master table is the initial version of the intermediate master table; The first generation module is used to generate a new intermediate master table based on the termination data in the old intermediate master table if the intermediate master table is not the initial version of the intermediate master table, including: Obtain the cable end information from the intermediate master table; Obtain the cable end information and corresponding cable code from the old version of the intermediate master table; Compare the cable end information in the intermediate master table and the old version of the intermediate master table; Synchronize the cable codes of cables with identical information at both ends to the intermediate master table; Cables with different information at both ends are marked. If the intermediate master table contains information about both ends of a cable, but the old version of the intermediate master table does not contain such information, the cable is marked as a new cable. If the intermediate master table does not contain information about both ends of a cable, but the old version of the intermediate master table does contain such information, the cable is marked as a deleted cable. If both the intermediate master table and the old version of the intermediate master table contain information about both ends of a cable, and the influencing physical factors in the information at both ends of the cable are different, the cable is marked as a new cable. If both the intermediate master table and the old version of the intermediate master table contain information about both ends of a cable, and the influencing physical factors in the information at both ends of the cable are the same, but the non-influencing physical factors in the information at both ends are different, the cable is marked as a modified cable. The update module is used to update the cable code of the termination data based on the new version of the intermediate master table; The inspection module is used to inspect the updated cable codes and generate corresponding inspection files and final intermediate master tables. The inspection of the updated cable codes includes deduplication, omission and error checking. The deduplication operation not only checks for exact matches, but also checks for inclusion-type duplicates caused by shared cable codes.
9. The apparatus according to claim 8, characterized in that, It also includes modules for: If the intermediate master table is a preliminary version, then write the cable code for the termination data of the intermediate master table; Check the cable code and generate the corresponding check file and final intermediate master table.
10. The apparatus according to claim 8, characterized in that, The input file includes the configuration input baseline, termination rack range, and termination professional range.
11. The apparatus according to claim 8, characterized in that, The first generation module is used for: Obtain at least some cable properties from the source or destination side of the cable; Arrange and combine at least some of the cable properties to obtain source-side information and destination-side information of the cable; The information at both ends is generated based on the source-side information and the target-side information.
12. The apparatus according to claim 9, characterized in that, The update module and the writing module are also used for: The cable codes are subjected to deduplication, omission, and error checks to obtain at least one of duplicate cable codes, omission cable codes, and erroneous cable codes, and the detected events are marked.
13. The apparatus according to claim 12, characterized in that, The update module and the writing module are used for: A pop-up notification will be displayed when a cable with the duplicate cable code, the missing cable code, or the incorrect cable code is detected.
14. The apparatus according to claim 8, characterized in that, It also includes a second generation module, used for: Export the final intermediate master table and generate the termination file.
Citation Information
Patent Citations
Nuclear power DCS control cabinet complete set diagram version upgrading method and system based on EPLAN platform
CN111830918A