Simulator-based nuclear reactor control model simulation method, simulator and equipment

By configuring a simulator in the nuclear reactor control model design software, seamless integration of simulation operations is achieved, solving the problems of complexity and high cost caused by the independent operation of simulation software such as Simulink, and improving the efficiency and accuracy of the simulation process.

CN120909699APending Publication Date: 2025-11-07NUCLEAR POWER INSTITUTE OF CHINA
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510814786.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-06-18
Publication Date
2025-11-07

AI Technical Summary

Technical Problem

Existing simulation software such as Simulink are stand-alone systems, making it difficult to deeply integrate with nuclear reactor control model design software. This results in high complexity of the development process, high data transmission costs, and poor information transfer between model design and simulation verification, leading to inconsistent results.

Method used

A simulator is configured in the design software of the nuclear reactor control model. The simulation control management module realizes simulation initialization, model loading, simulation parameter acquisition, model running and result generation. The simulation results are directly displayed in the design software using interface services, reducing software switching and data conversion.

Benefits of technology

It reduces operational complexity and data transmission costs during the development process, reduces the risk of human error, and improves the smoothness and efficiency of the simulation process.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120909699A_ABST
    Figure CN120909699A_ABST
Patent Text Reader

Abstract

The invention discloses a nuclear reactor control model simulation method based on a simulator, the simulator and equipment, relates to the technical field of nuclear reactor simulation modeling, and not only greatly reduces the operation complexity in the development process, reduces the data error risk caused by manual misoperation, but also reduces the data redundancy and transmission quantity, and improves the development efficiency. And the smoothness and efficiency of the whole simulation process are improved. The simulator is configured in design software of a nuclear reactor control model, the simulator comprises a simulation control management module, and the method comprises the following steps: in response to a simulation operation request, the simulation control management module performs simulation initialization and loads a nuclear reactor simulation control model to be operated; the simulation control management module obtains model simulation parameters and operates the nuclear reactor simulation control model by referring to the model simulation parameters so as to start the simulation process; when it is detected that the simulation process is finished, the simulation control management module generates a simulation result and transmits the simulation result to the software management tool based on the interface service.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present application relates to the technical field of nuclear reactor simulation modeling, in particular to a simulator, a nuclear reactor control model simulation method and equipment based on the simulator. BACKGROUND

[0002] In the development practice of nuclear reactor control system software, the traditional technical scheme has long relied on structured programming and object-oriented development methods. Although this kind of engineering means based on text code can meet the basic functional requirements, it still faces problems such as high development cost and great maintenance difficulty. In particular, in the field of safety-critical systems, delays or quality problems in software development may cause serious safety hazards. To break through the above technical difficulties, the model-driven development (MDD) method emerges as the times require. The MDD method takes the model as the core and develops control software through a series of processes such as graphical model design, automated verification and code generation. In the development process, developers do not need to directly write a large number of underlying codes, but focus on building graphical models that accurately describe system requirements, and then use automated tools to convert the models into executable codes. Not only does this shorten the development cycle, but also effectively improves the development quality and efficiency and reduces the risk of human error through the automated verification and code generation mechanism of the model. Due to its significant advantages in improving development efficiency and ensuring software quality, the MDD method has been widely used in the development of safety-critical systems such as nuclear reactor control and aircraft control, which have high requirements for safety and reliability.

[0003] In related technologies, a design software for nuclear reactor control models is developed based on the MDD technology. The software provides a graphical interface to facilitate developers to intuitively design control models. Then, a code generator that has been formally verified is used to first convert the graphical model into a synchronous data flow language, and then convert the synchronous data flow language into C program source code, realizing efficient development of reactor control algorithm models. After the model data conversion is completed, a simulation tool such as Simulink is usually used for model simulation to further verify the performance and function of the model.

[0004] However, the applicant realizes that existing simulation software such as Simulink is an independent system that only supports simulation of the converted model, and it is difficult to be deeply integrated with the design software, and it is impossible to realize direct and efficient simulation operation in the environment of the design software. This not only increases the operation complexity and data transmission cost in the development process, but also may cause problems such as poor information transmission and inconsistent results between model design and simulation verification, affecting the smoothness and efficiency of the entire simulation process. SUMMARY

[0005] Therefore, the application provides a nuclear reactor control model simulation method based on a simulator, a simulator and equipment, and mainly aims to solve the problem that the existing simulation software such as Simulink is an independent system, only supports simulation of a converted model, is difficult to be deeply integrated with design software, cannot realize direct and efficient simulation operation in the environment of the design software, increases operation complexity and data transmission cost in the development process, and may cause problems such as poor information transmission and inconsistent results between model design and simulation verification, thereby affecting the smoothness and efficiency of the entire simulation process.

[0006] According to a first aspect of the application, a nuclear reactor control model simulation method based on a simulator is provided, the simulator is configured in design software of a nuclear reactor control model, and the simulator includes a simulation control management module. The method includes the following steps. In response to a simulation running request, the simulation control management module performs simulation initialization, loads a nuclear reactor simulation control model to be run, and the simulation running request is transmitted to the simulator by a software management tool of the design software through a preset interface service between the simulator. The simulation control management module obtains model simulation parameters, refers to the model simulation parameters, runs the nuclear reactor simulation control model, and starts a simulation process. When it is detected that the simulation process is ended, the simulation control management module generates a simulation result, transmits the simulation result to the software management tool based on the interface service, and enables the software management tool to visually display the simulation result.

[0007] According to a second aspect of the application, a simulator is provided, which is configured in design software of a nuclear reactor control model, and includes a simulation control management module. The simulation control management module is configured to perform simulation initialization in response to a simulation running request, load a nuclear reactor simulation control model to be run, obtain model simulation parameters, refer to the model simulation parameters, run the nuclear reactor simulation control model, start a simulation process, generate a simulation result when it is detected that the simulation process is ended, transmit the simulation result to the software management tool based on the interface service, and enable the software management tool to visually display the simulation result. The simulation running request is transmitted to the simulator by a software management tool of the design software through a preset interface service between the simulator.

[0008] According to a third aspect of the application, a computer device is provided, which includes a memory and a processor. The memory stores a computer program, and the processor implements the steps of the method in any one of the first aspect when executing the computer program.

[0009] According to a fourth aspect of the present application, a computer readable storage medium is provided, having stored thereon a computer program which, when executed by a processor, implements the steps of the method according to any one of the first aspect.

[0010] By means of the above technical solution, the present application provides a nuclear reactor control model simulation method based on a simulator, a simulator and equipment. The simulator is configured in design software of a nuclear reactor control model. The simulator includes a simulation control management module. In response to a simulation running request transmitted by a software management tool of the design software through a preset interface service between the simulator, the simulation control management module performs simulation initialization, loads a nuclear reactor simulation control model to be run, acquires model simulation parameters, refers to the model simulation parameters, runs the nuclear reactor simulation control model, so that a simulation process starts. When it is detected that the simulation process ends, a simulation result is generated. The simulation result is transmitted to the software management tool based on the interface service, so that the software management tool visually displays the simulation result. By integrating the software management tool and the simulator in the design software, simulation operations can be directly initiated in the design software environment without frequent switching between different software and complex model conversion. Moreover, model data does not need to be exported and imported for multiple times. Not only does this greatly reduce the operation complexity in the development process and reduce the risk of data errors caused by human operation errors, but also significantly reduces data transmission costs, reduces data redundancy and transmission volume, and improves the smoothness and efficiency of the entire simulation process.

