SlideShare a Scribd company logo
1 of 21
Download to read offline
Operated by Los Alamos National Security, LLC for the U.S. Department of Energy’s NNSA
Executable Models of Fissile
Reactor Systems for Hardware
Simulation and Design
47th Summer Computer Simulation Conference
July 26-29, 2015
John Determan
Christy Day, Steven Klein, Marsha Roybal
Los Alamos National Laboratory
Advanced Nuclear Technology Group (NEN-2)
LA-UR-15-25136
1
Operated by Los Alamos National Security, LLC for the U.S. Department of Energy’s NNSA
Program Supports Mo-99 Supply for Nuclear Medicine
2
Diagnostic Imaging
Single photon imaging remains the
workhorse of imaging worldwide. The
US performs 18 million procedures
annually for its patients; 99mTc is used
in 16 million of them
Current status of medical isotope supply:
• No domestic producer
• 60% US daily need produced in aging reactors that
use Highly Enriched Uranium (HEU)
• Reactors planned for shutdown in near future
• DOE / Industry working to develop new sources
99Mo → 99mTc + β− + νe (half life ~66 hours)
99mTc → 99Tc + γ (~6 hours half life)
Operated by Los Alamos National Security, LLC for the U.S. Department of Energy’s NNSA
Profile of Current Producers
3
• >50 years old, multi-purpose
reactor
• 30 – 40% of world Mo-99 supply
• Owned by European Commission;
operated by Nuclear Research
and Consultancy Group
• HEU Targets
• Shutdown after 2015
• >50 years old, multi-
purpose reactor
• 30 – 40% of world Mo-
99 supply
• Owned and operated
by Atomic Energy of
Canada, Ltd.
• HEU Targets
• Shutdown 2018
• BR2, Belgium
• Osiris, France
• Safari-1, South Africa
• OPAL, Australia
These reactors produce ~95% of world Mo-99 Supply
• With exception of OPAL all are 40 or more years old
• Except OPAL and Safari all use HEU fuel and/or targets
Operated by Los Alamos National Security, LLC for the U.S. Department of Energy’s NNSA
Aqueous Homogenous Reactor (AHR)
 Fissile material – capable of sustaining a nuclear fission chain reaction
 An AHR is a system where the fuel is in solution
 In an AHR the strong negative reactivity feedback due to temperature
and radiolytic gas void provides inherent stability to the system
 A variation is an accelerator driven system
• Accelerator provides source neutron flux
• Operates subcritical (keff < 1)
• Fissions still occurring so desired isotopes are being formed (6% of uranium
fissions result in Mo-99)
4
Operated by Los Alamos National Security, LLC for the U.S. Department of Energy’s NNSA
Dynamic System Simulation (DSS) of AHR
5
 DESIRE
• Direct Executing Simulation In REal time, Granino A. Korn
• Used by LANL to model time evolution of a fissile solution system
• Verified by modeling historic AHR (SUPO, Silene, KEWB)
• Applied to new generation of fissile solution systems
 Represent all relevant components
• core geometry
• solution fuel
• cooling
• radiolytic gas
 Study operational mode performance
• start-up
• transition to steady-state
• response to core heating
• onset of radiolytic gas generation
• steady-state
 Estimate reaction to reactivity variations
• step increases to super prompt critical
• slow and rapid ramp insertions
• oscillations
 Examine system stability
Time Evolution Stability
Operated by Los Alamos National Security, LLC for the U.S. Department of Energy’s NNSA
Tools for Hardware Simulation …
 Construct a
simulator for
system operations
• Front end
implemented in
National Instruments
LabVIEW
• Back end
implemented in MS
Visual C++
• Study human factors
issues in control
panel design, layout,
and operations
• Will be used for
operator training
6
Operated by Los Alamos National Security, LLC for the U.S. Department of Energy’s NNSA
…And Engineering Design
 Recast models into a designer’s toolkit
• Implemented in MS Visual Studio C# / C++
• Rapidly study design variations / options
7
Operated by Los Alamos National Security, LLC for the U.S. Department of Energy’s NNSA
DESIRE Model Conversion - Requirements
 Requirements
• Quick
• Accurately maintain semantics of DESIRE code
 Manual Translation vs. Automated Translation
• SUPO Model > 1200 lines of input
• Manual translation likely time consuming and error prone
• Automated conversion
— Expected to be highly accurate
— Largely a syntax conversion
— But not without its complexities
 At Least 2 SUPO Size Models
• Could spend several months manually converting 2 models
• Or, spend same time producing a system that would allow
conversion of future models as well
• Trade-off analysis favored automated conversion
Pros
Cons
Operated by Los Alamos National Security, LLC for the U.S. Department of Energy’s NNSA
DESIRE Model Conversion – DESIRE
9
 Features of DESIRE that differ from C++
