<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE article  PUBLIC "-//NLM//DTD Journal Publishing DTD v3.0 20080202//EN" "http://dtd.nlm.nih.gov/publishing/3.0/journalpublishing3.dtd"><article xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink" dtd-version="3.0" xml:lang="en" article-type="research article"><front><journal-meta><journal-id journal-id-type="publisher-id">OJEE</journal-id><journal-title-group><journal-title>Open Journal of Energy Efficiency</journal-title></journal-title-group><issn pub-type="epub">2169-2637</issn><publisher><publisher-name>Scientific Research Publishing</publisher-name></publisher></journal-meta><article-meta><article-id pub-id-type="doi">10.4236/ojee.2023.122003</article-id><article-id pub-id-type="publisher-id">OJEE-125624</article-id><article-categories><subj-group subj-group-type="heading"><subject>Articles</subject></subj-group><subj-group subj-group-type="Discipline-v2"><subject>Engineering</subject></subj-group></article-categories><title-group><article-title>
 
 
  PCTRAN Westinghouse AP1000 Power Control of Pressurized Water Reactor Using Simulink of MATLAB
 
</article-title></title-group><contrib-group><contrib contrib-type="author" xlink:type="simple"><name name-style="western"><surname>Ezeddin</surname><given-names>A. M. Ben Ihrayz</given-names></name><xref ref-type="aff" rid="aff1"><sub>1</sub></xref></contrib></contrib-group><aff id="aff1"><label>1</label><addr-line>Department of Electrical and Electronic Engineering, Faculty of Engineering, University of Benghazi, Benghazi, Libya</addr-line></aff><pub-date pub-type="epub"><day>15</day><month>06</month><year>2023</year></pub-date><volume>12</volume><issue>02</issue><fpage>25</fpage><lpage>35</lpage><history><date date-type="received"><day>16,</day>	<month>April</month>	<year>2023</year></date><date date-type="rev-recd"><day>13,</day>	<month>June</month>	<year>2023</year>	</date><date date-type="accepted"><day>16,</day>	<month>June</month>	<year>2023</year></date></history><permissions><copyright-statement>&#169; Copyright  2014 by authors and Scientific Research Publishing Inc. </copyright-statement><copyright-year>2014</copyright-year><license><license-p>This work is licensed under the Creative Commons Attribution International License (CC BY). http://creativecommons.org/licenses/by/4.0/</license-p></license></permissions><abstract><p>
 
 
  This paper introduces the simulation, and control
  s
   using Simulink of MATLAB
   for PCTRAN (Personal Computer Transient Analysis) of 
  the 
  power control system (PWR) type pressurized water reactor of PWR WESTINGHOUSE AP1000. The power controller model produces mathematical model description in nonlinear relation form in Simulink of MATLAB which is 
  an
   importan
  t
   and popular program used at most universit
  ies
   for education. The power controller is described by
   a
   block diagram in this paper and some details introduce to clearly understand 
  the 
  work function. The results of action control compared with 
  the 
  PCTRAN programme in modes of automatic and manual control.
 