[0011] The above description is only a summary of the technical solutions of the present application. In order to enable one skilled in the art to better understand the technical means of the present application, the content of the specification can be implemented, and in order to enable the above and other purposes, features and advantages of the present application to be more obvious and easy to understand, the following specific embodiments of the present application are described. BRIEF DESCRIPTION OF DRAWINGS

[0012] Various other advantages and benefits will become apparent to those of ordinary skill in the art upon reading the following detailed description of the preferred embodiments. The accompanying drawings are included to provide a description of the preferred embodiments and are not meant to limit the present application. Moreover, the same reference numerals are used throughout the various drawings to designate the same or similar parts. In the drawings: Figure 1 A flowchart of a nuclear reactor control model simulation method based on a simulator according to an embodiment of the present application is shown; Figure 2A An architecture diagram of design software of a nuclear reactor control model according to an embodiment of the present application is shown; Figure 2B A schematic diagram of a nuclear reactor control model simulation method based on a simulator according to an embodiment of the present application is shown; Figure 2C A module division schematic diagram of a simulator provided by an embodiment of the present application is shown. Figure 2D A relationship schematic diagram between modules in a simulator provided by an embodiment of the present application is shown. Figure 2E An MVC layered architecture schematic diagram of a simulator provided by an embodiment of the present application is shown. Figure 3A Another simulation method flow schematic diagram of a nuclear reactor control model based on a simulator provided by an embodiment of the present application is shown. Figure 3B A model loading flow schematic diagram provided by an embodiment of the present application is shown. Figure 3C A simulation running flow schematic diagram provided by an embodiment of the present application is shown. Figure 3D A simulation result collection schematic diagram provided by an embodiment of the present application is shown. Figure 3E A simulator control flow schematic diagram provided by an embodiment of the present application is shown. Figure 4 An apparatus structure schematic diagram of a computer device provided by an embodiment of the present application is shown. DETAILED DESCRIPTION

[0013] Exemplary embodiments of the present application will be described in greater detail below with reference to the accompanying drawings. Although exemplary embodiments of the present application are shown in the drawings, it is understood that the present application can be implemented in various forms and should not be limited by the embodiments set forth herein. Rather, these embodiments are provided so that the present application can be more thoroughly understood and so that the scope of the present application can be completely conveyed to those skilled in the art.

[0014] An embodiment of the present application provides a nuclear reactor control model simulation method based on a simulator, as shown in the figure, the method comprises: Figure 1 101, in response to a simulation running request, the simulation control management module performs simulation initialization and loads a nuclear reactor simulation control model to be run.

[0015] In the nuclear reactor design and development process, the traditional simulation software independently running mode makes the designer need to go through tedious model format conversion, data export and import and other operations to carry out simulation after completing the preliminary modeling in the design software, which undoubtedly increases the development complexity and data transmission cost. Therefore, an embodiment of the present application proposes a nuclear reactor control model simulation method based on a simulator, which realizes seamless docking of model design and simulation process by configuring a simulator in the design software of the nuclear reactor control model. ​

[0016] The design software provides a user at the front end, such as a designer, with an access page, such as a simulation operation panel, and provides a button for starting a simulation function on the access page, and when the design software detects that the user triggers the button, it determines that the user requests to run a simulation and generates a simulation running request.

[0017] Further, the design software is configured with a software management tool, which is a tool for editing a model and generating code, and can specifically include a model editing software and a code generation part. In the embodiment of the present application, an interface service is preset between the software management tool and the simulator, the interface service is constructed based on a mature network communication protocol (such as the TCP / IP protocol), and the format, rules and processes of data interaction between the two parties are specified, so that after detecting the simulation running request, the software management tool transmits the simulation running request to the simulator through the preset interface service between the software management tool and the simulator.

[0018] After the simulator receives the simulation running request, in response to the simulation running request, a simulation control management module in the simulator immediately starts simulation initialization work, such as allocating necessary memory resources (for example, allocating 2GB of memory space according to the complexity of the model) for simulation calculation, initializing the simulation clock (setting the clock value to the simulation start time), and clearing the old simulation data cache that may exist, to create a clean and stable running environment for subsequent model loading and running.

[0019] Since the software management tool in the design software undertakes the work of editing the model, the simulation control management module will then determine the nuclear reactor simulation control model to be run and load it according to the instructions of the software management tool, completing the preparation work for the simulation process. In this way, by integrating the software management tool and the simulator in the design software, the simulation operation can be directly initiated in the design software environment, without the need to frequently switch between different software and perform complex model conversion, greatly reducing the operation complexity in the development process and reducing the risk of data errors caused by human operation errors. Moreover, because the model data does not need to be exported and imported multiple times, the data transmission cost can also be significantly reduced, and the data redundancy and transmission volume can also be reduced.

[0020] 102、The simulation control management module obtains model simulation parameters, and runs the nuclear reactor simulation control model with reference to the model simulation parameters, so that the simulation process starts.

[0021] In the embodiment of the present application, after the simulation initialization and model loading are completed, in order to enable the nuclear reactor simulation control model to accurately simulate the actual running condition, the corresponding model simulation parameters need to be obtained, which cover the initial state, running condition and control strategy of the reactor and other aspects, and are key factors that determine the model running behavior and output result.

[0022] After the simulation control management module obtains the model simulation parameters, the model simulation parameters are applied to the loaded nuclear reactor simulation control model. When all the parameters are correctly applied to the model, the simulation control management module formally starts the running of the nuclear reactor simulation control model to make the nuclear reactor simulation control model run in reference to the model simulation parameters. In this way, by obtaining accurate model simulation parameters and running the model, accurate simulation of the nuclear reactor under different working conditions is realized, the running state and performance of the reactor are understood in time, and rapid iteration and optimization of the model design are realized.

[0023] 103、In detection of the end of the simulation process, the simulation control management module generates simulation results, and transmits the simulation results to the software management tool based on the interface service, so that the software management tool visually displays the simulation results.

[0024] In the embodiment of the present application, when the simulation process is detected to end, for example, the preset simulation time is reached, the model reaches a stable state or a specific termination condition occurs, the simulation control management module needs to arrange and analyze the data recorded in the simulation process to generate the final simulation results.

[0025] After the simulation results are generated, the simulation control management module will transmit the simulation results to the software management tool of the design software according to the protocol of the interface service. After the software management tool receives the simulation results, the visualization display function is started, for example, for time series data such as temperature and pressure changing with time, a line chart or a curve chart is used for display, so that the designer can intuitively observe the change trend of the data; for spatial distribution data such as pressure distribution and temperature distribution, a contour map, a heat map or a three-dimensional model diagram is used for display, to help users understand the physical quantity distribution inside the reactor from different angles.

