Thermal power plant simulation system, working condition preservation method and device during operation of thermal power plant simulation system and medium

By setting up a working condition saving communication interface in the controller of the thermal power plant simulation system, the problem of low accuracy and low real-time performance of the thermal power plant simulation system in the prior art is solved, and fast and accurate operating condition preservation and transmission is achieved, improving the reliability and stability of the system.

CN120012429APending Publication Date: 2025-05-16XIAN THERMAL POWER RES INST CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510138938.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-02-08
Publication Date
2025-05-16

AI Technical Summary

Technical Problem

The existing thermal power plant simulation systems have problems of low accuracy and low real-time performance when simulating complex working conditions and dynamic processes, and lack effective working conditions preservation methods, which leads to difficulties in subsequent data analysis and the inability to quickly reproduce the working conditions.

Method used

It provides a working condition saving method for the operation time of the thermal power plant simulation system. By setting a working condition saving communication interface in the controller, receiving the working condition saving command of the management machine, saving the configuration information of the controller, generating the working condition file, and transmitting it to the management machine through the encrypted communication interface.

Benefits of technology

It realizes rapid response and accurate guarantee of the working condition information of the thermal power plant simulation system, reduces data transmission and processing time, improves the reliability and stability of the system, and facilitates subsequent troubleshooting and data analysis.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120012429A_ABST
    Figure CN120012429A_ABST
Patent Text Reader

Abstract

The invention relates to the technical field of industrial automation, in particular to a thermal power plant simulation system, a working condition storage method and device during operation of the thermal power plant simulation system and a medium. According to the working condition storage command, storing the configuration of all the controllers during operation to obtain a working condition file; the working condition storage communication interface is arranged in a controller in the thermal power plant simulation system; and after the working condition file is transmitted to the management machine through a set channel in the working condition storage communication interface, receiving a working condition storage success instruction returned by the management machine. According to the method, working condition reproduction and fault positioning can be realized through the stored working condition file.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention relates to the technical field of industrial automation, and in particular to a thermal power plant simulation system and a method, device and medium for saving operating conditions during operation thereof. Background Art

[0002] With the rapid development of the power industry, thermal power plants, as an important base for energy conversion, are increasingly concerned about their safety and economy. In order to improve the operating efficiency of thermal power plants, reduce operating risks, and strengthen the training of power plant operators, thermal power plant simulation systems have emerged. This simulation system can simulate the real working conditions of thermal power plants, providing strong support for power plant operation management, personnel training, and teaching research.

[0003] Traditional thermal power plant simulation systems mainly rely on physical models and mathematical algorithms to simulate the operating status of thermal power plants. These systems can simulate basic operating conditions such as startup, normal operation, and shutdown of power equipment, and simulate accidents to a certain extent. However, when simulating complex operating conditions and dynamic processes, these systems often have problems such as low accuracy and poor real-time performance, which makes it difficult to meet the requirements of modern thermal power plants for simulation accuracy.

[0004] In addition, the traditional thermal power plant simulation system also has shortcomings in the preservation of configuration conditions. Due to the lack of effective configuration condition preservation methods, when a specific condition needs to be reproduced or compared, it often takes a lot of time and resources to rebuild the simulation model, resulting in low work efficiency. At the same time, due to the large amount of saved data and complex formats, data management and maintenance have become very difficult. Summary of the invention

[0005] The technical problem to be solved by the present invention is to provide a thermal power plant simulation system and a method, device and medium for preserving the operating conditions during operation thereof in view of the deficiencies in the above-mentioned prior art, so as to solve the technical problem that the lack of operating condition preservation in the current thermal power plant simulation system leads to difficulties in subsequent data analysis and the inability to quickly reproduce the operating conditions.

[0006] The objective of the present invention is achieved by the following technical solutions: In a first aspect, the present invention provides a method for saving operating conditions of a thermal power plant simulation system during operation, comprising: When the working condition saving communication interface receives the working condition saving command sent by the management computer in the thermal power plant simulation system, the configuration of all controllers in the thermal power plant simulation system during operation is saved according to the working condition saving command to obtain a working condition file; the working condition saving communication interface is set in the controller in the thermal power plant simulation system; After the working condition file is transmitted to the management machine through the set channel in the working condition saving communication interface, the management machine returns an instruction indicating that the working condition has been successfully saved.

