원시데이터 수집 시스템
선정목록으로

Reinforcement Learning Based Automatic Synchronization Method for Nuclear Power Digital Twin Model

관련 수소연료전지 · (5) 연료전지용 수분제어장치(가습기)

기본 정보

저자
  1. Yunlong Xiao — China Nuclear Power Operation Technology Corporation Ltd., Wuhan, China
  2. Hao Liu — China Nuclear Power Operation Technology Corporation Ltd., Wuhan, China
  3. Qing Zhang — China Nuclear Power Operation Technology Corporation Ltd., Wuhan, China
  4. Jingsi Chen — China Nuclear Power Operation Technology Corporation Ltd., Wuhan, China
DOI
10.1109/access.2024.3416999
저널
IEEE Access
발행년도
2024
발행기관
Institute of Electrical and Electronics Engineers
피인용수
4
라이선스
cc-by-nc-nd
논문 유형
–
언어
–
원문 페이지
https://doi.org/10.1109/access.2024.3416999
토픽
Fuel Cells and Related Materials
OpenAlex ID
W4399849615

평가 내용

관련도
관련
사업분야
수소연료전지 · (5) 연료전지용 수분제어장치(가습기)
부 분야
–
R&D 측면
–
확신도
–
근거 용어
–
판단 근거
임베딩 유사도 기반 평가로 '수소연료전지 > 연료전지용 수분제어장치(가습기)' 분야에 선정된 논문입니다.
R&D 활용 포인트
–
평가 입력
–

초록

The objective of this research is to tackle the synchronization challenge between digital twin models of nuclear power and their corresponding real-world units, thereby enhancing the safety protocols of nuclear power operations. Central to achieving this synchronization, the study zeroes in on optimizing parameters. This entails conducting parameter optimization on the model whenever discrepancies in synchronization between the digital twin and the actual power units emerge. A novel optimization algorithm, termed TD3PSO, is introduced within this manuscript. Notably, this algorithm possesses the ability to adaptively fine-tune hyperparameters, significantly diminishing the reliance on human intervention. Validation of the proposed method is carried out through experiments using a digital twin model of a nuclear power steam system. The findings underscore that, in comparison to conventional manual adjustments, our method achieves a substantial 93.93% enhancement in accuracy. Further, to ascertain the algorithm’s universality and robustness, it was evaluated against a range of benchmark functions. Across these tests, the TD3PSO algorithm consistently surpassed the performance metrics of traditional Particle Swarm Optimization algorithms. Consequently, this study furnishes a potent solution to the issue of synchronization between nuclear power digital twin models and actual units, marking a significant milestone in terms of its practical and theoretical contributions.

본문 41,721자