[0026] By generating simulation results and visually displaying, the embodiment of the present application can realize fast and intuitive interaction between the simulation results and the user. The user does not need to spend a lot of time to interpret complex data tables, but only needs to observe intuitive graphics to quickly understand the effect of reactor simulation, find potential problems and deficiencies, greatly improve the user's understanding and analysis ability of simulation data, help to make decisions faster, optimize model design, and thus improve the smoothness and efficiency of the entire simulation process, and ensure the quality and safety of the nuclear reactor design.

[0027] The method provided by the embodiment of the application is configured in design software of a nuclear reactor control model, the simulator includes a simulation control management module, in response to a simulation running request transmitted by a software management tool of the design software through a preset interface service between the simulator, the simulation control management module performs simulation initialization, loads a nuclear reactor simulation control model to be run, acquires model simulation parameters, refers to the model simulation parameters, runs the nuclear reactor simulation control model, so that a simulation process starts, when it is detected that the simulation process ends, a simulation result is generated, the simulation result is transmitted to the software management tool based on the interface service, so that the software management tool visually displays the simulation result, by integrating the software management tool and the simulator in the design software, simulation operation can be directly initiated in the design software environment, without frequent switching between different software and complex model conversion, and model data does not need to be exported and imported for multiple times, not only greatly reducing operation complexity in the development process and reducing the risk of data errors caused by human operation errors, but also significantly reducing data transmission cost, reducing data redundancy and transmission amount, and improving smoothness and efficiency of the entire simulation process.

[0028] Before the technical solution of the application is explained in detail, the design software of the nuclear reactor control model and the simulator involved in the technical solution of the application are introduced: I. Design software of the nuclear reactor control model

[0029] As shown in Figure 2A The design software includes model editing software, code generation software, code compilation and adaptation software, a simulator, rule verification software, log processing software, and interface service software. Among them, the model editing software is used to create and edit the nuclear reactor control model; the code generation software is responsible for automatically generating corresponding code according to the nuclear reactor control model; the code compilation and adaptation software is used to compile the generated code into a program that can run on a specific platform; the simulation software is used to provide a simulation environment to test and verify the control logic of the nuclear reactor control model; the rule verification software is used to verify whether the control logic of the design software system meets the predetermined rules; the log processing software is responsible for recording and processing log information in the running process of the design software; the interface service software is used to provide interface services with other systems or devices. These components cooperate with each other to form the complete architecture of the design software, providing comprehensive support for the design, development and testing of the design software.

[0030] It should be noted that in the embodiments of the present application, the model editing software and the code generation software constitute part of the model editing software and the code generation, that is, the software management tool mentioned in the embodiments. In actual application, the software management tool can be NCMDEG (Nuclear Control Model Design and Editing Generator), and the simulator part and the NCMDEG are two independent processes during the running of the design software. In order to facilitate the user to seamlessly switch between the model editing mode and the model simulation mode during the design process, the simulator and the NCMDEG need to be integrated on the UI interface. For the simulator part, it needs to provide interface services for the NCMDEG, receive the simulation commands, operation commands, target source data and function parameter information transmitted by the NCMDEG, and transmit them to the NCMDEG for simulation visualization. For the NCMDEG part, it needs to provide an interface for starting the simulator, support the transmission of parameter data of the control model executable program to the simulator, support the reception of simulation calculation results and simulation log information, and be used for simulation visualization. In addition, in order to realize the data interaction between the simulator and the NCMDEG, the simulator adopts the process intercommunication mode based on the message queue to realize the integration. For details, see Figure 2B The design software sends a message to the simulator, and the sent message is sent to the simulator through the message queue. The message can be a start message, a stop message, etc. If the sent message is a start message, the simulator itself starts the executable program of the control model and runs in the background in the form of an independent process. After the simulation calculation of the simulator is completed, the calculation results and log information are returned to the design software in the form of a message. When the message is returned, the message queue can also be used for sending, so that the design software receives the message. In this way, the user can locate the simulation log information through the log query interface provided by the NCMDEG part of the design software.

[0031] II. Simulator

[0032] The simulator is configured in the design software of the nuclear reactor control model, and the simulator includes a simulation control management module. The simulation control management module is configured to perform simulation initialization in response to a simulation running request, load a nuclear reactor simulation control model to be run, obtain model simulation parameters, refer to the model simulation parameters, run the nuclear reactor simulation control model to start the simulation process, generate a simulation result when it is detected that the simulation process is completed, and transmit the simulation result to a software management tool based on an interface service to enable the software management tool to visually display the simulation result. The simulation running request is transmitted to the simulator by the software management tool of the design software through a preset interface service between the software management tool and the simulator.

[0033] In another optional embodiment, as Figure 2CAs shown, the simulator further comprises a simulation instance management module, a system setting module, a simulation data management module and a help module. The simulation instance management module is configured to display an instance setting page, so that a user can perform a setting operation on the simulation instance on the instance setting page, and the simulation instance management module manages the instance parameters set by the user. The setting operation includes an operation positioning operation, a variable positioning operation, an initialization operation, a monitoring operation and a breakpoint setting operation of the simulation instance, and the instance parameters include local variables and custom operators of the simulation instance. In addition, the simulation instance management module also supports the user to create a custom simulation instance template, each template can preset model parameters and simulation parameters, so as to facilitate the rapid generation of similar simulation instances. At the same time, the simulation instance management module has a simulation instance version control function, which can record the modification history of the simulation instance, and ensure its reliability and repeatability. The system setting module is configured to display a system setting page, so that the user can set model simulation parameters on the system setting page, and the model simulation parameters include floating point precision parameters, waveform diagram sampling interval parameters, simulation time delay parameters, root operator parameters to be simulated, simulation calculation precision parameters and code generation options. The system setting module also provides a multi-thread configuration and memory management strategy setting function, and the user can perform personalized configuration according to hardware conditions and simulation requirements, so as to optimize the performance of the simulator. The simulation data management module is configured to display a preset simulation case template, to construct a simulation case based on the function input by the user on the simulation case template, and to store and manage the simulation case. The simulation data management module also has a simulation data backup and recovery function, which can automatically backup the simulation data regularly, and the user can conveniently recover to the historical data state; at the same time, the simulation data management module provides a simulation data search and screening function, and the user can quickly locate the required data through various conditions. The help module is configured to obtain a preset simulator help manual, and to display the simulator help manual. It should be noted that the simulation control management module is the core of the simulator, and in the simulation process, the simulation control management module will rely on other modules to realize the main functions of simulation execution, simulation instance management and data management, and specifically, as shown in Figure 2DAs shown, the simulation instance management module is responsible for functions such as new creation, modification, deletion of groups, and moving to groups, and provides basic chart management support for the simulator, while the simulation control management module relies on the simulation instance management module to implement management of the simulated algorithm model; the simulation control management module provides core control functions such as setting input, periodic delay setting, simulation running, stepping, backtracking, fast forwarding, fast backtracking, resetting, and stopping, relies on the simulation data management module to implement management of the simulation use case, and can be extended to the simulation data management module to support more complex data management requirements; the simulation data management module is responsible for functions such as generation and import of simulation use case templates and function input, and provides comprehensive data management support for the simulator; the system setting module provides dependent settings such as floating-point precision setting and waveform chart sampling interval setting for the simulation control management module, implements simulation environment setting and output display, and ensures the accuracy and stability of the simulator. In addition, the help module provides functions such as software usage instructions and software information, facilitates users to better use and maintain the simulation system, and the help module does not have an interactive relationship with other modules. These modules cooperate with each other to jointly constitute the complete architecture of the simulator, and provide comprehensive support for efficient execution of simulation tasks.