• No declarations for most variables, real-valued by default
• Derivative defined directly as: d/dt <variable name> = <some expression>
• State variables stored in array
• Exponentiation represented with infix “^” operator
• All division is real valued
• Some system-defined functions unique: swtch(x) = 0 for x<=0, 1 for x>0
• Identifiers may be viewed as “constants” or “variables”
— Assigned only prior to DYNAMIC keyword: constant
— Assigned to after the DYNAMIC keyword: variable
Operated by Los Alamos National Security, LLC for the U.S. Department of Energy’s NNSA
DESIRE Model Conversion – C++
 C++ Resolution of issues
• Declaration of variables
— use assignments, d/dt statements, to categorize DESIRE identifiers
• constant, state variables, non-state variables
• Division
— Analyze statements for operands
— use casting on numerator to make all division real-valued
• Exponentiation
— Analyze statements for operands of “^”, convert to “pow” function
• System defined functions
— Implement things like “swtch”
— convert names, adjust parameter usage as necessary
 Complex expressions can have all of the above at several levels in a
single statement
10
Operated by Los Alamos National Security, LLC for the U.S. Department of Energy’s NNSA
DESIRE Model Conversion – Final Architecture
 DESIRE models execute in
general purpose integration
routine (engine) – converted
models should also
 C++ objects
• Base class defines the
integration engine
• Base class defines methods
that converted models
(subclasses) must implement
• Converter produces
polymorphic plug-in
subclasses
 System referred to as
SimApp
11
SimApp
DSS model = Dynamic System Simulation Model
Operated by Los Alamos National Security, LLC for the U.S. Department of Energy’s NNSA
Numerical Integration Engine
 DESIRE is full featured
• 16 integration options
— Euler
— RK various orders
— fixed and variable step
— more
 SimApp currently implements 4th order Runge-Kutta (RK), fixed
time step
• Array holds state variables, derivative values of state variables
• Successive columns used for RK4 intermediate calculations
• Converted models define pointers to state array for all state variables
• Several inline functions defined for quick convenient access to state and
derivative data
• Code framework already established for expansion of integration options
12
Operated by Los Alamos National Security, LLC for the U.S. Department of Energy’s NNSA
Engineering Design Interface – Goal
 Produce a tool more suited to engineering design than DESIRE
• DESIRE directly exposes all modeling detail and underlying physics; far more
than engineer needs
• Access to calculated results requires detailed knowledge of both model and
DESIRE
 Engineering Design Interface
• Facilitate design option studies for parameters of interest to design engineers
— change flow rates
— fuel concentrations
— wall material properties, etc.
• Facilitate analysis of operational scenarios
— Component failures
— Changes in reactivity (control rod actions)
— Coolant temperature and flow variations, etc.
• Stability analysis
13
Operated by Los Alamos National Security, LLC for the U.S. Department of Energy’s NNSA
Engineering Design Interface – Features, Part 1
 Features
• Simulation Control
— Max Time
— Execute / Abort
— Save / Replay
• Initial Conditions
— customizable
tabs
— Save / reuse IC
sets
• Plot / Data
specifications
— Plot groups or All
Data
— Scaling
— Data display
options
• Time evolution
plots 14
Operated by Los Alamos National Security, LLC for the U.S. Department of Energy’s NNSA
Engineering Design Interface – Features, Part 2
 Menu options
bring up alternate
displays in lower
quadrants
• Stability plots
— click plot to
show only that
plot
• Data table
— Amount of data
controlled by
slider
— Can go to CSV
file or screen
15
Operated by Los Alamos National Security, LLC for the U.S. Department of Energy’s NNSA
Plots and Data Table May be Synchronized
 View menu
• ICs
• Data Table
 Data table
plots can be
synchronized
• Red line
shows sync
• arrow keys
move red line
and data
cursor
together
16
Operated by Los Alamos National Security, LLC for the U.S. Department of Energy’s NNSA
Hardware Simulator - Goal
 Produce Hardware
Simulator
• Operator
instruction
• Control panel
human factors
17
Operated by Los Alamos National Security, LLC for the U.S. Department of Energy’s NNSA
Hardware Simulator – C++ / C Interface Back End
 Same C++ numerical integration engine
 Same plug-in converted model
 Additional “extern C” interface for NI LabVIEW
• Runs “infinitely” instead of to a max time, so
— Init / Start / Step / Stop simulation controls
— Data Retrieval to drive display
— Demand interrupt to set specified model values at any time
• Coolant flow, temperature and rate, immediate or gradual change
• Reactivity
• Accelerator on / off / output level
• Much more
 Will have separate Instructor interface / student interface
• Instructor sets scenario
• Student must respond
18
Operated by Los Alamos National Security, LLC for the U.S. Department of Energy’s NNSA
Comparison to DESIRE Results, SUPO Model, Part 1
 Several AHR operated
at LANL in past:
LOPO, HYPO,SUPO
 SUPO data used to
validate DESIRE
model, SimApp
validated against
DESIRE using SUPO
 Plots show essentially