본문 펼치기
Received 3 June 2024, accepted 14 June 2024, date of publication 20 June 2024, date of current version 28 June 2024. _Digital Object Identifier 10.1109/ACCESS.2024.3416999_ # Reinforcement Learning Based Automatic Synchronization Method for Nuclear Power Digital Twin Model YUNLONG XIAO 1, HAO LIU 1,2, QING ZHANG1, AND JINGSI CHEN1 1China Nuclear Power Operation Technology Corporation Ltd., Wuhan 430070, China 2College of Science, China Three Gorges University, Yichang 443002, China Corresponding author: Yunlong Xiao (335427790@qq.com) ABSTRACT The objective of this research is to tackle the synchronization challenge between digital twin models of nuclear power and their corresponding real-world units, thereby enhancing the safety protocols of nuclear power operations. Central to achieving this synchronization, the study zeroes in on optimizing parameters. This entails conducting parameter optimization on the model whenever discrepancies in synchronization between the digital twin and the actual power units emerge. A novel optimization algorithm, termed TD3PSO, is introduced within this manuscript. Notably, this algorithm possesses the ability to adaptively fine-tune hyperparameters, significantly diminishing the reliance on human intervention. Validation of the proposed method is carried out through experiments using a digital twin model of a nuclear power steam system. The findings underscore that, in comparison to conventional manual adjustments, our method achieves a substantial 93.93% enhancement in accuracy. Further, to ascertain the algorithm’s universality and robustness, it was evaluated against a range of benchmark functions. Across these tests, the TD3PSO algorithm consistently surpassed the performance metrics of traditional Particle Swarm Optimization algorithms. Consequently, this study furnishes a potent solution to the issue of synchronization between nuclear power digital twin models and actual units, marking a significant milestone in terms of its practical and theoretical contributions. INDEX TERMS Nuclear power, automated synchronization, reinforcement learning, particle swarm optimization. I. INTRODUCTION Nuclear power is a significant and efficient energy supply method [1], [2], playing a crucial role in the global energy structure [3]. It contributes significantly to the low-carbon economy and the development of a green energy grid [4]. The nuclear steam system, a key component of nuclear power plants, converts heat generated from nuclear fission into steam, which then drives turbines to produce electricity. This system is a critical piece of equipment that underscores the importance of nuclear power as a reliable energy source. However, with the rapid development in the utilization of nuclear energy due to technological advancements and The associate editor coordinating the review of this manuscript and approving it for publication was Sotirios Goudos . growing energy demand, nuclear power safety concerns have emerged [5]. Ensuring nuclear power safety is essential for public health and environmental protection. It necessitates not only high standards of technical support [6], but also continuous innovation and improvement. Preventing accidents [7], managing crisis situations, and ensuring long-term safe operation [8] have become ongoing priorities for the nuclear power industry, with the nuclear steam system’s reliable performance being a key factor in meeting these objectives. The concept of nuclear power digital twin technology has emerged as a research hotspot in the nuclear power field [9]. It aims to efficiently manage the safe operation of nuclear power plants and minimize potential risks. The nuclear power digital twin model accurately represents the real-time operating status of the nuclear power plant by constructing and synchronously updating a virtual nuclear power plant [10]. This model integrates a wealth of data, including real-time sensor data, historical operation and maintenance records, and various simulation-based scenarios. By utilizing this information, the digital twin model provides a scientific basis for making operational and maintenance decisions, greatly enhancing the efficiency and safety levels of nuclear power plants. The synchronization between the digital twin system and the actual unit is crucial for the effective application of digital twin technology [11]. However, achieving synchronization between the nuclear power digital twin system and the actual unit is challenging due to limitations in the nuclear power simulation model and the changing nature of nuclear power equipment over time. One specific example is the digital twin model of the nuclear power secondary circuit steam system, where obtaining precise measurements for the pipe network’s resistance is challenging. As a result, engineers are forced to manually debug each node, which fails to meet the efficiency and accuracy requirements for achieving synchronization between the digital twin model and the actual unit. Therefore, it is of great significance to investigate intelligent debugging methods that can achieve synchronization between the digital twin model and the actual unit. Particle swarm optimization (PSO) is an intelligent optimization algorithm widely applied in various nuclear power fields, such as system optimization, fuel solution optimization, and system safety design [12]. Its effectiveness has been extensively verified in previous studies. For instance, Gabbar et al. [13] successfully reduced the cost of the nuclear power hybrid energy system using the PSO algorithm. Kiomarsi et al. [14] utilized PSO to determine the optimal location of the off-site power supply system for nuclear power plants, ensuring uninterrupted power supply and enhancing safety. Chen et al. [15] proposed a path planning method for nuclear power plant inspection robots based on interval multi-objective PSO, resulting in improved path optimization. Khuwaileh et al. [16] developed a PSO-based artificial neural network method to solve the inverse consumption problem of nuclear fuel, estimating initial fuel enrichment and maximum burnup. Mousakazemi [17] compared PSO and genetic algorithms for tuning the proportional integral differential controller of pressurized water reactors, with PSO yielding better results. Ejigu and Liu [18] proposed a deep neural network method based on a hybrid algorithm of gradient descent and PSO for monitoring core power and outlet temperature in pressurized water reactors, demonstrating significant experimental results. Cao et al. [19] presented a PSO-based model for nuclear power zirconium alloy cold rolling force, effectively guiding the rolling control process. Ling et al. [20] proposed a rapid estimation method for source material release rates after nuclear accidents using PSO-backpropagation neural network, which improved nuclear emergency response efficiency. Wu et al. [21] introduced a multi-objective PSO algorithm for optimizing nuclear reactor radiation shielding design, leading to improved shielding solutions’ quality. While the PSO algorithm has proven effective, it does have limitations [22]. In practical applications, obtaining an optimal parameter set using PSO often requires manual tuning of hyperparameters multiple times. This manual intervention not only reduces the intelligence and automation of the algorithm but also significantly impacts its performance. In recent years, the emergence of deep learning has showcased the powerful parameter search capabilities of neural networks. Reinforcement learning, in particular, has demonstrated remarkable performance in continuous action and state space control problems, making it possible to combine reinforcement learning with swarm intelligence algorithms. This integration holds potential for further advancements. This paper introduces an automated synchronization method for digital twin models of nuclear power steam systems using an adaptive intelligent optimization algorithm. Twin delayed deep deterministic policy gradient (TD3) [23] is employed to build a neural network model, and the PSO algorithm is dynamically adjusted based on different states during the optimization process. The algorithm’s hyperparameters are obtained through pre-training the action network. Subsequently, during the automatic debugging process of the model, the action network adaptively adjusts the hyperparameters of PSO to achieve automatic synchronization of the digital twin model for the nuclear power steam system. The structure of this paper is organized as follows. Section II introduces the digital twin model of the nuclear power steam system. The particle swarm optimization algorithm based on TD3 is introduced in Section III and the digital twin model synchronization scheme is given. In Section IV, the experimental results are presented to validate the effectiveness of the proposed method and the conclusion is summarized in Section V. II. DIGITAL TWIN MODEL The digital twin model of the nuclear power steam system comprises a two-phase flow network model and equipment models, including steam turbines, valves, steam-water separation reheaters, and condensers. The two-phase flow network model is built upon the three conservation equations of mass, energy, and momentum for gas-liquid two-phase mixing. The actual pipeline’s pipe network is represented by nodes, with simulated pipelines connecting these nodes. Once the simulation node diagram is constructed based on the power plant’s P&ID diagram and pipeline, inputting the equipment structure parameters and boundary parameters, certain key parameters are determined using full power operating parameters and engineering experience. Through a calibration method, the pipeline admittance and turbine stage efficiency are calculated, and the digital twin model is populated accordingly. Once loaded, the model can provide simulation results that closely resemble the current operating conditions. For even more precise results, further fine-tuning can be performed based on this foundation. In this paper, the digital twin model of a steam system in the secondary loop of a full-scale simulated machine flow network system of a nuclear power unit is chosen as the research subject. The model takes input from 94 sensors, which measure the network resistance and group efficiency of each section of the optimized pipeline. The model’s outputs consist of measurements from 20 sensors, providing current values of input water pressure, outlet temperature, water flow, power, and other parameters obtained through model simulations. III. AIGORITHM PRINCIPLE AND IMPLEMENTATION _A._ _PARTICLE SWARM OPTIMIZATION_ Particle swarm optimization is a heuristic algorithm inspired by the collective behavior of biological groups like bird flocks or fish schools. It approximates the optimal solution by simulating collaboration and information exchange among individuals in a group. In this algorithm, a group of weightless individuals is created, each possessing speed and position attributes. The speed determines their movement rate, while the position determines the direction of movement. Individually, each member explores the solution space to find the optimal solution and records it as their personal best. They communicate their personal best to other individuals, thereby determining the global optimum. Based on the personal and global best values, each individual adjusts their speed and position to form new personal and global bests. This process continues until the final solution is found. PSO successfully captures the autonomous yet cooperative behavior of individuals in self-organizing systems, achieving global optimization through simple individual behavior rules. The implementation process is detailed below. Assume that there are _N_ individuals in the population, the dimension of the solution space is _D_, and each individual represents a point in the solution space. To describe the state of the individual, the velocity _Vi_ and position _Xi_ of the _i_ -th individual are defined as follows: _B._ _TWIN DELAYED DEEP DETERMINISTIC POLICY_ _GRADIENT_ The reinforcement learning agent interacts with the environment in a Markov decision-making manner to maximize environmental rewards. This process can be expressed in the form of a quadruple ( _S, A, R, P_ ). _S_ represents the state, _A_ represents the action, _R_ represents the reward function, and _P_ represents the state transition probability. In state _St_, action _At_ is executed through policy _π_, and the next state _St_ +1 and reward value _Rt_ are obtained. The reward value is calculated as follows: _Rt_ = - _T_ _i_ = _t_ <sup>_γ i_</sup> <sup>−</sup> <sup>_t_</sup> <sup>_r_</sup> <sup>(</sup> <sup>_Si, Ai_</sup> <sup>)</sup> (5) where _Rt_ is the reward at time _t_, _T_ is the number of steps before the interaction between the agent and the environment ends, _r_ ( _Si, Ai_ ) is the reward obtained by executing action _Ai_ in the current _Si_ environment, and _γ_ is the discount factor. The action value function _Q (St_ _, At_ _)_ is used in reinforcement learning to represent the long-term reward of performing action _A_ in the current environment _S_ . _Q (St_ _, At_ _)_ = _E_ [ _Rt_ | _S_ = _St_ _, A_ = _At_ ] = _E_ - _T_ _i_ = _t_ _γ_ <sup>_i_</sup> <sup>−</sup> <sup>_t_</sup> _r_ ( _Si, Ai_ ) (6) Find the optimal action value function through the Bellman equation. _Q_ <sup>_π_</sup> _(St_ _, At_ _)_ = _E_ _r (St_ _, At_ _)_ + _γ_ ∗ _maxA_ ′ _t_ ′ _t_ +1 <sup>_Qπ_</sup> <sup>(</sup> <sup>_St_</sup> <sup>+1</sup> <sup>_, A_</sup> _t_ <sup>′</sup> _t_ <sup>′</sup> +1 <sup>)</sup> _i_ <sup>2</sup> <sup>_, . . ., V_</sup> _i_ <sup>_D_</sup> _i_ <sup>2</sup> <sup>_, . . ., X_</sup> _i_ <sup>_D_</sup> _i_ (7) However, the update of the current action value function is only suitable for situations where both the action and state spaces are discrete. In order to apply reinforcement learning to the situation of continuous state action space, TD3 designed three deep neural networks, namely action value network _Q_ 1( _St_ _, At_ | _θ_ <sup>_Q_</sup> <sup>1</sup> ), action value network _Q_ 2( _St_ _, At_ | _θ_ <sup>_Q_</sup> <sup>2</sup> ) and action Network _µ_ ( _St_ | _θ_ <sup>_µ_</sup> ), where _θ_ <sup>_Q_</sup> <sup>1</sup>, _θ_ <sup>_Q_</sup> <sup>2</sup> and _θ_ <sup>_µ_</sup> are the parameters of the deep neural network. The network architecture of the TD3 algorithm is shown in FIGURE 1. FIGURE 1. TD3 algorithm architecture. The action value network is used to approximate the action value function and provide gradients to the action network. To avoid overestimation of the Q value, the TD3 algorithm uses the smaller Q value of the two action value networks to _Vi_ = _Xi_ = - _Vi_ <sup>1</sup> - _Xi_ <sup>1</sup> _i_ <sup>1</sup> <sup>_, V_</sup> _i_ <sup>2</sup> _i_ <sup>1</sup> <sup>_, X_</sup> _i_ <sup>2</sup> _i_ _,_ _i_ = 1 _,_ 2 _, . . ., N_ (1) _,_ _i_ = 1 _,_ 2 _, . . ., N_ (2) As the search proceeds, the two motion vectors are updated as follows: _Vi (t_ + 1 _)_ = _wVi_ _(t)_ + _c_ 1 _r_ 1 - _pBest_ _i_ - _Xi (t)_ + _c_ 2 _r_ 2 _(gBest_ - _Xi (t))_ (3) _Xi (t_ + 1 _)_ = _Xi (t)_ + _Vi (t_ + 1 _)_ (4) where _Vi (t_ + 1 _)_ is the updated speed, _w_ is the inertia weight, _c_ 1 is the individual factor, _r_ 1 is the random number factor, _pBest_ _i_ is the individual historical optimal, _c_ 2 is the population factor, _r_ 2 is the random number, _gBest_ is the historical optimal of the population, and _Xi (t_ + 1 _)_ is the updated position. calculate the Bellman equation, and the network weights are updated by minimizing the loss function. _t_ <sup>′</sup> +1 <sup>_, A_</sup> <sup>′</sup> _t_ _L_ - _θ_ <sup>_Qi_</sup> = _r (St_ _, At_ _)_ + _γ_ ∗ _mini_ =1 _,_ 2 _Q_ <sup>′</sup> _i_ - _St_ <sup>′</sup> <sup>′</sup> _t_ +1 <sup>|</sup> <sup>_θ_</sup> <sup>_Q_</sup> _i_ <sup>′</sup> _i_ <sup>′</sup> + _ε_ - _Qi_ ( _St_ _, At_ | _θ_ <sup>_Qi_</sup> )) <sup>2</sup> _, ε_ ∼ _clip_ ( _N (_ 0 _, σ),_ - _c, c_ ) (8) method specifically applied to the nuclear steam system digital twin model. This method automatically generates the hyperparameters for the next iteration of the PSO algorithm based on the information of the current iteration process, thereby improving the automation and synchronization efficiency of the digital twin model. The improved speed update equation is as follows: _Vi (t_ + 1 _)_ = _wt_ _Vi (t)_ - _pBest_ _i_ - _Xi (t)_ is the loss value, _Q_ <sup>′</sup> _i_ where _L_ - _θ_ <sup>_Qi_</sup> <sup>�</sup> is the loss value, _Q_ <sup>′</sup> _i_ <sup>is the target value network,</sup> the initialization process synchronizes the weights from the _Qi_ network, _ε_ is the truncated normal distribution noise, and _c_ is the noise truncation value. where _L_ - _θ_ <sup>_Qi_</sup> <sup>�</sup> + _c_ 1 _t_ _r_ 1 _t_ The action network generates actions based on the state, which is a mapping from the state space to the action space. The network weight is updated in the form of policy gradient. The gradient update direction is calculated as follows: ∇ _θ_ <sup>_µ_</sup> _Q_ 1( _S, A_ | _θ_ <sup>_Q_</sup> <sup>1</sup> )| _S_ = _St_ _,A_ = _µ_ ( _St_ _,v_ ) | _S_ = _St_ _,A_ = _µ_ ( _St_ _,v_ ) ∗∇ _θ_ <sup>_µ_</sup> _µ_ | _S_ = _St_ (9) + _c_ 2 _t_ _r_ 2 _t (gBest_ - _Xi (t)),_ _i_ = 1 _,_ 2 _, . . ., N_ (12) _wt_ = _Fw_ ( _St_ −1) (13) _c_ 1 _t_ = _Fc_ 1( _St_ −1) (14) _c_ 2 _t_ = _Fc_ 2( _St_ −1) (15) where _t_ is the current iteration number, _F_ is the hyperparameter generation function, this article designs the neural network as the generation function, and _S_ is the state. Based on this, this article proposes an adaptive optimization algorithm based on TD3 - TD3PSO. It uses the TD3 algorithm to create an agent and automatically learns parameter selection by interacting with the algorithm. The input status of the action network during the operation of the algorithm is divided into three categories: the current iteration ratio, the current population diversity, and the number of continuous iterations when the current population is no longer improved. The three types of states are calculated as follows: _Iteration_ = _Enum/Emax_ (16) where _Iteration_ is the current iteration ratio, _Enum_ is the current number of iterations, and _Emax_ is the total number of iterations. = ∇ _AQ_ 1 - _S, A_ | _θ_ <sup>_Q_</sup> <sup>1</sup> - _S_ | _θ_ <sup>_µ_</sup> <sup>�</sup> The update frequency of the action network is lower than the update frequency of the action value network. The action network is updated after the action value network is updated d times. The purpose is to minimize the value estimation error before the action network is updated. To provide a stable target estimate, each network of the TD3 algorithm corresponds to a target network. Its weight update frequency is the same as that of the action network, and is updated in a soft update manner. The calculation method is as follows: _θ_ <sup>_Q_</sup> <sup>′</sup> _i_ _i_ <sup>′</sup> (10) <sup>′</sup> _i_ = _ρθ_ <sup>_Qi_</sup> + (1 − _ρ_ ) _θ_ <sup>_Q_</sup> _i_ <sup>′</sup> _θ_ <sup>_µ_</sup> <sup>′</sup> = _ρθ_ <sup>_µ_</sup> + (1 − _ρ_ ) _θ_ <sup>_µ_</sup> <sup>′</sup> (11) where _θ_ <sup>_Q_</sup> _i_ <sup>′</sup> and _θ_ <sup>_µ_</sup> <sup>′</sup> are the target network weight, _θ_ <sup>_Qi_</sup> and _θ_ <sup>_µ_</sup> are the original network weight, and _ρ_ is the soft update parameter. _C._ _TD3PSO_ During the optimization process of the basic particle swarm optimization algorithm, its hyperparameters are determined and cannot be automatically adjusted according to subsequent optimization conditions, so the optimization effect is not obvious. This limitation is particularly impactful in the context of a nuclear steam system digital twin model, where manual tuning of algorithm hyperparameters can significantly affect the efficiency of model automation and synchronization. Additionally, the reliance on engineers’ experience to adjust these hyperparameters reduces the level of automation achieved in the synchronization process. To enhance the automatic adjustment capability of the algorithm and reduce manual intervention in the algorithm’s hyperparameters, this paper introduces a hyperparameter adaptive adjustment _Diversity (t)_ = <sup><u>1</u></sup> _N_ - _N_ _i_ =1 ~~�~~ <u>�</u> _D_ _j_ =1 <sup>[</sup> <sup>_Xi,j (t)_</sup> <sup>−¯</sup> <sup>_Xj_</sup> <sup>(</sup> <sup>_t_</sup> <sup>)]</sup> (17) where _Diversity (t)_ is the diversity of the population in the _t_ -th iteration process, _Xi,j (t)_ is the value of the _j_ -th dimension of the _i_ -th particle in the _t_ -th iteration process, _X_ <sup>¯</sup> _j_ ( _t_ ) is the average value of all particles in the _j_ -th dimension during _t_ -th iterations. _Iterationno_ - _improve_ = ( _Enum_ - _Enumlast_ - _improve_ ) _/Emax_ (18) where _Iterationno_ - _improve_ is the number of continuous iterations when the current population is no longer improved, and _Enumlast_ - _improve_ is the number of iterations recorded in the latest global optimal update of the current particle. To solve the problem of large differences in state distribution space when optimizing different objective functions, so that the neural network can more easily obtain information from the state, this article converts each state from -1 to 1, the conversion method is as follows: _statei_ = _sin_ ( _x_ ∗ 2 <sup>_i_</sup> ) (19) where _statei_ is the transition value of the corresponding state, and _x_ is the three types of states. In this paper, the value of _i_ is 0, 1, 2, 3, and 4. The output of the action network is a 4-dimensional vector, which is used to control the hyperparameters of the PSO algorithm, such as _w_, _c_ 1 and _c_ 2. The hyperparameter linear conversion method is as follows: _w_ = _a_ [0] ∗ 0 _._ 8 + 0 _._ 1 (20) <u>1</u> _scale_ = _a_ [1] + _a_ [2] + 0 _._ 00001 <sup>∗</sup> <sup>_a_</sup> <sup>[3] ∗</sup> <sup>8</sup> (21) _c_ 1 = _scale_ ∗ _a_ [1] (22) _c_ 2 = _scale_ ∗ _a_ [2] (23) where _w_, _c_ 1 and _c_ 2 are respectively the hyperparameters that control the PSO algorithm, _a_ [0] − _a_ [3] are the four outputs of the action network, and _scale_ is the parameter specification factor. The algorithm reward method designed in this article is as follows: during the interaction between the agent and the environment, when the current global optimal value of the PSO algorithm changes, the reward value is 1, otherwise the reward value is -1. _D._ _QUADRUPLET MODEL AND APPLICATION_ To better understand the application of the proposed TD3PSO method in the digital twin model of a nuclear power steam system, this section elaborates on the definitions of the TD3PSO algorithm’s quadruple (state, action, reward, next state) within the model and its specific role in the synchronization process. In the digital twin model of the nuclear power steam system, the state is composed of three elements, each representing different characteristics of the model. The current iteration ratio indicates the iteration steps executed by the PSO during the synchronization process of the digital twin model, reflecting the algorithm’s progress. The current population diversity measures the distribution of individuals within the particle swarm; higher diversity indicates a larger potential solution space within the population, aiding in the exploration of more optimal model synchronization parameters. The number of continuous iterations when the current population is no longer improved records the number of generations in which the best solution within the population has not been updated, serving as an assessment of the algorithm’s convergence and exploration capabilities during the synchronization process of the digital twin model. Action refers to the hyperparameters of the PSO algorithm. These parameters influence the search behavior and optimization efficiency of the population during the iteration process. TD3PSO adaptively adjusts these hyperparameters to optimize the accuracy and efficiency of synchronizing the digital twin model with the actual unit. The design of the reward function aims to encourage the algorithm to improve the synchronization accuracy between the digital twin model and the actual unit. Specifically, if the performance of the digital twin model improves after an iteration, meaning the model output becomes closer to the actual unit data, the reward value is incremented by one. Conversely, if the performance degrades, the reward value is decremented by one. The next state refers to the state that the PSO algorithm will enter in the next iteration after executing the current action. This state is determined based on the current state and the actions taken, serving as a crucial basis for the algorithm’s decision-making process. By applying the quadruple model to the digital twin model of the nuclear power steam generator system, TD3PSO can adaptively adjust the hyperparameters of the algorithm, thereby optimizing the synchronization process and improving synchronization efficiency and accuracy. This innovative approach allows TD3PSO to demonstrate significant advantages in synchronizing the digital twin model of the nuclear power steam generator system. _E._ _OFFLINE TRAINING_ During offline training, each iteration of the particles can be considered as an interaction between the intelligent agent and the environment. When the particle swarm achieves optimization of a target, it signifies the completion of one training session for the intelligent agent. FIGURE 2. Offline training flow chart. The offline training process, as shown in FIGURE 2, can be described as follows: 1) Randomly initialize the action network and two actionvalue networks. Initialize the target network, where the weights are copied from the original network. 2) Initialize the experience replay buffer R to store the state, action, and reward. 3) Initialize the interaction between the intelligent agent and the environment, including the initialization of the PSO and the target to be optimized. 4) Retrieve the state parameters from PSO. 5) Input the state into the action network to obtain an action. 6) Calculate the hyperparameters using Equations (20) to (23). 7) Perform PSO iterations with the above hyperparameters to obtain new rewards and states. 8) Save the state, action, and reward in the buffer R. 9) Randomly select a batch of experiences from buffer R. Update the weights of the action-value network by minimizing the loss function (Equation (8)). 10) Update the weights of the action network (Equation (9)) and the target network (Equations (10) and (11)) with a delay coefficient d. If the Particle Swarm Optimization algorithm has not completed the iteration, return to step 4, and if the training is not finished, return to step 3. _F._ _ONLINE APPLICATION_ The action network obtained from offline training is saved in the pre-trained model repository. During the online application process, when the automatic synchronization mechanism is triggered, the pre-trained action network corresponding to the digital twin model is called, automatically performing model debugging and synchronizing state confirmation. FIGURE 3. Online application flow chart. The online application process, as shown in FIGURE 3, can be described as follows: 1) Perform state monitoring on the nuclear power digital twin model. Model automatic debugging and state synchronization are triggered when the threshold conditions are met or when a timer is started. 2) Select the pre-trained model and load the corresponding action network of the digital twin model. 3) Initialize TD3PSO and the target to be optimized. 4) Retrieve the state parameters from TD3PSO. 5) Input the state into the action network to obtain an action. 6) Calculate the hyperparameters using Equations (20) to (23). where _wi_ is the weight of the _i_ -th item, _pre_ is the model prediction value, and _tar_ is the target value. Set the population size _N_ to 80 and the number of termination iterations ( _Epoch_ ) to 1000. For the PSO algorithm, the individual factor ( _c_ 1) is set to 2.05, and the population factor ( _c_ 2) is set to 2.05. For the TD3PSO algorithm, the training rounds ( _Trainmax_ ) are set to 1000 times, the number of iterations of the training optimization algorithm ( _Emax_ ) in each round is set to 1000 times, the _Adam_ optimizer is used, and the learning rate ( _Learningrate_ ) is set to 0.001, each batch ( _Batchsize_ ) Set 100 samples, use a normal distribution with 7) Perform TD3PSO iterations with the above hyperparameters. If TD3PSO has not completed the iteration, return to step 4, and if the optimization is completed, output the optimization results and confirm the synchronization of the unit’s state. IV. EXPERIMENTS The network structures of TD3PSO action network _µ_ and action value networks _Q_ 1 and _Q_ 2 are shown in Table 1 and Table 2. TABLE 1. Network structure of action network. TABLE 2. Network structure of action value networks. Taking the digital twin model of the nuclear power steam system as the object to be optimized and synchronized, the basic PSO algorithm and the TD3PSO algorithm are respectively used to optimize and solve the parameters of the digital twin model. The target value is calculated by the system mechanism function. The optimization loss function is calculated as follows: _Loss_ = <sup><u>1</u></sup> _n_ - _n_ _i_ =1 <sup>_wi_</sup> <sup>(</sup> <sup>_pre_</sup> <sup>−</sup> <sup>_tar_</sup> <sup>)2</sup> (24) a mean of 0 and a standard deviation _σ_ of 0.2 to generate random noise. The truncation threshold _c_ of the random noise is set to 0.5, and the delay update coefficient _d_ of the action network and the target network is set to 2. After the TD3PSO algorithm training is completed, the pre-trained action network and basic PSO algorithm are used to optimize the digital twin model, and the experiment is repeated 20 times. At the same time, manual debugging is used as the verification benchmark. Manual debugging refers to determining the key parameters of certain nodes of the steam system based on the operating conditions of the nuclear power steam system and the experience of engineers, and obtaining the loss value calculated after manual debugging of the steam system model, experimental results are shown in Table 3. TABLE 3. Experimental results. The data shows that compared with the results of manual debugging, the average loss calculated by the basic PSO algorithm is 157.9582, which cannot effectively optimize the parameters of the nuclear power digital twin model. The average loss calculated by the TD3PSO algorithm is 7.3576, which is better than the loss value of the manually debugged parameters is 111.276, and the optimization accuracy is increased by 93.39%. The variance of the 20 experimental results of the TD3PSO algorithm is 3.1808, which reflects the stability of the TD3PSO algorithm. It shows that the automatic synchronization scheme of nuclear power steam system digital twin model proposed in this paper based on adaptive intelligent optimization algorithm is feasible and effective. To further evaluate the optimization capability and versatility of TD3PSO, this article selected three benchmark functions as the test platform. This test platform can simulate the general characteristics of optimization problems without being restricted by specific application scenarios. By testing on standardized benchmark functions, it demonstrates the advantages of TD3PSO on basic optimization problems and evaluates it as a general optimization tool. potential. This not only supports previous results obtained in nuclear power-specific application scenarios, but also provides a solid experimental foundation for future research and development. Sphere function is calculated as follows: Schwefel’s P 2.21 function, calculated as follows: _f_ 2 _(x)_ = _max_ {| _xi_ | _,_ 1 ≤ _i_ ≤ 94} _,_ −100 ≤ _xi_ ≤ 100 _min_ ( _f_ 2) = _f_ 2 _(_ 0 _, . . .,_ 0 _)_ = 0 (26) Step function, the calculation method is as follows: _f_ 3 _(x)_ = �94 _i_ =1 <sup>_(_</sup> <sup>|</sup> <sup>_xi_</sup> <sup>+ 0</sup> <sup>_._</sup> <sup>5|</sup> <sup>_)_</sup> <sup>2</sup> <sup>_,_</sup> <sup>−100</sup> ≤ _xi_ ≤ 100 _min_ ( _f_ 3) = _f_ 3 _(_ 0 _, . . .,_ 0 _)_ = 0 (27) _i_ <sup>2</sup> <sup>_,_</sup> <sup>−100</sup> _f_ 1 _(x)_ = �94 94 _i_ =1 <sup>_x_</sup> _i_ <sup>2</sup> ≤ _xi_ ≤ 100 _min_ ( _f_ 1) = _f_ 1 _(_ 0 _, . . .,_ 0 _)_ = 0 (25) For each benchmark function, the PSO algorithm and the TD3PSO algorithm were used for optimization testing. The input dimension of the benchmark function is 94 dimensions, and the experiment is repeated 10 times. Table 4 shows the percentage statistics of the optimization results improved by the TD3PSO algorithm based on the PSO algorithm. TABLE 4. TD3PSO result improvement percentage. It can be seen from the data that the optimization results of TD3PSO for the three benchmark functions are improved by 85.94%, 18.77%, and 68.85% respectively compared with PSO, indicating that the adaptive hyperparameter mechanism of TD3PSO can significantly improve the optimization effect. The algorithm’s Performance is effectively verified. V. CONCLUSION This paper proposes an automated synchronization design scheme for a nuclear power steam system digital twin model based on reinforcement learning. It adopts the TD3 algorithm to design an adaptive hyperparameter adjustment method. By training the action network to generate hyperparameters in different states during the algorithm optimization process, the TD3PSO algorithm achieves adaptive adjustment of hyperparameters for the Particle Swarm Optimization (PSO) algorithm. Compared with manual tuning, TD3PSO effectively solves the optimization problem of the model’s optimal parameters, improving the optimization accuracy by 93.39% and significantly reducing manual intervention. This enhances the intelligence and automation level of the nuclear power steam system digital twin model, enabling automatic synchronization operation of the model. Additionally, TD3PSO is applied to high-dimensional optimization tests on three benchmark functions. Compared with the PSO algorithm, TD3PSO demonstrates improved optimization accuracy, indicating its stability and generality. In conclusion, the proposed automated synchronization design scheme for the nuclear power steam system digital twin model, based on reinforcement learning, is effective and significantly improves optimization performance. It provides a feasible and efficient solution for the synchronized operation of the digital twin model and actual nuclear power units in the steam system. REFERENCES [1] L. Zhan, Y. Bo, T. Lin, and Z. Fan, ‘‘Development and outlook of advanced nuclear energy technology,’’ _Energy_ _Strategy_ _Rev._, vol. 34, Mar. 2021, Art. no. 100630. [2] P. Fernández-Arias, D. Vergara, and J. A. Orosa, ‘‘A global review of PWR nuclear power plants,’’ _Appl. Sci._, vol. 10, no. 13, p. 4434, Jun. 2020. [3] S. Z. Jurakulov, ‘‘Nuclear energy,’’ _Educ._ _Res._ _Univ._ _Sci._, vol. 2, no. 11, pp. 514–518, Oct. 2023. [4] M. D. Mathew, ‘‘Nuclear energy: A pathway towards mitigation of global warming,’’ _Prog. Nucl. Energy_, vol. 143, Jan. 2022, Art. no. 104080. [5] S. Wheatley, B. K. Sovacool, and D. Sornette, ‘‘Reassessing the safety of nuclear power,’’ _Energy_ _Res._ _Social_ _Sci._, vol. 15, pp. 96–100, May 2016. [6] B. Gjorgiev, A. Volkanovski, and G. Sansavini, ‘‘Improving nuclear power plant safety through independent water storage systems,’’ _Nucl._ _Eng._ _Design_, vol. 323, pp. 8–15, Nov. 2017. [7] R. J. Budnitz, H.-H. Rogner, and A. Shihab-Eldin, ‘‘Expansion of nuclear power technology to new countries—SMRs, safety culture issues, and the need for an improved international safety regime,’’ _Energy Policy_, vol. 119, pp. 535–544, Aug. 2018. [8] M. Yin and K. Zou, ‘‘The implementation of the precautionary principle in nuclear safety regulation: Challenges and prospects,’’ _Sustainability_, vol. 13, no. 24, p. 14033, Dec. 2021. [9] B. Kochunas and X. Huan, ‘‘Digital twin concepts with uncertainty for nuclear power applications,’’ _Energies_, vol. 14, no. 14, p. 4235, Jul. 2021. [10] H. Mengyan, Z. Xueyan, P. Cuiting, Z. Yixuan, and Y. Jun, ‘‘Current status of digital twin architecture and application in nuclear energy field,’’ _Ann._ _Nucl. Energy_, vol. 202, Jul. 2024, Art. no. 110491. [11] P. Jia, X. Wang, and X. Shen, ‘‘Digital-twin-enabled intelligent distributed clock synchronization in industrial IoT systems,’’ _IEEE Internet Things J._, vol. 8, no. 6, pp. 4548–4559, Mar. 2021. [12] J. Kennedy and R. Eberhart, ‘‘Particle swarm optimization,’’ in _Proc. IEEE_ _ICNN_, vol. 4, Nov./Dec. 1995, pp. 1942–1948. [13] H. A. Gabbar, M. R. Abdussami, and Md. I. Adham, ‘‘Optimal planning of nuclear-renewable micro-hybrid energy system by particle swarm optimization,’’ _IEEE Access_, vol. 8, pp. 181049–181073, 2020. [14] F. Kiomarsi, A. A. Shojaei, S. Soltani, and H. Lotfi, ‘‘Presenting new approach for optimal placement of nuclear power plant connected to the grid after the trip,’’ _Social_ _Netw._ _Appl._ _Sci._, vol. 3, no. 4, pp. 1–14, Mar. 2021. [15] Z. Chen, H. Wu, Y. Chen, L. Cheng, and B. Zhang, ‘‘Patrol robot path planning in nuclear power plant using an interval multi-objective particle swarm optimization algorithm,’’ _Appl. Soft Comput._, vol. 116, Feb. 2022, Art. no. 108192. [16] B. A. Khuwaileh, M. Al-Shabi, and M. El Haj Assad, ‘‘Artificial neural net work based particle swarm optimization solution approach for the inverse depletion of used nuclear fuel,’’ _Ann._ _Nucl._ _Energy_, vol. 157, Jul. 2021, Art. no. 108256. [17] S. M. H. Mousakazemi, ‘‘Computational effort comparison of genetic algorithm and particle swarm optimization algorithms for the proportional– integral–derivative controller tuning of a pressurized water nuclear reactor,’’ _Ann. Nucl. Energy_, vol. 136, Feb. 2020, Art. no. 107019. [18] D. A. Ejigu and X. Liu, ‘‘Gradient descent-particle swarm optimization based deep neural network predictive control of pressurized water reactor power,’’ _Prog. Nucl. Energy_, vol. 145, Mar. 2022, Art. no. 104108. [19] J. Cao, T. Wang, Y. Cao, C. Song, B. Gao, and B. Wang, ‘‘Cold rolling force model of nuclear power zirconium alloy based on particle swarm optimization,’’ _Int._ _J._ _Adv._ _Manuf._ _Technol._, vol. 115, nos. 1–2, pp. 319–328, May 2021. [20] Y. Ling, Q. Yue, C. Chai, Q. Shan, D. Hei, and W. Jia, ‘‘Nuclear accident source term estimation using kernel principal component analysis, particle swarm optimization, and backpropagation neural networks,’’ _Ann._ _Nucl._ _Energy_, vol. 136, Feb. 2020, Art. no. 107031. [21] X. Wu, Y. Yang, S. Han, Z. Zhao, P. Fang, and Q. Gao, ‘‘Multi objective optimization method for nuclear reactor radiation shielding design based on PSO algorithm,’’ _Ann. Nucl. Energy_, vol. 160, Sep. 2021, Art. no. 108404. [22] Y. Wang, B. Li, T. Weise, J. Wang, B. Yuan, and Q. Tian, ‘‘Self-adaptive learning based particle swarm optimization,’’ _Inf._ _Sci._, vol. 181, no. 20, pp. 4515–4538, Oct. 2011. [23] Q. Shi, H.-K. Lam, C. Xuan, and M. Chen, ‘‘Adaptive neuro-fuzzy PID controller based on twin delayed deep deterministic policy gradient algorithm,’’ _Neurocomputing_, vol. 402, pp. 183–194, Aug. 2020. YUNLONG XIAO was born in Hubei, China, in 1988. He received the Ph.D. degree in nuclear science and technology from Xi’an Jiaotong University, Shaanxi, China, in 2017. Since 2017, he has been with China Nuclear Power Operation Technology Corporation Ltd., as a Principal Engineer in core physics with the Simulation Center. He is currently a Team Leader of industrial artificial intelligence team with the Advanced Technology and Intelligent Equipment Research Institute. His research interests include smart power plants and the application of artificial intelligence in the nuclear industry. HAO LIU was born in Hubei, China, in 2000. He received the B.Sc. degree in optoelectronic information science and engineering from China Three Gorges University, Yichang, China, in 2017, where he is currently pursuing the M.Sc. degree in physics. His current research interests include intelligent inspection and intelligent optimization, with a focus on deep learning and artificial intelligence in the nuclear power field. QING ZHANG was born in Hubei, China, in 1993. She received the Ph.D. degree in theoretical physics from Central China Normal University, in 2023. Since 2023, she has been with the Advanced Technology and Intelligent Equipment Research Institute, China Nuclear Power Operation Technology Corporation Ltd., where she is a member of the Artificial Intelligence Development Team. Her current research interests include large language models in the nuclear industry and AI operation and maintenance platforms for the nuclear industry. JINGSI CHEN was born in Hubei, China, in 1998. She received the M.Sc. degree in optical engineering from Beijing Institute of Technology, in 2023. Since 2023, she has been with the Advanced Technology and Intelligent Equipment Research Institute, China Nuclear Power Operation Technology Corporation Ltd., where she is a member of the Artificial Intelligence Development Team. Her current research interests include intelligent optimization in nuclear power and signal denoising in the nuclear power industry.