[0034] Further, in the embodiment of the present application, the MVC (Model-View-Controller, model-view-controller) layered architecture of the simulator is as shown in Figure 2E As shown, the simulator is divided into four layers, namely the UI layer, the logic control layer, the data processing layer, and the data layer. The UI layer is used to provide pages for interaction between the simulator and the user, and mainly includes a simulation instance browser, a simulation algorithm chart, a simulation session window, a monitoring window, a graphics window, and a simulation toolbar. The logic control layer is used to control the running of the simulator, and the running control of the simulator includes model compilation and calling, engineering data management, environment data management, simulation control, input data import, and output data export. The data processing layer is used to provide data processing operations for the simulator, and the data processed by the data processing operations includes configuration data, algorithm engineering data, and simulation data, such as input / output variables, simulation control parameters, simulation cache data, and breakpoint cache data (breakpoint conditions). The data layer is used to provide data storage services for the simulator, including.xml files, sqlite databases,.ini file data, and.C file data.

[0035] The simulator proposed in this embodiment is configured in the design software of a nuclear reactor control model. The simulator includes a simulation control management module. In response to a simulation run request transmitted by the software management tool of the design software through a preset interface service between the software management tool and the simulator, the simulation control management module performs simulation initialization, loads the nuclear reactor simulation control model to be run, obtains the model simulation parameters, and runs the nuclear reactor simulation control model with reference to the model simulation parameters to start the simulation process. When the simulation process is detected to be over, simulation results are generated, and the simulation results are transmitted to the software management tool based on the interface service so that the software management tool can visualize the simulation results. By integrating the software management tool and the simulator into the design software, simulation operations can be initiated directly in the design software environment without frequent switching between different software and complex model conversions. Furthermore, model data does not need to be exported and imported multiple times. This not only greatly reduces the operational complexity in the development process and reduces the risk of data errors caused by human error, but also significantly reduces data transmission costs, reduces data redundancy and transmission volume, and improves the smoothness and efficiency of the entire simulation process.

[0036] It should be noted that other corresponding descriptions of the functional units involved in the simulator provided in this application embodiment can be found in the following references. Figure 1 and in the following embodiments Figures 3A to 3E The corresponding descriptions in [the document] will not be repeated here.

[0037] Furthermore, as a refinement and extension of the specific implementation methods of the above embodiments, and in order to fully illustrate the specific implementation process of this embodiment, this application provides another simulation method for a nuclear reactor control model based on a simulator, such as... Figure 3A As shown, the method includes: 301. In response to the simulation run request, the simulation control management module performs simulation initialization and loads the nuclear reactor simulation control model to be run.

[0038] In the research and development of nuclear reactor control systems, the traditional independent operation mode of simulation software severely restricts development efficiency. Designers often need to frequently switch between different software, undergoing tedious operations such as model format conversion and multiple data import and export. This not only consumes a lot of time and energy but is also prone to data errors or loss due to human mistakes, resulting in a disconnect between model design and simulation verification, and deviations in results. Therefore, this application proposes a simulator-based simulation method for nuclear reactor control models. By configuring a simulator in the design software of the nuclear reactor control model, seamless integration between model design and simulation processes is achieved.

[0039] The simulator is configured in the design software of the nuclear reactor control model, and undertakes the management and execution of the simulation task. Among them, the simulator includes a simulation control management module, which is responsible for overall coordination of each link in the simulation process. When users such as model designers and simulation managers complete the preliminary construction of the nuclear reactor simulation control model in the design software, they can initiate a simulation running request through the software interface of the design software. The software management tool in the design software will capture the request, and encapsulate the request content according to the pre-set interface service protocol between the simulation and the simulator. The interface service is based on a standardized communication protocol (such as the HTTP protocol), which specifies the data transmission format (such as the JSON format), the error handling mechanism, etc., to ensure that the simulation running request can be accurately and correctly transmitted from the software management tool to the simulator.

[0040] After receiving the simulation running request, the simulation control management module in the simulator will immediately start the simulation initialization work. The simulation control management module will obtain the model file from the software management tool, which is generated by the software management tool based on the constructed nuclear reactor simulation control model, and can be in the format of an XML file or a C file. Among them, the XML file organizes model information in a tree structure, has good readability and expandability; the C file directly contains the core logic code of the model, and has high execution efficiency.

[0041] The simulation control management module will identify and analyze the model file and extract the key information of the model in the model file. Specifically, for an XML file, the key information of the model can be extracted by traversing the nodes layer by layer through an XML parser (such as the libxml2 library); and for a C file, the key variables and function definitions can be identified with the help of lexical analysis and syntax analysis techniques. Among them, the extracted key information of the model includes node names, input and output variables, and data types, etc. The node name is used to identify each functional module in the model, such as the reactor core node, the cooling system node, etc. The input and output variables define the data interaction interface between modules, for example, the output variable "power" of the core node is used as the input variable of the cooling system node. The data type specifies the type of data carried by the variable, such as floating point number, integer, etc., to ensure correct handling of data in the simulation process.

[0042] Based on the extracted key information of the model, the simulation control management module will construct an intermediate representation. The intermediate representation is an abstract data structure that shields the differences between different model file formats, and provides a unified interface for subsequent model processing. For example, the node relationship in the XML file and the function call relationship in the C file are mapped to a graph structure in the intermediate representation, where nodes correspond to vertices in the graph, and variable passing corresponds to edges in the graph. Subsequently, the simulation control management module creates multiple node instances according to the intermediate representation, and each instance represents a specific functional module in the model.

[0043] Finally, the simulation control management module connects multiple node instances according to the model logic, establishes a complete nuclear reactor simulation control model, and completes model loading.

[0044] In summary, the data flow in the process of loading the nuclear reactor simulation control model is as shown in Figure 3B The model file such as an Xml file or a C file transmitted by the software management tool is received, the type of the model file is determined, the model file is read and recognized according to the file type, and model key information such as node information, connection relationship, data type, and input and output variables is extracted. Subsequently, the model key information is used to construct the intermediate representation of the model, such as generating an abstract syntax tree, and the corresponding node instances are created to form a specific data structure according to the established connection relationship. Finally, based on the intermediate representation and connection information, the nodes are connected to construct a complete nuclear reactor simulation control model, and the model is verified to ensure the correctness and reliability of the model.

