Method and device for improving test bench

By building a test bench simulation model and performing data mapping and back-compensation optimization, the problem of inaccurate data between the simulation model and the actual test bench in test bench design was solved, efficient test bench design and DCS system improvement were achieved, and costs and cycles were reduced.

CN120764196APending Publication Date: 2025-10-10CHINA NUCLEAR POWER ENGINEERING CO LTD
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202510913320.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-07-02
Publication Date
2025-10-10

AI Technical Summary

Technical Problem

The existing test bench design and simulation model have not been effectively combined, resulting in high test costs and long construction cycles. In addition, the data mapping between the simulation model and the actual test bench is inaccurate, which affects the verification and improvement of the DCS system.

Method used

A test bench simulation model was built and mapped with the actual test bench through a data interaction group. The output data of the simulation model was optimized using anti-compensation voltage drop and objective function. The simulation model was calibrated to improve accuracy and verify the stability and safety of the DCS system.

Benefits of technology

It improves the accuracy of the simulation model, reduces data transmission distortion, reduces test costs and construction cycles, improves the design and debugging efficiency of the test bench, and enhances the reliability and practicality of the system.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120764196A_ABST
    Figure CN120764196A_ABST
Patent Text Reader

Abstract

The invention discloses a method and a device for improving a test bench. The method comprises the following steps: building a test bench simulation model; butting the test bench simulation model and an actual test bench, and establishing a data interaction group; acquiring output data of the test bench simulation model and output data of an actual test bench; based on the data interaction group, the output data of the test bench simulation model and the output data of the actual test bench, adaptive back compensation is carried out on the output data of the test bench simulation model so as to calibrate the test bench simulation model; verifying and improving a DCS (Distributed Control System) based on the calibrated test bench simulation model; and carrying out working condition simulation test on the test bench simulation model, and improving the design of an actual test bench according to a test result. According to the method, the simulation accuracy of the test bench simulation model can be ensured, and the calibrated test bench simulation model can guide the debugging of an actual test bench and the rapid iterative analysis and optimization upgrading of a test process scheme.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of test bench design optimization, and in particular to a method and device for improving a test bench. Background Art

[0002] Nuclear reactor safety systems undergo complex thermal-hydraulic processes during accidents, which have a significant impact on reactor safety. Test benches can simulate various accident phenomena that may occur in prototype power plants, especially the thermal-hydraulic phenomena of the system after a small-break loss of coolant accident. They are used to analyze the thermal-hydraulic phenomena in reactor loss of coolant accidents and operational transients. However, due to the long construction period and high testing costs of comprehensive test benches, it is necessary to conduct simulation tests on nuclear power plant reactor systems in order to strengthen the mechanistic analysis of accident experimental processes, improve the construction efficiency of test equipment, and save related costs.

[0003] The existing patent CN109765067A discloses an ACME test bench, which includes: a complete simulation of the prototype nuclear power plant circuit system and equipment, including the reactor core, reactor pressure vessel and reactor internals, two steam generators, a pressurizer, four main pumps, four cooling pipes, and two heat pipes, which fully simulates the four-input and two-output loop layout of the prototype nuclear power plant; a complete simulation of the prototype nuclear power plant passive core cooling system system and equipment, including a passive residual heat removal system and a passive residual heat removal heat exchanger, two reactors The core injection box, two pressure storage injection boxes, the refueling water tank in the containment, the 1-4 level automatic pressure relief system, the direct injection pipe, the long-term cooling recirculation pipeline in the containment, and the compartments in the containment are simulated in proportion to the layout of the system and equipment and the direction of the pipelines; part of the simulation is of the reactor secondary loop system and equipment, including the main feed water system, the main steam system, and the PORV pipeline, which meet the test function requirements; part of the simulation is of the systems and equipment connected to the reactor loop, including the chemical volume system and the normal residual heat removal system, which supports the study of the test conditions.

[0004] Existing patent CN118008874A discloses a method for repairing and testing the mechanical seal of a nuclear power plant's main pump. The method includes the following steps: Step 1: Pre-repair cleaning and inspection; Step 2: Pre-repair dimensional measurement; Step 3: Sealing surface grinding; Step 4: Surface polishing: Polishing the dynamic and static rings of the second-stage and third-stage sealing devices, as well as the dynamic and static rings of the first-stage sealing device, after grinding in Step 3, to ensure that the polished surface roughness meets acceptance requirements; Step 5: Post-repair dimensional measurement: Comparing the measured post-repair dimensional data with the pre-repair dimensional data and acceptance requirements to determine whether the repair requirements are met; Step 6: Static pressure testing: Verifying whether the leakage of the first-stage, second-stage, and third-stage sealing devices meets acceptance standards under different pressure platforms; Step 7: Dynamic testing; Step 8: Disassembly, acceptance, and storage of the seals.

[0005] The above two existing patents are both about the design or application methods of the test bench, and do not propose to improve the test bench by using a simulation model. Summary of the Invention

[0006] Based on the above technical problems, the present invention proposes a method and device for improving a test bench.

[0007] A method for improving a test bench, comprising:

[0008] Build a test bench simulation model;

[0009] Connect the test bench simulation model and the actual test bench, and establish a data interaction group;

[0010] Obtain output data of the test bench simulation model and output data of the actual test bench;

[0011] Based on the data interaction group, the output data of the test bench simulation model and the output data of the actual test bench, adaptively decompensate the output data of the test bench simulation model to calibrate the test bench simulation model;

[0012] Verify and improve the DCS system based on the calibrated test bench simulation model;

[0013] Conduct working condition simulation tests on the test bench simulation model and improve the design of the actual test bench based on the test results.

[0014] Furthermore, a test bench simulation model is built, including:

[0015] Develop a visual simulation platform with DCS system interface;

[0016] Build a test bench simulation model in the visual simulation platform.

[0017] Furthermore, the visual simulation platform includes: a DCS data interaction module and an operation control module, and the DCS data interaction module is provided with a DCS system interface.