[0007] As a further improvement of the present invention, the configuration of all controllers in the thermal power plant simulation system during operation is saved according to the operating condition saving command to obtain the operating condition file, which specifically includes: The management machine sends a pause or stop command to all controllers in the thermal power plant simulation system. After receiving the pause or stop feedback command from the controller, the management machine changes the current working condition saving state of each controller and sends a working condition saving command to each controller. After receiving the working condition save command, the controller traverses the controller algorithm page file, reads the algorithm page file into the memory file, extracts the variable value of the current controller operation algorithm according to the algorithm page file structure, reads the variable value into the memory file, and compresses all temporary files of the controller to obtain the working condition file.

[0008] As a further improvement of the present invention, an encryption algorithm is also provided in the working condition saving communication interface of the controller, and the encryption algorithm is used to perform encrypted communication with the management machine; the encryption algorithm is SM2 encryption algorithm, SM3 encryption algorithm or RSA encryption algorithm.

[0009] As a further improvement of the present invention, before the working condition storage communication interface communicates with the management machine in the thermal power plant simulation system, the working condition also includes a step of performing identity authentication through the storage communication interface, specifically including: The management machine registers the working conditions of each controller and saves the digital certificate of the communication interface as well as the user name and password information; the access rights to the communication interface are determined according to the permissions of each controller; When the management machine sends a working condition saving command to each controller, the working condition saving communication interface digital certificate and user name and password information corresponding to each controller are transmitted to the corresponding controller; Each controller is configured according to the received user name and password information and the digital certificate of the working condition storage communication interface, and after the configuration is successful, a configuration success instruction is sent to the management machine.

[0010] As a further improvement of the present invention, the working condition file is transmitted to the management machine through a set network channel, specifically including: During the transmission of the working condition files, the working condition files are divided into packages according to the set transmission rate, and the divided working condition files are transmitted to the management machine respectively; After the working condition file is transmitted to the management machine, it is stored in the format of a temporary file; After storing the temporary file, the management machine verifies the integrity of the working condition file in real time. When the working condition file is damaged or lost, the management machine feeds back fault information to the controller corresponding to the damaged working condition file. The corresponding controller transmits again according to the fault information; The management machine stores the retransmitted operating condition file and performs integrity verification until the integrity verification of the operating condition file passes, and then returns an instruction to the corresponding controller indicating that the operating condition file has been successfully saved.

[0011] As a further improvement of the present invention, after the management machine receives the working condition files of all controllers, it deletes the temporary files of all controller working condition files, and returns an instruction of successful working condition saving to the controller through the working condition saving communication interface, and the management machine records the detailed information of this saving operation.

[0012] As a further improvement of the present invention, the working condition saving communication interface adopts the TCP protocol and the UDP protocol in the TCP / IP network communication protocol.

[0013] In a second aspect, the present invention further provides a thermal power plant simulation system for implementing the above-mentioned method for saving operating conditions during operation of the thermal power plant simulation system, the system comprising a management machine and a plurality of controllers; the controller is provided with an operating condition saving communication interface; When the working condition saving communication interface receives the working condition saving command sent by the management machine, it sends it to the controller; The controller saves the configuration during operation according to the working condition saving command to obtain a working condition file, and transmits the working condition file to the management machine through a set channel in the working condition saving communication interface; After receiving the working condition file corresponding to the controller, the management machine returns an instruction of successful saving of the working condition to the corresponding controller.

[0014] In a third aspect, the present invention also provides a computer-readable storage medium storing one or more programs, wherein the one or more programs include instructions, which, when executed by a computing device, enable the computing device to execute the above-mentioned method for saving operating conditions during operation of a thermal power plant simulation system.

[0015] In a fourth aspect, the present invention further provides a computing device, comprising: One or more processors, a memory and one or more programs, wherein the one or more programs are stored in the memory and configured to be executed by the one or more processors, and the one or more programs include steps for executing the above-mentioned method for saving operating conditions during operation of a thermal power plant simulation system.

[0016] In a fifth aspect, the present invention further provides an electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the steps of the above-mentioned method for preserving operating conditions during operation of a thermal power plant simulation system when executing the computer program.

[0017] An embodiment of the present invention provides an electronic device, comprising a computer program, which, when executed by the electronic device, implements the steps of the method for saving operating conditions of a thermal power plant simulation system during operation.