[0045] 302、The simulation control management module obtains model simulation parameters, refers to the model simulation parameters, and runs the nuclear reactor simulation control model to start the simulation process.

[0046] In the embodiments of the present application, after the model loading is completed, the simulation control management module needs to build a suitable simulation environment and run the model to enable the nuclear reactor simulation control model to accurately simulate the actual operation.

[0047] The simulation control management module will first read the model simulation parameters from the system setting module. The system setting module stores various parameters related to the simulation environment, such as the simulation time step (which determines the precision and speed of the simulation process, such as setting it to 0.1 seconds), initial conditions (such as the initial temperature of the reactor core being 300°C and the pressure being 15.5 MPa), etc. The simulation control management module will use the model simulation parameters to build the simulation environment, for example, set the timing accuracy of the simulation clock according to the time step, and initialize the initial values of various physical quantities in the simulation model according to the initial conditions.

[0048] Next, the simulation control management module obtains instance parameters from the simulation instance management module. The simulation instance management module pre-configures multiple sets of instance parameters for different simulation scenarios (such as full-power operation and partial-load operation). For example, in the full-power operation instance, the reactor power is set to 1000 MW and the control rod insertion depth is set to 40%; in the partial-load operation instance, the power is set to 600 MW and the control rod insertion depth is set to 60%. At the same time, the simulation case is obtained from the simulation data management module, which contains a specific input data sequence for simulating various situations that may occur during actual operation, such as power step changes and coolant flow fluctuations.

[0049] Subsequently, the simulation control management module initializes the internal state variables of the nuclear reactor simulation control model, setting them to values consistent with the initial conditions of the simulation environment. Next, in the simulation environment that has been set up, the nuclear reactor simulation control model is formally run in combination with the instance parameters and the simulation case, entering the simulation loop phase to start the simulation process.

[0050] After entering the simulation loop phase, the simulation control management module continuously collects the calculation results obtained by the nuclear reactor simulation control model based on the execution of the logic classes. The logic classes define the calculation logic of the various functional modules in the model, such as the neutron diffusion calculation of the core nodes and the thermodynamic calculation of the cooling system nodes. The runtime executor triggers the calculation of these logic classes at regular time intervals according to the set time step, and collects the calculation results such as the changes in physical quantities such as core temperature, pressure, and power. At the same time, the simulation control management module transmits the collected calculation results to the result collector in real time through the data flow class, where the data flow class is responsible for managing the transmission of data between the modules in the model, ensuring that data can be timely and accurately delivered to the target location, and the result collector temporarily stores the collected calculation results for subsequent processing and analysis.

[0051] In addition, the simulation control management module also updates the state variables of the nuclear reactor simulation control model using the collected calculation results. For example, based on the core temperature calculation results, the temperature state variable of the core node is updated, so that the model can reflect the dynamic changes in the actual operation process. After the end of this round of simulation, the model enters the next round of simulation process using the updated state variables, ensuring the continuity and accuracy of the simulation process.

[0052] In another optional implementation, after entering the simulation loop phase, if a model event of the nuclear reactor simulation control model is detected in the simulation loop phase, such as the power reaching a set threshold, the temperature abnormally rising triggering a safety protection mechanism, etc., the simulation control management module will update the model parameters or the simulation environment parameters of the nuclear reactor simulation control model in reference to the model event. For example, when the power reaches 1100MW, the control rod insertion operation is triggered, and the control rod insertion depth parameter is updated; if the temperature abnormally rises to 350℃, the coolant flow parameter is adjusted to enhance the cooling effect. After the model parameter is updated, the current simulation ends, and the nuclear reactor simulation control model enters the next round of simulation using the updated parameters; if the simulation environment parameter is updated, the nuclear reactor simulation control model continues to run in the new simulation environment, thereby responding to various situations in the model running process in real time and ensuring that the simulation results conform to the actual operation logic.

[0053] In addition, in the embodiment of the present application, if the simulation pause instruction of the user is received, the simulation control management module pauses the current simulation process, displays the setting page of the environmental parameters and the model parameters for the user according to the operation of the user, so that the user changes the parameters on the page. When it is detected that the user confirms that the change is completed and determines to continue the simulation process, the simulation control management module continues the simulation process according to the parameters changed by the user, so as to meet different needs of the user in the simulation process and facilitate the user to update the parameters in time according to the needs.

[0054] In summary, the data flow in the simulation running process is as shown in Figure 3C As shown in the figure, the simulation control management module obtains the model simulation parameters, the instance parameters and the simulation case, builds the simulation environment, initializes the model, and sets the parameters of the model, so as to enter the simulation loop stage. The simulation loop stage includes the data flow type calculation and the logic calculation. The result of the data flow type calculation is collected by the result collector, while the logic calculation generates corresponding model events, and there can also be some additional model events initiated by the user. After completing a round of calculation, the simulation control management module updates the state variables of the model according to the calculation result, processes the model events generated in the execution process and the model events related to the environment, and maintains the state of the simulation environment. After the processing is completed, the simulation enters the next round of loop and continues until the simulation process is completed.

[0055] 303、When the simulation stop instruction transmitted by the software management tool is received or it is detected that the running of the current nuclear reactor simulation control model reaches the simulation termination condition, the simulation control management module determines that the simulation process is ended and obtains all the calculation results output by the nuclear reactor simulation control model.

[0056] In the embodiment of the present application, with the progress of the simulation process, the simulation control management module detects whether the simulation is ended in real time and obtains all the calculation results output by the nuclear reactor simulation control model, so as to perform subsequent analysis.

[0057] Specifically, when the design software determines that the simulation process needs to be terminated according to the operation of the user (such as clicking the “stop simulation” button) at the front end, the simulation stop instruction is generated and transmitted to the simulation control management module by the software management tool through the interface service; or when the simulation control management module detects that the running of the current nuclear reactor simulation control model reaches the simulation termination condition (such as the model state variable tends to be stable, reaches the predetermined simulation time length, etc.), the simulation control management module determines that the simulation process is ended.

[0058] The simulation control management module then acquires all the calculation results output by the nuclear reactor simulation control model, which include the data of the changes of various physical quantities recorded during the simulation process over time, such as the change curve of the core temperature over time, the power output fluctuation, etc. These calculation results are stored in the result collector, and the simulation control management module can read all the calculation results by accessing the data interface of the result collector, ensuring the integrity and accuracy of the simulation data and providing a reliable basis for subsequent result analysis.

[0059] 304、The simulation control management module acquires the data structure created by the user for storing the simulation results, and organizes all the calculation results according to the data structure to obtain the simulation results.

[0060] In the embodiments of the present application, after acquiring all the calculation results, the simulation control management module needs to organize all the calculation results according to the user's requirements and realize efficient management and query of the results.