identical results
• Identical modelling
inputs
• RK4 integration
implemented as close
as possible to DESIRE
• Parameters generally
agree within .01%
19
Power (kW) for SimApp and DESIRE.
Reactivity ($) for SimApp and DESIRE.
Ave. fuel temp. (°C) for SimApp and DESIRE.
Ave core void frac. for SimApp and DESIRE.
Operated by Los Alamos National Security, LLC for the U.S. Department of Energy’s NNSA
Comparison to DESIRE Results, SUPO Model, Part 2
 Transients with “extreme” conditions
show greatest variance
(high rates of reactivity insertion,
high maximum reactivities)
• oscillations between core void fraction
and reactivity more pronounced in
SimApp than DESIRE
• Still, general agreement to within 0.1%
 SimApp will require smaller time
steps (0.0025) during “extreme”
transients, but DESIRE model (0.01 s)
does not
• SimApp does not allow user time step
control, but will restart calculation with
reduced time step when needed
20
Ave. core void frac. for SimApp and DESIRE
(final 400 s, detail)
Operated by Los Alamos National Security, LLC for the U.S. Department of Energy’s NNSA
Conclusion
 System for producing executable plug-in models reliable and efficient
 Converted models show good agreement with DESIRE models
 At this time
• Engineering Design Interface is in process of being transferred to commercial
partners
• Simulator Initial Beta being completed
 Future work
• Engineering Design Interface will be used by partners
• Simulator will be worked into a complete product
 Acknowledgement
• This work was performed on behalf of the National Nuclear Security Administration
(NNSA), Office of Material Management and Minimization (NA-23).
21

More Related Content

What's hot

Flink Forward SF 2017: Joe Olson - Using Flink and Queryable State to Buffer ...
Flink Forward SF 2017: Joe Olson - Using Flink and Queryable State to Buffer ...Flink Forward SF 2017: Joe Olson - Using Flink and Queryable State to Buffer ...
Flink Forward SF 2017: Joe Olson - Using Flink and Queryable State to Buffer ...Flink Forward
 
Declarative benchmarking of cassandra and it's data models
Declarative benchmarking of cassandra and it's data modelsDeclarative benchmarking of cassandra and it's data models
Declarative benchmarking of cassandra and it's data modelsMonal Daxini
 
Database and application performance vivek sharma
Database and application performance vivek sharmaDatabase and application performance vivek sharma
Database and application performance vivek sharmaaioughydchapter
 
Flink Forward SF 2017: Srikanth Satya & Tom Kaitchuck - Pravega: Storage Rei...
Flink Forward SF 2017: Srikanth Satya & Tom Kaitchuck -  Pravega: Storage Rei...Flink Forward SF 2017: Srikanth Satya & Tom Kaitchuck -  Pravega: Storage Rei...
Flink Forward SF 2017: Srikanth Satya & Tom Kaitchuck - Pravega: Storage Rei...Flink Forward
 
Apache Apex Kafka Input Operator
Apache Apex Kafka Input OperatorApache Apex Kafka Input Operator
Apache Apex Kafka Input OperatorApache Apex
 
Processing and retrieval of geotagged unmanned aerial system telemetry
Processing and retrieval of geotagged unmanned aerial system telemetry Processing and retrieval of geotagged unmanned aerial system telemetry
Processing and retrieval of geotagged unmanned aerial system telemetry DataWorks Summit/Hadoop Summit
 
Flink Forward SF 2017: Timo Walther - Table & SQL API – unified APIs for bat...
Flink Forward SF 2017: Timo Walther -  Table & SQL API – unified APIs for bat...Flink Forward SF 2017: Timo Walther -  Table & SQL API – unified APIs for bat...
Flink Forward SF 2017: Timo Walther - Table & SQL API – unified APIs for bat...Flink Forward
 

What's hot (8)

Flink Forward SF 2017: Joe Olson - Using Flink and Queryable State to Buffer ...
Flink Forward SF 2017: Joe Olson - Using Flink and Queryable State to Buffer ...Flink Forward SF 2017: Joe Olson - Using Flink and Queryable State to Buffer ...
Flink Forward SF 2017: Joe Olson - Using Flink and Queryable State to Buffer ...
 
Venugopal adec
Venugopal adecVenugopal adec
Venugopal adec
 
Declarative benchmarking of cassandra and it's data models
Declarative benchmarking of cassandra and it's data modelsDeclarative benchmarking of cassandra and it's data models
Declarative benchmarking of cassandra and it's data models
 
Database and application performance vivek sharma
Database and application performance vivek sharmaDatabase and application performance vivek sharma
Database and application performance vivek sharma
 
Flink Forward SF 2017: Srikanth Satya & Tom Kaitchuck - Pravega: Storage Rei...
Flink Forward SF 2017: Srikanth Satya & Tom Kaitchuck -  Pravega: Storage Rei...Flink Forward SF 2017: Srikanth Satya & Tom Kaitchuck -  Pravega: Storage Rei...
Flink Forward SF 2017: Srikanth Satya & Tom Kaitchuck - Pravega: Storage Rei...
 