[0018] The beneficial effects of the present invention are as follows: the operating condition saving method of the thermal power plant simulation system provided by the present invention can quickly respond to the operating condition saving command of the management machine by setting the operating condition saving communication interface in the controller, and timely save the configuration information of the controller, thereby reducing the time of data transmission and processing. By saving the operating condition file regularly or on demand, it can be ensured that when a failure or abnormality occurs in the system, it can be quickly restored to the previous stable state, thereby improving the reliability and stability of the system. The operating condition file records the operating status and configuration information of the system at different time points, which provides valuable data support for subsequent troubleshooting and debugging. By comparing the operating condition files at different time points, the problem can be quickly located and corresponding solutions can be taken. When the operating condition saving communication interface receives the command, it can independently complete the task of operating condition saving and file transmission, reducing the dependence on other systems and improving the reliability of the system. Through the automated operating condition saving and transmission method, it is helpful to realize the intelligent management of the thermal power plant simulation system and improve the efficiency and accuracy of management. At the same time, the operating condition state can be reproduced through the saved operating condition data information, providing a reliable basis for subsequent data analysis and tracing.

[0019] Furthermore, by setting up channels for file transfer and performing identity authentication and encrypted communication, data can be effectively prevented from being stolen or tampered with, thereby improving the security of the system.

[0020] Furthermore, the management machine sends a pause or stop command to make the controller enter a stable state before saving the working condition, avoiding data inconsistency or errors that may be caused by saving during the operation of the controller, ensuring the stability of the system. After the controller receives the working condition save command, it can accurately save the current controller's operating state to the memory file by traversing the algorithm page file and extracting variable values, thereby realizing accurate preservation of the working condition. All temporary files of the controller are compressed to obtain the working condition file, which reduces the amount of data in the file, and also reduces the risk of data damage or loss during transmission and storage, thereby improving data integrity.

[0021] Furthermore, by registering the controller's working condition saving communication interface digital certificate and user name and password information in the management machine, and transmitting and verifying them when sending the working condition saving command, unauthorized access can be effectively prevented, thereby enhancing the security of the system. The access rights to the communication interface are determined according to the permissions of each controller, and precise permission management is achieved to ensure that each controller can only access its authorized functions and data, thus avoiding the abuse of permissions. Strict identity authentication and permission control mechanisms help reduce system failures caused by illegal access or erroneous operations, and improve the stability of the system. BRIEF DESCRIPTION OF THE DRAWINGS

[0022] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0023] Figure 1 It is a schematic diagram of the operating condition saving process of the thermal power plant simulation system during operation in an embodiment of the present invention; Figure 2 is a schematic diagram of the structure of a thermal power plant simulation system in an embodiment of the present invention; Figure 3 is a block diagram of a computing device according to an embodiment of the present invention; Figure 4 It is a schematic diagram of the structure of an electronic device according to an embodiment of the present invention. DETAILED DESCRIPTION

[0024] In order to make the purpose and technical solution of the present invention clearer and easier to understand, the present invention is further described in detail below in conjunction with the accompanying drawings and embodiments. The specific embodiments described herein are only used to explain the present invention and are not used to limit the present invention.

[0025] The concept of the present invention is to provide a thermal power plant simulation system and a method, device and medium for saving operating conditions during operation thereof. The specific steps of the operating condition saving method are as follows: When the working condition saving communication interface receives the working condition saving command sent by the management computer in the thermal power plant simulation system, the configuration of all controllers in the thermal power plant simulation system during operation is saved according to the working condition saving command to obtain a working condition file; wherein the working condition saving communication interface is set in the controller in the thermal power plant simulation system; After the working condition file is transmitted to the management machine through the set channel in the working condition saving communication interface, the management machine returns an instruction indicating that the working condition has been successfully saved.

[0026] The technical solution of the present invention will be clearly and completely described below in conjunction with the accompanying drawings and specific embodiments, wherein the described embodiments are only a part of the embodiments of the present invention, rather than all the embodiments.

[0027] Example 1 like Figure 1-Figure 2 As shown, this embodiment provides a method for saving operating conditions during operation of a thermal power plant simulation system, and the specific implementation method is as follows.

[0028] When the working condition saving communication interface receives the working condition saving command sent by the management machine in the thermal power plant simulation system, the running configuration of all controllers in the thermal power plant simulation system is saved according to the working condition saving command (used to build a monitoring and control system to realize the monitoring, control and management of the production process. Through configuration, the functions and behaviors of the system can be customized according to actual needs to meet specific application scenarios) to obtain the working condition file. Among them, the management machine is the working condition control center in the simulation system, which can realize remote monitoring and control of each controller.