섹션 본문 75문단 · 30,065자

(제목 없음)

1The objective of this research is to tackle the synchronization challenge between digital twin models of nuclear power and their corresponding real-world units, thereby enhancing the safety protocols of nuclear power operations.Central to achieving this synchronization, the study zeroes in on optimizing parameters.This entails conducting parameter optimization on the model whenever discrepancies in synchronization between the digital twin and the actual power units emerge.A novel optimization algorithm, termed TD3PSO, is introduced within this manuscript.Notably, this algorithm possesses the ability to adaptively fine-tune hyperparameters, significantly diminishing the reliance on human intervention.Validation of the proposed method is carried out through experiments using a digital twin model of a nuclear power steam system.The findings underscore that, in comparison to conventional manual adjustments, our method achieves a substantial 93.93% enhancement in accuracy.Further, to ascertain the algorithm's universality and robustness, it was evaluated against a range of benchmark functions.Across these tests, the TD3PSO algorithm consistently surpassed the performance metrics of traditional Particle Swarm Optimization algorithms.Consequently, this study furnishes a potent solution to the issue of synchronization between nuclear power digital twin models and actual units, marking a significant milestone in terms of its practical and theoretical contributions.INDEX TERMS Nuclear power, automated synchronization, reinforcement learning, particle swarm optimization.