Apache Apex Kafka Input Operator
Apache Apex Kafka Input OperatorApache Apex Kafka Input Operator
Apache Apex Kafka Input Operator
 
Processing and retrieval of geotagged unmanned aerial system telemetry
Processing and retrieval of geotagged unmanned aerial system telemetry Processing and retrieval of geotagged unmanned aerial system telemetry
Processing and retrieval of geotagged unmanned aerial system telemetry
 
Flink Forward SF 2017: Timo Walther - Table & SQL API – unified APIs for bat...
Flink Forward SF 2017: Timo Walther -  Table & SQL API – unified APIs for bat...Flink Forward SF 2017: Timo Walther -  Table & SQL API – unified APIs for bat...
Flink Forward SF 2017: Timo Walther - Table & SQL API – unified APIs for bat...
 

Viewers also liked

SPRING 2016 MENS PREVIEW 2
SPRING 2016 MENS PREVIEW 2SPRING 2016 MENS PREVIEW 2
SPRING 2016 MENS PREVIEW 2Alex Lisboa
 
Diapositivas sergio ortiz
Diapositivas sergio ortizDiapositivas sergio ortiz
Diapositivas sergio ortizsergio ortiz
 
Determan SummerSim_submit_rev3
Determan SummerSim_submit_rev3Determan SummerSim_submit_rev3
Determan SummerSim_submit_rev3John Determan
 
Ingeniería Eléctrica y Electrónica.
Ingeniería Eléctrica y Electrónica.Ingeniería Eléctrica y Electrónica.
Ingeniería Eléctrica y Electrónica.Gerenax
 
final resume johncomunale pdf
final resume johncomunale pdffinal resume johncomunale pdf
final resume johncomunale pdfJohn Comunale
 
01-Artful-Anti-Oppression
01-Artful-Anti-Oppression01-Artful-Anti-Oppression
01-Artful-Anti-OppressionOmer Ismael
 
Something for Nothing - Growing your Business without Growing your Operation
Something for Nothing - Growing your Business without Growing your OperationSomething for Nothing - Growing your Business without Growing your Operation
Something for Nothing - Growing your Business without Growing your OperationAlexandre Therrien
 
Ingeniería Eléctrica y Electrónica.
Ingeniería Eléctrica y Electrónica.Ingeniería Eléctrica y Electrónica.
Ingeniería Eléctrica y Electrónica.Gerenax
 

Viewers also liked (11)

SPRING 2016 MENS PREVIEW 2
SPRING 2016 MENS PREVIEW 2SPRING 2016 MENS PREVIEW 2
SPRING 2016 MENS PREVIEW 2
 
Diapositivas sergio ortiz
Diapositivas sergio ortizDiapositivas sergio ortiz
Diapositivas sergio ortiz
 
Astrofísica
AstrofísicaAstrofísica
Astrofísica
 
Determan SummerSim_submit_rev3
Determan SummerSim_submit_rev3Determan SummerSim_submit_rev3
Determan SummerSim_submit_rev3
 
Ingeniería Eléctrica y Electrónica.
Ingeniería Eléctrica y Electrónica.Ingeniería Eléctrica y Electrónica.
Ingeniería Eléctrica y Electrónica.
 
Presentación1
Presentación1Presentación1
Presentación1
 
final resume johncomunale pdf
final resume johncomunale pdffinal resume johncomunale pdf
final resume johncomunale pdf
 
Propiedades térmicas
Propiedades  térmicas  Propiedades  térmicas
Propiedades térmicas
 
01-Artful-Anti-Oppression
01-Artful-Anti-Oppression01-Artful-Anti-Oppression
01-Artful-Anti-Oppression
 
Something for Nothing - Growing your Business without Growing your Operation
Something for Nothing - Growing your Business without Growing your OperationSomething for Nothing - Growing your Business without Growing your Operation
Something for Nothing - Growing your Business without Growing your Operation
 
Ingeniería Eléctrica y Electrónica.
Ingeniería Eléctrica y Electrónica.Ingeniería Eléctrica y Electrónica.
Ingeniería Eléctrica y Electrónica.
 

Similar to SS15_PresentationFinal

Update on Trinity System Procurement and Plans
Update on Trinity System Procurement and PlansUpdate on Trinity System Procurement and Plans
Update on Trinity System Procurement and Plansinside-BigData.com
 
Wanted!: Open M&S Standards and Technologies for the Smart Grid - Introducing...
Wanted!: Open M&S Standards and Technologies for the Smart Grid - Introducing...Wanted!: Open M&S Standards and Technologies for the Smart Grid - Introducing...
Wanted!: Open M&S Standards and Technologies for the Smart Grid - Introducing...Luigi Vanfretti
 