[0061] Specifically, the simulation control management module acquires the data structure created by the user for storing the simulation results. The data structure is a way of organizing and managing data, and in the embodiments of the present application, the data structure can be an array, a list, a dictionary, etc. Among them, the array is suitable for storing numerical data arranged in order, such as the measurement values of a physical quantity at various time points; the list has flexibility and can store different types of data elements, facilitating the expansion and modification of the simulation results; the dictionary stores data through key-value pairs, facilitating quick lookup of results according to specific identifiers. The simulation control management module organizes all the calculation results according to the data structure specified by the user to obtain simulation results with clear structure and convenient for subsequent processing. For example, if the user selects an array structure, the simulation control management module arranges the calculation results of the same physical quantity at different time points in time order into an array; if the user selects a dictionary structure, the dictionary is constructed with the physical quantity name as the key and the corresponding calculation result sequence as the value.

[0062] Subsequently, the simulation control management module transmits the organized simulation results to the simulation data management module to enable the simulation data management module to manage the simulation data, realize centralized management and long-term preservation of the simulation data, and facilitate subsequent query and analysis.

[0063] In another optional implementation, when a result query request is received from the software management tool, the simulation control management module first queries the preset result export format and determines the simulation results to be exported based on the query conditions specified in the result query request (such as specific physical quantities, specific time periods, etc.). The result export format includes various common formats, such as CSV (easy to open and analyze using tools like Excel), JSON (facilitating data interaction with other software systems), and XML. The simulation control management module organizes the simulation results to be exported according to the determined result export format to obtain a simulation result file. For example, if the export format is CSV, the simulation results are organized according to the CSV file format specifications (field separators, line breaks, etc.) to obtain the simulation result file; if it is JSON, the data structure is constructed according to the JSON syntax rules to obtain a simulation result file that meets the requirements.

[0064] Finally, the simulation control management module transmits the simulation result file to the software management tool. Upon receiving the file, the software management tool pushes it to the user who initiated the result query request. The user can open the file using local software (such as a text editor or data analysis software) to view the simulation results, thus enabling flexible querying and sharing of simulation results and improving collaboration efficiency among development teams.

[0065] In summary, the logic of the simulation calculation result collection process is as follows: Figure 3D As shown, users can create data structures to store simulation results beforehand, based on the information they are interested in. These data structures can be arrays, lists, or dictionaries. After running the model in the simulation environment, the model outputs results. The simulation control and management module identifies these output results and uses a runtime executor to handle time and event synchronization, periodically collecting simulation data results. The simulation control and management module then outputs the collected simulation data results to the corresponding data structures and manages this data. During data management, users are allowed to perform operations such as adding, deleting, querying, and modifying the collected valid data. Simultaneously, the simulation control and management module obtains the export format set by the user. The export format can be CSV, JSON, or XML. Finally, the simulation results are displayed in the exported format, generating a simulation output file. Furthermore, when providing users with CRUD operations, users can also set the display format, and the simulation results will be displayed according to the user-defined display format.

[0066] 305. The simulation control management module transmits the simulation results to the software management tool based on the interface service, so that the software management tool can visualize the simulation results.

[0067] In the embodiments of the present application, in order to enable the user to more intuitively understand the simulation result, the simulation control management module transmits the simulation result to the software management tool for visual display.

[0068] Specifically, the simulation control management module transmits the well-organized simulation result to the software management tool based on an interface service, which ensures the stability and security of data transmission and avoids data loss or damage during transmission.

[0069] After receiving the simulation result, the design software in which the software management tool is located displays the result by using a built-in visualization tool. The visualization tool supports multiple chart types, such as line chart, column chart, scatter chart, etc. For example, for time series data (such as the change of temperature and pressure over time), a line chart is used for display, which can clearly present the change trend of the data; for performance comparison data under different working conditions, a column chart is used for display, which facilitates the user to intuitively compare the differences between different working conditions; for the relationship data between multiple variables, a scatter chart is used for display, which helps to find the potential correlation between variables.

[0070] In another optional embodiment, during the visual display process, the design software can provide rich interactive functions. The user can freely adjust the display range and viewing angle of the chart by mouse dragging, zooming, etc., to deeply observe the simulation result in a specific time period or a specific data range. At the same time, the user can directly mark key data points on the chart and add annotation information, which is convenient for recording and sharing analysis experience. For example, the user finds that the temperature abnormally rises at a certain moment, and can add an annotation at the data point to explain the possible reason and subsequent processing suggestion. Through these interactive functions, the user's analysis efficiency and accuracy of the simulation result are improved, which helps to quickly find problems in the model design and running process, thereby optimizing the design of the nuclear reactor control system and improving the smoothness and efficiency of the entire simulation process.

[0071] The above process describes the logic process when the simulation running request is received, and in the actual application process, the user may also have some non-simulation needs, such as model simulation parameter setting, simulation instance setting, obtaining help information related to the design software, etc. The logic process for processing non-simulation needs is as follows: After the user initiates a non-simulation running request on the front end, the software management tool transmits the non-simulation running request to the simulator through the pre-set interface service between the simulator. After receiving the request, the simulator first identifies the specific operation expected by the user, and then triggers the corresponding processing flow. Specifically, in response to the non-simulation running request, the simulation control management module in the simulator identifies the target function indicated by the non-simulation running request.

[0072] When the target function indicates to perform simulation instance setting, it means that the user requests to configure the simulation instance, and the simulation instance management module will automatically load and display the instance setting page, which not only allows the user to easily locate the operation logic and variable scope through the graphical interface, but also performs initialization operations to set the starting state of the simulation, uses the monitoring function to track the changes of key variables in real time, and controls the pause and continue of the simulation process by setting breakpoints. Further, the user can also set instance parameters on this page, and after completing the setting of the instance parameters, the simulation instance management module in the simulator will manage the instance parameters set by the user. The instance parameters can include the definition of local variables of the simulation instance and the configuration of custom operators, which together determine the unique behavior and characteristics of the simulation instance. For example, in power system simulation, the user can accurately adjust the initial voltage and frequency of the generator set and other parameters through simulation instance setting to simulate the system response under different working conditions. In addition, the simulation instance management module also supports the user to create custom simulation instance templates, each template can preset model parameters and simulation parameters to facilitate the rapid generation of similar simulation instances. At the same time, it has simulation instance version control function, which can record the modification history of the simulation instance to ensure its reliability and repeatability.

[0073] When the target function indicates to perform system setting, the system setting module will display the system setting page to allow the user to set model simulation parameters on the system setting page. Among them, the model simulation parameters include floating point precision parameter, waveform sampling interval parameter, simulation time delay parameter, root operator parameter to be simulated, simulation calculation precision parameter and code generation option. That is, the user can adjust the floating point precision parameter on the system setting page to balance the calculation speed and result accuracy, set the waveform sampling interval parameter to optimize the frequency of data recording, and configure the simulation time delay parameter to simulate the response delay in the actual system; in addition, the user can also specify the root operator to be simulated, adjust the simulation calculation precision, and select the appropriate code generation option to adapt to different application scenarios and hardware platforms. In addition, the system setting module also provides multi-thread configuration and memory management strategy setting functions, and the user can perform personalized configuration according to hardware conditions and simulation requirements to optimize the performance of the simulator.