I. INTRODUCTION

2Nuclear power is a significant and efficient energy supply method [1], [2], playing a crucial role in the global energy structure [3].It contributes significantly to the low-carbon economy and the development of a green energy grid [4].The nuclear steam system, a key component of nuclear power plants, converts heat generated from nuclear fission into steam, which then drives turbines to produce electricity.This system is a critical piece of equipment that underscores the importance of nuclear power as a reliable energy source.However, with the rapid development in the utilization of nuclear energy due to technological advancements and The associate editor coordinating the review of this manuscript and approving it for publication was Sotirios Goudos .

3growing energy demand, nuclear power safety concerns have emerged [5].Ensuring nuclear power safety is essential for public health and environmental protection.It necessitates not only high standards of technical support [6], but also continuous innovation and improvement.Preventing accidents [7], managing crisis situations, and ensuring long-term safe operation [8] have become ongoing priorities for the nuclear power industry, with the nuclear steam system's reliable performance being a key factor in meeting these objectives.

4The concept of nuclear power digital twin technology has emerged as a research hotspot in the nuclear power field [9].It aims to efficiently manage the safe operation of nuclear power plants and minimize potential risks.The nuclear power digital twin model accurately represents the real-time operating status of the nuclear power plant by constructing and synchronously updating a virtual nuclear power plant [10].This model integrates a wealth of data, including real-time sensor data, historical operation and maintenance records, and various simulation-based scenarios.By utilizing this information, the digital twin model provides a scientific basis for making operational and maintenance decisions, greatly enhancing the efficiency and safety levels of nuclear power plants.