The U.S. Exascale Computing Project: Status and Plans
The U.S. Exascale Computing Project: Status and PlansThe U.S. Exascale Computing Project: Status and Plans
The U.S. Exascale Computing Project: Status and Plansinside-BigData.com
 
Introduction to Modeling and Simulations.ppt
Introduction to Modeling and Simulations.pptIntroduction to Modeling and Simulations.ppt
Introduction to Modeling and Simulations.pptQasimAli493018
 
참여기관_발표자료-국민대학교 201301 정기회의
참여기관_발표자료-국민대학교 201301 정기회의참여기관_발표자료-국민대학교 201301 정기회의
참여기관_발표자료-국민대학교 201301 정기회의DzH QWuynh
 
Modeling and Simulation of Electrical Power Systems using OpenIPSL.org and Gr...
Modeling and Simulation of Electrical Power Systems using OpenIPSL.org and Gr...Modeling and Simulation of Electrical Power Systems using OpenIPSL.org and Gr...
Modeling and Simulation of Electrical Power Systems using OpenIPSL.org and Gr...Luigi Vanfretti
 
DeployingAnAdvancedDistribution.pdf
DeployingAnAdvancedDistribution.pdfDeployingAnAdvancedDistribution.pdf
DeployingAnAdvancedDistribution.pdfbayu162365
 
Implementation of Dynamic Simulation for Engineering and Human Factors
Implementation of Dynamic Simulation for Engineering and Human FactorsImplementation of Dynamic Simulation for Engineering and Human Factors
Implementation of Dynamic Simulation for Engineering and Human FactorsGSE Systems, Inc.
 
load-balancing-method-for-embedded-rt-system-20120711-0940
load-balancing-method-for-embedded-rt-system-20120711-0940load-balancing-method-for-embedded-rt-system-20120711-0940
load-balancing-method-for-embedded-rt-system-20120711-0940Samsung Electronics
 
RT15 Berkeley | Optimized Power Flow Control in Microgrids - Sandia Laboratory
RT15 Berkeley | Optimized Power Flow Control in Microgrids - Sandia LaboratoryRT15 Berkeley | Optimized Power Flow Control in Microgrids - Sandia Laboratory
RT15 Berkeley | Optimized Power Flow Control in Microgrids - Sandia LaboratoryOPAL-RT TECHNOLOGIES
 
REAL-TIME SIMULATION TECHNOLOGIES FOR POWER SYSTEMS DESIGN, TESTING, AND ANAL...
REAL-TIME SIMULATION TECHNOLOGIES FOR POWER SYSTEMS DESIGN, TESTING, AND ANAL...REAL-TIME SIMULATION TECHNOLOGIES FOR POWER SYSTEMS DESIGN, TESTING, AND ANAL...
REAL-TIME SIMULATION TECHNOLOGIES FOR POWER SYSTEMS DESIGN, TESTING, AND ANAL...Jithin T
 
Overview of DuraMat software tool development
Overview of DuraMat software tool developmentOverview of DuraMat software tool development
Overview of DuraMat software tool developmentAnubhav Jain
 
From Events to Networks: Time Series Analysis on Scale
From Events to Networks: Time Series Analysis on ScaleFrom Events to Networks: Time Series Analysis on Scale
From Events to Networks: Time Series Analysis on ScaleDr. Mirko Kämpf
 
DOES SFO 2016 - Avan Mathur - Planning for Huge Scale
DOES SFO 2016 - Avan Mathur - Planning for Huge ScaleDOES SFO 2016 - Avan Mathur - Planning for Huge Scale
DOES SFO 2016 - Avan Mathur - Planning for Huge ScaleGene Kim
 

Similar to SS15_PresentationFinal (20)

Update on Trinity System Procurement and Plans
Update on Trinity System Procurement and PlansUpdate on Trinity System Procurement and Plans
Update on Trinity System Procurement and Plans
 
4.4_Micro Grid Design_Bello_EPRI/SNL Microgrid
4.4_Micro Grid Design_Bello_EPRI/SNL Microgrid4.4_Micro Grid Design_Bello_EPRI/SNL Microgrid
4.4_Micro Grid Design_Bello_EPRI/SNL Microgrid
 
Wanted!: Open M&S Standards and Technologies for the Smart Grid - Introducing...
Wanted!: Open M&S Standards and Technologies for the Smart Grid - Introducing...Wanted!: Open M&S Standards and Technologies for the Smart Grid - Introducing...
Wanted!: Open M&S Standards and Technologies for the Smart Grid - Introducing...
 
The U.S. Exascale Computing Project: Status and Plans
The U.S. Exascale Computing Project: Status and PlansThe U.S. Exascale Computing Project: Status and Plans
The U.S. Exascale Computing Project: Status and Plans
 
Introduction to Modeling and Simulations.ppt
Introduction to Modeling and Simulations.pptIntroduction to Modeling and Simulations.ppt
Introduction to Modeling and Simulations.ppt
 
