Nuclear Engineering and Technology: Original Article
Nuclear Engineering and Technology: Original Article
Original Article
a r t i c l e i n f o a b s t r a c t
Article history: Various controllers such as proportionaleintegralederivative (PID) controllers have been designed and
Received 27 August 2017 optimized for load-following issues in nuclear reactors. To achieve high performance, gain tuning is of
Received in revised form great importance in PID controllers. In this work, gains of a PID controller are optimized for power-level
14 April 2018
control of a typical pressurized water reactor using particle swarm optimization (PSO) algorithm. The
Accepted 27 April 2018
Available online 28 May 2018
point kinetic is used as a reactor power model. In PSO, the objective (cost) function defined by decision
variables including overshoot, settling time, and stabilization time (stability condition) must be mini-
mized (optimized). Stability condition is guaranteed by Lyapunov synthesis. The simulation results
Keywords:
Gain Tuning
demonstrated good stability and high performance of the closed-loop PSOePID controller to response
Lyapunov Stability Approach power demand.
Particle Swarm Optimization © 2018 Korean Nuclear Society, Published by Elsevier Korea LLC. This is an open access article under the
Pressurized Water Reactor CC BY-NC-ND license (http://creativecommons.org/licenses/by-nc-nd/4.0/).
ProportionaleIntegraleDerivative
Controller
Optimization
1. Introduction nuclear reactor power and used the genetic algorithm to improve
the “extending” precision. Their simulation results demonstrated
The development of load-following issues in nuclear reactors has good performance of the fuzzy-PID controller. Ye et al. [12] inves-
always been of interest to researchers because of their nonlinear tigated water level control of a PWR based on radial basis
nature and the dependence of some dynamic parameters to the function neural network and PID controller. The results showed
output power level. Accordingly, various controllers have been remarkable robustness, adaptive ability, and higher control accu-
designed and optimized [1e4]. For example, Upadhyaya et al.[5] racy of this method. Dong [13] has used a physical approach to
used a T-average controller on the primary side of integral pres- design proportionalederivative (PD) power-level control for a PWR.
surized water reactor (PWR) [5]. Proportionaleintegralederivative The globally asymptotic stability was established for the reactor
(PID) controllers are widely used in various industries including state variables. This method has been shown to be suitable for the
nuclear facilities [6]. Therefore, various methods of PID gains tuning cases in which the state-space model is used.
have been developed [7e9], and several methods have been used to Particle swarm optimization (PSO) is a metaheuristic and real-
optimize these gains for load-following in the nuclear power plants. coded algorithm. PSO is originally credited to Kennedy and Eber-
Intelligent methods, such as fuzzy logic, have been at the forefront of hart [14]. Primarily, it was intended by Shi and Eberhart [15] to
these efforts. A comparative study of fuzzy, PID, and advanced fuzzy simulate social behavior. de Moura Meneses et al. [16] have applied
controls to simulate a nuclear reactor operation based on the PSO to the nuclear reload problem of a PWR. Also, Pereira et al. [17]
experimental data was done by Li and Ruan [10]. Liu et al. [11] have used PSO for nonperiodic preventive maintenance scheduling
designed and optimized fuzzy-PID controller to control the programming for a high-pressure injection system of a typical 4-
loop PWR. The power-level control is popular in comparison with
other control methods such as coolant temperature. The numerous
studies have been conducted on the reactor power-level control
* Corresponding author.
E-mail addresses: [email protected] (S.M.H. Mousakazemi), [18e20]. For example, Ansarifar and Akhavan [21] have employed
[email protected] (N. Ayoobian), [email protected] (G.R. Ansarifar). sliding mode control design for a PWR during load-following
https://doi.org/10.1016/j.net.2018.04.016
1738-5733/© 2018 Korean Nuclear Society, Published by Elsevier Korea LLC. This is an open access article under the CC BY-NC-ND license (http://creativecommons.org/
licenses/by-nc-nd/4.0/).
878 S.M.H. Mousakazemi et al. / Nuclear Engineering and Technology 50 (2018) 877e885
In this work, the point kinetic model of a nonlinear PWR core M ¼ 28nr0 þ 74 (10)
has been used with three groups of delayed neutrons (Skin-
nereCohen's three groups model) and reactivity feedbacks due to 5
U¼ n þ 4:93333 (11)
changes in xenon concentration, lumped fuel, and coolant tem- 3 r0
perature (Eqs. (1)e(8)) [22]:
Table 1
Model parameters.
Zt
d
uðtÞ ¼ KP eðtÞ þ KI eðtÞdt þ KD eðtÞ (15)
dt
0
1
V ¼ e2 (16)
2
V_ ¼ e$e
_ 0 (17)
2.4.1. Algorithm
xtþ1
i ¼ xti þ vtþ1
i ; i ¼ 1; 2; …; npop (19)
According to PSO, each particle in space has a position. In the
optimization problem, there is an objective function which is
where npop : population number (particle swarm); t: iteration
intended to minimize (cost) or maximize (fitness). So because of
(generation) index; xi : the position of the ith particle; xi;Best : the best
the location, the objective function is also there. The particle is
personal position experienced of the ith particle; xgBest : the best
moving in the direction of the weighted sum of its earlier direction
global position experienced in all particles up to iteration t; vi : the
of the vector displacement to the best personal position and the
speed of the ith particle; u: inertia weight; c: acceleration coefficient
displacement vector to the best global position (Fig. 3).
(learning factor); and Uð0;1Þ: a uniform random number generator.
0.406
(A) 0.9 (B)
0.404
0.89
0.402
0.88
0.4
0.398 0.87
0.396
0.86
0.394
0.85
0.392
4 4.2 4.4 4.6 4.8 5 5.2 14 14.05 14.1 14.15 14.2
1.1
PSO-PID
PI
1 Not tuned PID
Desired
0.9 (b)
0.8
0.7
0.6
0.5
0.4
(a)
0.3
0 5 10 15 20
Time (hour)
Fig. 6. Desired relative power (relative neutron density) with tuned/not tuned PID and PI controllers.
PID, proportionaleintegralederivative; PSO, particle swarm optimization.
S.M.H. Mousakazemi et al. / Nuclear Engineering and Technology 50 (2018) 877e885 881
Experience shows that with increasing u exploration increases, However, intermediate values help the exploitation of the best
and its reduction leads to increase exploitation. If c1 and c2 are too personal and global responses [27]. Confidence coefficients (u, c1 ,
large, it leads to increase exploration, and if they become too and c2 ) are calculated according to only one parameter, f, as below
small, it leads to increase exploitation of the current responses. [28]:
Table 3
The results of the simulation.
29 22
Best cost
20
25
19.5
24
19
23
18.5
22 18
21 17.5
20 40 60 80 100 120 140 160 180 200 20 40 60 80 100 120 140 160 180 200
20.5 24.5
(C) 24
(D)
20
23.5
19.5
23
Best cost
Best cost
19
22.5
18.5
22
18 21.5
17.5 21
20 40 60 80 100 120 140 160 180 200 20 40 60 80 100 120 140 160 180 200
32 24
30
(E) 23 (F)
22
28
Best cost
Best cost
21
26
20
24
19
22 18
20 17
20 40 60 80 100 120 140 160 180 200 20 40 60 80 100 120 140 160 180 200
19.2 24.5
19 (G) 24
(H)
18.8
23.5
18.6
Best cost
Best cost
23
18.4
22.5
18.2
22
18
17.8 21.5
17.6 21
20 40 60 80 100 120 140 160 180 200 20 40 60 80 100 120 140 160 180 200
Fig. 8. The changes of the best costs versus the iterations. (A) Region 1. (B) Region 2. (C) Region 3. (D) Region 4. (E) Region 5. (F) Region 6. (G) Region 7. (H) Region 8.
S.M.H. Mousakazemi et al. / Nuclear Engineering and Technology 50 (2018) 877e885 883
2.4.2. Objective function definition of the output accuracy. Actually, Lyapunov stability condition is
In PSO, an objective (cost) function needs to be defined to check checked by PSO script as a criterion.
the quality of particles in the population. Traditionally, the cost
function is a weighted sum of the parameters of the decision var- 3. Results and discussion
iables, such as overshoot and settling time, which provided the
steady-state stability. In this work, the stability condition has been The proposed optimization system (PSOePID) is applied to the
added to the cost function, too. To this end, the stabilization time of load-following operation problem of a typical PWR. The trajectory
the system in each time intervals has been considered based on
Lyapunov synthesis (Eq. (17)). The objective (cost) function is
defined as follows:
F ¼ w1 MP þ w2 TS þ w3 TSt (22)
Fig. 9. The change of the best cost versus the NFE in the region 2.
NFE, number of function evaluation. Fig. 12. The changes of the control rod speed (control signal).
884 S.M.H. Mousakazemi et al. / Nuclear Engineering and Technology 50 (2018) 877e885
has a good agreement with the desired signal. Also, the PSOePID
controller has a better performance than PI controller. It should be
noted that the relative power is equivalent to the relative neutron
density/flux (Eq. (1)). Indeed, the neutron flux is controlled along
with power control.
The changes of V_ over the time and the plant output stability,
according to the Lyapunov stability analysis, are shown in Fig. 7. As
it is seen, the stability of the PID controller is well established in a
short time at the beginning of each region (in accordance with the
Table 3 results).
According to the power demand (Fig. 6), the changes of the best
costs in all regions over iterations are illustrated in Fig. 8. Curves of
this figure show the convergence of the best cost to a constant value
in each region.
One of the best criteria for comparing the performance of
population-based and nature-inspired metaheuristics is to evaluate
Fig. 13. Control rod reactivity.
the best cost over the number of function evaluation (NFE) as
shown in Fig. 9. In the region 2, for example, it is seen that the best
cost is converged to a constant value. Figures of type 8 and 9 are
criteria of the optimized response accuracy.
Fig. 10 shows the change of relative precursor density. As ex-
pected, their behavior is similar to relative power in the long-time
transient.
The change of xenon concentration is shown in Fig. 11. The
xenon build-up is well illustrated by the power downfall.
The control rod speed (control signal) is shown in Fig. 12. The
range of changes is low. So, there is no practical problem in the
hardware actuators.
The reactivity of control rod movement and total induced
reactivity are shown in Figs. 13 and 14, respectively. These curves
have predictable behaviors, and the control rod reactivity is within
the proper ranges.
Fig. 15 shows the changes of coolant temperature. It illustrates
that the coolant temperature is as well controlled as the power
level.
Fig. 14. Total reactivity of the core.
4. Conclusion
In this paper, the popular PID controller was used for designing a
PWR control system and tuned by PSO algorithm. The process is
simple, and the nonlinear control system has been optimized
without complex theory calculations. The objective (cost) function
was considered as the weighted linear summation of decision
variables including overshoot, settling time, and stabilization time
(based on Lyapunov synthesis). The proposed PSOePID system was
tuned and scheduled the PID controller gains, with power demand.
The simulation results reveal a good agreement between the
desired signal and the closed-loop PID controller.
Conflict of interest
References
Fig. 15. Coolant temperature.
[1] H.L. Akin, V. Altin, Rule-based fuzzy logic controller for a PWR-type nuclear
power plant, IEEE Trans. Nucl. Sci. 38 (1991) 883e890.
[2] M.N. Khajavi, M.B. Menhaj, A.A. Suratgar, A neural network controller for load
changes of the relative power following a ramp load is shown in following operation of nuclear reactors, Ann. Nucl. Energy 29 (2002) 751e760.
Fig. 6 (100% / 40%/ 90%/ 40%/ 100%). The ramps are [3] M.G. Na, D.W. Jung, S.H. Shin, J.W. Jang, K.B. Lee, Y.J. Lee, A model predictive
5 %=min, 5 %=min, and þ 0:4%=min, respectively. controller for load-following operation of PWR reactors, IEEE Trans. Nucl. Sci.
0:4%=min, þ 12 12 52 (2005) 1009e1020.
This trajectory is divided into eight regions. For each region, a [4] S.M.H. Mousakazemi, N. Ayoobian, G.R. Ansarifar, Control of the reactor core
separate set of the PID controller gains is scheduled by the PSOePID power in PWR using optimized PID controller with the real-coded GA, Ann.
code, based on the PSO parameters considered in Section 2. Nucl. Energy 118 (2018) 107e121.
[5] B.R. Upadhyaya, M.R. Lish, J.W. Hines, R.A. Tarver, Instrumentation and control
Fig. 6 also shows the result of the tuned/not tuned PSOePID and PI strategies for an integral pressurized water reactor, Nucl. Eng. Technol. 47
controllers. As it is seen, the closed-loop tuned controller output (2015) 148e156.
S.M.H. Mousakazemi et al. / Nuclear Engineering and Technology 50 (2018) 877e885 885
[6] S. Bennett, The past of PID controllers, Annu. Rev. Control 25 (2001) 43e53. intelligent controller for a PWR nuclear reactor core during load following
[7] W.K. Ho, C.C. Hang, L.S. Cao, Tuning of PID controllers based on gain and phase operation, Ann. Nucl. Energy 35 (2008) 2051e2058.
margin specifications, Automatica 31 (1995) 497e502. [19] D.L. Zhang, S.Z. Qiu, G.H. Su, C.L. Liu, L.B. Qian, Analysis on the neutron kinetics
[8] K.H. Ang, G. Chong, Y. Li, PID control system analysis, design, and technology, for a molten salt reactor, Prog. Nucl. Energy 51 (2009) 624e636.
IEEE Trans. Control Syst. Technol. 13 (2005) 559e576. [20] K. Torabi, O. Safarzadeh, A. Rahimi-Moghaddam, Robust control of the PWR
[9] K.J. Åstro€ m, T. Ha €gglund, Advanced PID Control, ISA-The Instrumentation, core power using quantitative feedback theory, IEEE Trans. Nucl. Sci. 58
Systems and Automation Society, 2006. (2011) 258e266.
[10] X. Li, D. Ruan, Comparative study of fuzzy control, PID control, and advanced [21] G.R. Ansarifar, H.R. Akhavan, Sliding mode control design for a PWR nuclear
fuzzy control for simulating a nuclear reactor operation, Int. J. Gen. Syst. 29 reactor using sliding mode observer during load following operation, Ann.
(2000) 263e279. Nucl. Energy 75 (2015) 611e619.
[11] C. Liu, J.-F. Peng, F.-Y. Zhao, C. Li, Design and optimization of fuzzy-PID [22] D.L. Hetrick, Dynamics of Nuclear Reactors, American Nuclear Society, 1993.
controller for the nuclear reactor power control, Nucl. Eng. Des. 239 (2009) [23] P. Ramaswamy, M. Riese, R.M. Edwards, K.Y. Lee, Two approaches for auto-
2311e2316. mating the tuning process of fuzzy logic controllers [pwr application], in:
[12] J.-H. Ye, J.-M. Yi, H.-Y. Ji, Research on pressurizer water level control of nuclear Decis. Control. 1993., Proc. 32nd IEEE Conf, IEEE, 1993, pp. 1753e1758.
reactor based on RBF neural network and PID controller, in: Mach. Learn. [24] T. Abhilash, A.P. Pavani, Multi area load frequency control of power system
Cybern. (ICMLC), 2010 Int. Conf, IEEE, 2010, pp. 1486e1489. involving renewable and non-renewable energy sources, in: Power Adv.
[13] Z. Dong, PD power-level control design for PWRs: a physically-based Comput. Technol. (I-PACT), 2017 Innov, IEEE, 2017, pp. 1e5.
approach, IEEE Trans. Nucl. Sci. 60 (2013) 3889e3898. [25] P. Cominos, N. Munro, PID controllers: recent tuning methods and design to
[14] J. Kennedy, R. Eberhart, Particle swarm optimization (PSO), in: Proc. IEEE Int. specification, IEE Proceedings-Control Theory Appl. 149 (2002) 46e53.
Conf. Neural Networks, Perth, Aust., 1995, pp. 1942e1948. [26] G.R. Ansarifar, M. Rafiei, Higher order sliding mode controller design for a
[15] Y. Shi, R. Eberhart, A modified particle swarm optimizer, in: Evol. Comput. research nuclear reactor considering the effect of xenon concentration during
Proceedings, 1998. IEEE World Congr. Comput. Intell. 1998 IEEE Int. Conf, IEEE, load following operation, Ann. Nucl. Energy 75 (2015) 728e735.
1998, pp. 69e73. [27] J. Kennedy, Particle swarm optimization, in: Encycl. Mach. Learn., Springer,
[16] A.A. de Moura Meneses, M.D. Machado, R. Schirru, Particle swarm optimiza- 2011, pp. 760e766.
tion applied to the nuclear reload problem of a pressurized water reactor, [28] M. Clerc, J. Kennedy, The particle swarm-explosion, stability, and convergence
Prog. Nucl. Energy 51 (2009) 319e326. in a multidimensional complex space, IEEE Trans. Evol. Comput. 6 (2002)
[17] C.M.N.A. Pereira, C.M.F. Lapa, A.C.A. Mol, A.F. Da Luz, A particle swarm opti- 58e73.
mization (PSO) approach for non-periodic preventive maintenance scheduling [29] R. Poli, J. Kennedy, T. Blackwell, Particle swarm optimization, Swarm Intell. 1
programming, Prog. Nucl. Energy 52 (2010) 710e714. (2007) 33e57.
[18] S.S. Khorramabadi, M. Boroushaki, C. Lucas, Emotional learning based