[0029] The virtual controller in the simulation system is obtained according to the corresponding control part data of the actual thermal power plant, and the management machine is also a virtual device.

[0030] The working condition saving communication interface is set in the controller of the thermal power plant simulation system. The working condition saving communication interface covers three main functions: starting working condition saving, working condition file transmission, and working condition saving completion.

[0031] When the operating condition saving starts, the management machine sends a pause or stop command to all controllers in the thermal power plant simulation system. After receiving the feedback instruction of the pause or stop operation from the controller, the management machine changes the current operating condition saving state of each controller and sends the operating condition saving command to each controller. After the controller receives the working condition save command, it traverses the controller algorithm page file, reads the algorithm page file into the memory file, extracts the variable value of the current controller operation algorithm according to the algorithm page file structure, reads the variable value into the memory file, and compresses all the temporary files of the controller to obtain the working condition file.

[0032] Specifically, by starting the working condition saving function, the configurations of all controllers in operation can be completely saved and corresponding working condition files can be generated. In this embodiment, the working condition saving communication interface adopts the TCP protocol and the UDP protocol in the TCP / IP network communication protocol.

[0033] When executing this function, a pause or stop command will be sent to all controllers to ensure that the controller can enter a stable state in the shortest time. After receiving the pause or stop feedback from all controllers, the working condition saving status of all controllers is set to 1, and a working condition saving command is sent to all controllers. After receiving the working condition saving command, the controller will traverse the algorithm page file of the controller, read the algorithm page file P1 into the memory file M1, and then take out the variable value of the algorithm page memory M2 of the controller's current operation according to the structure of the algorithm page file, write it into the memory file M1 in sequence, and finally save the memory file M1 to the temporary storage file P1, which can accurately save the current controller's operation state to the memory file, thereby realizing accurate saving of the working condition. When all controllers have completed the traversal, the information that the current controller working condition has been successfully saved is returned to the working condition saving communication interface. Only when all controllers have successfully saved the working condition, the algorithm page files of all controllers will be compressed to form a compressed working condition file, and a successful signal will be returned to the working condition saving communication interface. All temporary files of the controllers are compressed to obtain working condition files, which reduces the data volume of the files, reduces the risk of data damage or loss during transmission and storage, and improves data integrity. Through this orderly control and storage process, the reliability of the system in working condition storage is enhanced, and system failures or abnormalities caused by improper working condition storage are reduced.

[0034] Secondly, after the working condition file is transmitted to the management machine through the set channel in the working condition saving communication interface, the management machine returns an instruction indicating that the working condition has been successfully saved.

[0035] During the transmission of the working condition file, the working condition file is divided into packets according to the set transmission rate (the working condition file is divided into data packets of set size), and the divided working condition files are transmitted to the management machine respectively; After the working condition file is transmitted to the management machine, it is stored in the format of a temporary file; After storing the temporary file, the management machine verifies the integrity of the working condition file in real time. When the working condition file is damaged or lost, the management machine feeds back fault information to the controller corresponding to the damaged working condition file. The corresponding controller transmits again according to the fault information; The management machine stores the retransmitted operating condition file and performs integrity verification until the integrity verification of the operating condition file passes, and then returns an instruction to the corresponding controller indicating that the operating condition file has been successfully saved.

[0036] After the management machine receives the working condition files of all controllers, it deletes the temporary files of all controller working condition files, and returns the instruction of successful working condition saving to the controller through the working condition saving communication interface. The management machine records the detailed information of this saving operation.

[0037] Specifically, after the working condition is saved successfully, the working condition file transfer function will be started immediately. This function will securely transfer the compressed file to the management machine through an encrypted network channel. During the transmission process, the system will monitor the transmission status in real time, including the stability of the network connection, the data transmission rate, and the integrity of the data. At the same time, the system will also take a series of data verification and error correction measures to ensure the accuracy and security of the data. If any abnormal situation is found during the transmission process, the system will immediately take corresponding measures to deal with it, such as resending data, adjusting transmission parameters, or issuing alarms.

[0038] After the working condition file is successfully transferred to the management machine, the system will automatically delete the compressed temporary files of all controller algorithm pages to free up storage space. At the same time, the system will return a successful save notification to the user through the interface so that the user can know the result of the working condition save in time. In addition, the system will automatically record the detailed information of this save operation, including the save time, the saved file name, the saved path, and related controller information. These records will greatly facilitate the subsequent working condition data management and retrieval. Users can quickly find the required working condition data by querying these records, and analyze and process them.