[0018] Furthermore, the DCS system interface includes a three-level structure consisting of a test bench simulation model, an operation control module and a DCS system, and data access and control of the actual test bench are achieved based on the three-level structure.

[0019] Furthermore, the interactive process corresponding to data access and actual test bench control is realized based on the three-level structure, including:

[0020] The data in the memory array of the test bench simulation model calculation program is transmitted to the operation control module through the IPC pipeline. The data of the operation control module is transmitted to the DCS system through Websocket to realize the control of the actual test bench.

[0021] The data of the DCS system is transmitted to the operation control module through Websocket, and then written into the computer program memory through the IPC pipeline of the operation control module to realize data access.

[0022] Furthermore, the data interaction group is used to completely map the data measurement points of the test bench simulation model with the actual test bench control points. The mapping range includes: the controlled equipment and display parameters in the test bench simulation model and the actual test bench. The equipment includes one or more of valves, pump components and averaging heating systems. The display parameters include one or more of temperature, pressure, flow, pressure difference, liquid level and percentage feedback.

[0023] Furthermore, the output data of the test bench simulation model includes a counter-compensated pressure drop, and the output data of the actual test bench includes a measured pressure drop. Based on the data interaction group, the output data of the test bench simulation model, and the output data of the actual test bench, adaptive counter-compensation is performed on the output data of the test bench simulation model, including:

[0024] Based on the counter-compensation pressure drop and the measured pressure drop, the counter-compensation pressure drop is optimized through a preset objective function to determine the optimized counter-compensation pressure drop;

[0025] Based on the optimized anti-compensation pressure drop, adaptive anti-compensation is performed on the output data of the test bench simulation model.

[0026] Furthermore, the preset objective function is expressed by Formula 1, which is:

[0027]

[0028] Among them, min J(C d ) is the objective function value, w i is the weight coefficient, ΔP DCS,i is the measured pressure drop of the i-th working condition, f(Q i ,C d ) is the counter-compensation voltage drop.

[0029] Furthermore, the anti-compensation voltage drop is determined by Formula 2, which is:

[0030] ΔP=f(Q,C d )=C d Q 2 ,

[0031] Among them, C dis the resistance coefficient, and Q is the volume flow rate.

[0032] Furthermore, based on the counter-compensation pressure drop and the measured pressure drop, the counter-compensation pressure drop is optimized by a preset objective function to determine the optimized counter-compensation pressure drop, including:

[0033] Optimizing the anti-compensation pressure drop through a preset objective function until the preset objective function satisfies a preset convergence condition;

[0034] The optimized anti-compensation pressure drop is determined based on the resistance coefficient that meets the preset convergence conditions.

[0035] Furthermore, the preset objective function satisfies the preset convergence condition, including: when the preset objective function satisfies |J (k +1) -J (k) |<∈ and / or k≥K max When the preset objective function meets the preset convergence condition and reaches the convergence state, where ∈ is the convergence judgment value, J (k+1) 、J (k) are the objective function values ​​corresponding to the k+1th and kth iterations, respectively. max is the maximum number of iterations.

[0036] Furthermore, the drag coefficient satisfies Formula 3, which is: in, is the drag coefficient in the k+1th iteration, η is the relaxation factor, is the gradient of the objective function.

[0037] Furthermore, the DCS system is verified based on the calibrated test bench simulation model, including:

[0038] Conduct PID closed-loop steady-state adjustment test on DCS system;

[0039] If the DCS system can return to stable parameters, perform logic verification of key phenomena on the DCS system;

[0040] If the DCS system meets the key phenomenon logic verification conditions, the safety system locking logic verification of the DCS system is performed.

[0041] A device for improving a test bench, comprising:

[0042] Establish modules for building test bench simulation models;

[0043] Docking module, used to connect the test bench simulation model with the actual test bench and establish a data interaction group;

[0044] An acquisition module is used to obtain output data of the test bench simulation model and output data of the actual test bench;

[0045] a decompensation module, configured to adaptively decompensate the output data of the test bench simulation model based on the data interaction group, the output data of the test bench simulation model, and the output data of the actual test bench, so as to calibrate the test bench simulation model;

[0046] Verification module, used to verify and improve the DCS system based on the calibrated test bench simulation model;

[0047] The test module is used to perform working condition simulation tests on the test bench simulation model and improve the design of the actual test bench based on the test results.

[0048] A computer-readable storage medium includes a stored computer program, wherein the computer program can be executed by an electronic device to perform the above method when the computer program is run.

[0049] A computer program product comprises a computer program, which implements the steps of the above method when executed by a processor.

[0050] An electronic device includes a memory and a processor, wherein the memory stores a computer program and the processor is configured to execute the above method through the computer program.

[0051] Based on the above technical solution, the present invention has at least the following beneficial effects:

[0052] 1. The present invention realizes data mapping between the test bench simulation model and the actual test bench by establishing a data interaction group between the test bench simulation model and the actual test bench. Based on the established data interaction group, the output data of the test bench simulation model and the output data of the actual test bench, the output data of the test bench simulation model is adaptively compensated to ensure the accuracy of the simulation of the test bench simulation model and reduce the distortion of the data transmitted to the DCS. The calibrated test bench simulation model can verify and improve the DCS system, and guide the rapid iterative analysis and optimization and upgrading of the test bench debugging process plan and the test process plan, thereby reducing the construction cost and maintenance cost of the physical test bench, shortening the construction period of the test bench, and improving the construction efficiency and quality of the physical test.

[0053] 2. The present invention proposes to establish a visual simulation platform with a DCS system interface. Through this simulation platform, data can be exchanged with the real test bench with the help of the DCS system, thereby providing improvement suggestions for the construction of the test bench, test plan design and operation and maintenance work, and can guide the safety system more comprehensively, effectively and efficiently.

