Risk management method, device and equipment of deep reinforcement learning and storage medium
By constructing a risk prediction model using deep reinforcement learning methods and combining it with equipment and environmental information, the problem of inaccurate risk prediction in existing technologies is solved, and more comprehensive and accurate risk management is achieved.
Patent Information
- Application Number
- CN202611371331.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-09-04
- Publication Date
- 2026-11-27
AI Technical Summary
Existing machine learning models cannot dynamically learn the risk patterns under equipment aging and environmental changes, and it is difficult to quantify the contribution of equipment and environmental factors to risk, resulting in relatively one-sided and low-accuracy risk prediction.
A risk prediction model is constructed by acquiring historical equipment status and environmental information of the power plant through deep reinforcement learning. The model is trained using deep Q-networks and experience playback mechanisms, and risk management is carried out in combination with equipment maintenance and environmental regulation strategies.
It improves the comprehensiveness and accuracy of risk prediction, can dynamically adapt to changes in equipment and environment, and provides more accurate risk assessment and control strategies.
Smart Images

Figure CN123180741A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of risk monitoring technology, and in particular to a risk management method, apparatus, device, and storage medium based on deep reinforcement learning. Background Technology
[0002] As the power system develops towards intelligence and high reliability, the safe operation of power plant equipment is crucial to the stability of the power grid and the guarantee of electricity supply for users.
[0003] To ensure equipment safety, some power plants have tried to introduce machine learning models (such as random forests and support vector machines) for risk prediction. However, existing machine learning models cannot dynamically learn the risk patterns under complex scenarios such as equipment aging and environmental changes, and it is difficult to quantify the contribution of equipment and environmental factors to risk, making risk prediction relatively one-sided and inaccurate.
[0004] The above content is only used to help understand the technical solution of the present invention and does not represent an admission that the above content is prior art. Summary of the Invention
[0005] The main objective of this invention is to provide a risk management method, apparatus, device, and storage medium based on deep reinforcement learning, aiming to solve the technical problem of risk prediction being too one-sided and having low accuracy.
[0006] To achieve the above objectives, this invention provides a risk management method for deep reinforcement learning, which includes the following steps: Acquire historical equipment status information and historical environmental information within the power plant; The historical equipment status information and historical environment information are preprocessed to obtain the target equipment status information and target environment information. Based on the target equipment status information and target environment information, a risk prediction model is constructed using a deep Q-network. The state space is defined as a unified feature vector, the action space is a set of discretized equipment maintenance actions, and the reward function is a comprehensive reward based on risk probability, maintenance cost, and safety indicators. The risk prediction model is trained through an experience playback mechanism. Collect real-time equipment status information and real-time environmental information of the power plant, and obtain the joint risk probability output by the risk prediction model based on the real-time equipment status information and real-time environmental information; Determine equipment maintenance strategies and environmental control strategies based on joint risk probabilities; Implement equipment maintenance and environmental control strategies to achieve risk management.
[0007] Furthermore, the historical equipment status information and historical environment information are preprocessed to obtain the target equipment status information and target environment information, including: The Isolation Forest algorithm was used to identify the first outlier in historical device status information. Use a sliding window to identify the second outlier in historical environmental information; Replace the first outlier with the mean of adjacent time steps, and replace the second outlier with the median of the same type of sensor; If the number of first outliers exceeds the first preset threshold, or the number of second outliers exceeds the second preset threshold, then the first or second outlier will be treated as invalid data and removed. The first and second preset thresholds are determined based on the proportion of normal outliers in historical data.
[0008] Furthermore, a risk prediction model is constructed based on the target equipment status information and the target environment information, including: Extracting temporal features from the target device status information; Extracting spatial features from target environmental information; The temporal and spatial features are fused into a unified feature vector; A risk prediction model is constructed using a unified feature vector.
[0009] Furthermore, temporal and spatial features are fused into a unified feature vector, including: The temporal and spatial features are standardized to eliminate the dimensional differences between them. A gated fusion network is used to assign learnable weight coefficients to the processed temporal and spatial features; Based on learnable weight coefficients and in combination with preset parameters, the first weight coefficient corresponding to the processed temporal features and the second weight coefficient corresponding to the processed spatial features are determined. The processed temporal features and processed spatial features are fused into a unified feature vector based on the first and second weighting coefficients.
[0010] Furthermore, based on the joint risk probability, equipment maintenance strategies and environmental control strategies are determined, including: The risk level is determined based on the combined risk probability. The contribution of the joint risk probability is identified. The contribution is calculated using a feature attribution method based on Shapley values, including the contribution of equipment parameters and the contribution of environmental factors. Determine the strategy type based on the risk level; Equipment maintenance strategies and environmental control strategies are determined based on contribution level and strategy type.
[0011] Furthermore, the above method also includes: Risk weights, cost weights, and safety weights are determined based on the risk level. The reward signal is determined based on risk weight, cost weight, safety weight, and joint risk probability; Optimize equipment maintenance and environmental control strategies based on reward signals.
[0012] Furthermore, to achieve the above objectives, the present invention also proposes a risk management device for deep reinforcement learning, which includes: The data acquisition module is used to obtain historical equipment status information and historical environmental information within the power plant; The data preprocessing module is used to preprocess historical device status information and historical environmental information to obtain target device status information and target environmental information; The risk prediction model construction module is used to construct a risk prediction model based on the target equipment status information and target environment information using a deep Q-network. The state space is defined as the unified feature vector, the action space is a set of discretized equipment maintenance actions, and the reward function is a comprehensive reward based on risk probability, maintenance cost and safety indicators. The risk prediction model is trained through an experience playback mechanism. The joint risk probability determination module is used to collect real-time equipment status information and real-time environmental information of the power plant, and obtain the joint risk probability output by the risk prediction model based on the real-time equipment status information and real-time environmental information. The strategy determination module is used to determine equipment maintenance strategies and environmental control strategies based on the joint risk probability. The risk management module is used to execute equipment maintenance strategies and environmental control strategies to complete risk management.
[0013] Furthermore, the data preprocessing module is used to identify the first outlier in the historical device status information using the isolated forest algorithm; Use a sliding window to identify the second outlier in historical environmental information; Replace the first outlier with the mean of adjacent time steps, and replace the second outlier with the median of the same type of sensor; If the number of first outliers exceeds the first preset threshold, or the number of second outliers exceeds the second preset threshold, then the first or second outlier will be treated as invalid data and removed. The first and second preset thresholds are determined based on the proportion of normal outliers in historical data.
[0014] Furthermore, to achieve the above objectives, the present invention also proposes a risk management device for deep reinforcement learning. The risk management device for deep reinforcement learning includes: a memory, a processor, and a risk management program for deep reinforcement learning stored in the memory and executable on the processor. The risk management program for deep reinforcement learning is configured to implement the steps of the risk management method for deep reinforcement learning as described above.
[0015] Furthermore, to achieve the above objectives, the present invention also proposes a storage medium storing a risk management program for deep reinforcement learning, wherein when the risk management program for deep reinforcement learning is executed by a processor, it implements the steps of the risk management method for deep reinforcement learning as described above.
[0016] This invention acquires historical equipment status information and historical environmental information within a power plant; preprocesses the historical equipment status information and historical environmental information to obtain target equipment status information and target environmental information; constructs a risk prediction model based on the target equipment status information and target environmental information; collects real-time equipment status information and real-time environmental information of the power plant, and obtains the joint risk probability output by the risk prediction model based on the real-time equipment status information and real-time environmental information; determines equipment maintenance strategies and environmental adjustment strategies based on the joint risk probability; and executes the equipment maintenance strategies and environmental adjustment strategies to complete risk management. The above methods, combining equipment and environmental factors, improve the comprehensiveness and accuracy of risk prediction. Attached Figure Description
[0017] Figure 1 This is a flowchart illustrating the first embodiment of the risk management method for deep reinforcement learning of the present invention. The realization of the objective, functional features and advantages of the present invention will be further explained in conjunction with the embodiments and with reference to the accompanying drawings. Detailed Implementation
[0018] It should be understood that the specific embodiments described herein are for illustrative purposes only and are not intended to limit the scope of the invention.
[0019] This invention provides a risk management method for deep reinforcement learning, referring to... Figure 1 , Figure 1 This is a flowchart illustrating the first embodiment of a risk management method for deep reinforcement learning according to the present invention.
[0020] In this embodiment, the risk management method for deep reinforcement learning includes the following steps: Step S10: Obtain historical equipment status information and historical environmental information within the power plant.
[0021] In this embodiment, the execution subject is a risk management device for deep reinforcement learning. This risk management device for deep reinforcement learning has functions such as data processing, data communication, and program execution. The risk management device for deep reinforcement learning can be a computer terminal device or other network device, or other devices with similar functions. This embodiment does not limit the scope of the application.
[0022] It should be noted that as the power system develops towards intelligence and high reliability, the safe operation of power plant equipment is crucial to the stability of the power grid and the guarantee of electricity supply for users. In order to ensure equipment safety, some power plants have tried to introduce machine learning models (such as random forests and support vector machines) for risk prediction. However, existing machine learning models cannot dynamically learn the risk patterns under complex scenarios such as equipment aging and environmental changes, and it is difficult to quantify the contribution of equipment and environmental factors to risk, making risk prediction relatively one-sided and with low accuracy.
[0023] To address the aforementioned technical issues, this embodiment acquires historical equipment status information and historical environmental information within the power plant; preprocesses the historical equipment status information and historical environmental information to obtain target equipment status information and target environmental information; constructs a risk prediction model based on the target equipment status information and target environmental information; collects real-time equipment status information and real-time environmental information from the power plant, and obtains the joint risk probability output by the risk prediction model based on the real-time equipment status information and real-time environmental information; determines equipment maintenance strategies and environmental adjustment strategies based on the joint risk probability; and executes the equipment maintenance strategies and environmental adjustment strategies to complete risk management. This approach, combining equipment and environmental factors, improves the comprehensiveness and accuracy of risk prediction. Specifically, it can be implemented as follows.
[0024] In this specific implementation, it is necessary to first obtain historical equipment status information and historical environmental information within the power plant. Historical equipment status information includes basic equipment information and operational data. Basic equipment information includes equipment name and key component information, while operational data includes electrical parameters such as current, voltage, active / reactive power, and power factor; mechanical parameters such as vibration value, speed, and torque; thermodynamic parameters such as temperature and flow rate; and insulation parameters such as dissolved gas content in transformer oil. Historical environmental information includes temperature, humidity, and the equipment's own environment. The equipment's own environment includes the equipment installation environment such as indoor / outdoor installation, ventilation conditions, and protection level; and the heat dissipation / cooling environment such as the temperature, flow rate, and impurity content of the cooling medium.
[0025] Step S20: Preprocess the historical device status information and the historical environment information to obtain the target device status information and the target environment information.
[0026] In practice, to improve the accuracy of risk prediction, this embodiment requires preprocessing the obtained historical device status information and historical environment information to obtain the target device status information and target environment information.
[0027] The specific processing procedure is as follows: the isolated forest algorithm is used to identify the first outlier in the historical device status information; the sliding window is used to identify the second outlier in the historical environmental information; the first outlier is replaced with the mean of adjacent time steps, and the second outlier is replaced with the median of the same type of sensor; if the number of the first outlier exceeds a first preset threshold, or the number of the second outlier exceeds a second preset threshold, then the first outlier or the second outlier is regarded as invalid data and is removed. The first preset threshold and the second preset threshold are determined based on the proportion of normal outliers in the historical data.
[0028] It should be noted that the isolated forest algorithm is used to identify outliers. For example, if the turbine speed is within the normal range of 3000±50 rpm, and the data at a certain moment is 5000 rpm, it is considered an outlier. The sliding window can be a time window, which can be used to identify outliers. For example, if the sliding window is a 3-hour time window, and the humidity variance is >10% for 3 consecutive hours, it is considered an outlier. The mean of adjacent time steps is also considered. For example, if time t is an outlier, the mean of time t-1 and t+1 is calculated and used to replace the outlier. The second outlier is replaced with the median of the same type of sensor. For example, if a humidity sensor value is an outlier, the median of the values collected by all humidity sensors is obtained and used to replace the outlier. The preset ratio in this embodiment can be set to 30% or 40%. When it exceeds the preset ratio, it indicates that there are many outliers, and these outliers are removed. The preset ratio can be adjusted according to actual needs, and this embodiment does not impose any restrictions on it.
[0029] Step S30: Construct a risk prediction model based on the target device status information and the target environment information.
[0030] In this embodiment, the temporal features extracted from the target equipment status information include basic statistical features and deep temporal features. Basic features include, for example, the mean, variance, maximum, and minimum values within a time window (e.g., 10 minutes) (e.g., the 10-minute average of boiler temperature). Deep temporal features can be obtained by capturing long-short-term dependencies using a bidirectional LSTM network or a Transformer encoder, such as the 30-minute hysteresis effect of equipment vibration values. Spatial features extracted from the target environmental information include geospatial features and spatiotemporal joint features. Geospatial features can be extracted by mapping the latitude and longitude coordinates of environmental monitoring points to a graph structure, and then using a graph convolutional network to extract spatial features from the graph structure, such as the impact of regional humidity gradients on equipment corrosion. Spatiotemporal joint features are obtained by using a spatiotemporal graph convolutional network to capture the temporal changes and spatial distribution patterns of the environmental information's time series.
[0031] Furthermore, after extracting the aforementioned temporal and spatial features, this embodiment requires standardization of the temporal and spatial features to eliminate the dimensional differences between them. Standardization can be achieved, for example, by using Z-score standardization for the temporal features, with the formula x'=(x μ) / σ, where μ is the mean and σ is the standard deviation. Min-Max normalization is applied to the spatial features, with the formula x' = (xx) / σ. min ) / (x max x min After standardization, the two features are fused into a unified feature vector, which is then used to construct a risk prediction model. The fusion process specifically involves using a gated fusion network to assign learnable weight coefficients to the processed temporal and spatial features; determining a first weight coefficient corresponding to the processed temporal features and a second weight coefficient corresponding to the processed spatial features based on the learnable weight coefficients and preset parameters; and fusing the processed temporal and spatial features into a unified feature vector based on the first and second weight coefficients.
[0032] It should be noted that the processed temporal features can be 128-dimensional features, and the processed spatial features can be 64-dimensional features. The assigned learnable weight coefficients are assumed to be g0, which can be calculated using the formula g... s = sigmoid(W·g0+b), where W and b are preset parameters. The first weight coefficient is g. s The second weighting coefficient is 1-g s Then, by combining the two, we can obtain F=g s F 状态 +(1-g s )F 环境 F 状态 and F 环境 These represent the processed temporal features and the processed spatial features, respectively.
[0033] Step S40: Collect real-time equipment status information and real-time environmental information of the power plant, and obtain the joint risk probability output by the risk prediction model based on the real-time equipment status information and the real-time environmental information.
[0034] It is easy to understand that, in order to make risk predictions, this embodiment needs to collect real-time equipment status information and real-time environmental information of the power plant in real time, and then input this real-time information into the risk prediction model to make risk predictions.
[0035] Step S50: Determine the equipment maintenance strategy and environmental adjustment strategy based on the joint risk probability.
[0036] In practical implementation, the joint risk probability output by the risk prediction model can determine the risk level, for example, P. 联合 P represents the joint probability, with the low-risk level being P. 联合 <30%, medium risk level is 30%≤P 联合 <70%, high risk level is P 联合 ≥70%. Risk level corresponds to strategy type. In this embodiment, the strategy types include passive monitoring, active adjustment, and emergency control. Passive monitoring, active adjustment, and emergency control correspond to low risk, medium risk, and high risk levels, respectively. Contribution percentage, for example, is the contribution of main transformer temperature anomaly in the equipment risk contribution percentage (S). 主变 =60%, the contribution of auxiliary fan vibration value exceeding the standard S 风机 =25%, Total contribution of other equipment S 其他 =15%. The final equipment maintenance strategy and environmental control strategy can be determined based on the above contribution level and strategy type. For example, if the strategy type is emergency control, the corresponding strategy is immediate shutdown or load reduction for maintenance. The contribution level determines the priority within this strategy; for example, if the main transformer temperature anomaly has the highest contribution, then immediate shutdown or load reduction for maintenance of the main transformer will be prioritized. The strategies and related settings mentioned above can be adaptively adjusted according to actual control needs; this embodiment does not impose any restrictions on this.
[0037] Furthermore, in this embodiment, risk weight, cost weight, and safety weight can be determined based on the risk level; a reward signal can be determined based on the risk weight, cost weight, safety weight, and joint risk probability; and the equipment maintenance strategy and environmental adjustment strategy can be optimized based on the reward signal.
[0038] Specifically, α is the risk weight, which can be increased at high-risk levels, for example, to 0.7. β is the cost weight, which can be increased at low-risk levels, for example, to 0.6. γ is the safety weight, which can be kept at 0.2 at any risk level. The formula for the reward signal is R = α·(1 P 联合 )+β·(1 C cost )+γ·P safety C cost This represents the corresponding cost, which is the ratio of the actual execution cost to the baseline cost. P safety P represents the probability of a security event. safety=1 - (Number of safety violations / Total number of operation steps). Since the risk weight, cost weight, and safety weight mentioned above are related to the risk level, and the risk level determines the corresponding strategy, the above reward signals can be used to optimize the risk weight, cost weight, and safety weight, thereby indirectly optimizing equipment maintenance strategies and environmental control strategies.
[0039] Step S60: Execute the equipment maintenance strategy and the environmental adjustment strategy to complete risk management.
[0040] In this embodiment, equipment maintenance strategies such as "routine inspection", "deep maintenance", "replacement of parts", and "postponement of maintenance" are executed, and environmental control strategies such as "starting the cooling fan", "closing the vent", and "increasing the power of the dehumidifier" are executed. The specific actions of the strategies can also be adjusted according to the actual situation, and this embodiment does not impose any restrictions on them.
[0041] This embodiment acquires historical equipment status information and historical environmental information within the power plant; preprocesses the historical equipment status information and historical environmental information to obtain target equipment status information and target environmental information; constructs a risk prediction model based on the target equipment status information and target environmental information; collects real-time equipment status information and real-time environmental information of the power plant, and obtains the joint risk probability output by the risk prediction model based on the real-time equipment status information and real-time environmental information; determines equipment maintenance strategies and environmental adjustment strategies based on the joint risk probability; and executes the equipment maintenance strategies and environmental adjustment strategies to complete risk management. This approach, combining equipment and environmental factors, improves the comprehensiveness and accuracy of risk prediction.
[0042] Furthermore, this embodiment of the invention also proposes a storage medium storing a risk management program for deep reinforcement learning. When the risk management program for deep reinforcement learning is executed by a processor, it implements the steps of the risk management method for deep reinforcement learning as described above.
[0043] On the other hand, the risk management device for deep reinforcement learning proposed in this embodiment of the invention includes: The data acquisition module is used to acquire historical equipment status information and historical environmental information within the power plant; The data preprocessing module is used to preprocess the historical device status information and the historical environment information to obtain the target device status information and the target environment information. The risk prediction model construction module is used to construct a risk prediction model based on the target equipment status information and the target environment information using a deep Q-network. The state space is defined as the unified feature vector, the action space is a set of discretized equipment maintenance actions, and the reward function is a comprehensive reward based on risk probability, maintenance cost and safety indicators. The risk prediction model is trained through an experience playback mechanism. The joint risk probability determination module is used to collect real-time equipment status information and real-time environmental information of the power plant, and obtain the joint risk probability output by the risk prediction model based on the real-time equipment status information and the real-time environmental information. The strategy determination module is used to determine equipment maintenance strategies and environmental control strategies based on the joint risk probabilities. The risk management module is used to execute the equipment maintenance strategy and the environmental control strategy to complete risk management.
[0044] This embodiment acquires historical equipment status information and historical environmental information within the power plant; preprocesses the historical equipment status information and historical environmental information to obtain target equipment status information and target environmental information; constructs a risk prediction model based on the target equipment status information and target environmental information; collects real-time equipment status information and real-time environmental information of the power plant, and obtains the joint risk probability output by the risk prediction model based on the real-time equipment status information and real-time environmental information; determines equipment maintenance strategies and environmental adjustment strategies based on the joint risk probability; and executes the equipment maintenance strategies and environmental adjustment strategies to complete risk management. This approach, combining equipment and environmental factors, improves the comprehensiveness and accuracy of risk prediction.
[0045] This application embodiment also provides a risk management device for deep reinforcement learning, including a processor, a communication interface, a memory, and a communication bus. The processor, communication interface, and memory communicate with each other through the communication bus. The memory is used to store risk management programs for deep reinforcement learning. When the processor executes the program stored in the memory, it implements the aforementioned risk management method for deep reinforcement learning.
[0046] The communication bus mentioned in the aforementioned deep reinforcement learning-based risk management device can be a Peripheral Component Interconnect (PCI) bus or an Extended Industry Standard Architecture (EISA) bus, etc. This communication bus can be divided into address bus, data bus, control bus, etc.
[0047] The communication interface is used for communication between the aforementioned deep reinforcement learning risk management device and other devices.
[0048] The memory may include random access memory (RAM) or non-volatile memory (NVM), such as at least one disk storage device. Optionally, the memory may also be at least one storage device located remotely from the aforementioned processor.
[0049] The processors mentioned above can be general-purpose processors, including central processing units (CPUs), network processors (NPs), etc.; they can also be digital signal processors (DSPs), application-specific integrated circuits (ASICs), field-programmable gate arrays (FPGAs), or other programmable logic devices, discrete gate or transistor logic devices, or discrete hardware components.
[0050] In the above embodiments, implementation can be achieved entirely or partially through software, hardware, firmware, or any combination thereof. When implemented using software, it can be implemented entirely or partially as a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, all or part of the processes or functions described in the embodiments of this application are generated. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions can be stored in a computer-readable storage medium or transmitted from one computer-readable storage medium to another. For example, the computer instructions can be transmitted from one website, computer, server, or data center to another website, computer, server, or data center via wired (e.g., coaxial cable, fiber optic, digital subscriber line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) means. The computer-readable storage medium can be any available medium that a computer can access or a data storage device such as a server or data center that integrates one or more available media. The available medium can be a magnetic medium (e.g., floppy disk, hard disk, magnetic tape), an optical medium (e.g., DVD), or a semiconductor medium (e.g., solid state disk (SSD)).
[0051] It should be noted that, in this document, relational terms such as "first" and "second" are used only to distinguish one entity or operation from another, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Furthermore, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Without further limitations, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes said element.
[0052] The various embodiments in this specification are described in a related manner. Similar or identical parts between embodiments can be referred to mutually. Each embodiment focuses on describing the differences from other embodiments. In particular, the system embodiments are basically similar to the method embodiments, so the description is relatively simple; relevant parts can be referred to the descriptions of the method embodiments.
[0053] The above embodiments are only used to illustrate the technical solutions of the present invention, and are not intended to limit it. Although the present invention has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some of the technical features. Such modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of the present invention.
[0054] It should be understood that the above are merely illustrative examples and do not constitute any limitation on the technical solutions of the present invention. In specific applications, those skilled in the art can make settings as needed, and the present invention does not impose any restrictions on this.
[0055] It should be noted that the workflow described above is merely illustrative and does not limit the scope of protection of this invention. In practical applications, those skilled in the art can select some or all of the workflow to achieve the purpose of this embodiment according to actual needs, and no restrictions are imposed here.
[0056] In addition, for technical details not described in detail in this embodiment, please refer to the risk management method of deep reinforcement learning provided in any embodiment of the present invention, which will not be repeated here.
[0057] Furthermore, it should be noted that, in this document, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or system that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or system. Unless otherwise specified, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or system that includes that element.
[0058] The sequence numbers of the above embodiments of the present invention are for descriptive purposes only and do not represent the superiority or inferiority of the embodiments.
[0059] Through the above description of the embodiments, those skilled in the art can clearly understand that the methods of the above embodiments can be implemented by means of software plus necessary general-purpose hardware platforms. Of course, they can also be implemented by hardware, but in many cases the former is a better implementation method. Based on this understanding, the technical solution of the present invention, or the part that contributes to the prior art, can be embodied in the form of a software product. This computer software product is stored in a storage medium (such as read-only memory (ROM) / RAM, magnetic disk, optical disk) and includes several instructions to cause a terminal device (which may be a mobile phone, computer, server, or network device, etc.) to execute the methods described in the various embodiments of the present invention.
[0060] The above are merely preferred embodiments of the present invention and do not limit the scope of the patent. Any equivalent structural or procedural transformations made based on the description and drawings of the present invention, or direct or indirect applications in other related technical fields, are similarly included within the scope of patent protection of the present invention.
[0061] It is understood that the system provided in the embodiments of the present invention corresponds to the method provided in the embodiments of the present invention, and the explanation, examples and beneficial effects of the relevant content can be referred to the corresponding parts of the above method.
Claims
1. A risk management method based on deep reinforcement learning, characterized in that, The risk management methods for deep reinforcement learning include: Acquire historical equipment status information and historical environmental information within the power plant; The historical device status information and the historical environment information are preprocessed to obtain the target device status information and the target environment information. Based on the target equipment status information and the target environment information, a risk prediction model is constructed using a deep Q-network. The state space is defined as the unified feature vector, the action space is a set of discrete equipment maintenance actions, and the reward function is a comprehensive reward based on risk probability, maintenance cost, and safety indicators. The risk prediction model is trained through an experience playback mechanism. Collect real-time equipment status information and real-time environmental information of the power plant, and obtain the joint risk probability output by the risk prediction model based on the real-time equipment status information and the real-time environmental information; Based on the combined risk probabilities, determine the equipment maintenance strategy and the environmental control strategy; The equipment maintenance strategy and the environmental control strategy are implemented to complete risk management.
2. The risk management method for deep reinforcement learning as described in claim 1, characterized in that, The preprocessing of the historical device status information and the historical environment information to obtain the target device status information and the target environment information includes: The first outlier in the historical device status information is identified using the isolated forest algorithm. A second outlier in the historical environmental information is identified using a sliding window. Replace the first outlier with the mean of adjacent time steps, and replace the second outlier with the median of the same type of sensor; If the number of the first outliers exceeds the first preset threshold, or the number of the second outliers exceeds the second preset threshold, then the first outlier or the second outlier will be treated as invalid data and removed. The first preset threshold and the second preset threshold are determined based on the proportion of normal outliers in historical data.
3. The risk management method for deep reinforcement learning as described in claim 1, characterized in that, The risk prediction model constructed based on the target device status information and the target environment information includes: Extract timing features from the target device status information; Extract spatial features from the target environment information; The temporal features and spatial features are fused into a unified feature vector; A risk prediction model is constructed using the unified feature vector.
4. The risk management method for deep reinforcement learning as described in claim 3, characterized in that, The process of fusing the temporal features and the spatial features into a unified feature vector includes: The temporal features and spatial features are standardized to eliminate the dimensional differences between them. A gated fusion network is used to assign learnable weight coefficients to the processed temporal and spatial features; Based on the learnable weight coefficients and in combination with preset parameters, the first weight coefficient corresponding to the processed temporal features and the second weight coefficient corresponding to the processed spatial features are determined. The processed temporal features and the processed spatial features are fused into a unified feature vector based on the first weighting coefficient and the second weighting coefficient.
5. The risk management method for deep reinforcement learning as described in claim 1, characterized in that, The process of determining the equipment maintenance strategy and environmental control strategy based on the joint risk probability includes: The risk level is determined based on the combined risk probability. Identify the contribution of the joint risk probability, which is calculated using a feature attribution method based on Shapley values, including the contribution of equipment parameters and the contribution of environmental factors; The strategy type is determined based on the risk level. Equipment maintenance strategies and environmental control strategies are determined based on the contribution level and the strategy type.
6. The risk management method for deep reinforcement learning as described in claim 5, characterized in that, The method further includes: The risk weight, cost weight, and safety weight are determined based on the aforementioned risk level. The reward signal is determined based on the risk weight, the cost weight, the security weight, and the joint risk probability. The equipment maintenance strategy and the environmental adjustment strategy are optimized based on the reward signal.
7. A risk management device based on deep reinforcement learning, characterized in that, The risk management device for deep reinforcement learning includes: The data acquisition module is used to obtain historical equipment status information and historical environmental information within the power plant; The data preprocessing module is used to preprocess the historical device status information and the historical environment information to obtain the target device status information and the target environment information. The risk prediction model construction module is used to construct a risk prediction model based on the target equipment status information and the target environment information using a deep Q-network. The state space is defined as the unified feature vector, the action space is a set of discretized equipment maintenance actions, and the reward function is a comprehensive reward based on risk probability, maintenance cost and safety indicators. The risk prediction model is trained through an experience playback mechanism. The joint risk probability determination module is used to collect real-time equipment status information and real-time environmental information of the power plant, and input them into the risk prediction model to output the joint risk probability. The strategy determination module is used to determine equipment maintenance strategies and environmental control strategies based on the joint risk probabilities. The risk management module is used to execute the equipment maintenance strategy and the environmental control strategy to complete risk management.
8. The risk management device for deep reinforcement learning as described in claim 7, characterized in that, The data preprocessing module is used to identify the first outlier in the historical device status information using the isolated forest algorithm; A second outlier in the historical environmental information is identified using a sliding window. Replace the first outlier with the mean of adjacent time steps, and replace the second outlier with the median of the same type of sensor; If the number of the first outliers exceeds the first preset threshold, or the number of the second outliers exceeds the second preset threshold, then the first outlier or the second outlier will be treated as invalid data and removed. The first preset threshold and the second preset threshold are determined based on the proportion of normal outliers in historical data.
9. A risk management device based on deep reinforcement learning, characterized in that, The risk management device for deep reinforcement learning includes: a memory, a processor, and a risk management program for deep reinforcement learning stored in the memory and executable on the processor, wherein the risk management program for deep reinforcement learning is configured to implement the steps of the risk management method for deep reinforcement learning as described in any one of claims 1 to 6.
10. A storage medium, characterized in that, The storage medium stores a risk management program for deep reinforcement learning, which, when executed by a processor, implements the steps of the risk management method for deep reinforcement learning as described in any one of claims 1 to 6.