[0039] In order to ensure that the working condition files can be safely and accurately transmitted to the management machine, the simulation system will use an encrypted network channel for data transmission. This encryption measure can effectively protect the confidentiality and integrity of the data and prevent the data from being stolen or tampered with during the transmission process.

[0040] Among them, an encryption algorithm is set in the working condition storage communication interface of the controller, and the encryption algorithm is used to perform encrypted communication with the management machine; the encryption algorithm can adopt SM2 encryption algorithm, SM3 encryption algorithm or RSA encryption algorithm. Regardless of the algorithm, it is necessary to transmit the public key and private key, as well as the corresponding digital certificate to the management machine. The controllers in this embodiment can use one encryption algorithm.

[0041] During the transmission process, the system will monitor the transmission status in real time, including the stability of the network connection, the data transmission rate, and the integrity of the data. Through real-time monitoring, the system can promptly discover and solve possible problems to ensure that the data can be smoothly transmitted to the management machine. If the network connection is found to be unstable during the transmission process, the system will try to re-establish the connection or adjust the transmission parameters to ensure that the data can continue to be transmitted. If the data transmission rate is found to be too slow, the system will analyze the cause and take corresponding measures, such as optimizing network settings or increasing bandwidth, to increase the transmission rate. If the integrity of the data is found to be damaged, the system will take data verification and error correction measures to ensure that the data received by the management machine is complete and accurate.

[0042] In addition, the system will back up and archive the transmitted data to prevent data loss or damage. If an unexpected situation occurs during the transmission process and the data transmission is interrupted, the system can restore the data from the backup and retransmit it. This ensures that the working condition files can be safely transmitted to the management machine in the end, providing reliable data support for subsequent working condition management.

[0043] After the working condition file is successfully transferred to the management machine, all controller algorithm page compressed temporary files are automatically deleted to free up storage space and avoid wasting storage space. At the same time, a successful save notification is returned to the user through the interface, so that the user can promptly understand the result of the working condition saving, enhancing the user's trust and satisfaction with the system. In addition, when the working condition corresponding to a controller needs to be reproduced, the management machine transfers the corresponding working condition file to the corresponding controller, and the controller reproduces it according to the working condition file.

[0044] In addition, the system automatically records the detailed information of this save operation, including the save time, save file name, save path, and related controller information, which is very important for the subsequent operation data management and retrieval. Through these records, users can easily query and trace the historical operation data, and understand the operation status and parameter settings of the system at different time points. This is of great significance for system debugging, optimization, and troubleshooting. At the same time, these records also provide strong support for system maintenance and management, and help improve the reliability and stability of the system.

[0045] In addition, the controller and the management machine need to authenticate before transmitting data through the working condition storage communication interface, including: The management machine registers the working conditions of each controller and saves the digital certificate of the communication interface as well as the user name and password information; the access rights to the communication interface are determined according to the permissions of each controller; When the management machine sends a working condition saving command to each controller, the working condition saving communication interface digital certificate and user name and password information corresponding to each controller are transmitted to the corresponding controller; Each controller is configured according to the received user name and password information and the digital certificate of the working condition storage communication interface, and after the configuration is successful, a configuration success instruction is sent to the management machine.

[0046] Only successfully configured controllers can communicate with the management machine through the working condition saving communication interface.

[0047] In addition, the simulation system also regularly reviews and updates the identities and permissions of controllers to ensure that the permissions of controllers always match their responsibilities and roles. If the identity or permissions of a controller change, the management machine should update the relevant information in a timely manner and notify the corresponding controller.

[0048] In addition, in order to prevent unauthorized access, the system should also establish a logging mechanism to record all access attempts to the communication interface, including successful and failed attempts. This will facilitate post-event tracing and auditing, and timely discover potential security threats. Example 2 like Figure 2 As shown, in another embodiment of the present invention, a thermal power plant simulation system is provided, which can be used to implement the above-mentioned method for saving operating conditions during the operation of the thermal power plant simulation system. Specifically, the thermal power plant simulation system includes a management machine and several controllers; the controller is provided with an operating condition saving communication interface; Among them, when the working condition saving communication interface receives the working condition saving command sent by the management machine, it sends it to the controller; The controller saves the configuration during operation according to the working condition saving command, obtains the working condition file, and transmits the working condition file to the management machine through the set channel in the working condition saving communication interface; After receiving the working condition file corresponding to the controller, the management machine returns the working condition saving successful instruction to the corresponding controller.