5The synchronization between the digital twin system and the actual unit is crucial for the effective application of digital twin technology [11].However, achieving synchronization between the nuclear power digital twin system and the actual unit is challenging due to limitations in the nuclear power simulation model and the changing nature of nuclear power equipment over time.One specific example is the digital twin model of the nuclear power secondary circuit steam system, where obtaining precise measurements for the pipe network's resistance is challenging.As a result, engineers are forced to manually debug each node, which fails to meet the efficiency and accuracy requirements for achieving synchronization between the digital twin model and the actual unit.Therefore, it is of great significance to investigate intelligent debugging methods that can achieve synchronization between the digital twin model and the actual unit.

6Particle swarm optimization (PSO) is an intelligent optimization algorithm widely applied in various nuclear power fields, such as system optimization, fuel solution optimization, and system safety design [12].Its effectiveness has been extensively verified in previous studies.For instance, Gabbar et al. [13] successfully reduced the cost of the nuclear power hybrid energy system using the PSO algorithm.Kiomarsi et al. [14] utilized PSO to determine the optimal location of the off-site power supply system for nuclear power plants, ensuring uninterrupted power supply and enhancing safety.Chen et al. [15] proposed a path planning method for nuclear power plant inspection robots based on interval multi-objective PSO, resulting in improved path optimization.Khuwaileh et al. [16] developed a PSO-based artificial neural network method to solve the inverse consumption problem of nuclear fuel, estimating initial fuel enrichment and maximum burnup.Mousakazemi [17] compared PSO and genetic algorithms for tuning the proportional integral differential controller of pressurized water reactors, with PSO yielding better results.Ejigu and Liu [18] proposed a deep neural network method based on a hybrid algorithm of gradient descent and PSO for monitoring core power and outlet temperature in pressurized water reactors, demonstrating significant experimental results.Cao et al. [19] presented a PSO-based model for nuclear power zirconium alloy cold rolling force, effectively guiding the rolling control process.Ling et al. [20] proposed a rapid estimation method for source material release rates after nuclear accidents using PSO-backpropagation neural network, which improved nuclear emergency response efficiency.Wu et al. [21] introduced a multi-objective PSO algorithm for optimizing nuclear reactor radiation shielding design, leading to improved shielding solutions' quality.