</p></abstract><kwd-group><kwd>Turbine Leading Mode</kwd><kwd> Reactor Leading Mode</kwd><kwd> Rod Speed Program</kwd><kwd> Rod Control Position</kwd><kwd> Turbine Load Power</kwd></kwd-group></article-meta></front><body><sec id="s1"><title>1. Introduction</title><p>The plant power control function of a PWR type NPP (Nuclear Power Plant) is performed by two, separate control modes—one for the turbine generator called “turbine leading”; and the other one for the reactor called “reactor leading”. These two distinct modes of overall plant control can be switched between other and are well coordinated for plant startup, shutdown, power operations of all kinds, and plant upset conditions [<xref ref-type="bibr" rid="scirp.125624-ref1">1</xref>] . The turbine leading mode is selected when a typical PWR (Pressurized Water Reactor) is operating normally, and the reactor leading mode is selected when a typical BWR (Boiling Water Reactor) is operating normally [<xref ref-type="bibr" rid="scirp.125624-ref2">2</xref>] . The Pressurized Water Reactor PWR has sophisticated automatic control systems. The control rod system and soluble boron control the core neutron flux. The Chemical and Volume Control System (CVCS) controls the primary coolant inventory and water chemistry. On the secondary side, steam output is controlled by the turbine control valve and steam dump system. The steam generator water level is controlled by the feedwater system. During the automatic control mode, they work in a synchronized way so that transition to stabilized conditions will be achieved smoothly [<xref ref-type="bibr" rid="scirp.125624-ref3">3</xref>] . However, the reactor leading mode is usually used in Boiling Water Reactors (BWRs) and not in PWRs, except during the reactor start-up operations [<xref ref-type="bibr" rid="scirp.125624-ref4">4</xref>] .</p><p>This paper concerns and focuses on the control design method of Turbine leading mode in AP1000 Westinghouse reactor of PCTRAN. The power controller described by block diagram in this paper is accomplished in Simulink of MATLAB. The output response of this controller (ROD control Position) is approved and compared with the output (RODPOS) of PCTRAN. The reactor leading mode is not used in PCTRAN AP1000. Manual movement of Rod control work is the same as reactor leading mode, because the manual movement of rod control is affecting directly on the reactor power. The output response in manual movement is the Turbine Load Power (TBLD). The turbine load power in manual movement is calculated and compared with TBLD of AP1000 PCTRAN. The simulation is performed during power operation transients and Trip (shutdown).</p></sec><sec id="s2"><title>2. Reactor Power Controller of PWR (Turbine Leading)</title><p>This controller of which the diagram is shown in <xref ref-type="fig" rid="fig1">Figure 1</xref> type turbine leading gives the reactor control rod speed when the controller works automatically. The reactor power is adjusted indirectly because this controller in fact controls the reactor average temperature, calculated as the mean value of the cold and hot leg temperature. This value is delayed, and lead/lag compensated. The transfer function the lead/lag compensation is equivalent to the diagram of <xref ref-type="fig" rid="fig1">Figure 1</xref> which gives the transfer function in terms of a simple integration (with time constants), and multiplication with lag measurement of time constant. The setpoint for the average temperature is calculated as a piecewise linear function of relative HP-turbine inlet pressure (which is a measure of turbine power) and further sent through first order lag compensator [<xref ref-type="bibr" rid="scirp.125624-ref3">3</xref>] [<xref ref-type="bibr" rid="scirp.125624-ref5">5</xref>] .</p><p>A correction power mismatch between relative Turbine Load Power and nuclear power is made. The equivalent diagram for the mismatch transfer function is shown in <xref ref-type="fig" rid="fig1">Figure 1</xref> in terms of simple integration and multiplication. The power mismatch signal is sent through nonlinear and variable gains [<xref ref-type="bibr" rid="scirp.125624-ref3">3</xref>] [<xref ref-type="bibr" rid="scirp.125624-ref5">5</xref>] . The error signal, corrected for power mismatch is transformed into control rod speed in the rod speed program function of which the graph is shown in <xref ref-type="fig" rid="fig2">Figure 2</xref> below [<xref ref-type="bibr" rid="scirp.125624-ref3">3</xref>] [<xref ref-type="bibr" rid="scirp.125624-ref5">5</xref>] [<xref ref-type="bibr" rid="scirp.125624-ref6">6</xref>] . The outputs of speed program which is indicate the rod control position after integrating and program multiply with dimensionless factor to</p><p>convert results to percentage of its position. The rod position according to table it will be found the reactivity rod function.</p></sec><sec id="s3"><title>3. Rod Speed Program Function</title><p>A deadband of &#177;1.83˚C, which includes a 0.83˚C lock-up, is employed to eliminate continuous rod stepping and bistable chattering. The lock-up can be explained by referring to <xref ref-type="fig" rid="fig2">Figure 2</xref> and examining a signal for rod withdrawal. When the total error signal reaches +1.83˚C, the output from the reactor control unit demands the minimum rod speed to return Tavg to program. As the rods step out, Tavg increases, reducing the total error signal. When the total error signal reaches +1˚C, the unit turns off, stopping rod motion.</p><p>This 0.83˚C difference between starting and stopping rod motion prevents the bistable from chattering (turning on and off continuously), which is performed by relay block function of Simulink MATLAB. Relay block parameters are set, of switch on point at 1.83, and switch off point at 1 of error signal in positive direction. As same as in negative direction parameters are set switch on point at 1- and switch off point at 1.83- of error signal, therefore output when on at 0, and output when off at 1 (reverse defaults). Rod speed is determined by the total error signal. For small error signals, &#177;1.83˚C to &#177;3˚C, the reactor control unit produces an output demanding a minimum speed of eight steps per minute. This minimum rod speed is based upon a minimum response of the rod control system for small errors generated by this system. A slow speed prevents excessive movement of the rods which could cause a temperature overshoot. Temperature overshoots could cause hunting by the rods, i.e., excessive rod movement. As the temperature error signal increases from &#177;3˚C to &#177;5˚C, the rod speed program enters a proportional speed region. This region calls for 32 steps/min/˚C. This gain is selected to be consistent with the need for increased rod motion to limit transient temperature overshoot while, at the same time, preventing overcompensation and temperature oscillations. With an error of 5˚C or greater, the rod speed programmer of the reactor control unit generates a maximum rod speed of 72 steps/min. The maximum rod speed is based upon a maximum response to a large error signal and upon the physical limitations of the rod drive mechanism, with the latter being the limiting factor [<xref ref-type="bibr" rid="scirp.125624-ref6">6</xref>] .</p></sec><sec id="s4"><title>4. Manually Rod Control Moving</title><p>In reactor leading mode (or turbine following mode), the plant’s operator specifies the reactor power output target (control rods demand) and the turbine power output changes accordingly [<xref ref-type="bibr" rid="scirp.125624-ref4">4</xref>] . The rod speed is adjustable between 8 and 72 steps/min. The speed normally selected for manual operation is 48 steps/ min [<xref ref-type="bibr" rid="scirp.125624-ref6">6</xref>] . In the simulator displays the maximum rod speed is 10%/s. In reactor leading mode (or turbine following mode), the plant’s operator specifies the reactor power output target (control rods demand) and the turbine power output changes accordingly. The user will change the rod position and rod speed manually and understand how they affect the reactor and turbine power outputs [<xref ref-type="bibr" rid="scirp.125624-ref4">4</xref>] .</p></sec><sec id="s5"><title>5. Turbine Load Power (TBLD) When the Rod Control Manually Moved</title><p>When the Rod control is moved manually, the reference power of turbine load changes accordingly. The plant’s operator specifies the reactor power output target (control rods demand) and the turbine power output changes accordingly [<xref ref-type="bibr" rid="scirp.125624-ref4">4</xref>] . The rod control system constantly compares the current rod position and the specified rod demand. When there is a difference between them, this system generates a signal which moves the control rods at the operator’s specified rate to introduce positive or negative reactivity. Furthermore, change in thermal power alters the heat transfer in the SGs, which changes the amount of steam generation in the secondary side of the SGs. This, in turn, increases or decreases the pressure of the SGs [<xref ref-type="bibr" rid="scirp.125624-ref4">4</xref>] . The Turbine Load Power is a function of thermal core power as a found from results of PCTRAN program but quantized at several time when Rod control moved manually. Turbine load power is changing according to thermal core power as shown in <xref ref-type="fig" rid="fig3">Figure 3</xref>, which is used to control pressure first stage high pressure of turbine, and steam generator.</p></sec><sec id="s6"><title>6. Protection and Control System</title><p>The function of the protection system is to protect the three barriers between the fuel and the public: fuel cladding, reactor coolant vessel and containment. The Control system function is to provide the changes needed to keep the operating parameters [<xref ref-type="bibr" rid="scirp.125624-ref2">2</xref>] . The purpose of the protection system is to provide automatic protection against unsafe operation conditions during steady state operation and power transients [<xref ref-type="bibr" rid="scirp.125624-ref2">2</xref>] . The Reactor Protection System (RPS) shuts down a PWR power plant when certain safety system settings, or setpoints, are reached or when commanded by the operator [<xref ref-type="bibr" rid="scirp.125624-ref5">5</xref>] . Whenever the reactor’s operating parameters exceed certain defined safety limits; all control rods are dropped by gravity into the core to suppress the chain reactor. The following trip functions are typical for a PWR [<xref ref-type="bibr" rid="scirp.125624-ref3">3</xref>] :</p><p>- High reactor pressure and/or pressurizer water level;</p><p>- High neutron flux;</p><p>- Over-temperature delta-T;</p><p>- Over-power delta-T;</p><p>- High RC outlet temperature;</p><p>- Low reactor pressure and/or pressurizer water level;</p><p>- Low SG water level;</p><p>- Low loop or core flow;</p><p>- Containment pressure.</p></sec><sec id="s7"><title>7. Operating Modes of Control</title><p>Rods control modes, this control moves the rods in order to maintain average temperature if turbine leading mode is selected. If reactor leading mode is chosen, this control moves the rods in order to keep the reactor power demanded, and manual control moves the rod control manually to keep the reactor power demanded. <xref ref-type="fig" rid="fig4">Figure 4</xref> shows these modes related together [<xref ref-type="bibr" rid="scirp.125624-ref2">2</xref>] . In a typical PWR uses turbine leading mode, or manual movement to control the reactor power. Reactor leading mode is accomplished as same as manual control movement in this paper.</p></sec><sec id="s8"><title>8. Simulation and Results</title><p>This control moves the rods automatically in order to maintain average temperature if turbine leading mode is selected. The turbine leading mode is selected by using power demand and demand rate at turbine section. If reactor leading mode is chosen, this control moves the rods manually in order to keep the reactor power demanded. The reactor leading mode is selected by using rod demand and Rod speed at reactor core section. In this simulation uses run time as 900 seconds’ period. The PCTRAN run time simulation will be 300 second only. The</p><p>data are collected three time including initial conditions each run time. This total period of run time is divided in two periods. The first period is automatic control of rods (turbine leading mode), the second period is manually control of rod, the reactor leading mode is not accomplished, but considering that manual control of rods is the same as the reactor leading mode approximately at after 400 second of period. The full period is accomplished by three times over two stages once for normal operation, and other for a trip at before end of last 300 second period.</p><p>The thermal reactor power (PWR) is calculated from measured values from PCTRAN referred to PCTRAN manual, and a paper of Spatial Reactor Dynamics [<xref ref-type="bibr" rid="scirp.125624-ref3">3</xref>] [<xref ref-type="bibr" rid="scirp.125624-ref7">7</xref>] . In each period mode inputs and outputs data are illustrated in <xref ref-type="fig" rid="fig1">Figure 1</xref>, and <xref ref-type="fig" rid="fig3">Figure 3</xref>. The generator load power is equal to percentage turbine load power multiply by 1133.333 MWatt.</p><p>The results of simulation are illustrated in the following figures from Figures 5(a)-(h).</p></sec><sec id="s9"><title>9. Conclusions</title><p>The automatic control (Turbine Leading Mode) and manual rod control movement mode control are implemented in this paper. The simulation is accomplished by Simulink of MATLAB during a period run time of 900 seconds. The first interval of period run time is 400 seconds, turbine leading mode is selected, and the second interval time manual control is selected. The first running stage runs time of 900 seconds for power operation transient wide range decrease from 100% to 25% of power operation transient, and then increases manually. The second running stage for power operation with a trip occurs before the end of running time. Results from simulation are plotted and compared. The statistics calculations are computed and put in graphs. <xref ref-type="fig" rid="fig5">Figure 5</xref>(a) result points to minimum error of 0% and the maximum error is 10.4% during power transient. <xref ref-type="fig" rid="fig5">Figure 5</xref>(b) shows result maximum error is 52% which cause by sampling time shifting between PCTRAN and Simulink responses, the shapes of the two signals are identical well. <xref ref-type="fig" rid="fig5">Figure 5</xref>(c) shows maximum error is 0.68% for thermal reactor power. <xref ref-type="fig" rid="fig5">Figure 5</xref>(d) shows thermal power reactor at trip with maximum error of 8.2%, and the shapes of the waves are identical exactly. <xref ref-type="fig" rid="fig5">Figure 5</xref>(e) and <xref ref-type="fig" rid="fig5">Figure 5</xref>(f) show results as same as figures of <xref ref-type="fig" rid="fig5">Figure 5</xref>(a) and <xref ref-type="fig" rid="fig5">Figure 5</xref>(b) respectively for turbine load power. <xref ref-type="fig" rid="fig5">Figure 5</xref>(g) and <xref ref-type="fig" rid="fig5">Figure 5</xref>(h) show rod control positions with maximum error of 0.68%, and 10% respectively. The maximum error caused by shifting sampling time from PCTRAN results run sampling 1 second, and Simulink sampling time is 0.5 seconds. In general all signals are identical in form and behaviour.</p><p>From results, the maximum error occurs at trip transients because there is a shifting time between the sampling time of measured PCTRAN, and simulated SIMULINK simulations. The other maximum error occurs after moving Rod control manually and the rest of the time after moved manually, the control enters automatic control. But this control is not standard as same at the beginning. Figures 5(a)-(h) show calculations of standard deviation, maximum, minimum errors, average errors, Sum of Squares of Error, Mean Square Error, and Standard Error. These Errors are accepted in limit.</p></sec><sec id="s10"><title>Acknowledgements</title><p>The work in this paper is supported by Dr. Li-Chi Cliff Po at Micro-Simulation Technology (MST) PCTRAN AP1000 software, and manual document. In addition to Westinghouse Technology Systems Manual had been supported.</p></sec><sec id="s11"><title>Conflicts of Interest</title><p>The author declares no conflicts of interest regarding the publication of this paper.</p></sec><sec id="s12"><title>Cite this paper</title><p>Ben Ihrayz, E.A.M. (2023) PCTRAN Westinghouse AP1000 Power Control of Pressurized Water Reactor Using Simulink of MATLAB. Open Journal of Energy Efficiency, 12, 25-35. https://doi.org/10.4236/ojee.2023.122003</p></sec></body><back><ref-list><title>References</title><ref id="scirp.125624-ref1"><label>1</label><mixed-citation publication-type="other" xlink:type="simple">IAEA (2005) Pressurized Water Reactor Simulator Workshop Material, 2nd Edition, Training Course Series No. 22. International Atomic Energy Agency, Vienna.</mixed-citation></ref><ref id="scirp.125624-ref2"><label>2</label><mixed-citation publication-type="other" xlink:type="simple">IAEA (2017) Integral Pressurized Water Reactor Simulator Manual, 1st Edition, Training Course Series No. 65. International Atomic Energy Agency, Vienna.</mixed-citation></ref><ref id="scirp.125624-ref3"><label>3</label><mixed-citation publication-type="other" xlink:type="simple">IAEA (2009) PCTRAN Personal Computer Transient Analyzer for a Two-Loop PWR and TRIGA Reactor. Micro-Simulation Technology, Trieste.</mixed-citation></ref><ref id="scirp.125624-ref4"><label>4</label><mixed-citation publication-type="other" xlink:type="simple">International Atomic Energy Agency (2019) PCTRAN Generic Pressurized Water Reactor Simulator Exercise Handbook, Training Course Series No. 68. IAEA Publishing Section, Vienna.</mixed-citation></ref><ref id="scirp.125624-ref5"><label>5</label><mixed-citation publication-type="other" xlink:type="simple">Larsen, N. (1987) Simulation Model of a PWR Power Plant. Ris&amp;#248; National Laboratory, Roskilde.</mixed-citation></ref><ref id="scirp.125624-ref6"><label>6</label><mixed-citation publication-type="other" xlink:type="simple">Westinghouse Electric Corporation (2016) Westinghouse Technology Systems Manual. Westinghouse Electric Corporation, Pittsburgh.</mixed-citation></ref><ref id="scirp.125624-ref7"><label>7</label><mixed-citation publication-type="other" xlink:type="simple">Ansari, M.R. and Marzooghi, R. (2011) Spatial Reactor Dynamics and Thermo Hydraulic Behavior Simulation of a Large AGR Nuclear Power Reactor in Response to a Reactivity Step Change Disturbance. Energy and Power Engineering, 3, 366-375.  
https://doi.org/10.4236/epe.2011.33047</mixed-citation></ref></ref-list></back></article>