[0049] The working condition saving communication interface is a universal interface module, which realizes the communication compatibility between different controller stations and reduces the complexity of the system.

[0050] Example 3 In another embodiment of the present invention, the present invention also provides a storage medium, specifically a computer-readable storage medium (Memory), which is a memory device in a terminal device for storing programs and data. It is understandable that the computer-readable storage medium here can include both the built-in storage medium in the terminal device and the extended storage medium supported by the terminal device, and can be any tangible medium containing or storing a program, which can be used by an instruction execution system, device or device or used in combination with it. The computer-readable storage medium provides a storage space, which stores the operating system of the terminal. In addition, one or more instructions suitable for being loaded and executed by the processor are also stored in the storage space, and these instructions can be one or more computer programs (including program codes). It should be noted that more specific examples (non-exhaustive list) of the computer-readable storage medium here include: an electrical connection with one or more wires, a portable disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above.

[0051] Computer readable storage media also include data signals propagated in baseband or as part of a carrier wave, which carry readable program codes. Such propagated data signals can take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. The readable storage medium can also be any readable medium other than a readable storage medium, which can send, propagate, or transmit a program for use by or in conjunction with an instruction execution system, device, or device. The program code contained on the readable storage medium can be transmitted using any appropriate medium, including but not limited to wireless, wired, optical cable, RF, etc., or any suitable combination of the above.

[0052] Program code for performing the operations of the present invention may be written in any combination of one or more programming languages, including object-oriented programming languages ​​such as Java, C++, etc., and conventional procedural programming languages ​​such as "C" or similar programming languages. The program code may be executed entirely on the user computing device, partially on the user device, as a separate software package, partially on the user computing device and partially on a remote computing device, or entirely on a remote computing device or server. In the case of a remote computing device, the remote computing device may be connected to the user computing device through any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computing device (e.g., through the Internet using an Internet service provider).

[0053] The processor may load and execute one or more instructions stored in a computer-readable storage medium to implement the corresponding steps of the method for saving the operating conditions of a thermal power plant simulation system during operation in the above embodiment; the processor may load and execute the following steps of one or more instructions in the computer-readable storage medium: When the working condition saving communication interface receives the working condition saving command sent by the management computer in the thermal power plant simulation system, the configuration of all controllers in the thermal power plant simulation system during operation is saved according to the working condition saving command to obtain a working condition file; the working condition saving communication interface is set in the controller in the thermal power plant simulation system; After the working condition file is transmitted to the management machine through the set channel in the working condition saving communication interface, the management machine returns an instruction indicating that the working condition has been successfully saved.

[0054] Example 4 See also Figure 3, the terminal device is a computer device, and the computer device 60 of this embodiment includes: a processor 61, a memory 62, and a computer program 63 stored in the memory 62 and executable on the processor 61. When the computer program 63 is executed by the processor 61, the method for calculating the composition of fluid in the reservoir transformation wellbore in the embodiment is realized. To avoid repetition, it is not described one by one here. Alternatively, when the computer program 63 is executed by the processor 61, the functions of each model / unit in the calculation system for the composition of fluid in the reservoir transformation wellbore in the embodiment are realized. To avoid repetition, it is not described one by one here.

[0055] The computer device 60 may be a computing device such as a desktop computer, a notebook, a PDA, or a cloud server. The computer device 60 may include, but is not limited to, a processor 61 and a memory 62. Those skilled in the art will appreciate that Figure 3 This is only an example of the computer device 60 and does not constitute a limitation of the computer device 60. It may include more or fewer components than shown in the figure, or a combination of certain components, or different components. For example, the computer device may also include input and output devices, network access devices, buses, etc.

[0056] The processor 61 may be a central processing unit (CPU), or other general-purpose processors, central processing units, graphics processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, data processing logic based on quantum computing, discrete hardware components, etc. The general-purpose processor may be a microprocessor or the processor may be any conventional processor, etc.

[0057] The memory 62 may be an internal storage unit of the computer device 60, such as a hard disk or memory of the computer device 60. The memory 62 may also be an external storage device of the computer device 60, such as a plug-in hard disk, a smart media card (SMC), a secure digital (SD) card, a flash card, etc., equipped on the computer device 60.