Recent and Planned Improvements to the System Advisor Model
Recent and Planned Improvements to the System Advisor ModelRecent and Planned Improvements to the System Advisor Model
Recent and Planned Improvements to the System Advisor Model
 
참여기관_발표자료-국민대학교 201301 정기회의
참여기관_발표자료-국민대학교 201301 정기회의참여기관_발표자료-국민대학교 201301 정기회의
참여기관_발표자료-국민대학교 201301 정기회의
 
Modeling and Simulation of Electrical Power Systems using OpenIPSL.org and Gr...
Modeling and Simulation of Electrical Power Systems using OpenIPSL.org and Gr...Modeling and Simulation of Electrical Power Systems using OpenIPSL.org and Gr...
Modeling and Simulation of Electrical Power Systems using OpenIPSL.org and Gr...
 
ECP Application Development
ECP Application DevelopmentECP Application Development
ECP Application Development
 
53 aron p_dobos_recent_and_planned_improvements_to_the_system_advisor_model_sam
53 aron p_dobos_recent_and_planned_improvements_to_the_system_advisor_model_sam53 aron p_dobos_recent_and_planned_improvements_to_the_system_advisor_model_sam
53 aron p_dobos_recent_and_planned_improvements_to_the_system_advisor_model_sam
 
DeployingAnAdvancedDistribution.pdf
DeployingAnAdvancedDistribution.pdfDeployingAnAdvancedDistribution.pdf
DeployingAnAdvancedDistribution.pdf
 
Implementation of Dynamic Simulation for Engineering and Human Factors
Implementation of Dynamic Simulation for Engineering and Human FactorsImplementation of Dynamic Simulation for Engineering and Human Factors
Implementation of Dynamic Simulation for Engineering and Human Factors
 
load-balancing-method-for-embedded-rt-system-20120711-0940
load-balancing-method-for-embedded-rt-system-20120711-0940load-balancing-method-for-embedded-rt-system-20120711-0940
load-balancing-method-for-embedded-rt-system-20120711-0940
 
CS4961-L1.ppt
CS4961-L1.pptCS4961-L1.ppt
CS4961-L1.ppt
 
RT15 Berkeley | Optimized Power Flow Control in Microgrids - Sandia Laboratory
RT15 Berkeley | Optimized Power Flow Control in Microgrids - Sandia LaboratoryRT15 Berkeley | Optimized Power Flow Control in Microgrids - Sandia Laboratory
RT15 Berkeley | Optimized Power Flow Control in Microgrids - Sandia Laboratory
 
REAL-TIME SIMULATION TECHNOLOGIES FOR POWER SYSTEMS DESIGN, TESTING, AND ANAL...
REAL-TIME SIMULATION TECHNOLOGIES FOR POWER SYSTEMS DESIGN, TESTING, AND ANAL...REAL-TIME SIMULATION TECHNOLOGIES FOR POWER SYSTEMS DESIGN, TESTING, AND ANAL...
REAL-TIME SIMULATION TECHNOLOGIES FOR POWER SYSTEMS DESIGN, TESTING, AND ANAL...
 
Overview of DuraMat software tool development
Overview of DuraMat software tool developmentOverview of DuraMat software tool development
Overview of DuraMat software tool development
 
From Events to Networks: Time Series Analysis on Scale
From Events to Networks: Time Series Analysis on ScaleFrom Events to Networks: Time Series Analysis on Scale
From Events to Networks: Time Series Analysis on Scale
 
DOES SFO 2016 - Avan Mathur - Planning for Huge Scale
DOES SFO 2016 - Avan Mathur - Planning for Huge ScaleDOES SFO 2016 - Avan Mathur - Planning for Huge Scale
DOES SFO 2016 - Avan Mathur - Planning for Huge Scale
 
data-stream-processing-SEEP.pptx
data-stream-processing-SEEP.pptxdata-stream-processing-SEEP.pptx
data-stream-processing-SEEP.pptx
 