[0074] When the target function indicates to set up a simulation case, the simulation data management module displays a preset simulation case template, constructs a simulation case based on the functions input by the user on the simulation case template, and stores and manages the simulation case. Among them, the simulation case template is designed according to common simulation scenarios, contains necessary input parameters and expected output, and the user only needs to input specific function expressions or parameter values on the basis of the template to quickly construct a simulation case that meets the requirements. After the construction is completed, the simulation case will be properly stored in the simulation data management module, which is convenient for subsequent query, modification and reuse. The simulation data management module also has the functions of simulation data backup and recovery, which can automatically backup simulation data regularly, and users can conveniently restore to the historical data state; at the same time, it provides simulation data search and filtering function, and users can quickly locate the required data through multiple conditions.

[0075] When the target function indicates to provide help, the help module will obtain a preset simulator help manual and display the simulator help manual. Among them, the help manual content is detailed, covering the introduction of various functions of the simulator, operation guide, common problem solving and troubleshooting method, and is displayed to the user in a clear and easy-to-understand way, providing users with comprehensive technical support. Whether a beginner or an experienced user, they can quickly solve the problems encountered by referring to the help manual and improve the use efficiency. For example, when first encountering the simulator, the user can understand the interface layout, basic operation process and commonly used shortcut keys through the help manual, so as to quickly get started and reduce the learning cost.

[0076] The logical process of the technical solution of the present application is summarized as follows: Figure 3E After the user starts the simulator, he first enters the function selection interface. At this time, the simulator contains two states of not running simulation and running simulation. If the not running simulation state is selected, the simulator will execute the simulation environment setting function, including configuring the simulation data management parameters, adjusting the floating point operation precision, setting the waveform graph sampling interval, etc. Basic environment configuration, at the same time, provides simulation data management function, supports user to import pre-defined simulation case template, input function and generate simulation case template, and can refer to the operation guide and function input specification through the help function provided by the help module at any time, and understand the related content of the simulator through the function. When the user selects the running simulation state, the simulator first starts the simulation function, guides the user to complete the setting of input value, cycle delay and other parameters, then automatically loads the specified simulation model and executes the compilation verification, confirms that the model is correct, and starts the simulation calculation engine. During the simulation running process, the user can control the simulation process in real time through the interactive interface, and perform operations such as advancing, rewinding, fast forwarding, fast rewinding, pausing, etc. After the simulation is completed, the simulator automatically completes the result data collection and arrangement work, and finally the user can choose to exit the software or return to the function selection interface for a new round of simulation configuration.

[0077] In summary, the present application proposes an overall design scheme for a simulator of a nuclear reactor control model design software, including an MVC layered architecture, key module division, simulation flow control, and software integration, to guide the detailed design and software development of the simulator. Based on the design, development, and integration of the simulator according to the embodiments of the present application, the simulation verification function in the control model design software (NCMD, Nuclear Control Model Design) can be supplemented, the verification of the control logic specification compliance and the behavior analysis of the control model in the control algorithm design process can be realized, and the reliability and development efficiency of the control algorithm model can be improved.

[0078] The method provided by the embodiments of the present application integrates a software management tool and a simulator in the design software, so that the simulation operation can be directly initiated in the design software environment, without frequent switching between different software and complex model conversion, and the model data does not need to be exported and imported for multiple times. Therefore, the operation complexity in the development process is greatly reduced, the risk of data errors caused by human operation errors is reduced, the data transmission cost is significantly reduced, the data redundancy and transmission amount are reduced, and the smoothness and efficiency of the entire simulation process are improved.

[0079] It should be noted that the user information (including but not limited to user equipment information, user personal information, etc.) and data (including but not limited to data for analysis, stored data, displayed data, etc.) involved in the present application are information and data authorized by the user or authorized by all parties.

[0080] The above embodiments and each technical feature in the embodiments can be combined with each other arbitrarily. To make the description simple, each technical feature in the above embodiments is not described in all possible combinations, but as long as the combination of the technical features does not exist, it should be considered as the scope of the present application.

[0081] The above-described embodiments only express several implementation manners of the present application, and the description is more specific and detailed, but it should not be understood as a limitation on the scope of the patent of the present application. It should be noted that for ordinary skilled persons in the art, without departing from the concept of the present application, some modifications and improvements can be made, which are all within the protection scope of the present application. Therefore, the protection scope of the present application should be subject to the appended claims.

[0082] In the example embodiments, referring to Figure 4Also provided is a computer device including a bus, a processor, a memory, and a communication interface, and can further include an input / output interface and a display device, wherein the respective functional units can communicate with each other through the bus. The memory stores a computer program, and the processor is configured to execute the program stored in the memory to implement the simulation method of the simulator-based nuclear reactor control model in the above embodiments.

[0083] A computer readable storage medium having a computer program stored thereon, the computer program being executed by a processor to implement the steps of the simulation method of the simulator-based nuclear reactor control model.

[0084] From the above description of the embodiments, those skilled in the art can clearly understand that the present application can be implemented by hardware, or by means of software and a necessary general hardware platform. Based on such understanding, the technical solutions of the present application can be embodied in the form of a software product. The software product can be stored in a non-volatile storage medium (which can be a CD-ROM, a U disk, a mobile hard disk, etc.), and includes several instructions to make a computer device (which can be a personal computer, a server, or a network device, etc.) execute the methods described in the various embodiments of the present application.

[0085] Those skilled in the art can understand that the accompanying drawings are only schematic of a preferred embodiment, and the modules or processes in the drawings are not necessarily essential for implementing the present application.

[0086] Those skilled in the art can understand that the modules in the device in the embodiments can be distributed in the device in the embodiments as described, or can be changed and located in one or more devices different from the embodiments. The modules in the above embodiments can be combined into one module, or can be further split into multiple sub-modules.

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

[0088] The above disclosure is only some specific embodiments of the present application, but the present application is not limited thereto. Any variations that can be thought of by those skilled in the art shall fall within the protection scope of the present application.

Claims

1. A simulator-based nuclear reactor control model simulation method, characterized by, The simulator is configured in design software of a nuclear reactor control model, and the simulator includes a simulation control management module, and the method includes: In response to a simulation running request, the simulation control management module performs simulation initialization, loads a nuclear reactor simulation control model to be run, and the simulation running request is transmitted to the simulator by a software management tool of the design software through a preset interface service between the simulator; The simulation control management module acquires model simulation parameters, and runs the nuclear reactor simulation control model with reference to the model simulation parameters, so that a simulation process starts; When the simulation process ends, the simulation control management module generates simulation results, and transmits the simulation results to the software management tool based on the interface service, so that the software management tool visually displays the simulation results.