[0054] 3. The present invention proposes to optimize the back-compensating pressure drop based on the back-compensating pressure drop and the measured pressure drop through a preset objective function, determine the optimized back-compensating pressure drop, and adaptively back-compensate the output data of the test bench simulation model based on the optimized back-compensating pressure drop. This method can significantly improve the accuracy of the simulation model, make its output results closer to the actual operating conditions, and effectively reduce the simulation deviation caused by pressure drop error. The optimized back-compensating pressure drop can improve the overall performance of the system and enhance the reliability and practicality of the test bench during the design, debugging and optimization process. BRIEF DESCRIPTION OF THE DRAWINGS

[0055] The accompanying drawings, which constitute part of the present invention, are intended to provide a further understanding of the present invention. The exemplary embodiments of the present invention and their descriptions are intended to explain the present invention and do not constitute an undue limitation of the present invention. In the accompanying drawings:

[0056] Figure 1 A flow chart of a method for improving a test bench according to an embodiment of the present invention;

[0057] Figure 2 A schematic diagram of a test bench simulation model in one embodiment of the present invention;

[0058] Figure 3 A schematic diagram of the main components of a visual simulation platform in a specific embodiment of the present invention;

[0059] Figure 4 This is a schematic diagram of a circuit pressure calculation result under a simulated accident working condition in a specific embodiment of the present invention;

[0060] Figure 5 A schematic diagram of a device for improving a test bench according to an embodiment of the present invention;

[0061] Figure 6 A block diagram of the computer system structure of the electronic device used to implement the embodiments of the present application is provided in the present invention;

[0062] Figure 7 The figure is a schematic diagram of an electronic device for improving a test bench according to an embodiment of the present invention. DETAILED DESCRIPTION

[0063] It should be noted that, in the absence of conflict, the embodiments and features of the embodiments of the present invention can be combined with each other. The present invention will be described in detail below with reference to the accompanying drawings and in combination with the embodiments.

[0064] The present invention is further described in detail below with reference to specific examples. These examples should not be construed as limiting the scope of protection claimed in the present invention.

[0065] Example

[0066] According to one aspect of an embodiment of the present application, a method for improving a test bench is provided.

[0067] like Figure 1 FIG. 8 is a flow chart of a method for improving a test bench according to an embodiment of the present invention, the method comprising the following steps:

[0068] S1, build a test bench simulation model.

[0069] Furthermore, a test bench simulation model is built, including:

[0070] S101, develop a visual simulation platform with DCS system interface.

[0071] S102: Build a test bench simulation model in a visual simulation platform.

[0072] In this embodiment, a test bench simulation model is built in the visual simulation platform, and data interaction between the DCS system and the actual test bench is achieved through the DCS system interface in the platform. Figure 2 As shown in the figure, the model is required to reflect all system equipment in the actual test bench as detailed as possible and respond quickly and accurately to the test bench's test plan. The simulation model is divided into different calculation units and established separately according to the system composition characteristics of the test bench and the model calculation efficiency requirements. During the specific modeling implementation, the orifice plate, geometric resistance, and pipe wall friction in the actual test bench are established in the corresponding control volume within the model through empirical coefficients to accurately reflect the flow pressure drop. The functions of the corresponding controllable components need to be simulated. For electric valves, the switching signal logic needs to be established. For control valves, the valve area and adjustable opening need to be given. The switching rate of each valve needs to be given based on actual data. For pump components, modeling is preferably based on the four-quadrant characteristic curve. If the data is insufficient, functional simulation is used. A fixed flow pipe is given to replace the plunger pump, and a fixed pressure boundary is given to simulate the centrifugal pump. The controllable components of the simulation model need to correspond one-to-one with the test bench and accurately reflect the test bench system control process. The heating system should correctly meet the functions of opening and closing, current reduction, and power variation.

[0073] The visual simulation platform includes: a DCS data interaction module and an operation control module, wherein the DCS data interaction module is used to Figure 2 The data interaction between the test bench simulation model, DCS system and actual test bench is carried out, and the DCS system interface is provided in the DCS data interaction module; the operation control module is in Figure 2Specifically, the DCS system interface includes a three-level structure consisting of a test bench simulation model, an operation control module, and a DCS system, and data access and control of the actual test bench are achieved based on the three-level structure.

[0074] Furthermore, based on the three-level structure, data access and the corresponding interactive process for controlling the actual test bench are realized, including: data in the memory array of the test bench simulation model calculation program is transmitted to the operation control module through the IPC pipeline, and the data of the operation control module is transmitted to the DCS system through Websocket to realize the control of the actual test bench; data from the DCS system is transmitted to the operation control module through Websocket, and then written into the calculation program memory through the IPC pipeline of the operation control module to realize data access.

[0075] like Figure 3 The main modules of the visual simulation platform in a specific embodiment of the present invention are shown in the figure. The main feature is the DCS data interaction module, which needs to meet the requirements of the simulation platform as a database to read and control the test bench. This module designs a data interface between the thermal hydraulic calculation interaction variables and the DCS. The interface has a three-level structure and two data flows. The first is that the data in the calculation program memory array flows outward to the control (operation control module) through the IPC pipeline. The data of the control flows to the DCS system through the Websocket. The second is that the data of the DCS system flows to the platform control through the Websocket and is then written to the calculation program memory through the control's IPC pipeline for the next step of solution calculation. The interactive coordination mechanism between different calculation units: within an interaction step, the platform first receives feedback data from each calculation unit and sends the signal data to each calculation unit after completing all reception and logical calculations. The visual simulation platform integrates sqlite3 (a lightweight embedded relational database management system) as a storage module for relational data, develops corresponding object-relational mapping components, and integrates the leveldb key-value storage engine as a storage module for time series data to implement the above mechanism. This mechanism can achieve timing coordination between computing units with different computing speeds to meet the parallel computing function.

[0076] S2, connect the test bench simulation model and the actual test bench, and establish a data interaction group.