[0058] Furthermore, the memory 62 may include both an internal storage unit of the computer device 60 and an external storage device. The memory 62 is used to store computer programs and other programs and data required by the computer device. The memory 62 may also be used to temporarily store data that has been output or is to be output.

[0059] Any reference to a memory, database or other medium used in the embodiments provided in the present application may include at least one of a non-volatile and a volatile memory. Non-volatile memory may include a read-only memory (ROM), a magnetic tape, a floppy disk, a flash memory, an optical memory, a high-density embedded non-volatile memory, a resistive random access memory (ReRAM), a magnetic random access memory (MRAM), a ferroelectric random access memory (FRAM), a phase change memory (PCM), a graphene memory, etc. Volatile memory may include a random access memory (RAM) or an external cache memory, etc. As an illustration and not limitation, RAM may be in various forms, such as a static random access memory (SRAM) or a dynamic random access memory (DRAM), etc.

[0060] The database involved in each embodiment provided in this application may include at least one of a relational database and a non-relational database. The non-relational database may include a distributed database based on blockchain, etc., but is not limited thereto. The processor involved in each embodiment provided in this application may be a general-purpose processor, a central processing unit, a graphics processor, a digital signal processor, a programmable logic device, a data processing logic device based on quantum computing, etc., but is not limited thereto.

[0061] Example 5 Figure 4 The present invention is a block diagram of an electronic device provided according to an embodiment.

[0062] See also Figure 4 The terminal device 600 is an electronic device, and the electronic device is in the form of a general computing device. The components of the electronic device may include but are not limited to: at least one processing unit 610, at least one storage unit 620, a bus 630 connecting different platform components (including the storage unit 620 and the processing unit 610), a display unit 640, etc.

[0063] The storage unit stores program codes, which can be executed by the processing unit 610, so that the processing unit 610 executes the steps according to various exemplary embodiments of the present invention described in the above method section of this specification. For example, the processing unit 610 can execute the following steps: Figure 1 Follow the steps shown in .

[0064] The storage unit 620 may include a readable medium in the form of a volatile storage unit, such as a random access memory unit (RAM) 6201 and / or a cache memory unit 6202 , and may further include a read-only memory unit (ROM) 6203 .

[0065] The storage unit 620 may also include a program / utility 6204 having a set (at least one) of program modules 6205, such program modules 6205 including but not limited to: an operating system, one or more application programs, other program modules, and program data, each of which or some combination may include an implementation of a network environment.

[0066] Bus 630 may represent one or more of several types of bus structures, including a memory unit bus or memory unit controller, a peripheral bus, an accelerated graphics port, a processing unit, or a local bus using any of a variety of bus architectures.

[0067] The electronic device 600 may also communicate with one or more external devices 700 (e.g., keyboards, pointing devices, Bluetooth devices, etc.), may also communicate with one or more devices that enable a user to interact with the electronic device 600, and / or communicate with any device that enables the electronic device 600 to communicate with one or more other computing devices (e.g., routers, modems, etc.). Such communication may be performed via an input / output (I / O) interface 650. Furthermore, the electronic device 600 may also communicate with one or more networks (e.g., a local area network (LAN), a wide area network (WAN), and / or a public network, such as the Internet) via a network adapter 660. The network adapter 660 may communicate with other modules of the electronic device 600 via a bus 630. It should be understood that, although not shown in the figure, other hardware and / or software modules may be used in conjunction with the electronic device 600, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data backup storage platforms, etc.

[0068] In order to make the purpose, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, rather than all of the embodiments. The components of the embodiments of the present invention described and shown in the drawings here can usually be arranged and designed in various different configurations. Therefore, the following detailed description of the embodiments of the present invention provided in the drawings is not intended to limit the scope of the claimed invention, but merely represents selected embodiments of the present invention. Based on the embodiments in the present invention, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of the present invention.

Claims

1. A method for saving operating conditions during operation of a thermal power plant simulation system, characterized in that: include: When the working condition saving communication interface receives the working condition saving command sent by the management computer in the thermal power plant simulation system, the configuration of all controllers in the thermal power plant simulation system during operation is saved according to the working condition saving command to obtain a working condition file; the working condition saving communication interface is set in the controller in the thermal power plant simulation system; After the working condition file is transmitted to the management machine through the set channel in the working condition saving communication interface, the management machine returns an instruction indicating that the working condition has been successfully saved.