2. The method of claim 1, wherein, The simulator further includes a simulation instance management module, a system setting module, a simulation data management module, and a help module, and the method further includes: In response to a non-simulation running request, the non-simulation running request indicates a selected target function, and the non-simulation running request is transmitted to the simulator by the software management tool through a preset interface service between the simulator; When the target function indicates simulation instance setting, the simulation instance management module displays an instance setting page, so that a user performs a setting operation on the simulation instance on the instance setting page, and the simulation instance management module manages instance parameters set by the user, the setting operation includes operation positioning operation, variable positioning operation, initialization operation, monitoring operation, and setting breakpoint operation of the simulation instance, and the instance parameters include local variables and custom operators of the simulation instance; the simulation instance management module provides a function of creating a custom simulation instance template for the user, each custom simulation instance template allows preset model parameters and simulation parameters, so as to generate similar simulation instances; the simulation instance management module has a simulation instance version control function, and records a modification history of the simulation instance; When the target function indicates system setting, the system setting module displays a system setting page, so that the user sets model simulation parameters on the system setting page, the model simulation parameters include floating point precision parameters, waveform sampling interval parameters, simulation time delay parameters, root operator parameters to be simulated, simulation calculation precision parameters, and code generation options; the system setting module provides a multi-thread configuration function and a memory management strategy setting function, so that the user performs individualized configuration by using the multi-thread configuration function and the memory management strategy setting function according to hardware conditions and simulation requirements; When the target function indicates to set up a simulation case, the simulation data management module displays a preset simulation case template, constructs a simulation case based on functions input by the user on the simulation case template, and stores and manages the simulation case; the simulation data management module has a simulation data backup and recovery function, automatically backs up simulation data periodically, so that the user can recover to a historical data state; the simulation data management module provides a simulation data search and screening function, so that the user can locate the required data through multiple conditions; When the target function indicates to provide help, the help module acquires a preset simulator help manual, and displays the simulator help manual.

3. The method of claim 1, wherein, The loaded nuclear reactor simulation control model comprises: The simulation control management module receives the model file transmitted by the software management tool, identifies and analyzes the model file, extracts model key information in the model file, the model file is an XML file or a C file constructed by the software management tool based on the nuclear reactor simulation control model, and the model key information includes node name, input and output variables, and data type; The simulation control management module constructs an intermediate representation using the model key information, and creates a plurality of node instances according to the intermediate representation; The simulation control management module connects the plurality of node instances to obtain the nuclear reactor simulation control model, and completes the loading of the nuclear reactor simulation control model.

4. The method of claim 2, wherein, The simulation control management module acquires model simulation parameters, refers to the model simulation parameters, and runs the nuclear reactor simulation control model to start the simulation process, comprising: The simulation control management module reads the model simulation parameters in the system setting module, and uses the model simulation parameters to build a simulation environment; The simulation control management module acquires instance parameters in the simulation instance management module, and acquires simulation cases in the simulation data management module; The simulation control management module initializes internal state variables of the nuclear reactor simulation control model, runs the nuclear reactor simulation control model in the simulation environment in combination with the instance parameters and the simulation cases, and enters a simulation loop phase to start the simulation process.

5. The method of claim 4, wherein, The method further comprises: After entering the simulation loop phase, the simulation control management module continuously collects calculation results obtained by the nuclear reactor simulation control model based on logic class execution calculation through a run-time executor, and transmits the collected calculation results to a result collector in real time through a data flow class, the simulation control management module simultaneously updates state variables of the nuclear reactor simulation control model using the collected calculation results, so that after the simulation process of this round is completed, the nuclear reactor simulation control model enters the simulation process of the next round using the updated state variables; and / or, After entering the simulation loop stage, if a model event of the nuclear reactor simulation control model is detected, the simulation control management module updates a model parameter of the nuclear reactor simulation control model or updates a parameter of the simulation environment with reference to the model event, so that after the simulation process of the current round ends, the nuclear reactor simulation control model enters the simulation process of the next round with the updated model parameter or runs in the updated simulation environment.

6. The method of claim 1, wherein, The simulation control management module generates a simulation result when the simulation process ends, including: When receiving a simulation stop instruction transmitted by the software management tool or detecting that the current running of the nuclear reactor simulation control model reaches a simulation termination condition, the simulation control management module determines that the simulation process ends, and acquires all calculation results output by the nuclear reactor simulation control model; The simulation control management module acquires a data structure for storing simulation results created by a user, arranges the all calculation results according to the data structure, and obtains the simulation result, wherein the data structure includes an array, a list, and a dictionary.

7. The method of claim 1, wherein, The method further includes: The simulation control management module transmits the simulation result to a simulation data management module, so that the simulation data management module manages the simulation data; When receiving a result query request transmitted by the software management tool, the simulation control management module queries a preset result export format, and determines a to-be-exported simulation result according to the result query request; The simulation control management module arranges the to-be-exported simulation result according to the result export format, obtains a simulation result file, and transmits the simulation result file to the software management tool, so that the software management tool pushes the simulation result file to a user who initiates the result query request.

8. An emulator, characterized by The simulator is configured in a design software of a nuclear reactor control model, and the simulator includes a simulation control management module: The simulation control management module is configured to perform simulation initialization in response to a simulation running request, load a nuclear reactor simulation control model to be run, acquire model simulation parameters, run the nuclear reactor simulation control model with reference to the model simulation parameters, so that a simulation process starts, generate a simulation result when the simulation process ends, and transmit the simulation result to the software management tool based on an interface service, so that the software management tool visually displays the simulation result.

9. The emulator of claim 8, wherein, The simulator further includes a simulation instance management module, a system setting module, a simulation data management module, and a help module: The simulation instance management module is configured to display an instance setting page, so that a user performs a setting operation on the simulation instance on the instance setting page, and the simulation instance management module manages instance parameters set by the user, the setting operation includes an operation positioning operation, a variable positioning operation, an initialization operation, a monitoring operation, and a breakpoint setting operation of the simulation instance, and the instance parameters include local variables and custom operators of the simulation instance; The system setting module is configured to display a system setting page, so that the user sets model simulation parameters on the system setting page, the model simulation parameters include a floating point precision parameter, a waveform diagram sampling interval parameter, a simulation time delay parameter, a root operator parameter to be simulated, a simulation calculation precision parameter, and a code generation option; The simulation data management module is configured to display a preset simulation case template, construct a simulation case based on functions input by the user on the simulation case template, and store and manage the simulation case; The help module is configured to obtain a preset simulator help manual, and display the simulator help manual.

10. The emulator of claim 8, wherein, The simulator is divided into a UI layer, a logic control layer, a data processing layer, and a data layer: The UI layer is configured to provide a page for interaction between the simulator and a user; The logic control layer is configured to control running of the simulator, wherein the running control of the simulator includes model compilation, simulation environment setting, simulation execution control, and data import and export; The data processing layer is configured to provide data processing operations for the simulator, wherein the data processing operations process data including configuration type data, algorithm engineering data, and simulation data; The data layer is configured to provide data storage services for the simulator.