THE FORTRAN NALAP CODE ADAPTED TO A MICROCOMPUTER COMPILER

Similar documents
VERIFICATION AND VALIDATION OF ONE DIMENSIONAL MODELS USED IN SUBCOOLED FLOW BOILING ANALYSIS

Uncertainty Quantification of EBR-II Loss of Heat Sink Simulations with SAS4A/SASSYS-1 and DAKOTA

ULOF Accident Analysis for 300 MWt Pb-Bi Coolled MOX Fuelled SPINNOR Reactor

Evaluating the Safety of Digital Instrumentation and Control Systems in Nuclear Power Plants

Using Principal Component Analysis Modeling to Monitor Temperature Sensors in a Nuclear Research Reactor

Lesson 14: Reactivity Variations and Control

ANALYSIS OF THE OECD MSLB BENCHMARK WITH THE COUPLED NEUTRONIC AND THERMAL-HYDRAULICS CODE RELAP5/PARCS

THERMAL HYDRAULIC MODELING OF THE LS-VHTR

CHARACTERIZATION OF A RADIATION DETECTOR FOR AIRCRAFT MEASUREMENTS

CROSS SECTION WEIGHTING SPECTRUM FOR FAST REACTOR ANALYSIS

CFD STUDIES IN THE PREDICTION OF THERMAL STRIPING IN AN LMFBR

12 Moderator And Moderator System

Safety Analysis of Loss of Flow Transients in a Typical Research Reactor by RELAP5/MOD3.3

Lecture 28 Reactor Kinetics-IV

ULOF Accident Analysis for 300 MWt Pb-Bi Coolled MOX Fuelled SPINNOR Reactor

Introduction to Reactivity and Reactor Control

SENSITIVITY ANALYSIS FOR ULOF OF PGSFR

PRELIMINARY CONCEPT OF A ZERO POWER NUCLEAR REACTOR CORE

THE RELEVANCE OF THE POWER-TO-FLOW MAP OF A BOILING WATER NUCLEAR REACTOR AS REFERENCE FOR STABILITY ASSESSMENT

ASSESSMENT OF A HEAT EXCHANGER INLET NOZZLE FLOW USING ANSYS-CFX

DEVELOPMENT OF A COUPLED CODE SYSTEM BASED ON SPACE SAFETY ANALYSIS CODE AND RAST-K THREE-DIMENSIONAL NEUTRONICS CODE

Comparison Between Experimental Data and Numerical Modeling for the Natural Circulation Phenomenon

Steady-State and Transient Neutronic and Thermal-hydraulic Analysis of ETDR using the FAST code system

EUROPEAN PATENT OFFICE U.S. PATENT AND TRADEMARK OFFICE CPC NOTICE OF CHANGES 469 DATE: JANUARY 1, 2018 PROJECT MP0398

SOME ASPECTS OF COOLANT CHEMISTRY SAFETY REGULATIONS AT RUSSIA S NPP WITH FAST REACTORS

Characterization of Combustion in a Hybrid Rocket Motor Paraffin-Based

NEW FUEL IN MARIA RESEARCH REACTOR, PROVIDING BETTER CONDITIONS FOR IRRADIATION IN THE FAST NEUTRON SPECTRUM.

A MESHLESS METHOD APPLIED TO THE HEAT TRANSFER ANALYSIS OF A DIESEL ENGINE PISTON

Chem 481 Lecture Material 4/22/09

EVALUATION OF A SPACECRAFT TRAJECTORY DEVIATION DUE TO THE LUNAR ALBEDO

Applied Nuclear Science Educational, Training & Simulation Systems

Title: Development of a multi-physics, multi-scale coupled simulation system for LWR safety analysis

THE PBIL ALGORITHM APPLIED TO A NUCLEAR REACTOR DESIGN OPTIMIZATION

Fundamentals of Nuclear Power. Original slides provided by Dr. Daniel Holland

Heterogeneous Description of Fuel Assemblies for Correct Estimation of Control Rods Efficiency in BR-1200