2. The method for saving the operating conditions of a thermal power plant simulation system during operation according to claim 1, characterized in that: The configuration of all controllers in the thermal power plant simulation system during operation is saved according to the operating condition saving command to obtain the operating condition file, which specifically includes: The management machine sends a pause or stop command to all controllers in the thermal power plant simulation system. After receiving the pause or stop feedback command from the controller, the management machine changes the current working condition saving state of each controller and sends a working condition saving command to each controller. After receiving the working condition save command, the controller traverses the controller algorithm page file, reads the algorithm page file into the memory file, extracts the variable value of the current controller operation algorithm according to the algorithm page file structure, reads the variable value into the memory file, and compresses all temporary files of the controller to obtain the working condition file.

3. The method for saving the operating conditions of a thermal power plant simulation system during operation according to claim 2, characterized in that: An encryption algorithm is also provided in the working condition saving communication interface of the controller, and the encryption algorithm is used to perform encrypted communication with the management machine; the encryption algorithm is SM2 encryption algorithm, SM3 encryption algorithm or RSA encryption algorithm.

4. The method for saving the operating conditions of a thermal power plant simulation system during operation according to claim 3, characterized in that: Before the working condition storage communication interface communicates with the management computer in the thermal power plant simulation system, the working condition also includes the step of performing identity authentication through the storage communication interface, specifically including: The management machine registers the working conditions of each controller and saves the digital certificate of the communication interface as well as the user name and password information; the access rights to the communication interface are determined according to the permissions of each controller; When the management machine sends a working condition saving command to each controller, the working condition saving communication interface digital certificate and user name and password information corresponding to each controller are transmitted to the corresponding controller; Each controller is configured according to the received user name and password information and the digital certificate of the working condition storage communication interface, and after the configuration is successful, a configuration success instruction is sent to the management machine.

5. The method for saving the operating conditions of a thermal power plant simulation system during operation according to claim 1, characterized in that: The working condition file is transmitted to the management machine through the set network channel, specifically including: During the transmission of the working condition files, the working condition files are divided into packages according to the set transmission rate, and the divided working condition files are transmitted to the management machine respectively; After the working condition file is transmitted to the management machine, it is stored in the format of a temporary file; After storing the temporary file, the management machine verifies the integrity of the working condition file in real time. When the working condition file is damaged or lost, the management machine feeds back fault information to the controller corresponding to the damaged working condition file. The corresponding controller transmits again according to the fault information; The management machine stores the retransmitted operating condition file and performs integrity verification until the integrity verification of the operating condition file passes, and then returns an instruction to the corresponding controller indicating that the operating condition file has been successfully saved.

6. The method for saving the operating conditions of a thermal power plant simulation system during operation according to claim 5, characterized in that: After the management machine receives the working condition files of all controllers, it deletes the temporary files of all controller working condition files, and returns the instruction of successful working condition saving to the controller through the working condition saving communication interface. The management machine records the detailed information of this saving operation.

7. The method for saving the operating conditions of a thermal power plant simulation system during operation according to claim 1, characterized in that: The working condition saving communication interface adopts the TCP protocol and UDP protocol in the TCP / IP network communication protocol.

8. A thermal power plant simulation system, used to implement the method for saving operating conditions of a thermal power plant simulation system during operation as claimed in any one of claims 1 to 7, characterized in that: The system includes a management machine and several controllers; the controller is provided with a working condition saving communication interface; When the working condition saving communication interface receives the working condition saving command sent by the management machine, it sends it to the controller; The controller saves the configuration during operation according to the working condition saving command to obtain a working condition file, and transmits the working condition file to the management machine through a set channel in the working condition saving communication interface; After receiving the working condition file corresponding to the controller, the management machine returns an instruction of successful saving of the working condition to the corresponding controller.

9. A computer-readable storage medium storing one or more programs, characterized in that: The one or more programs include instructions, which, when executed by a computing device, enable the computing device to execute the method for saving operating conditions of a thermal power plant simulation system during operation as described in any one of claims 1 to 7.

10. A computing device, characterized in that include: One or more processors, a memory and one or more programs, wherein the one or more programs are stored in the memory and configured to be executed by the one or more processors, and the one or more programs include steps for executing the method for saving the operating conditions of a thermal power plant simulation system during operation as described in any one of claims 1 to 7.