7While the PSO algorithm has proven effective, it does have limitations [22].In practical applications, obtaining an optimal parameter set using PSO often requires manual tuning of hyperparameters multiple times.This manual intervention not only reduces the intelligence and automation of the algorithm but also significantly impacts its performance.In recent years, the emergence of deep learning has showcased the powerful parameter search capabilities of neural networks.Reinforcement learning, in particular, has demonstrated remarkable performance in continuous action and state space control problems, making it possible to combine reinforcement learning with swarm intelligence algorithms.This integration holds potential for further advancements.

8This paper introduces an automated synchronization method for digital twin models of nuclear power steam systems using an adaptive intelligent optimization algorithm.Twin delayed deep deterministic policy gradient (TD3) [23] is employed to build a neural network model, and the PSO algorithm is dynamically adjusted based on different states during the optimization process.The algorithm's hyperparameters are obtained through pre-training the action network.Subsequently, during the automatic debugging process of the model, the action network adaptively adjusts the hyperparameters of PSO to achieve automatic synchronization of the digital twin model for the nuclear power steam system.

9The structure of this paper is organized as follows.Section II introduces the digital twin model of the nuclear power steam system.The particle swarm optimization algorithm based on TD3 is introduced in Section III and the digital twin model synchronization scheme is given.In Section IV, the experimental results are presented to validate the effectiveness of the proposed method and the conclusion is summarized in Section V.

II. DIGITAL TWIN MODEL

10The digital twin model of the nuclear power steam system comprises a two-phase flow network model and equipment models, including steam turbines, valves, steam-water separation reheaters, and condensers.The two-phase flow network model is built upon the three conservation equations of mass, energy, and momentum for gas-liquid two-phase mixing.The actual pipeline's pipe network is represented by nodes, with simulated pipelines connecting these nodes.

11Once the simulation node diagram is constructed based on the power plant's P&ID diagram and pipeline, inputting the equipment structure parameters and boundary parameters, certain key parameters are determined using full power operating parameters and engineering experience.Through a calibration method, the pipeline admittance and turbine stage efficiency are calculated, and the digital twin model is populated accordingly.Once loaded, the model can provide simulation results that closely resemble the current operating 87626 VOLUME 12, 2024 Authorized licensed use limited to the terms of the applicable license agreement with IEEE.Restrictions apply.

12conditions.For even more precise results, further fine-tuning can be performed based on this foundation.

13In this paper, the digital twin model of a steam system in the secondary loop of a full-scale simulated machine flow network system of a nuclear power unit is chosen as the research subject.The model takes input from 94 sensors, which measure the network resistance and group efficiency of each section of the optimized pipeline.The model's outputs consist of measurements from 20 sensors, providing current values of input water pressure, outlet temperature, water flow, power, and other parameters obtained through model simulations.

III. AIGORITHM PRINCIPLE AND IMPLEMENTATION A. PARTICLE SWARM OPTIMIZATION

14Particle swarm optimization is a heuristic algorithm inspired by the collective behavior of biological groups like bird flocks or fish schools.It approximates the optimal solution by simulating collaboration and information exchange among individuals in a group.In this algorithm, a group of weightless individuals is created, each possessing speed and position attributes.The speed determines their movement rate, while the position determines the direction of movement.Individually, each member explores the solution space to find the optimal solution and records it as their personal best.They communicate their personal best to other individuals, thereby determining the global optimum.Based on the personal and global best values, each individual adjusts their speed and position to form new personal and global bests.This process continues until the final solution is found.PSO successfully captures the autonomous yet cooperative behavior of individuals in self-organizing systems, achieving global optimization through simple individual behavior rules.The implementation process is detailed below.

15Assume that there are N individuals in the population, the dimension of the solution space is D, and each individual represents a point in the solution space.To describe the state of the individual, the velocity V i and position X i of the i-th individual are defined as follows:

16As the search proceeds, the two motion vectors are updated as follows:

17where V i (t + 1) is the updated speed, w is the inertia weight, c 1 is the individual factor, r 1 is the random number factor, pBest i is the individual historical optimal, c 2 is the population factor, r 2 is the random number, gBest is the historical optimal of the population, and X i (t + 1) is the updated position.

B. TWIN DELAYED DEEP DETERMINISTIC POLICY GRADIENT

18The reinforcement learning agent interacts with the environment in a Markov decision-making manner to maximize environmental rewards.This process can be expressed in the form of a quadruple (S, A, R, P). S represents the state, A represents the action, R represents the reward function, and P represents the state transition probability.In state S t , action A t is executed through policy π, and the next state S t+1 and reward value R t are obtained.The reward value is calculated as follows:

19where R t is the reward at time t, T is the number of steps before the interaction between the agent and the environment ends, r(S i , A i ) is the reward obtained by executing action A i in the current S i environment, and γ is the discount factor.The action value function Q (S t , A t ) is used in reinforcement learning to represent the long-term reward of performing action A in the current environment S.

20Find the optimal action value function through the Bellman equation.

21However, the update of the current action value function is only suitable for situations where both the action and state spaces are discrete.In order to apply reinforcement learning to the situation of continuous state action space, TD3 designed three deep neural networks, namely action value network

