Nuclear power station analog machine digital test method and computer equipment
By performing digital modeling and automated testing of nuclear power plant simulators, the problems of insufficient test integrity and low accuracy caused by traditional manual testing methods are solved, efficient and accurate simulator testing is achieved, and the maintainability and scalability of the test system are improved.
Patent Information
- Application Number
- CN202411823408.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-11
- Publication Date
- 2025-04-25
- Estimated Expiration
- 2044-12-11
AI Technical Summary
Traditional manual testing methods lead to insufficient test integrity, low accuracy and reliability of nuclear power plant simulators, and the inability to accurately quantify the evaluation of test results.
By deconstructing the software configuration and calculation results of the simulator, key system elements are obtained, and digital modeling is carried out, digital testing scenarios are built, and automated testing tools are used to test, and different results are output.
It realizes efficient, accurate, comprehensive and maintainable testing of nuclear power plant simulators, improves the efficiency, accuracy and comprehensiveness of the test, and enhances the maintainability and scalability of the test system.
Smart Images

Figure CN119883753A_ABST
Abstract
Description
Technical Field
[0001] The invention relates to the technical field of nuclear power plant simulation and testing, and in particular to a digital testing method and computer equipment for a nuclear power plant simulator. Background Art
[0002] The full-range simulator of a nuclear power plant (hereinafter referred to as the "simulator") is a key equipment for the construction of nuclear power plants. It reproduces the entire process of a nuclear power plant in real time and realistically on a computer through a mathematical model. It is used for training and assessment of nuclear power plant operators, emergency drills, engineering research, etc. The simulator is a set of complex hardware and software systems, which have very high requirements for the integrity, accuracy and reliability of its simulation data.
[0003] Conducting high-quality acceptance tests on the simulator before it is officially put into operation is an important means to ensure the quality of the simulator. In actual work, "simulator testing" has clear requirements: "Verification, confirmation and performance testing should be carried out to ensure that there are no obvious differences between the simulator control room and the simulated system and the reference unit control room and system." Among them, simulator verification, confirmation testing and operability testing in simulator performance testing can be divided into basic tests, the main contents of which are: Verification test: compare the software design of the simulated component or system with the original requirements. Confirmation test: compare the results of the simulated component or system with the actual or expected reference unit performance data. Operability test: steady-state parameters and operating performance of a single system. These basic tests are currently generally carried out using manual testing methods, which divide the simulator into multiple subsystems according to the process system and function. Different testers are responsible for the division of labor, and the names and parameters of the simulator configuration equipment are compared item by item with the design parameters. The DCS (distributed control system) human-machine interface parameters are checked for the corresponding steady-state conditions. Dynamic and transient tests are carried out through DCS human-machine interface operations, fault insertion and other means to observe the equipment status, parameter changes and transient responses such as alarms. Basic testing requires a large number of relatively simple and repetitive testing tasks, which have the problems of insufficient test integrity due to the inability to fully cover the test range, time-consuming and labor-intensive traditional visual inspection methods, and a large number of repetitive operations are prone to technical problems such as insufficient test accuracy and reliability due to human errors, and it is also impossible to accurately quantify and evaluate the test results.
[0004] Taking a full-range simulator of a nuclear power plant as an example, a total of 258 unit process systems are simulated, involving more than 22,000 equipment such as tanks, motors, valves, transmitters, etc., more than 110,000 IO system hard-wired points and communication points, more than 50,000 fault points, more than 1,500 DCS human-machine interfaces, and more than 12,000 screen monitoring status points / parameter points. A complete test requires a total of more than 200,000 comparison and test operations. It is very difficult to ensure full coverage and high accuracy for such a large test volume. The actual manpower invested in the integration test, factory test, and acceptance test of the full-range simulator of a nuclear power plant reached 60 man-months, but one year after the simulator was put into operation, hundreds of simulator deviations caused by roll call errors and configuration errors were still found one after another. Summary of the invention
[0005] The present application provides a digital testing method for a nuclear power plant simulator, which can solve the time-consuming and labor-intensive problems of traditional manual operation and visual inspection.
[0006] In order to solve the above technical problems, the steps of the digital testing method of the nuclear power plant simulator of the present invention include:
[0007] Obtain key system elements by deconstructing the software configuration and calculation results of the simulator, and perform digital modeling based on the key system elements to obtain the test object;
[0008] The test mode is obtained by decomposing the simulator test capability according to different quality attributes and digitally reconstructing it;
[0009] Constructing different digital test scenarios according to the test object and the test mode, and implementing the digital scenarios into automated test tools through programming to construct a digital test system;
[0010] Obtain control data, use the digital test system to perform test operations on the simulator according to the control data, and output difference results.
[0011] In one embodiment, the key system elements include simulator process system data, simulator control system data and simulator human-machine interface system data.
[0012] In one embodiment, the quality attributes include dynamic quality attributes and static quality attributes;
[0013] The test mode is obtained by decomposing the simulator test capability according to different quality attributes and digitally reconstructing it, including:
[0014] By decomposing and digitally reconstructing the simulator test capability according to the static quality attributes, a static test mode is obtained;
[0015] The dynamic test mode is obtained by decomposing and digitally reconstructing the simulator test capability according to the dynamic quality attributes.
[0016] In one embodiment, the digital scenario includes a process system model test scenario; the digital test system includes a process system model test tool;
[0017] The digital modeling according to the key system elements to obtain the test object includes:
[0018] Perform digital modeling based on the simulator process system data to obtain a process system model test object;
[0019] The constructing different digital test scenarios according to the test object and the test mode includes:
[0020] Constructing a process system model test scenario according to the process system model test object and the static test mode;
[0021] The programming according to the digital test scenario to construct a digital test system includes:
[0022] According to the process system model test scenario, a programming tool is used to implement the process system model test tool.
[0023] In one embodiment, the process system model test object includes a model point file; the control data includes reference unit process system design data and reference unit control system design data, the reference unit process system design data includes equipment name information, and the reference unit control system design data includes control system IO point name information;
[0024] The testing operation of the simulator using the digital testing system according to the control data and outputting the difference results include:
[0025] Use a script tool to match each item in the model point file with the reference unit process system design data and the reference unit control system design data one by one, and output a list of abnormal point names that failed to match, a list of point names with repeated assignments and / or constant values.
[0026] In one embodiment, the digital scenario further includes a control system model test scenario, and the digital test system further includes a control system model test tool;
[0027] The performing digital modeling according to the key system elements to obtain the test object also includes:
[0028] Perform digital modeling based on the simulator control system data to obtain a control system model test object;
[0029] The constructing different digital test scenarios according to the test object and the test mode also includes:
[0030] Constructing a control system model test scenario according to the control system model test object and the static test mode;
[0031] The programming according to the digital test scenario to construct a digital test system includes:
[0032] According to the control system model test scenario, a programming tool is used to implement the control system model test tool.
[0033] In one embodiment, the control system model test object includes a configuration page list and a roll call list; the control data also includes reference unit control system database data;
[0034] The testing operation of the simulator using the digital testing system according to the control data and outputting the difference result further comprises:
[0035] Use a script tool to match each item in the configuration page list and the roll call list with the reference unit control system database data one by one, and output the missing configuration pages and / or the database roll call list with matching errors.
[0036] In one embodiment, the digital scene also includes a human-machine interface test scene; the digital test system also includes a human-machine interface system model test tool;
[0037] The performing digital modeling according to the key system elements to obtain the test object also includes:
[0038] Digital modeling is performed based on the simulator human-machine interface system data to obtain the human-machine interface system test object;
[0039] The constructing different digital test scenarios according to the test object and the test mode also includes:
[0040] Constructing a human-machine interface system model test scenario according to the human-machine interface system test object and the dynamic test mode;
[0041] The programming according to the digital test scenario to construct a digital test system also includes:
[0042] According to the human-machine interface system model test scenario, a programming tool is used to implement the human-machine interface system model test tool.
[0043] In one embodiment, the human-machine interface system test object includes monitoring screen files and screen data; the control data also includes operating data of a reference unit under specific working conditions;
[0044] The testing operation of the simulator using the digital testing system according to the control data and outputting the difference result further comprises:
[0045] Use a robotic process automation tool to perform corresponding status checks on the monitoring screen file and the screen data and the operating data of the reference unit under the specific working conditions, and output an abnormal screen list and a list of analog and logical quantity comparison results.
[0046] The present application also provides a computer device, comprising a processor and a memory storing a computer program, wherein the processor implements the steps of any of the above-mentioned methods for digital testing of nuclear power plant simulators when executing the computer program.
[0047] The digital testing method and computer equipment for a nuclear power plant simulator of the present invention have the following beneficial effects, including: obtaining key system elements by deconstructing the software configuration and calculation results of the simulator, and performing digital modeling based on the key system elements to obtain the test object; obtaining the test mode by decomposing the simulator test capability according to different quality attributes and performing digital reconstruction;
[0048] Different digital test scenarios are constructed according to the test object and test mode, and the digital scenarios are realized as automated test tools through programming to build a digital test system; the control data is obtained, and the simulator is tested using the digital test system according to the control data, and the difference results are output. Efficient, accurate, comprehensive and maintainable testing of nuclear power plant simulators is achieved. Together, the efficiency, accuracy and comprehensiveness of the test are improved, and the maintainability and scalability of the test system are enhanced. BRIEF DESCRIPTION OF THE DRAWINGS
[0049] In order to more clearly illustrate the technical solution of the present invention, the accompanying drawings required for use in the description of the present invention will be briefly introduced below. Obviously, the accompanying drawings in the following description are only some embodiments of the present invention. For ordinary technicians in this field, other accompanying drawings can be obtained based on these accompanying drawings without paying creative work.
[0050] Figure 1 It is a flow chart of the digital testing method of nuclear power plant simulator provided by the present application;
[0051] Figure 2 The present invention is a schematic diagram of the digital testing principle of a nuclear power plant simulator. DETAILED DESCRIPTION
[0052] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0053] In view of the technical problems existing in the background technology: insufficient test integrity, low accuracy and reliability caused by manual testing methods, and inability to accurately quantify and evaluate test results, the present invention solves these problems by constructing a digital testing system. The system obtains test objects through digital modeling, decomposes test capabilities and designs test modes, combines test objects and test modes into digital test scenarios, automatically executes test scenarios and collects results through scripts, and finally outputs a difference report. This method not only improves test efficiency, but also ensures the accuracy and comprehensiveness of the test, while realizing the quantitative evaluation of test results.
[0054] The manual testing method divides the simulator into multiple subsystems according to process systems and functions, and different testers are responsible for the division of labor. The simulator configuration equipment names, parameters and design parameters are compared item by item, and the DCS (distributed control system) human-machine interface parameters are checked for the corresponding steady-state conditions. Dynamic and transient tests are performed through DCS human-machine interface operations, fault insertion and other means to observe whether the transient responses such as equipment status, parameter changes and alarms meet expectations. The basic tests require a large number of relatively simple and repetitive tests, which have technical problems such as insufficient test integrity due to the inability to fully cover the test range, and insufficient test accuracy and reliability due to human errors caused by a large number of repeated operations. It is also impossible to accurately quantify and evaluate the test results.
[0055] like Figure 1 and Figure 2 As shown, in order to solve the above problems, the present application provides a nuclear power plant simulator digital testing method, the method comprising the following steps:
[0056] S1: Deconstruct the simulator's software configuration and calculation results to obtain key system elements, and perform digital modeling based on the key system elements to obtain the test object;
[0057] S2: Decomposing the simulator test capability according to different quality attributes and digitally reconstructing it to obtain the test mode;
[0058] S3: Construct different digital test scenarios according to the test objects and test modes, and implement the digital scenarios into automated test tools through programming to build a digital test system;
[0059] S4: Obtain control data, use a digital test system to test the simulator according to the control data, and output difference results.
[0060] Specifically. In the field of simulator testing, first, by deeply deconstructing the software configuration and system of the simulator, from the perspective of the operator or tester, identify the key system elements, and based on the constraints of application and implementation, reveal the complex relationship between the systems, such as feature combinations and dependencies, and then perform digital modeling to transform the simulator into an accurate digital test object. Secondly, based on the user's perspective, the simulator test capability is decomposed, and reusable test methods and means, namely test modes, are extracted for static and dynamic quality attributes, and digitally represented. The static test mode focuses on whether the device name and roll call of each system are consistent with the design data, and whether the device status and parameters on the monitoring screen are normal, while the dynamic test mode focuses on the state change of the device after receiving the operation instruction and the response of the adjustment system. After completing the digitization of the simulator and the digitization of the test capability, further test design is carried out. By abstracting the relationship between the test object and the test mode as a rule, a simulator test scenario library is constructed, test cases are formed, and automation scripts are compiled. Finally, a complete digital test system is successfully built by combining input information such as design data and control data. The system can clearly reflect the relationship between the test object and the test method, establish test scenarios through specified rules, and write automated scripts for each scenario, thereby achieving comprehensive, accurate and efficient testing of the simulator.
[0061] Specifically, the key system elements include simulator process system data, simulator control system data, and simulator human-machine interface system data. Key system elements include simulator process system equipment data, information transmission data, control system data, working condition files, and configuration files. Key system elements are the basis for building digital test objects. By deconstructing the software configuration and system of the simulator, these elements can be accurately identified and extracted. The process system equipment data provides detailed information on the configuration of each process equipment in the simulator, the information transmission data reveals the data flow path between devices and between the equipment and the control system, and the control system data contains the configuration and operating status of the control system. Equipment parameters are quantitative descriptions of equipment performance and characteristics, working condition files record the status of the simulator under different operating conditions, and configuration files contain the configuration information and parameter settings of the simulator. These elements together constitute the core components of the simulator, providing the necessary information and basis for subsequent digital modeling and testing.
[0062] As a specific example, Figure 2As shown, in this step, it should be noted that the equipment roll call parameter 1: is obtained from the model database in the simulator configuration, including the roll call of the process system equipment, the specific parameters of each pipeline and equipment, etc. IO system point table 2: is obtained from the IO file in the simulator configuration, and the specific content is the configuration information such as the hard wiring points and communication points between the model and each control system. Control system roll call parameter 3: is obtained from the control system database in the simulator configuration, including roll call and specific parameters and other information. Configuration file 4: The configuration file of the simulator, including task operation parameters, etc. Working condition file 5: The calculation results of the simulator, saved as different working condition files. Static quality attribute 6: The quality of the steady-state calculation results of the simulator (the accuracy compared with the actual data of the reference unit), including whether the difference between the process equipment status and screen parameters on the operation terminal screen and the operating data of the reference unit under the same working conditions is within an acceptable range. Dynamic quality attribute 7: The quality of the simulator’s transient calculation results (by testing transient events, observing the changes in the simulator’s calculation output parameters. Transient events can be introduced by equipment operation or failure. The purpose of the test is to verify whether the difference between the simulator’s response and the actual data of the reference unit is within an acceptable range). Other quality attributes 8, such as real-time, integrity, availability, reproducibility, etc. The actual data includes design data 9 and unit data 10. Obtain control data, use a digital test system to test the simulator based on the control data, and output difference results, where the difference results are a list of difference items 11.
[0063] Furthermore, the quality attributes include dynamic quality attributes and static quality attributes; the test mode is obtained by decomposing and digitally reconstructing the simulator test capability according to different quality attributes, including: obtaining a static test mode by decomposing and digitally reconstructing the simulator test capability according to static quality attributes; obtaining a dynamic test mode by decomposing and digitally reconstructing the simulator test capability according to dynamic quality attributes.
[0064] Specifically, we first decompose the simulator test capabilities to identify and extract static quality attributes. Static quality attributes mainly focus on the performance of the simulator in a static state, such as the accuracy of the device status on the monitoring screen, the normal range of screen parameters, etc. Based on these static quality attributes, we further design and obtain a static test mode, which usually uses methods such as visual comparison inspection to evaluate the performance of the simulator in a static state by verifying the smoothness of the data link between the model configuration and the monitoring screen configuration, the correctness of the model and the measurement point range, etc.
[0065] Similarly, the simulator testing capabilities need to be decomposed to obtain dynamic quality attributes. Dynamic quality attributes focus on the performance of the simulator in the dynamic process, such as the state change of the equipment after receiving the operation instruction, the re-adjustment process of the adjustment system, etc. Based on these dynamic quality attributes, a dynamic test mode is designed and obtained. This mode evaluates the performance of the simulator in the dynamic process by having the tester operate the equipment on the OPS (operator station / operation panel) operation screen and observe the changes in the equipment status and related parameters. The success of the dynamic test mode mainly depends on the smoothness of the data link between the model configuration and the monitoring screen configuration, the correctness of the relevant PID parameters (proportional-integral-differential controller parameters in control), set values, thresholds and other parameters.
[0066] In this step, it should be noted that the acquisition of static test mode and dynamic test mode not only depends on the in-depth analysis of the simulator's test capabilities and the accurate identification of quality attributes, but also needs to be designed in combination with the simulator's actual operating conditions and test requirements. By combining these two test modes with different test objects into digital test scenarios, and then using programming tools to implement them, the simulator can be fully digitally tested to ensure its performance and reliability in actual operation.
[0067] Furthermore, the digital scenario includes a process system model test scenario; the digital test system includes a process system model test tool; digital modeling based on key system elements to obtain test objects includes: digital modeling based on simulator process system data to obtain process system model test objects; constructing different digital test scenarios based on test objects and test modes includes: constructing a process system model test scenario based on process system model test objects and static test modes; programming based on the digital test scenario to construct a digital test system includes: based on the process system model test scenario, using programming tools to implement the process system model test tool.
[0068] Specifically, the test object includes the simulator process system model configuration, while the digital test system covers multiple components such as the process system model test tool. In the process of digital modeling based on key system elements to obtain the test object, the modeling is mainly based on the simulator process system equipment data, information transmission data and control system data. Specifically, through in-depth analysis and processing of these data, a process system model test object can be constructed, and the configuration can truly reflect the operating status and characteristics of the process system equipment in the simulator.
[0069] Furthermore, the process system model test object includes a model point-to-point file; the control data includes reference unit process system design data and reference unit control system design data, the reference unit process system design data includes equipment name information, and the reference unit control system design data includes control system IO point name information; the simulator is tested using a digital test system based on the control data, and the output difference results include: using a script tool to match each item in the model point-to-point file with the reference unit process system design data and the reference unit control system design data one by one, and outputting a list of abnormal point names that failed to match, and a list of point names that are repeatedly assigned and / or assigned constant values.
[0070] Specifically, the test scenario includes the process system model layer L0, and a number of targeted software tools have been developed for the implementation of the process system model layer L0 module tool. First, the process system model test object covers the equipment point-to-point file, and the control data includes the model database data and the control system database data. In order to verify the accuracy and completeness of the simulator, the simulator is tested using a digital test system, in which a script tool is used to match each item in the equipment point-to-point file with the database data one by one. In this process, the script tool can intelligently identify and output a list of abnormal roll calls that failed to match, a list of repeated assignments, and a list of roll calls with constant values, thereby helping to quickly locate potential problem points.
[0071] Using a script tool to match each item in the equipment point-to-point file with the database data one by one includes: aggregating all point-to-point files, and traversing these files through software written in a scripting language, searching for matches for the point names in the files one by one in the process system model database and the control system model, and then outputting abnormal point names that failed to match, abnormal point names that were assigned multiple times (≥2) in different point-to-point files, and a list of point names assigned constant values.
[0072] The process system model layer L0 also includes a model checking tool and a fault / on-site list checking tool. The model checking tool can sort out and export the various equipment name lists and main module parameter lists in the process system model database, and compare them with the corresponding lists in the simulator design files, and output a list of unmatched equipment names. The fault / on-site list checking tool can sort out and export the fault / on-site configuration list in the process system model configuration and the trainer station fault / on-site list, and compare them with the fault / on-site list in the simulator design files, and output a list of inconsistent abnormal points between the three.
[0073] Furthermore, in an optional embodiment, the digital scenario also includes a control system model test scenario, and the digital test system also includes a control system model test tool; performing digital modeling based on key system elements to obtain a test object also includes: performing digital modeling based on simulator control system data to obtain a control system model test object; constructing different digital test scenarios based on test objects and test modes also includes: constructing a control system model test scenario based on the control system model test object and a static test mode; programming based on the digital test scenario to construct a digital test system includes: implementing the control system model test tool using a programming tool based on the control system model test scenario.
[0074] Specifically, the test object includes not only the process system model test object, but also the control system test object. In the scope of the digital test system, in addition to the original process system model test tool, a control system model test tool has been added as an important component. In the process of digital modeling based on key system elements to obtain the test object, the control system data is further considered. Through the precise analysis and processing of these data, a detailed control system test object can be constructed. This configuration can fully reflect the operating status and characteristics of the control logic in the simulator. At the same time, in the process of building the digital test system, according to the process system model test object and the control system test object, combined with the static test mode, the process system model test tool and the control system model test tool are constructed respectively. The process system model test tool is mainly used to verify the accuracy of the process system model test object to ensure that the equipment operating status in the simulator is consistent with the real unit; while the control system model test tool focuses on the verification of the control system test object. By simulating the operation of various control logics, it ensures that the control logic of the simulator is consistent with the real unit, thereby realizing comprehensive and accurate testing and evaluation of the simulator.
[0075] Furthermore, the control system model test object includes a configuration page list and a roll call list; the reference data also includes reference unit control system database data; the simulator is tested using a digital test system based on the reference data, and the output difference results also include: using a script tool to match each item in the configuration page list and the roll call list with the reference unit control system database data one by one, and outputting missing configuration pages and / or database roll call lists with matching errors.
[0076] Specifically, the test scenario also includes the control logic layer (L1). In the implementation of the control logic layer (L1) module tool, a number of targeted software tools have been developed.
[0077] Configuration Check Tool: The main function is to sort out and export the configuration page list and roll call list of the third-party control system and use them as test objects. Then, a software tool was written in a scripting language, which can compare with the control system database of the reference unit to output the missing configuration page and the roll call list of the database with matching errors.
[0078] Specifically, the control system model test object includes the configuration page list and the roll call list as the test object, while the control data covers the control system design data. In order to verify the accuracy and completeness of the simulator control logic, a script tool is used to match each item in the configuration page list and the roll call list with the control system design data one by one. During the matching process, the script tool can intelligently identify and output the missing configuration pages, that is, those pages that exist in the configuration page list but are not found in the control system database; at the same time, it can also output the database roll call list with matching errors, that is, those roll calls that exist in the configuration page list and the roll call list but do not match the expected roll call in the control system database. By comparing and analyzing the output difference results, the control logic of the simulator can be adjusted and improved in a targeted manner to ensure that it more accurately reflects the operation of the reference unit.
[0079] Parameter comparison tool: The main function of this tool is to sort out and export the operating condition files in the simulator DCS server and extract all the control parameters as test objects. Then, a software tool was written using scripting language again, which can compare with the corresponding information in the DCS database of the reference unit and output a list of inconsistent values.
[0080] Furthermore, the digital scenario also includes a human-machine interface test scenario; the digital test system also includes a human-machine interface system model test tool; digital modeling based on key system elements to obtain test objects also includes: digital modeling based on simulator human-machine interface system data to obtain human-machine interface system test objects; constructing different digital test scenarios based on test objects and test modes also includes: constructing human-machine interface system model test scenarios based on human-machine interface system test objects and dynamic test modes; programming based on digital test scenarios to construct a digital test system also includes: based on the human-machine interface system model test scenario, using programming tools to implement the human-machine interface system model test tool.
[0081] Specifically, the test objects also include human-machine interface system test objects. In order to comprehensively evaluate the operating status of the simulator, the digital test system also introduces a human-machine interface system test tool. When digital modeling is performed based on key system elements to obtain the test object, the abnormal state feature screenshots of the monitoring screen, the monitoring analog quantity and the list of logical quantities are comprehensively considered, and the human-machine interface system test object is obtained through digital modeling technology. Furthermore, a human-machine interface system test tool is constructed based on the human-machine interface system test object and the dynamic test mode. The human-machine interface system test tool can simulate the actual operation scenario, monitor and compare all state points and data points on the simulator human-machine interface in real time, analyze and output the differences with the reference unit data, so as to ensure that the operating data of the simulator in a steady-state scenario is consistent with the real unit.
[0082] Furthermore, the test objects of the human-machine interface system include monitoring screen files and screen data; the reference data also include operating data of the reference unit under specific working conditions; the simulator is tested using a digital test system based on the reference data, and the output difference results also include: using a robotic process automation tool to perform corresponding status checks on the monitoring screen files and screen data and the operating data of the reference unit under specific working conditions, and outputting a list of abnormal screens and a list of analog and logical comparison results.
[0083] Specifically, the test scenario includes the human-machine interface layer L2. In the implementation of the human-machine interface layer L2 tools, a number of targeted software tools have been developed:
[0084] Data comparison tool: The core function of this tool is to write scripts based on the reference unit data list exported by the real-time information monitoring system of the nuclear power plant using RPA robot process automation technology, and run them seamlessly on the simulator DCS display and control terminal. These scripts can simulate the operating procedures of operators, perform precise numerical queries point by point, and write the query results into a dedicated data file. This function is crucial for the error analysis between the calculated values of all monitoring parameters of the simulator and the reference unit data in a typical steady-state scenario. It can achieve quantitative and high-precision comparison, thereby revealing subtle differences in data between the simulator and the reference unit.
[0085] Screen inspection tool: In order to fully ensure the accuracy and reliability of the HMI simulator human-machine interface, a screen inspection tool was introduced. This tool is also based on RPA technology to write scripts and execute them on the simulator DCS display and control terminal. These scripts can simulate the operating habits of operators, traverse all monitoring and operation screens, and meticulously check every detail, including possible screen anomalies such as red frames, star points, and gray points. Once any anomaly is detected, the screen inspection tool will immediately output a detailed list of abnormal screens for further analysis and processing by technicians.
[0086] Dynamic inspection tool: Dynamic inspection is an indispensable part of the simulator testing and verification process. For this purpose, a dynamic inspection tool was developed. It will first sort out and export a list of valves, instruments, electrical switches, and a list of related commands (such as start-stop operations, drift tables, etc.). Subsequently, scripts are written using RPA technology and run efficiently on the model server. These scripts can input commands for each device item and capture the response status of the device in real time. At the same time, the RPA tool will also check the corresponding status points or data point values on the display and control terminals to ensure that everything is as expected. If any deviations or inconsistencies occur, the dynamic inspection tool will quickly output a list of differences to provide technicians with timely feedback and adjustment basis.
[0087] In the actual test operation, the simulator was fully and deeply tested using the digital test system based on the data list of the reference unit. The test not only covered the display status and operability inspection of the monitoring screen and the operation screen, but also involved the comparison between the simulator calculation data and the reference unit operation data. The above inspection and comparison can be implemented by the RPA tool, which can accurately output the abnormal screen list and abnormal value list, thereby further guiding the adjustment and optimization of the simulator.
[0088] The present application also provides a computer device, including a processor and a memory storing a computer program, wherein the processor implements any of the steps of the above-mentioned nuclear power plant simulator digital testing method when executing the computer program.
[0089] The present invention can achieve the following effects:
[0090] 1. A large number of basic tests can be completed in a short time. After digital testing and verification on a full-range simulator of a nuclear power plant, a round of IO system point-to-point inspection with a total of more than 110,000 points can be completed in about 10 minutes, a round of online inspection with a total of more than 1,500 pictures can be completed in about 7 hours, and a round of analog data query and comparison with a total of more than 2,000 points can be completed within 2 hours.
[0091] 2. High accuracy. Machine automatic testing can completely replace manual basic testing of simulators, and the script code can be continuously upgraded iteratively based on the results to improve accuracy.
[0092] 3. Digital testing technology is highly efficient. Simulator design and testing, development and testing can be carried out in parallel and verified against each other. Simulator digital testing does not have to wait until the simulator is integrated to perform test execution verification. It can evaluate the design system to discover defects in the simulator requirements analysis, system design, and coding process. It is most efficient to discover defects at each stage at the current stage.
[0093] 4. High maintainability and scalability. The code is developed based on general commercial development platforms such as RPA and Python. It adopts a systematic architecture and can be easily modified or expanded to adapt to new needs or process larger data.
[0094] It can be understood that the above embodiments only express the preferred implementation modes of the present invention, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the patent scope of the present invention. It should be pointed out that, for ordinary technicians in this field, the above technical features can be freely combined without departing from the concept of the present invention, and several deformations and improvements can be made, which all belong to the protection scope of the present invention. Therefore, all equivalent changes and modifications made to the scope of the claims of the present invention should belong to the coverage of the claims of the present invention.
Claims
1. A digital testing method for a nuclear power plant simulator, characterized in that: include: Obtain key system elements by deconstructing the software configuration and calculation results of the simulator, and perform digital modeling based on the key system elements to obtain the test object; The test mode is obtained by decomposing the simulator test capability according to different quality attributes and digitally reconstructing it; Constructing different digital test scenarios according to the test object and the test mode, and implementing the digital scenarios into automated test tools through programming to construct a digital test system; Obtain control data, use the digital test system to perform test operations on the simulator according to the control data, and output difference results.
2. The digital testing method for a nuclear power plant simulator according to claim 1, characterized in that: The key system elements include simulator process system data, simulator control system data and simulator human-machine interface system data.
3. The digital testing method for a nuclear power plant simulator according to claim 2, characterized in that: The quality attributes include dynamic quality attributes and static quality attributes; The test mode is obtained by decomposing the simulator test capability according to different quality attributes and digitally reconstructing it, including: By decomposing and digitally reconstructing the simulator test capability according to the static quality attributes, a static test mode is obtained; The dynamic test mode is obtained by decomposing and digitally reconstructing the simulator test capability according to the dynamic quality attributes.
4. The digital testing method for a nuclear power plant simulator according to claim 3, characterized in that: The digital scenario includes a process system model test scenario; the digital test system includes a process system model test tool; The digital modeling according to the key system elements to obtain the test object includes: Perform digital modeling based on the simulator process system data to obtain a process system model test object; The constructing different digital test scenarios according to the test object and the test mode includes: Constructing a process system model test scenario according to the process system model test object and the static test mode; The programming according to the digital test scenario to construct a digital test system includes: According to the process system model test scenario, a programming tool is used to implement the process system model test tool.
5. The digital testing method for a nuclear power plant simulator according to claim 4, characterized in that: The process system model test object includes a model point file; the control data includes reference unit process system design data and reference unit control system design data, the reference unit process system design data includes equipment name information, and the reference unit control system design data includes control system IO point name information; The testing operation of the simulator using the digital testing system according to the control data and outputting the difference results include: Use a script tool to match each item in the model point file with the reference unit process system design data and the reference unit control system design data one by one, and output a list of abnormal point names that failed to match, a list of point names with repeated assignments and / or constant values.
6. The digital testing method for a nuclear power plant simulator according to claim 3, characterized in that: The digital scenario also includes a control system model test scenario, and the digital test system also includes a control system model test tool; The performing digital modeling according to the key system elements to obtain the test object also includes: Perform digital modeling based on the simulator control system data to obtain a control system model test object; The constructing different digital test scenarios according to the test object and the test mode also includes: Constructing a control system model test scenario according to the control system model test object and the static test mode; The programming according to the digital test scenario to construct a digital test system includes: According to the control system model test scenario, a programming tool is used to implement the control system model test tool.
7. The digital testing method for a nuclear power plant simulator according to claim 6, characterized in that: The control system model test object includes a configuration page list and a roll call list; the control data also includes reference unit control system database data; The testing operation of the simulator using the digital testing system according to the control data and outputting the difference result further comprises: Use a script tool to match each item in the configuration page list and the roll call list with the reference unit control system database data one by one, and output the missing configuration pages and / or the database roll call list with matching errors.
8. The digital testing method for a nuclear power plant simulator according to claim 3, characterized in that: The digital scene also includes a human-machine interface test scene; the digital test system also includes a human-machine interface system model test tool; The performing digital modeling according to the key system elements to obtain the test object also includes: Digital modeling is performed based on the simulator human-machine interface system data to obtain the human-machine interface system test object; The constructing different digital test scenarios according to the test object and the test mode also includes: Constructing a human-machine interface system model test scenario according to the human-machine interface system test object and the dynamic test mode; The programming according to the digital test scenario to construct a digital test system also includes: According to the human-machine interface system model test scenario, a programming tool is used to implement the human-machine interface system model test tool.
9. The digital testing method for a nuclear power plant simulator according to claim 8 is characterized in that: The human-machine interface system test object includes monitoring screen files and screen data; the control data also includes operating data of the reference unit under specific working conditions; The testing operation of the simulator using the digital testing system according to the control data and outputting the difference result further comprises: Use a robotic process automation tool to perform corresponding status checks on the monitoring screen file and the screen data and the operating data of the reference unit under the specific working conditions, and output an abnormal screen list and a list of analog and logical quantity comparison results.
10. A computer device comprising a processor and a memory storing a computer program, characterized in that: The processor implements the steps of the digital testing method for a nuclear power plant simulator as described in any one of claims 1 to 9 when executing the computer program.
Citation Information
Patent Citations
Nuclear power station reactor control debugging method
CN111081401A
Simulation test method, system and equipment for data distribution strategy and readable medium
CN115048254A
Nuclear power station reverse modeling method based on three-dimensional laser scanning
CN118365797A
Digital simulation technology-based DCS software automatic verification system and method
WO2023082886A1