[0077] This step establishes data exchange groups between the calculation program and the visual simulation platform, and between the visual simulation platform and the DCS system. In this method, the visual simulation platform and the actual test bench share a common DCS system, so the data measurement and control points on both sides must be fully mapped. The mapping scope includes the controlled equipment and display parameters in the test bench simulation model and the actual test bench. Equipment includes one or more of valves, pump components, and averaging heating systems. Display parameters include one or more of temperature, pressure, flow, differential pressure, liquid level, and percentage feedback. Specifically, the mapping scope in this embodiment includes each valve, pump component, average heating system and other controlled parts, as well as display parts such as temperature, pressure, flow, pressure difference, liquid level, and percentage feedback. The mapped data is uniquely determined by the IPC pipeline established in step 1 and transmitted within each interaction step. This process defines the interaction group between the calculation program and the platform operation control module. The mapped data is named in the platform operation control module with reference to the actual test bench, so that the interaction group between the simulation platform operation control module control and the DCS system is consistent with the interaction group between the actual test bench and the DCS. In this way, the data interaction mapping between the DCS system and the control is completed, and the simulation model and the actual test bench are completely mapped, forming a twin-like effect.

[0078] S3, obtaining output data of the test bench simulation model and output data of the actual test bench.

[0079] Furthermore, the output data of the test bench simulation model includes the anti-compensated pressure drop, and the output data of the actual test bench includes the measured pressure drop.

[0080] S4, based on the data interaction group, the output data of the test bench simulation model and the output data of the actual test bench, adaptively decompensate the output data of the test bench simulation model to calibrate the test bench simulation model.

[0081] Since the actual test bench uses a differential pressure flowmeter, its measurement result is the pressure difference value of the internal measuring point of the system. This value is compensated by the internal logic of the DCS system to obtain the real flow value. However, the result of the simulation calculation is directly the flow rate. After being transmitted to the DCS system through the data exchange group, an erroneous result will be compensated. Therefore, anti-compensation is required. In order to select the pipeline area corresponding to the measuring point, the characteristics of the measuring component are approximately fitted by giving a segmented resistance coefficient. The specific method is to consider the pressure drop flow approximate relationship, ΔP=f(Q,C d )=C d Q 2 .

[0082] Based on the data interaction group, the output data of the test bench simulation model and the output data of the actual test bench, adaptive anti-compensation is performed on the output data of the test bench simulation model, including:

[0083] S401, based on the counter-compensation pressure drop and the measured pressure drop, the counter-compensation pressure drop is optimized through a preset objective function, and an optimized counter-compensation pressure drop is determined.

[0084] The preset objective function in this embodiment is represented by Formula One, and Formula One is:

[0085]

[0086] wherein, min J(C d ) is the objective function value, w i is the weight coefficient, ΔP DCS,i is the measured pressure drop of the i-th working condition, f(Q i , C d ) is the counter-compensation pressure drop.

[0087] The optimization objective of the objective function in this embodiment is to minimize the difference between the counter-compensation pressure drop and the measured pressure drop. It should be understood that the preset objective function is not limited to Formula One in this embodiment, and different objective functions can be established according to actual conditions.

[0088] Further, based on the counter-compensation pressure drop and the measured pressure drop, the counter-compensation pressure drop is optimized through a preset objective function, and an optimized counter-compensation pressure drop is determined, comprising:

[0089] S4011, the counter-compensation pressure drop is optimized through a preset objective function until the preset objective function meets a preset convergence condition.

[0090] In this embodiment, the preset objective function meets the preset convergence condition, comprising: when the preset objective function meets |J (k+1) -J (k) |≤∈ and / or k≥K max , the preset objective function meets the preset convergence condition and reaches a convergence state, wherein ∈ is a convergence judgment value, J (k+1) and J (k) are objective function values corresponding to the k+1-th iteration and the k-th iteration respectively, K max is the maximum iteration number. It should be understood that the convergence condition of the preset objective function is not limited to the one mentioned in this embodiment, and the convergence condition can be adjusted according to actual conditions.

[0091] S4012, based on the resistance coefficient meeting the preset convergence condition, an optimized counter-compensation pressure drop is determined.

[0092] Further, the resistance coefficient meets Formula Three, and Formula Three is: wherein, is the resistance coefficient in the k+1-th iteration, and η is a relaxation factor, is the gradient of the objective function.

[0093] The relationship between the anti-compensation pressure drop and the resistance coefficient satisfies Formula 2, which is:

[0094] ΔP=f(Q,C d )=C d Q 2 ,

[0095] Where ΔP is the counter-compensation pressure drop and Q is the volume flow rate.

[0096] S402 , based on the optimized anti-compensation pressure drop, adaptive anti-compensation is performed on the output data of the test bench simulation model.

[0097] It should be understood that in addition to flow rate, liquid level also requires countercompensation. In the actual test bench DCS system, the liquid level is positively compensated by calculating the fluid density at the measuring point by the temperature at the measuring point. Therefore, the test bench simulation model countercompensates the target area through density, so that the final value transmitted to the DCS system is the uncompensated liquid level. The above steps ensure the accuracy of the simulation bench simulation and minimize the distortion of the data transmitted to the DCS system.

[0098] S5, verify and improve the DCS system based on the calibrated test bench simulation model.

[0099] Furthermore, the DCS system is verified based on the calibrated test bench simulation model, including the following three aspects: PID closed-loop steady-state adjustment test of the DCS system; if the DCS system can return to stable parameters, the key phenomenon logic of the DCS system is verified; if the DCS system meets the key phenomenon logic verification conditions, the safety system locking logic of the DCS system is verified.