22and action Network µ(S t |θ µ ), where θ Q 1 , θ Q 2 and θ µ are the parameters of the deep neural network.The network architecture of the TD3 algorithm is shown in FIGURE 1.The action value network is used to approximate the action value function and provide gradients to the action network.To avoid overestimation of the Q value, the TD3 algorithm uses the smaller Q value of the two action value networks to calculate the Bellman equation, and the network weights are updated by minimizing the loss function.

23where L θ Q i is the loss value, Q ′ i is the target value network, the initialization process synchronizes the weights from the Q i network, ε is the truncated normal distribution noise, and c is the noise truncation value.

24The action network generates actions based on the state, which is a mapping from the state space to the action space.The network weight is updated in the form of policy gradient.The gradient update direction is calculated as follows:

25The update frequency of the action network is lower than the update frequency of the action value network.The action network is updated after the action value network is updated d times.The purpose is to minimize the value estimation error before the action network is updated.

26To provide a stable target estimate, each network of the TD3 algorithm corresponds to a target network.Its weight update frequency is the same as that of the action network, and is updated in a soft update manner.The calculation method is as follows:

27where θ Q ′ i and θ µ ′ are the target network weight, θ Q i and θ µ are the original network weight, and ρ is the soft update parameter.

C. TD3PSO

28During the optimization process of the basic particle swarm optimization algorithm, its hyperparameters are determined and cannot be automatically adjusted according to subsequent optimization conditions, so the optimization effect is not obvious.This limitation is particularly impactful in the context of a nuclear steam system digital twin model, where manual tuning of algorithm hyperparameters can significantly affect the efficiency of model automation and synchronization.Additionally, the reliance on engineers' experience to adjust these hyperparameters reduces the level of automation achieved in the synchronization process.To enhance the automatic adjustment capability of the algorithm and reduce manual intervention in the algorithm's hyperparameters, this paper introduces a hyperparameter adaptive adjustment method specifically applied to the nuclear steam system digital twin model.This method automatically generates the hyperparameters for the next iteration of the PSO algorithm based on the information of the current iteration process, thereby improving the automation and synchronization efficiency of the digital twin model.The improved speed update equation is as follows:

29)

30where t is the current iteration number, F is the hyperparameter generation function, this article designs the neural network as the generation function, and S is the state.

31Based on this, this article proposes an adaptive optimization algorithm based on TD3 -TD3PSO.It uses the TD3 algorithm to create an agent and automatically learns parameter selection by interacting with the algorithm.The input status of the action network during the operation of the algorithm is divided into three categories: the current iteration ratio, the current population diversity, and the number of continuous iterations when the current population is no longer improved.The three types of states are calculated as follows:

32where Iteration is the current iteration ratio, E num is the current number of iterations, and E max is the total number of iterations.

33where Diversity (t) is the diversity of the population in the t-th iteration process, X i,j (t) is the value of the j-th dimension of the i-th particle in the t-th iteration process, Xj (t) is the average value of all particles in the j-th dimension during t-th iterations.(18) where Iteration no−improve is the number of continuous iterations when the current population is no longer improved, and E num last−improve is the number of iterations recorded in the latest global optimal update of the current particle.

34To solve the problem of large differences in state distribution space when optimizing different objective functions, so that the neural network can more easily obtain information from the state, this article converts each state from -1 to 1, the conversion method is as follows:

3587628 VOLUME 12, 2024 Authorized licensed use limited to the terms of the applicable license agreement with IEEE.Restrictions apply.

36where state i is the transition value of the corresponding state, and x is the three types of states.In this paper, the value of i is 0, 1, 2, 3, and 4. The output of the action network is a 4-dimensional vector, which is used to control the hyperparameters of the PSO algorithm, such as w, c 1 and c 2 .The hyperparameter linear conversion method is as follows:

37where w, c 1 and c 2 are respectively the hyperparameters that control the PSO algorithm, a [0] − a [3] are the four outputs of the action network, and scale is the parameter specification factor.The algorithm reward method designed in this article is as follows: during the interaction between the agent and the environment, when the current global optimal value of the PSO algorithm changes, the reward value is 1, otherwise the reward value is -1.

D. QUADRUPLET MODEL AND APPLICATION

38To better understand the application of the proposed TD3PSO method in the digital twin model of a nuclear power steam system, this section elaborates on the definitions of the TD3PSO algorithm's quadruple (state, action, reward, next state) within the model and its specific role in the synchronization process.

39In the digital twin model of the nuclear power steam system, the state is composed of three elements, each representing different characteristics of the model.The current iteration ratio indicates the iteration steps executed by the PSO during the synchronization process of the digital twin model, reflecting the algorithm's progress.The current population diversity measures the distribution of individuals within the particle swarm; higher diversity indicates a larger potential solution space within the population, aiding in the exploration of more optimal model synchronization parameters.The number of continuous iterations when the current population is no longer improved records the number of generations in which the best solution within the population has not been updated, serving as an assessment of the algorithm's convergence and exploration capabilities during the synchronization process of the digital twin model.

40Action refers to the hyperparameters of the PSO algorithm.These parameters influence the search behavior and optimization efficiency of the population during the iteration process.TD3PSO adaptively adjusts these hyperparameters to optimize the accuracy and efficiency of synchronizing the digital twin model with the actual unit.

41The design of the reward function aims to encourage the algorithm to improve the synchronization accuracy between the digital twin model and the actual unit.Specifically, if the performance of the digital twin model improves after an iteration, meaning the model output becomes closer to the actual unit data, the reward value is incremented by one.Conversely, if the performance degrades, the reward value is decremented by one.

42The next state refers to the state that the PSO algorithm will enter in the next iteration after executing the current action.This state is determined based on the current state and the actions taken, serving as a crucial basis for the algorithm's decision-making process.

43By applying the quadruple model to the digital twin model of the nuclear power steam generator system, TD3PSO can adaptively adjust the hyperparameters of the algorithm, thereby optimizing the synchronization process and improving synchronization efficiency and accuracy.This innovative approach allows TD3PSO to demonstrate significant advantages in synchronizing the digital twin model of the nuclear power steam generator system.

E. OFFLINE TRAINING

44During offline training, each iteration of the particles can be considered as an interaction between the intelligent agent and the environment.When the particle swarm achieves optimization of a target, it signifies the completion of one training session for the intelligent agent.The offline training process, as shown in FIGURE 2, can be described as follows:

451) Randomly initialize the action network and two actionvalue networks.Initialize the target network, where the weights are copied from the original network.

462) Initialize the experience replay buffer R to store the state, action, and reward.

473) Initialize the interaction between the intelligent agent and the environment, including the initialization of the PSO and the target to be optimized.

484) Retrieve the state parameters from PSO. 5) Input the state into the action network to obtain an action.

496) Calculate the hyperparameters using Equations ( 20) to (23).

507) Perform PSO iterations with the above hyperparameters to obtain new rewards and states.8) Save the state, action, and reward in the buffer R. 9) Randomly select a batch of experiences from buffer R. Update the weights of the action-value network by minimizing the loss function (Equation ( 8)).

5110) Update the weights of the action network (Equation ( 9)) and the target network (Equations ( 10) and ( 11)) with a delay coefficient d.

52If the Particle Swarm Optimization algorithm has not completed the iteration, return to step 4, and if the training is not finished, return to step 3.

F. ONLINE APPLICATION

53The action network obtained from offline training is saved in the pre-trained model repository.During the online application process, when the automatic synchronization mechanism is triggered, the pre-trained action network corresponding to the digital twin model is called, automatically performing model debugging and synchronizing state confirmation.The online application process, as shown in FIGURE 3, can be described as follows:

541) Perform state monitoring on the nuclear power digital twin model.Model automatic debugging and state synchronization are triggered when the threshold conditions are met or when a timer is started.

552) Select the pre-trained model and load the corresponding action network of the digital twin model.

563) Initialize TD3PSO and the target to be optimized.4) Retrieve the state parameters from TD3PSO.5) Input the state into the action network to obtain an action.

576) Calculate the hyperparameters using Equations ( 20) to (23).

587) Perform TD3PSO iterations with the above hyperparameters.

59If TD3PSO has not completed the iteration, return to step 4, and if the optimization is completed, output the optimization results and confirm the synchronization of the unit's state.

IV. EXPERIMENTS

60The network structures of TD3PSO action network µ and action value networks Q1 and Q2 are shown in Table 1 and Table 2. Taking the digital twin model of the nuclear power steam system as the object to be optimized and synchronized, the basic PSO algorithm and the TD3PSO algorithm are respectively used to optimize and solve the parameters of the digital twin model.The target value is calculated by the system mechanism function.The optimization loss function is calculated as follows:

61where w i is the weight of the i-th item, pre is the model prediction value, and tar is the target value.