Lectures on Applied Reactor Technology and Nuclear Power Safety. Lecture No 6

OPERATIONAL PARAMETERS STUDY OF IPR-R1 TRIGA RESEARCH REACTOR USING VIRTUAL INSTRUMENTS

CANDU Safety #3 - Nuclear Safety Characteristics Dr. V.G. Snell Director Safety & Licensing

IMPROVED EVALUATION OF RECOVERY BOILER WATER CIRCULATION DESIGN WITH THE HELP OF STATE-OF-THE- ART CFD-BASED HEAT FLUX DATA

TOWARDS A COUPLED SIMULATION OF THERMAL HYDRAULICS AND NEUTRONICS IN A SIMPLIFIED PWR WITH A 3x3 PIN ASSEMBLY

APPLICATION OF THE COUPLED THREE DIMENSIONAL THERMAL- HYDRAULICS AND NEUTRON KINETICS MODELS TO PWR STEAM LINE BREAK ANALYSIS

Introducing nuclear fission The Fizzics Organization

THERMAL STRATIFICATION MONITORING OF ANGRA 2 STEAM GENERATOR MAIN FEEDWATER NOZZLES

THERMAL HYDRAULIC REACTOR CORE CALCULATIONS BASED ON COUPLING THE CFD CODE ANSYS CFX WITH THE 3D NEUTRON KINETIC CORE MODEL DYN3D

EXPERIMENTAL DETERMINATION OF NEUTRONIC PARAMETERS IN THE IPR-R1 TRIGA REACTOR CORE

OPTIMAL MANEUVERS IN THREE-DIMENSIONAL SWING-BY TRAJECTORIES

Design constraints Maximum clad temperature, linear power rating

Numerical Simulation of the MYRRHA reactor: development of the appropriate flow solver Dr. Lilla Koloszár, Philippe Planquart

Faddeev-Yakubovsky Technique for Weakly Bound Systems

Department of Engineering and System Science, National Tsing Hua University,

Chapter 7 & 8 Control Rods Fission Product Poisons. Ryan Schow

Research Article Simulation of a TRIGA Reactor Core Blockage Using RELAP5 Code

On Non-Ideal Simple Portal Frame Structural Model: Experimental Results Under A Non-Ideal Excitation

Estimation of accidental environmental release based on containment measurements

Instability Analysis in Peach Bottom NPP Using a Whole Core Thermalhydraulic-Neutronic Model with RELAP5/PARCS v2.7

Development of a Mathematical Model for Heat and Mass Transfer Inside a Granular Medium

BEST ESTIMATE PLUS UNCERTAINTY SAFETY STUDIES AT THE CONCEPTUAL DESIGN PHASE OF THE ASTRID DEMONSTRATOR

PRESSURE DROP OF FLOW THROUGH PERFORATED PLATES

NUMERICAL EVALUATION OF SLOSHING EFFECTS IN ELSY INNOVATIVE NUCLEAR REACTOR PRESSURE VESSELS SEISMIC RESPONSE

Experimental Studies of Active Temperature Control in Solid Breeder Blankets

APPLICATION OF THE HÉNON S ORBIT TRANSFER PROBLEM TO MANEUVER A SATELLITE IN A CONSTELLATION

ANALYSIS OF METASTABLE REGIMES IN A PARALLEL CHANNEL SINGLE PHASE NATURAL CIRCULATION SYSTEM WITH RELAP5/ MOD 3.2

INVESTIGATIONS OF THE FRICKE GEL (FXG) DOSIMETER DEVELOPED AT IPEN IRRADIATED WITH 60 Co GAMMA RAYS

Transient Reactor Test Loop (TRTL) Model Development

QUALIFICATION OF A CFD CODE FOR REACTOR APPLICATIONS

SIMULATION OF LEAKING FUEL RODS

Fission Reactors. Alternatives Inappropriate. Fission Reactors

EFFECT OF DISTRIBUTION OF VOLUMETRIC HEAT GENERATION ON MODERATOR TEMPERATURE DISTRIBUTION