[0100] Specifically, the DCS system is verified and improved before the test in the real reactor, and the process includes a series of key measures: first, the PID closed loop steady state regulation test is carried out, the test bench simulation model is continuously run under steady state condition, and a disturbance is manually given to disturb the balance, and it is observed whether the DCS system can return to stable parameters over time, if it can, it is considered that the regulation is stable convergence, and the key phenomenon logic verification is carried out, the temperature and pressure rising PID power following mode is started, and the temperature rising rate and subcooling degree are manually set, and during the process, whether the subcooling degree is stably maintained within a certain range of the set value and whether the temperature rising rate gradually converges to the set value are concerned, and finally whether the safety system interlock logic is reasonable is verified, the steam generator drain valve is opened under the condition of simulated misoperation or device component failure, and the pump power control interlock is tested under the condition of low steam generator liquid level, and only after the above tests are completed, the DCS system can be put into operation in the real test bench.

[0101] S6, the test bench simulation model is simulated and tested under the working condition, and the design of the actual test bench is improved according to the test results.

[0102] Specifically, based on the test bench simulation model, a variety of calculation working conditions to be completed are simulated and tested, such as Figure 4 is a schematic diagram of the calculation results of the primary circuit pressure under the simulated accident working condition in one specific embodiment of the present application. In terms of structural design, by comparing the calculation results of the temperature and pressure of each part of the simulation model under the steady state running condition with the design values, it is judged whether the local pressure drop caused by the geometric structure of the actual test bench in some areas reaches the design expectation, so as to adjust the design of the geometric structure, the layout mode of the orifice plate and the like of the actual test bench; in terms of control verification, by changing the action sequence of the valves and pumps and the like in the simulation model, an optimization scheme is provided for the water filling, starting and the like of the actual test bench, the liquid level regulation in the process of temperature and pressure rising of the pressurizer is controlled in the simulation model, and the risks of the design of the actual test bench are known in advance; in terms of construction, by simulating and calculating the accident working condition, it is judged whether the construction materials and process can withstand the stress caused by the pressure change, and according to the test results, the design scheme, the construction materials and the test scheme of the actual test bench can be improved.

[0103] It should be noted that, for the foregoing method embodiments, in order to simply describe, they are all expressed as a series of action combinations, but those skilled in the art should know that the present application is not limited by the action sequence described, because according to the present application, certain steps can be performed in other sequences or simultaneously. Secondly, those skilled in the art should know that the embodiments described in the specification all belong to preferred embodiments, and the actions and modules involved are not necessarily necessary for the present application.

[0104] According to another aspect of the embodiment of the present application, the present invention also provides a device for improving a test bench. Figure 5 As shown, the device includes: an establishment module 501, a docking module 502, an acquisition module 503, an anti-compensation module 504, a verification module 505 and a testing module 506. The functions of each module will be introduced in detail below.

[0105] Establish module 501 for building a test bench simulation model.

[0106] The docking module 502 is used to dock the test bench simulation model with the actual test bench and establish a data interaction group.

[0107] The acquisition module 503 is used to acquire the output data of the test bench simulation model and the output data of the actual test bench.

[0108] The decompensation module 504 is configured to adaptively decompensate the output data of the test bench simulation model based on the data interaction group, the output data of the test bench simulation model, and the output data of the actual test bench, so as to calibrate the test bench simulation model.

[0109] The verification module 505 is used to verify and improve the DCS system based on the calibrated test bench simulation model.

[0110] The testing module 506 is used to perform a working condition simulation test on the test bench simulation model and improve the design of the actual test bench according to the test results.

[0111] Furthermore, a test bench simulation model is built, including:

[0112] Develop a visual simulation platform with DCS system interface.

[0113] Build a test bench simulation model in the visual simulation platform.

[0114] Furthermore, the visual simulation platform includes: a DCS data interaction module and an operation control module, and the DCS data interaction module is provided with a DCS system interface.

[0115] Furthermore, the DCS system interface includes a three-level structure consisting of a test bench simulation model, an operation control module and a DCS system, and data access and control of the actual test bench are achieved based on the three-level structure.

[0116] Furthermore, the interactive process corresponding to data access and actual test bench control is realized based on the three-level structure, including:

[0117] The data in the memory array of the test bench simulation model calculation program is transmitted to the operation control module through the IPC pipeline. The data of the operation control module is transmitted to the DCS system through Websocket to realize the control of the actual test bench.

[0118] The data of the DCS system is transmitted to the operation control module through Websocket, and then written into the computer program memory through the IPC pipeline of the operation control module to realize data access.

[0119] Furthermore, the data interaction group is used to completely map the data measurement points of the test bench simulation model with the actual test bench control points. The mapping range includes: the controlled equipment and display parameters in the test bench simulation model and the actual test bench. The equipment includes one or more of valves, pump components and averaging heating systems. The display parameters include one or more of temperature, pressure, flow, pressure difference, liquid level and percentage feedback.

[0120] Furthermore, the output data of the test bench simulation model includes a counter-compensated pressure drop, and the output data of the actual test bench includes a measured pressure drop. Based on the data interaction group, the output data of the test bench simulation model, and the output data of the actual test bench, adaptive counter-compensation is performed on the output data of the test bench simulation model, including:

[0121] Based on the counter-compensation pressure drop and the measured pressure drop, the counter-compensation pressure drop is optimized through a preset objective function to determine the optimized counter-compensation pressure drop.

[0122] Based on the optimized anti-compensation pressure drop, adaptive anti-compensation is performed on the output data of the test bench simulation model.

[0123] Furthermore, the preset objective function is expressed by Formula 1, which is:

[0124]

[0125] Among them, min J(C d ) is the objective function value, w i is the weight coefficient, ΔP DCS,i is the measured pressure drop of the i-th working condition, f(Q i ,C d ) is the counter-compensation voltage drop.

[0126] Furthermore, the anti-compensation voltage drop is determined by Formula 2, which is:

[0127] ΔP=f(Q,C d )=C d Q 2 ,

[0128] Among them, C dCf is the drag coefficient, and Q is the volume flow rate.

[0129] Further, based on the anti-compensation pressure drop and the measured pressure drop, the anti-compensation pressure drop is optimized through a preset target function to determine the optimized anti-compensation pressure drop, comprising:

[0130] The anti-compensation pressure drop is optimized through the preset target function until the preset target function meets a preset convergence condition.

[0131] Based on the drag coefficient meeting the preset convergence condition, the optimized anti-compensation pressure drop is determined.

[0132] Further, the preset target function meets the preset convergence condition, comprising: when the preset target function meets |J (k +1) -J (k) |<∈ and / or k≥K max , the preset target function meets the preset convergence condition and reaches a convergence state, wherein ∈ is a convergence judgment value, J (k+1) , J (k) are target function values corresponding to the k+1th iteration and the kth iteration respectively, and K max is a maximum iteration number.

[0133] Further, the drag coefficient meets formula three, and formula three is:

[0134] wherein, is the drag coefficient in the k+1th iteration, η is a relaxation factor, and is a gradient of the target function.

[0135] Further, the DCS system is verified based on the calibrated test bench simulation model, comprising:

[0136] The DCS system is tested for PID closed-loop steady-state adjustment.

[0137] If the DCS system can return to stable parameters, the DCS system is verified for key phenomenon logic.

[0138] If the DCS system meets the key phenomenon logic verification condition, the DCS system is verified for safety system interlock logic.

[0139] The present application has important significance for the construction work of the test bench, the test scheme design and the operation and maintenance work.

[0140] In the embodiments of the present application, the term "module" or "unit" refers to a computer program or a part of a computer program that has a predetermined function and works together with other related parts to achieve a predetermined goal, and can be implemented in whole or in part by using software, hardware (such as processing circuits or memories) or a combination thereof. Similarly, a processor (or multiple processors or memories) can be used to implement one or more modules or units. In addition, each module or unit can be part of an overall module or unit that includes the function of the module or unit.

[0141] Regarding the apparatus in the above embodiment, the specific manner in which each module performs operations has been described in detail in the embodiment of the method, and will not be elaborated here.

[0142] According to one aspect of the present application, a computer program product is provided, which includes a computer program.

[0143] The serial numbers of the above embodiments of the present application are for description only and do not represent the advantages or disadvantages of the embodiments.

[0144] Figure 6 The block diagram schematically shows a computer system structure of an electronic device used to implement an embodiment of the present application.

[0145] It should be noted that Figure 6 The computer system 1100 of the electronic device shown is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present application.

[0146] like Figure 6 As shown, the computer system 1100 includes a central processing unit 1101 (CPU), which can perform various appropriate actions and processes according to the program stored in the read-only memory 1102 (ROM) or the program loaded from the storage part 1108 into the random access memory 1103 (RAM). Various programs and data required for system operation are also stored in the random access memory 1103. The central processing unit 1101, the read-only memory 1102 and the random access memory 1103 are connected to each other via a bus 1104. An input / output interface 1105 (i.e., an I / O interface) is also connected to the bus 1104.

[0147] The following components are connected to the input / output interface 1105: an input part 1106 including a keyboard, a mouse, and the like; an output part 1107 including a display such as a Cathode Ray Tube (CRT), a Liquid Crystal Display (LCD), and the like, and a speaker, and the like; a storage part 1108 including a hard disk, and the like; and a communication part 1109 including a network interface card such as a local area network card, a modem, and the like. The communication part 1109 performs communication processing via a network such as the Internet. A drive 1110 is also connected to the input / output interface 1105 as necessary. A removable media 1111 such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, and the like is attached to the drive 1110 as necessary, so that a computer program read out therefrom is installed in the storage part 1108 as necessary.

[0148] In particular, according to embodiments of the present application, the processes described in the various method flowcharts can be implemented as a computer software program. For example, embodiments of the present application include a computer program product comprising a computer program carried on a computer readable medium, the computer program containing program code for executing the methods illustrated in the flowcharts. In such embodiments, the computer program can be downloaded and installed from a network via the communication part 1109, and / or installed from the removable media 1111. When the computer program is executed by the central processing unit 1101, various functions defined in the system of the present application are performed.

[0149] In such embodiments, the computer program can be downloaded and installed from a network via the communication part 1109, and / or installed from the removable media 1111. When the computer program is executed by the central processing unit 1101, various functions provided by embodiments of the present application are performed.

[0150] According to yet another aspect of embodiments of the present application, an electronic device for improving a test bench is also provided. Embodiments of the present application are described below with reference to this electronic device as an example of a terminal device. As shown in FIG. 12, the electronic device includes a memory 1202 and a processor 1204, the memory 1202 storing a computer program, and the processor 1204 being configured to execute the steps of any of the method embodiments described above by means of the computer program. Figure 7

[0151] Optionally, in the present embodiment, the above-mentioned electronic device can be located in at least one of a plurality of network devices of a computer network.

[0152] Optionally, in the present embodiment, the above-mentioned processor can be configured to execute the method in the embodiments of the present application by means of the computer program.

[0153] ​Alternatively, those skilled in the art will appreciate that Figure 7 The structure shown is for illustration only. Figure 7 It does not limit the structure of the above electronic device. For example, the electronic device may also include Figure 7 More or fewer components (such as network interfaces, etc.) as shown in, or with Figure 7 Different configurations shown.

[0154] Among them, the memory 1202 can be used to store software programs and modules, such as program instructions / modules corresponding to a method and device for improving a test bench in an embodiment of the present application. The processor 1204 executes various functional applications and data processing by running the software programs and modules stored in the memory 1202, that is, realizing the above-mentioned method for improving a test bench. The memory 1202 may include a high-speed random access memory, and may also include a non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some instances, the memory 1202 may further include a memory remotely located relative to the processor 1204, and these remote memories may be connected to the terminal via a network. Examples of the above-mentioned networks include but are not limited to the Internet, corporate intranets, local area networks, mobile communication networks, and combinations thereof. Among them, the memory 1202 can be used specifically, but not limited to, to store data group information. As an example, such as Figure 7 As shown, the memory 1202 may include, but is not limited to, the establishment module 501, docking module 502, acquisition module 503, decompensation module 504, verification module 505, and testing module 506 of the apparatus for improving a test bench. Furthermore, the memory 1202 may also include, but is not limited to, other module units of the apparatus described above, which will not be described in detail in this example.