62Set the population size N to 80 and the number of termination iterations (Epoch) to 1000.For the PSO algorithm, the individual factor (c 1 ) is set to 2.05, and the population factor (c 2 ) is set to 2.05.For the TD3PSO algorithm, the training rounds (Train max ) are set to 1000 times, the number of iterations of the training optimization algorithm (E max ) in each round is set to 1000 times, the Adam optimizer is used, and the learning rate (Learningrate) is set to 0.001, each batch (Batchsize) Set 100 samples, use a normal distribution with a mean of 0 and a standard deviation σ of 0.2 to generate random noise.The truncation threshold c of the random noise is set to 0.5, and the delay update coefficient d of the action network and the target network is set to 2.

63After the TD3PSO algorithm training is completed, the pre-trained action network and basic PSO algorithm are used to optimize the digital twin model, and the experiment is repeated 20 times.At the same time, manual debugging is used as the verification benchmark.Manual debugging refers to determining the key parameters of certain nodes of the steam system based on the operating conditions of the nuclear power steam system and the experience of engineers, and obtaining the loss value calculated after manual debugging of the steam system model, experimental results are shown in Table 3.The data shows that compared with the results of manual debugging, the average loss calculated by the basic PSO algorithm is 157.9582, which cannot effectively optimize the parameters of the nuclear power digital twin model.The average loss calculated by the TD3PSO algorithm is 7.3576, which is better than the loss value of the manually debugged parameters is 111.276, and the optimization accuracy is increased by 93.39%.The variance of the 20 experimental results of the TD3PSO algorithm is 3.1808, which reflects the stability of the TD3PSO algorithm.It shows that the automatic synchronization scheme of nuclear power steam system digital twin model proposed in this paper based on adaptive intelligent optimization algorithm is feasible and effective.

64To further evaluate the optimization capability and versatility of TD3PSO, this article selected three benchmark functions as the test platform.This test platform can simulate the general characteristics of optimization problems without being restricted by specific application scenarios.By testing on standardized benchmark functions, it demonstrates the advantages of TD3PSO on basic optimization problems and evaluates it as a general optimization tool.potential.This not only supports previous results obtained in nuclear power-specific application scenarios, but also provides a solid experimental foundation for future research and development.

65Sphere function is calculated as follows: Step function, the calculation method is as follows: For each benchmark function, the PSO algorithm and the TD3PSO algorithm were used for optimization testing.The input dimension of the benchmark function is 94 dimensions, and the experiment is repeated 10 times.Table 4 shows the percentage statistics of the optimization results improved by the TD3PSO algorithm based on the PSO algorithm.It can be seen from the data that the optimization results of TD3PSO for the three benchmark functions are improved by 85.94%, 18.77%, and 68.85% respectively compared with PSO, indicating that the adaptive hyperparameter mechanism of TD3PSO can significantly improve the optimization effect.The algorithm's Performance is effectively verified.

V. CONCLUSION

66This paper proposes an automated synchronization design scheme for a nuclear power steam system digital twin model based on reinforcement learning.It adopts the TD3 algorithm to design an adaptive hyperparameter adjustment method.By training the action network to generate hyperparameters in different states during the algorithm optimization process, the TD3PSO algorithm achieves adaptive adjustment of hyperparameters for the Particle Swarm Optimization (PSO) algorithm.Compared with manual tuning, TD3PSO effectively solves the optimization problem of the model's optimal parameters, improving the optimization accuracy by 93.39% and significantly reducing manual intervention.This enhances the intelligence and automation level of the nuclear power steam system digital twin model, enabling automatic synchronization operation of the model.Additionally, TD3PSO is applied to high-dimensional optimization tests on three benchmark functions.Compared with the PSO algorithm, TD3PSO demonstrates improved optimization accuracy, indicating its stability and generality.In conclusion, the proposed automated synchronization design scheme for the nuclear power steam system digital twin model, based on reinforcement learning, is effective and significantly improves optimization performance.It provides a feasible and efficient solution for the synchronized operation of the digital twin model and actual nuclear power units in the steam system.

FIGURE 1 .

67FIGURE 1. TD3 algorithm architecture.

FIGURE 2 .

68FIGURE 2. Offline training flow chart.

FIGURE 3 .

69FIGURE 3. Online application flow chart.

94 i=1 x 2 i

70, −100≤ x i ≤ 100 min(f 1 ) f 1 (0, . . ., 0) = 0 (25)Schwefel's P 2.21 function, calculated as follows:f 2 = max {|x i | , 1 ≤ i ≤ , −100 ≤ x i 100 2 ) = f 2 (0, . . ., 0) = 0 (26)

94 i=1(

71|x i + 0.5|) 2 , −100 ≤ x i ≤ 100 min(f 3 ) = f 3 (0, . . ., 0) = 0 (27)

TABLE 1 .

72Network structure of action network.

TABLE 2 .

73Network structure of action value networks.

TABLE 3 .

74Experimental results.

TABLE 4 .

75TD3PSO result improvement percentage.

참고문헌 22건

  1. Self-adaptive learning based particle swarm optimization Information Sciences · Elsevier BV · 2010 10.1016/j.ins.2010.07.013
  2. Particle swarm optimization 2002 10.1109/icnn.1995.488968
  3. Reassessing the safety of nuclear power Energy Research & Social Science · Elsevier BV · 2016 10.1016/j.erss.2015.12.026
  4. Improving nuclear power plant safety through independent water storage systems Nuclear Engineering and Design · Elsevier BV · 2017 10.1016/j.nucengdes.2017.07.039
  5. Expansion of nuclear power technology to new countries – SMRs, safety culture issues, and the need for an improved international safety regime Energy Policy · Elsevier BV · 2018 10.1016/j.enpol.2018.04.051
  6. Computational effort comparison of genetic algorithm and particle swarm optimization algorithms for the proportional–integral–derivative controller tuning of a pressurized water nuclear reactor Annals of Nuclear Energy · Elsevier BV · 2019 10.1016/j.anucene.2019.107019
  7. Nuclear accident source term estimation using Kernel Principal Component Analysis, Particle Swarm Optimization, and Backpropagation Neural Networks Annals of Nuclear Energy · Elsevier BV · 2019 10.1016/j.anucene.2019.107031
  8. Adaptive neuro-fuzzy PID controller based on twin delayed deep deterministic policy gradient algorithm Neurocomputing · Elsevier BV · 2020 10.1016/j.neucom.2020.03.063
  9. A Global Review of PWR Nuclear Power Plants Applied Sciences · Multidisciplinary Digital Publishing Institute · 2020 10.3390/app10134434
  10. Optimal Planning of Nuclear-Renewable Micro-Hybrid Energy System by Particle Swarm Optimization IEEE Access · Institute of Electrical and Electronics Engineers · 2020 10.1109/access.2020.3027524
  11. Digital-Twin-Enabled Intelligent Distributed Clock Synchronization in Industrial IoT Systems IEEE Internet of Things Journal · Institute of Electrical and Electronics Engineers · 2020 10.1109/jiot.2020.3029131
  12. Presenting new approach for optimal placement of nuclear power plant connected to the grid after the trip SN Applied Sciences · Springer Nature · 2021 10.1007/s42452-021-04423-9
  13. Development and outlook of advanced nuclear energy technology Energy Strategy Reviews · Elsevier BV · 2021 10.1016/j.esr.2021.100630
  14. Artificial Neural Network based Particle Swarm Optimization solution approach for the inverse depletion of used nuclear fuel Annals of Nuclear Energy · Elsevier BV · 2021 10.1016/j.anucene.2021.108256
  15. Cold rolling force model of nuclear power zirconium alloy based on Particle Swarm Optimization The International Journal of Advanced Manufacturing Technology · Springer Science+Business Media · 2021 10.1007/s00170-021-07210-3
  16. Multi-objective optimization method for nuclear reactor radiation shielding design based on PSO algorithm Annals of Nuclear Energy · Elsevier BV · 2021 10.1016/j.anucene.2021.108404
  17. Digital Twin Concepts with Uncertainty for Nuclear Power Applications Energies · Multidisciplinary Digital Publishing Institute · 2021 10.3390/en14144235
  18. Nuclear energy: A pathway towards mitigation of global warming Progress in Nuclear Energy · Elsevier BV · 2021 10.1016/j.pnucene.2021.104080
  19. Gradient descent-particle swarm optimization based deep neural network predictive control of pressurized water reactor power Progress in Nuclear Energy · Elsevier BV · 2021 10.1016/j.pnucene.2021.104108
  20. Patrol robot path planning in nuclear power plant using an interval multi-objective particle swarm optimization algorithm Applied Soft Computing · Elsevier BV · 2021 10.1016/j.asoc.2021.108192
  21. The Implementation of the Precautionary Principle in Nuclear Safety Regulation: Challenges and Prospects Sustainability · Multidisciplinary Digital Publishing Institute · 2021 10.3390/su132414033
  22. Current status of digital twin architecture and application in nuclear energy field Annals of Nuclear Energy · Elsevier BV · 2024 10.1016/j.anucene.2024.110491