SS15_PresentationFinal

  • 1. Operated by Los Alamos National Security, LLC for the U.S. Department of Energy’s NNSA Executable Models of Fissile Reactor Systems for Hardware Simulation and Design 47th Summer Computer Simulation Conference July 26-29, 2015 John Determan Christy Day, Steven Klein, Marsha Roybal Los Alamos National Laboratory Advanced Nuclear Technology Group (NEN-2) LA-UR-15-25136 1
  • 2. Operated by Los Alamos National Security, LLC for the U.S. Department of Energy’s NNSA Program Supports Mo-99 Supply for Nuclear Medicine 2 Diagnostic Imaging Single photon imaging remains the workhorse of imaging worldwide. The US performs 18 million procedures annually for its patients; 99mTc is used in 16 million of them Current status of medical isotope supply: • No domestic producer • 60% US daily need produced in aging reactors that use Highly Enriched Uranium (HEU) • Reactors planned for shutdown in near future • DOE / Industry working to develop new sources 99Mo → 99mTc + β− + νe (half life ~66 hours) 99mTc → 99Tc + γ (~6 hours half life)
  • 3. Operated by Los Alamos National Security, LLC for the U.S. Department of Energy’s NNSA Profile of Current Producers 3 • >50 years old, multi-purpose reactor • 30 – 40% of world Mo-99 supply • Owned by European Commission; operated by Nuclear Research and Consultancy Group • HEU Targets • Shutdown after 2015 • >50 years old, multi- purpose reactor • 30 – 40% of world Mo- 99 supply • Owned and operated by Atomic Energy of Canada, Ltd. • HEU Targets • Shutdown 2018 • BR2, Belgium • Osiris, France • Safari-1, South Africa • OPAL, Australia These reactors produce ~95% of world Mo-99 Supply • With exception of OPAL all are 40 or more years old • Except OPAL and Safari all use HEU fuel and/or targets
  • 4. Operated by Los Alamos National Security, LLC for the U.S. Department of Energy’s NNSA Aqueous Homogenous Reactor (AHR)  Fissile material – capable of sustaining a nuclear fission chain reaction  An AHR is a system where the fuel is in solution  In an AHR the strong negative reactivity feedback due to temperature and radiolytic gas void provides inherent stability to the system  A variation is an accelerator driven system • Accelerator provides source neutron flux • Operates subcritical (keff < 1) • Fissions still occurring so desired isotopes are being formed (6% of uranium fissions result in Mo-99) 4
  • 5. Operated by Los Alamos National Security, LLC for the U.S. Department of Energy’s NNSA Dynamic System Simulation (DSS) of AHR 5  DESIRE • Direct Executing Simulation In REal time, Granino A. Korn • Used by LANL to model time evolution of a fissile solution system • Verified by modeling historic AHR (SUPO, Silene, KEWB) • Applied to new generation of fissile solution systems  Represent all relevant components • core geometry • solution fuel • cooling • radiolytic gas  Study operational mode performance • start-up • transition to steady-state • response to core heating • onset of radiolytic gas generation • steady-state  Estimate reaction to reactivity variations • step increases to super prompt critical • slow and rapid ramp insertions • oscillations  Examine system stability Time Evolution Stability
  • 6. Operated by Los Alamos National Security, LLC for the U.S. Department of Energy’s NNSA Tools for Hardware Simulation …  Construct a simulator for system operations • Front end implemented in National Instruments LabVIEW • Back end implemented in MS Visual C++ • Study human factors issues in control panel design, layout, and operations • Will be used for operator training 6
  • 7. Operated by Los Alamos National Security, LLC for the U.S. Department of Energy’s NNSA …And Engineering Design  Recast models into a designer’s toolkit • Implemented in MS Visual Studio C# / C++ • Rapidly study design variations / options 7
  • 8. Operated by Los Alamos National Security, LLC for the U.S. Department of Energy’s NNSA DESIRE Model Conversion - Requirements  Requirements • Quick • Accurately maintain semantics of DESIRE code  Manual Translation vs. Automated Translation • SUPO Model > 1200 lines of input • Manual translation likely time consuming and error prone • Automated conversion — Expected to be highly accurate — Largely a syntax conversion — But not without its complexities  At Least 2 SUPO Size Models • Could spend several months manually converting 2 models • Or, spend same time producing a system that would allow conversion of future models as well • Trade-off analysis favored automated conversion Pros Cons
  • 9. Operated by Los Alamos National Security, LLC for the U.S. Department of Energy’s NNSA DESIRE Model Conversion – DESIRE 9  Features of DESIRE that differ from C++ • No declarations for most variables, real-valued by default • Derivative defined directly as: d/dt <variable name> = <some expression> • State variables stored in array • Exponentiation represented with infix “^” operator • All division is real valued • Some system-defined functions unique: swtch(x) = 0 for x<=0, 1 for x>0 • Identifiers may be viewed as “constants” or “variables” — Assigned only prior to DYNAMIC keyword: constant — Assigned to after the DYNAMIC keyword: variable
  • 10. Operated by Los Alamos National Security, LLC for the U.S. Department of Energy’s NNSA DESIRE Model Conversion – C++  C++ Resolution of issues • Declaration of variables — use assignments, d/dt statements, to categorize DESIRE identifiers • constant, state variables, non-state variables • Division — Analyze statements for operands — use casting on numerator to make all division real-valued • Exponentiation — Analyze statements for operands of “^”, convert to “pow” function • System defined functions — Implement things like “swtch” — convert names, adjust parameter usage as necessary  Complex expressions can have all of the above at several levels in a single statement 10
  • 11. Operated by Los Alamos National Security, LLC for the U.S. Department of Energy’s NNSA DESIRE Model Conversion – Final Architecture  DESIRE models execute in general purpose integration routine (engine) – converted models should also  C++ objects • Base class defines the integration engine • Base class defines methods that converted models (subclasses) must implement • Converter produces polymorphic plug-in subclasses  System referred to as SimApp 11 SimApp DSS model = Dynamic System Simulation Model
  • 12. Operated by Los Alamos National Security, LLC for the U.S. Department of Energy’s NNSA Numerical Integration Engine  DESIRE is full featured • 16 integration options — Euler — RK various orders — fixed and variable step — more  SimApp currently implements 4th order Runge-Kutta (RK), fixed time step • Array holds state variables, derivative values of state variables • Successive columns used for RK4 intermediate calculations • Converted models define pointers to state array for all state variables • Several inline functions defined for quick convenient access to state and derivative data • Code framework already established for expansion of integration options 12
  • 13. Operated by Los Alamos National Security, LLC for the U.S. Department of Energy’s NNSA Engineering Design Interface – Goal  Produce a tool more suited to engineering design than DESIRE • DESIRE directly exposes all modeling detail and underlying physics; far more than engineer needs • Access to calculated results requires detailed knowledge of both model and DESIRE  Engineering Design Interface • Facilitate design option studies for parameters of interest to design engineers — change flow rates — fuel concentrations — wall material properties, etc. • Facilitate analysis of operational scenarios — Component failures — Changes in reactivity (control rod actions) — Coolant temperature and flow variations, etc. • Stability analysis 13
  • 14. Operated by Los Alamos National Security, LLC for the U.S. Department of Energy’s NNSA Engineering Design Interface – Features, Part 1  Features • Simulation Control — Max Time — Execute / Abort — Save / Replay • Initial Conditions — customizable tabs — Save / reuse IC sets • Plot / Data specifications — Plot groups or All Data — Scaling — Data display options • Time evolution plots 14
  • 15. Operated by Los Alamos National Security, LLC for the U.S. Department of Energy’s NNSA Engineering Design Interface – Features, Part 2  Menu options bring up alternate displays in lower quadrants • Stability plots — click plot to show only that plot • Data table — Amount of data controlled by slider — Can go to CSV file or screen 15
  • 16. Operated by Los Alamos National Security, LLC for the U.S. Department of Energy’s NNSA Plots and Data Table May be Synchronized  View menu • ICs • Data Table  Data table plots can be synchronized • Red line shows sync • arrow keys move red line and data cursor together 16
  • 17. Operated by Los Alamos National Security, LLC for the U.S. Department of Energy’s NNSA Hardware Simulator - Goal  Produce Hardware Simulator • Operator instruction • Control panel human factors 17
  • 18. Operated by Los Alamos National Security, LLC for the U.S. Department of Energy’s NNSA Hardware Simulator – C++ / C Interface Back End  Same C++ numerical integration engine  Same plug-in converted model  Additional “extern C” interface for NI LabVIEW • Runs “infinitely” instead of to a max time, so — Init / Start / Step / Stop simulation controls — Data Retrieval to drive display — Demand interrupt to set specified model values at any time • Coolant flow, temperature and rate, immediate or gradual change • Reactivity • Accelerator on / off / output level • Much more  Will have separate Instructor interface / student interface • Instructor sets scenario • Student must respond 18
  • 19. Operated by Los Alamos National Security, LLC for the U.S. Department of Energy’s NNSA Comparison to DESIRE Results, SUPO Model, Part 1  Several AHR operated at LANL in past: LOPO, HYPO,SUPO  SUPO data used to validate DESIRE model, SimApp validated against DESIRE using SUPO  Plots show essentially identical results • Identical modelling inputs • RK4 integration implemented as close as possible to DESIRE • Parameters generally agree within .01% 19 Power (kW) for SimApp and DESIRE. Reactivity ($) for SimApp and DESIRE. Ave. fuel temp. (°C) for SimApp and DESIRE. Ave core void frac. for SimApp and DESIRE.
  • 20. Operated by Los Alamos National Security, LLC for the U.S. Department of Energy’s NNSA Comparison to DESIRE Results, SUPO Model, Part 2  Transients with “extreme” conditions show greatest variance (high rates of reactivity insertion, high maximum reactivities) • oscillations between core void fraction and reactivity more pronounced in SimApp than DESIRE • Still, general agreement to within 0.1%  SimApp will require smaller time steps (0.0025) during “extreme” transients, but DESIRE model (0.01 s) does not • SimApp does not allow user time step control, but will restart calculation with reduced time step when needed 20 Ave. core void frac. for SimApp and DESIRE (final 400 s, detail)
  • 21. Operated by Los Alamos National Security, LLC for the U.S. Department of Energy’s NNSA Conclusion  System for producing executable plug-in models reliable and efficient  Converted models show good agreement with DESIRE models  At this time • Engineering Design Interface is in process of being transferred to commercial partners • Simulator Initial Beta being completed  Future work • Engineering Design Interface will be used by partners • Simulator will be worked into a complete product  Acknowledgement • This work was performed on behalf of the National Nuclear Security Administration (NNSA), Office of Material Management and Minimization (NA-23). 21