[0155] Optionally, the transmission device 1206 is configured to receive or send data via a network. Specific examples of the network may include a wired network and a wireless network. In one embodiment, the transmission device 1206 includes a network interface controller (NIC), which can be connected to other network devices and a router via a network cable to communicate with the Internet or a local area network. In one embodiment, the transmission device 1206 is a radio frequency (RF) module, which is configured to communicate with the Internet wirelessly.

[0156] In addition, the electronic device further includes: a display 1208 for displaying the data group and interactive data; and a connection bus 1210 for connecting various module components in the electronic device.

[0157] In other embodiments, the terminal device or the server described above can be a node in a distributed system, where the distributed system can be a blockchain system, which can be a distributed system formed by the plurality of nodes connected through network communication. The nodes can form a peer-to-peer network, and any form of computing device, such as a server, a terminal, or an electronic device, can become a node in the blockchain system by joining the peer-to-peer network.

[0158] According to an aspect of the present disclosure, a computer readable storage medium is provided, and a processor of an electronic device reads the computer instructions from the computer readable storage medium. The processor executes the computer instructions to cause the electronic device to perform a method for improving a test bench provided in various optional implementations of the aspect.

[0159] Optionally, in the embodiment, the computer readable storage medium described above can be configured to store the computer instructions for executing the method in the embodiments of the present disclosure.

[0160] Optionally, in the embodiment, a person of ordinary skill in the art can understand that all or part of the steps in the various methods of the above-described embodiments can be completed by programs instructing the hardware of the terminal device, and the programs can be stored in a computer readable storage medium, which can include a flash disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, and the like.

[0161] The serial numbers of the embodiments of the present disclosure are only for description, and do not represent the advantages or disadvantages of the embodiments.

[0162] The integrated units in the above-described embodiments, if realized in the form of software function units and sold or used as independent products, can be stored in the computer readable storage medium described above. Based on such understanding, the technical solutions of the present disclosure, essentially or the part that contributes to the prior art, or all or part of the technical solutions can be embodied in the form of a software product. The computer software product is stored in a storage medium, and includes a number of instructions to make one or more electronic devices execute all or part of the steps of the methods described in the embodiments of the present disclosure.

[0163] In the above-described embodiments of the present disclosure, the description of each embodiment has its own focus, and the parts not described in detail in a certain embodiment can be referred to the relevant description of other embodiments.

[0164] In the several embodiments provided in this application, it should be understood that the disclosed applications can be implemented in other ways. Among them, the device embodiments described above are only schematic. For example, the division of the units is only a logical function division. In actual implementation, there may be other division methods, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of units or modules, which can be electrical or other forms.

[0165] The units described as separate components may or may not be physically separate, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed across multiple network units. Some or all of these units may be selected to achieve the purpose of this embodiment according to actual needs.

[0166] In addition, the functional units in the various embodiments of the present application may be integrated into a single processing unit, or each unit may exist physically separately, or two or more units may be integrated into a single unit. The aforementioned integrated units may be implemented in the form of hardware or software functional units.

[0167] The foregoing description is merely a preferred embodiment of the present invention and is not intended to limit the present invention. Those skilled in the art will readily appreciate that various modifications and variations of the present invention are possible. Any modifications, equivalent substitutions, or improvements made within the spirit and principles of the present invention are intended to be within the scope of protection of the present invention.

[0168] In summary, it can be seen from the above description that the above embodiments of the present invention achieve the following technical effects:

[0169] 1. The present invention realizes data mapping between the test bench simulation model and the actual test bench by establishing a data interaction group between the test bench simulation model and the actual test bench. Based on the established data interaction group, the output data of the test bench simulation model and the output data of the actual test bench, the output data of the test bench simulation model is adaptively compensated to ensure the accuracy of the simulation of the test bench simulation model and reduce the distortion of the data transmitted to the DCS. The calibrated test bench simulation model can verify and improve the DCS system, and guide the rapid iterative analysis and optimization and upgrading of the test bench debugging process plan and the test process plan, thereby reducing the construction cost and maintenance cost of the physical test bench, shortening the construction period of the test bench, and improving the construction efficiency and quality of the physical test.

[0170] 2. The present invention proposes to establish a visual simulation platform with a DCS system interface. Through this simulation platform, data can be exchanged with the real test bench with the help of the DCS system, thereby providing improvement suggestions for the construction of the test bench, test plan design and operation and maintenance work, and can guide the safety system more comprehensively, effectively and efficiently.

[0171] 3. The present invention proposes to optimize the back-compensating pressure drop based on the back-compensating pressure drop and the measured pressure drop through a preset objective function, determine the optimized back-compensating pressure drop, and adaptively back-compensate the output data of the test bench simulation model based on the optimized back-compensating pressure drop. This method can significantly improve the accuracy of the simulation model, make its output results closer to the actual operating conditions, and effectively reduce the simulation deviation caused by pressure drop error. The optimized back-compensating pressure drop can improve the overall performance of the system and enhance the reliability and practicality of the test bench during the design, debugging and optimization process.

[0172] It should be noted that, in this document, relational terms such as first and second, etc., are used only to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any actual relationship or order between these entities or operations. Moreover, the terms "comprises," "comprising," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or device comprising a series of elements includes not only those elements, but also other elements not explicitly listed, or elements inherent to such process, method, article, or device. In the absence of further limitations, an element defined by the phrase "comprising a ..." does not exclude the presence of other identical elements in the process, method, article, or device comprising the element.

[0173] It should be noted that, in the description of this specification, the reference terms "one embodiment", "some embodiments", "example", "specific example", or "some examples" mean that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present invention. In this specification, the schematic expressions of the above terms do not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described can be combined in any one or more embodiments or examples in a suitable manner. In addition, those skilled in the art can combine and combine different embodiments or examples described in this specification and the features of different embodiments or examples, unless they are contradictory.