Steam Condensation Induced Water Hammer Phenomena, a theoretical study

Safety Issues Related to Liquid Metals

REACTOR PHYSICS FOR NON-NUCLEAR ENGINEERS

Dynamic and Interactive Approach to Level 2 PRA Using Continuous Markov Process with Monte Carlo Method

Sensitivity Analyses of the Peach Bottom Turbine Trip 2 Experiment

Simulating the Behaviour of the Fast Reactor JOYO

Unit Workbook 2 - Level 5 ENG U64 Thermofluids 2018 UniCourse Ltd. All Rights Reserved. Sample

Task 3 Desired Stakeholder Outcomes

OECD/NEA Transient Benchmark Analysis with PARCS - THERMIX

PREDICTION OF MASS FLOW RATE AND PRESSURE DROP IN THE COOLANT CHANNEL OF THE TRIGA 2000 REACTOR CORE

Application of CFX code in Nuclear Reactor Thermal Hydraulics at the Brazilian Nuclear Technology Development Center (CDTN)

Uncertainties assessment in orbital or airborne sensors absolute calibration

Utilization of Egyptian Research Reactor and modes of collaboration

Loads on RPV Internals in a PWR due to Loss-of-Coolant Accident considering Fluid-Structure Interaction

Engineering Thermodynamics. Chapter 1. Introductory Concepts and Definition

FINITE ELEMENT COUPLED THERMO-MECHANICAL ANALYSIS OF THERMAL STRATIFICATION OF A NPP STEAM GENERATOR INJECTION NOZZLE

«CALCULATION OF ISOTOPE BURN-UP AND CHANGE IN EFFICIENCY OF ABSORBING ELEMENTS OF WWER-1000 CONTROL AND PROTECTION SYSTEM DURING BURN-UP».

Transmission of Nematic Liquid Crystals in Electric Fields

AP1000 European 7. Instrumentation and Controls Design Control Document

Dynamics of hydrogen in sodium in LMFBR secondary circuit

A DIRECT STEADY-STATE INITIALIZATION METHOD FOR RELAP5

Institute of Atomic Energy POLATOM OTWOCK-SWIERK POLAND. Irradiations of HEU targets in MARIA RR for Mo-99 production. G.

Tritium Control and Safety

CRITICAL LOADING CONFIGURATIONS OF THE IPEN/MB-01 REACTOR WITH UO 2 GD 2 O 3 BURNABLE POISON RODS

1/54 Circulation pump, safety valve, expansion vessel

20.1 Xenon Production Xe-135 is produced directly in only 0.3% of all U-235 fissions. The following example is typical:

2 Energy from the Nucleus

Data acquisition system for optimization and control of the processes from an isotopic exchange column

PERCOLATION PARAMETERS OF BIOMOLECULES ADSORPTION ON TWO-DIMENSIONAL NETWORK SURFACES

First Name: Last Name: Section: 1 December 20, 2004 Physics 201 FINAL EXAM

2 Quantum Mechanics on a Noncommutative Plane

HIGH TEMPERATURE THERMAL HYDRAULICS MODELING

Transcription:

THE FORTRAN NALAP CODE ADAPTED TO A MICROCOMPUTER COMPILER Paulo David de Castro Lobo, plobo.a@uol.com.br Eduardo Madeira Borges, eduardo@ieav.cta.br Francisco Antonio Braz Filho, fbraz@ieav.cta.br Lamartine Nogueira Frutuoso Guimarães, guimarae@ieav.cta.br Instituto de Estudos Avançados IEAv/CTA Rod. dos Tamoios, km 5.5, Putim, 12228-001, São José dos Campos, SP, Brasil Abstract. The Nuclear Energy Division (ENU) of the Institute for Advanced Studies (IEAv) is conducting the TERRA project (TEcnologia de Reatores Rápidos Avançados), Technology for Advanced Fast Reactors project, aimed at a space reactor application. In this work, to attend the TERRA project, the NALAP code adapted to a microcomputer compiler called Compaq Visual Fortran (Version 6.6) is presented. This code, adapted from the light water reactor transient code RELAP 3B, simulates thermal-hydraulic responses for sodium cooled fast reactors. The strategy to run the code in a PC was divided in some steps mainly to remove unnecessary routines, to eliminate old statements, to introduce new ones and also to include extension precision mode. The source program was able to solve three sample cases under conditions of protected transients suggested in literature: 1) the normal reactor shutdown, with a delay of 200 ms to start the control rod movement and a delay of 500 ms to stop the pumps; 2) reactor scram after transient of loss of flow; and 3) transients protected from overpower. Comparisons were made with results from the time when the NALAP code was acquired by the IEAv, back in the 80`s. All the responses for these three simulations reproduced the calculations performed with the CDC compiler in 1985. Further modifications will include the usage of gas as coolant for the nuclear reactor to allow a Closed Brayton Cycle Loop CBCL to be used as a heat/electric converter. Keywords: NALAP, Nuclear Energy, Nuclear Space 1. INTRODUCTION The Nuclear Energy Division (ENU) of the Institute for Advanced Studies (IEAv) is conducting the TERRA project, Technology for Advanced Fast Reactors project. The main objectives of this project are: 1) the establishment of the concept for a Closed Brayton Cycle Loop (CBCL), for building a demonstrative simulator and 2) the study of a nuclear reactor design to be the heat source for the thermal cycle (Guimarães et al., 2008). New developments on thermal cycle s research were presented by Camillo and Guimarães (2008), where they discussed the CBCL and a redesign of the NOELLE 60290 in order to operate in a closed cycle. Also, they gave an overview of the full cycle design. At this moment, there is no available computer program to simulate and solve thermal hydraulic transients of fast nuclear reactors to be used as a heat source with applications to the CBCL. To attend the TERRA project, this work presents the NALAP code adapted to a microcomputer compiler called Compaq Visual Fortran (Version 6.6). For further applications the intention is to modify the NALAP to use gas as coolant, allowing a CBCL to work as converter. To do this, some routines must be modified or replaced. The source program was able to solve some sample cases using sodium as coolant, and comparisons were made with results from the time when the NALAP code was acquired by the IEAv, back in the 80`s (Luz et al., 1985). 2. CODE ADAPTATION The NALAP code, written in FORTRAN-IV computer language is a Liquid Metal Fast Breeder Reactor (LMFBR) system transient code and was developed by the Brookhaven National Laboratory in 1975 (Martin et al., 1975). This code, adapted from the light water reactor transient code RELAP 3B, simulates thermal-hydraulic responses for sodium cooled fast reactors and is provided with the potential for modeling the entire plant. To save computer memory and execution time, the original code was divided in six sub-programs (called by subroutines OVERLAY), where it was possible only two of them (the main program and one of the remaining subprograms) to work simultaneously in the memory. These subprograms are: TWOLAP - the main program that controls the other ones; INMAIN controls the beginning of the problem for reading and printing data; PRINTR saves data during the execution for further using; RESTRT controls the restart of the problem ; TRAN used for transient analysis; and STMPR used only when coolant properties tables are available. With the micro processor evolution, the FORTRAN language from the 70`s was modified in such a way that some statements are not used anymore, being eliminated or substituted by others, and new statements were introduced. To have the NALAP able to run sample cases in a PC, it was decided to use the Compaq Visual Fortran compiler, already used at IEAv. At the initial runs, as expected, the results showed many error messages and a lot of warnings, during compilation and execution of sample cases. The strategy used in this work was divided in six steps as follows (Lobo et al., 2010).

2.1. Removing unnecessary routines The subprograms used only for saving computer memory and execution time were removed, as well as almost all routines related to them. The exceptions were only two routines: one that reads and calculates data from tables and another one that calculates coolant properties. Besides, all routines and functions that were not inside these subprograms but related to save intermediated results to be read in a further problem restart were also removed. 2.2. Including the extended precision mode for execution In the main program and in all subroutines and functions, the statement defining real variables in extended precision mode had to be included, because runs of some cases in single precision caused execution errors. To do this, all the original intrinsic functions were substituted by the correspondent ones in the new mode, taking a long time to search and find them in the entire program. 2.3. Correcting compilation and execution errors and warnings The OVERLAY statements were substituted by SUBROUTINE statements, keeping the same title of the program associated to the overlay, and the PROGRAM statements, specifying files used, were omitted. All the variables of CHARACTER type had to be identified at the beginning of the main program and at the subroutines, specifying the size of each one (number of characters). This kind of problem was solved as soon the error was advised by the compiler. In consequence, new errors messages were caused because those variables were not in a proper order inside the COMMON and DIMENSION statements. The solution was either to separate the character variables in different statements or to arrange them in a proper order by type (real, character, integer). The comments from the majority of warnings were not directly related to the specific error, so the exact location had to be found out to get the reason of the error message and correct it properly. 2.4. Removing reading and printing errors The input and output files were identified by the statements OPEN and CLOSE. The statements ENCODE and DECODE (used only for preparing output page headings) had to be removed because they were not accepted by the compiler. The PRINT statement was kept only to follow the related output on the monitor. The outputs from the statement WRITE were sent to files for further analysis. 2.5. Executing sample cases The NALAP code manual contains a detailed description of input cards and the output of two test cases. The already corrected source program, using the microcomputer compiler, could reproduce the results of the transient calculations in both examples. 2.6. Reproducing old runs With this new NALAP version, the outputs available at the IEAv for old runs, were reproduced. Details on this can be find next. 3. CODE VALIDATION To validate the new version of NALAP code, the thermal hydraulic behavior of the primary circuit of a 5 MW th, pool type experimental fast reactor was simulated under the conditions of protected transients suggested in literature. All the components of the primary circuit, including the core and the intermediate heat exchanger (IHX), are inside a tank containing the pool of sodium. The tank is shown in Fig. 1. The space between the top of the tank and the sodium surface is filled with an inert gas (argon) to allow thermal expansion. The argon is maintained at an over atmospheric pressure (about 2 atm) to ensure that any leaks are out of the system rather than in. The primary tank is surrounded by a leak jacket, so that, in the event of a leak, the sodium level would not fall so far to expose the core. Sodium is drawn into the pump and then forced upwards past the fuel pins in the core, which is surrounded by a breeder region. The hot sodium from the core then flows down through tubes in the intermediate heat exchanges, and transfers heat to a secondary sodium flow on the shell side of the heat exchanger. The secondary sodium then goes to

the steam generator. The complete separation of the primary and steam circuits by means of this intermediate sodium circuit is done partly to avoid having radioactive sodium in the boiler and partly to prevent any possibility of steam or water leaking into the primary tank. S e c o n d a r y s o d i u m A r g o n c o v e r g a s P u m p m o t o r S o d i u m l e v e l P r i m a r y v e s s e l I n t e r m e d i a t e h e a t e x c h a n g e r C o r e L e a k j a c k e t P u m p B r e e d e r Figure 1. Primary Coolant Circuit in a Fast Breeder Reactor Three situations were simulated in this work: 1) normal reactor shutdown, with a delay of 200 ms to start the control rod movement and a delay of 500 ms to stop the pumps; 2) reactor scram after transient of loss of flow; and 3) transient protected from overpower. In all cases, the results show that the used configuration is extremely safe, and all the responses for these three simulations reproduced the calculations performed with the CDC compiler in 1985. Figure 2 presents the thermal hydraulic response for the first case. It is observed that, while the power needs 0.8 s to decreases 80%, the flow, due to inertia of the pumping system, needs 5 s to drop to 50%. 1.0 0.8 0.6 Pressure Flow 0.4 0.2 0.0 0.0 2.0 4.0 6.0 8.0 10.0 Figure 2. Normalized Curves (Normal Reactor Shutdown)

Also, it is noted that the reducing of sodium pressure is very smooth. Figure 3 shows the temperature responses for a single rod inside the core for the first case, after the reactor shutdown, which shows decreasing profiles. 520 T e m p e r a t u r e ( o C ) 480 440 400 360 Coolant Center Line Surface 320 0 2 4 6 8 10 Figure 3. Temperature responses for one rod (Normal Reactor Shutdown) For the second case, a normal behavior of the Protection System (PPS) was studied. To do this, a pump stopping was allowed after 0.2 seconds, leading to loss of flow, and followed by a scram at 0.9 seconds, due to the PPS responses delays, as we can see in Fig. 4 and Fig. 5. It was not observed big differences compared to the first case transient. 1.0 0.8 0.6 Pressure Flow 0.4 0.2 0.0 0 2 4 6 8 10 Figure 4. Normalized Curves (Loss of Flow Transient)

520 T e m p e r a t u r e ( o C ) 480 440 400 360 Coolant Center Line Surface 320 0 2 4 6 8 10 Figure 5. Temperature responses for one rod (Loss of Flow Transient) To simulate the case of transient protected from overpower, a reactivity of 0.1 $/s was inserted, leading to a value of pressure twice the initial value. After this, the pressure was reduced by the action of the control rods, as we can see in Fig. 6. The temperatures responses at the coolant, at the center line and at the surface of a rod are showed in Fig. 7. Due to the small fuel thermal inertia, the thermal response from the reactor was very fast. 2.0 1.8 1.6 1.4 Pressure Flow 1.2 1.0 0.8 0.6 0.4 0.2 0.0 0 4 8 12 16 20 Figure 6. Normalized Curves (Transient Protected from Overpower)

700 T e m p e r a t u r e ( o C ) 600 500 400 Coolant Center Line 300 0 4 8 12 16 20 4. CONCLUSIONS Figure 7. Temperature responses for one rod (Transient Protected from Overpower) Using this PC version of the NALAP code, transient conditions in sodium cooled fast reactors are simulated. All the responses for these three simulations reproduced the calculations performed with the CDC compiler in 1985. Further modifications will include the usage of gas as coolant for the nuclear reactor. This will allow the use of a Closed Brayton Cycle Loop CBCL as a heat/electric converter. 5. ACKNOWLEDGEMENTS The authors are sincerely thankful for the assistantship provided by Conselho Nacional de Desenvolvimento Científico e Tecnológico CNPq given to first author of this contribution, under the contract number 150712/2009-0. 6. REFERENCES Camillo, G. P. and Guimarães, L. N. F., 2008, A Preliminary Design for a Simplified Closed Brayton Cycle Modeling for a Space Reactor Application, Proceedings of the 12 th Brazilian Congress of Thermal and Sciences, Belo Horizonte, MG, Brazil. Guimarães, L. N. F., Nascimento, J. A., Borges, E. M., Caldeira, A. D., and A. F. Dias, A. F., 2008, TEcnologia de Reatores Rápidos Avançados TERRA: reatores para aplicações espaciais e estratégicas, 8 th Workshop Anual de Pesquisa e Desenvolvimento do Instituto de Estudos Avançados. S. J. dos Campos, SP, Brazil, Vol. 1, pp. 115. Lobo, P. D.; Borges, E. M. and Guimarães, L. N. F., 2010, Adaptação do Código NALAP ao Sistema Compaq Visual Fortran, Versão 6.6, Publicação Interna IEAv-ENU-B/002/2010. Luz, M. S., Borges, E. M. and Braz Filho, F. A., 1985, Análise de Transitórios num Reator Rápido Experimental com o Uso do Código NALAP, Relatório Interno IEAv 09/85. Martin, B. A., Agrawal, A. K., Albright, D. C., Epel, L. G. and Maise, G., 1975, NALAP an LMFBR System Transient Code BNL 50457, Brookhaven National Laboratory. 7. RESPONSIBILITY NOTICE The authors are the only responsible for the printed material included in this paper.