Claims

1. A method for improving a test bench, characterized in that include: Build a test bench simulation model; Connecting the test bench simulation model with the actual test bench and establishing a data interaction group; Obtaining output data of the test bench simulation model and output data of the actual test bench; Based on the data interaction group, the output data of the test bench simulation model and the output data of the actual test bench, adaptively decompensate the output data of the test bench simulation model to calibrate the test bench simulation model; Verify and improve the DCS system based on the calibrated test bench simulation model; A working condition simulation test is performed on the test bench simulation model, and the design of the actual test bench is improved according to the test results.

2. The method according to claim 1, characterized in that Build a test bench simulation model, including: Develop a visual simulation platform with DCS system interface; The test bench simulation model is built in the visual simulation platform.

3. The method according to claim 2, characterized in that The visual simulation platform includes: a DCS data interaction module and an operation control module. The DCS data interaction module is provided with a DCS system interface.

4. The method according to claim 3, characterized in that The DCS system interface includes a three-level structure consisting of the test bench simulation model, the operation control module and the DCS system, and data access and control of the actual test bench are achieved based on the three-level structure.

5. The method according to claim 4, characterized in that The interactive process corresponding to data access and control of the actual test bench based on the three-level structure includes: The data in the memory array of the test bench simulation model calculation program is transmitted to the operation control module through the IPC pipeline, and the data of the operation control module is transmitted to the DCS system through Websocket to realize the control of the actual test bench; The data of the DCS system is transmitted to the operation control module via Websocket, and then written into the computing program memory via the IPC pipeline of the operation control module to realize data access.

6. The method according to claim 1, characterized in that The data interaction group is used to completely map the data measurement points of the test bench simulation model with the control points of the actual test bench. The mapping range includes: the controlled equipment and display parameters in the test bench simulation model and the actual test bench, the equipment including one or more of valves, pump components and averaging heating systems, and the display parameters including one or more of temperature, pressure, flow, pressure difference, liquid level and percentage feedback.

7. The method according to any one of claims 1 to 6, characterized in that The output data of the test bench simulation model includes a counter-compensated pressure drop, and the output data of the actual test bench includes a measured pressure drop. Based on the data interaction group, the output data of the test bench simulation model, and the output data of the actual test bench, adaptive counter-compensation is performed on the output data of the test bench simulation model, including: Based on the counter-compensation pressure drop and the measured pressure drop, optimizing the counter-compensation pressure drop by using a preset objective function to determine an optimized counter-compensation pressure drop; Based on the optimized anti-compensation pressure drop, adaptive anti-compensation is performed on the output data of the test bench simulation model.

8. The method according to claim 7, characterized in that The preset objective function is expressed by Formula 1, which is: Among them, min J(C d ) is the objective function value, w i is the weight coefficient, ΔP DCS,i is the measured pressure drop of the i-th working condition, f(Q i ,C d ) is the counter-compensation voltage drop.

9. The method according to claim 8, characterized in that The anti-compensation voltage drop is determined by Formula 2, which is: ΔP=f(Q,C d )=C d ·Q 2 , Among them, C d is the resistance coefficient, and Q is the volume flow rate.

10. The method according to claim 8 or 9, characterized in that Based on the counter-compensation pressure drop and the measured pressure drop, optimizing the counter-compensation pressure drop by using a preset objective function to determine an optimized counter-compensation pressure drop includes: Optimizing the anti-compensation voltage drop by using a preset objective function until the preset objective function satisfies a preset convergence condition; Based on the resistance coefficient that meets the preset convergence condition, an optimized anti-compensation pressure drop is determined.

11. The method according to claim 10, characterized in that The preset objective function satisfies the preset convergence condition, including: when the preset objective function satisfies |J (k+1) -J (k) |<∈ and / or k≥K max When the preset objective function satisfies the preset convergence condition and reaches the convergence state, where ∈ is the convergence judgment value, J (k+1) 、J (k) are the objective function values ​​corresponding to the k+1th and kth iterations, respectively. max is the maximum number of iterations.

12. The method according to claim 11, characterized in that The resistance coefficient satisfies Formula 3, which is: in, is the drag coefficient in the k+1th iteration, η is the relaxation factor, is the gradient of the objective function.

13. The method according to claim 1, wherein Validation of the DCS system based on a calibrated test bench simulation model, including: Performing a PID closed-loop steady-state adjustment test on the DCS system; If the DCS system can return to stable parameters, perform key phenomenon logic verification on the DCS system; If the DCS system meets the key phenomenon logic verification conditions, the safety system locking logic verification is performed on the DCS system.

14. A device for improving a test bench, characterized in that: include: Establish modules for building test bench simulation models; A docking module, used to connect the test bench simulation model with the actual test bench and establish a data interaction group; An acquisition module, configured to acquire output data of the test bench simulation model and output data of the actual test bench; a decompensation module, configured to adaptively decompensate the output data of the test bench simulation model based on the data interaction group, the output data of the test bench simulation model, and the output data of the actual test bench, so as to calibrate the test bench simulation model; Verification module, used to verify and improve the DCS system based on the calibrated test bench simulation model; The test module is used to perform a working condition simulation test on the test bench simulation model and improve the design of the actual test bench according to the test results.

15. A computer-readable storage medium, characterized in that The computer-readable storage medium includes a stored computer program, wherein the computer program can be executed by an electronic device to perform the method according to any one of claims 1 to 13.

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

17. An electronic device comprising a memory and a processor, characterized in that: A computer program is stored in the memory, and the processor is configured to execute the method according to any one of claims 1 to 13 through the computer program.

Citation Information

Patent Citations

  • Overall performance test platform for passive reactor core cooling system of large advanced pressurized water reactor nuclear power plant

    CN109765067A