Introducing the Second-Order Features Adjoint Sensitivity Analysis Methodology for Neural Ordinary Differential Equations—II: Illustrative Application to Heat and Energy Transfer in the Nordheim–Fuchs Phenomenological Model for Reactor Safety
Abstract
:1. Introduction
2. Illustrative Application of the First-Order Features Adjoint Sensitivity Analysis Methodology for Neural Ordinary Differential Equations (1st-FASAM-NODE) to the Nordheim–Fuchs Reactor Dynamics/Safety Model
2.1. NODE Modeling of the Nordheim–Fuchs Reactor Dynamics/Safety Phenomenological Model
- (i)
- the -dimensional vector-valued function represents the hidden/latent neural networks; in this work, all vectors are considered to be column vectors, and transposition is denoted by using the dagger “” superscript;
- (ii)
- the -dimensional vector-valued nonlinear function models the dynamics of the latent neurons;
- (iii)
- the components of the vector represent learnable scalar adjustable weights, which are considered to be the “primary model parameters”; where denotes the total number of adjustable weights in all of the latent neural nets;
- (iv)
- the components of the vector-valued function represent the “feature” functions of the respective weights, which the quantity denotes the “total number of feature/functions of the primary model parameters” comprised in the NODE;
- (v)
- the -dimensional vector-valued function represents the “encoder” which is characterized by “inputs” and “learnable” scalar adjustable weights , where denotes the total number of “inputs” and denotes the total number of “learnable encoder weights” that define the encoder;
- (vi)
- the -dimensional vector-valued function represents the vector of “system responses”; (vii) the vector-valued function represents the “decoder” with learnable scalar adjustable weights, which are represented by the components of the vector , where denotes the total number of adjustable weights that characterize the decoder.
- The time-dependent neutron balance (point kinetics) equation for the neutron flux :
- The energy production equation:
- The energy conservation equation:
- The reactivity–temperature feedback equation: , where denotes the changed multiplication factor following the reactivity insertion at ; denotes the magnitude of the negative temperature coefficient; denotes the reactor’s temperature; denotes the reactor’s initial temperature at time . This work will consider the special case of a “prompt critical transient” which occurs when and the reactor becomes prompt critical after the reactivity insertion. In this particular case, the reactivity–temperature feedback equation takes on the following particular form:
2.2. Representative Application of the 1st-FASAM-NODE to Compute Most Efficiently the Exact Expressions of the First-Order Sensitivities of Model State Functions to Uncertain Parameters
- Consider that the first-level variational function , , is an element in a Hilbert space denoted as which comprises vector elements of the form and , being endowed with an inner product defined as follows:
- Use Equation (34) to form the inner product of Equation (30) with a yet undefined function to obtain the following relation:
- Integrating by parts the term on the left side of Equation (35) and rearranging the terms inside the integrals leads to the following relation:
- The definition of the function is now completed by requiring that (i) the G-differential defined in Equation (25) be represented by the integral term on the right side of Equation (36) and (ii) the appearance of the unknown values of the components of be eliminated from appearing in Equation (36). These requirements are satisfied by requiring the function to be the solution of the following “First-Level Adjoint Sensitivity System (1st-LASS)”:
- 5.
- Using Equations (25) and (35) in Equation (36) yields the following expression for the first G-differential :
2.3. Representative Application of the 1st-FASAM-NODE to Compute Most Efficiently the Exact Expressions of First-Order Sensitivities of a Typical Response Involving Decoder Weights
2.4. Discussion: Minimizing the Number of Computations for Evaluating the Exact Expressions of First-Order Sensitivities of Model Responses to Model Parameters
3. Illustrative Application of the 2nd-FASAM-NODE Methodology to Compute Second-Order Sensitivities of the Nordheim–Fuchs Model’s Dependent/State Variables with Respect to the Underlying Parameters
3.1. Computation of Second-Order Sensitivities of Using the Coupled NODE Equations
- Consider that is an element in a Hilbert space denoted as , , comprising as elements two-block vectors having the following structure: , with and . The Hilbert space is considered to be endowed with an inner product denoted as and defined as follows:
- Use the definition of the inner product provided in Equation (97) to form the inner product of Equations (26)–(28) and (93)–(95) with a vector , where and , to obtain the following relationship:
- Integrating the left side of Equation (98) by parts over the independent variable yields the following relation:
- The unknown terms on the left side of Equation (100) are eliminated by imposing the following conditions:
- Using the conditions given in Equations (29), (96), (101) and (102) on the right side of Equation (100) and rearranging the remaining terms yields the following relation:
- The integral terms on the left side of Equation (103) are now required to represent the “indirect-effect” term defined in Equation (92), which is achieved by imposing the following requirements on the components of the second-level adjoint sensitivity function :
- 7.
- Using the results obtained in Equations (104)–(109) in Equation (103) yields the following alternative expression for the “indirect-effect” term defined in Equation (92):
- 8.
- Using in Equation (110) the definition of the function provided in Equation (99) and adding the resulting expression for the indirect-effect term to the expression for the direct-effect term provided in Equation (91) yields the following expression for the total first-order G-differential :
3.2. Computation of Second-Order Sensitivities of Using the Corresponding Single NODE Equation
3.2.1. Computation of Second-Order Sensitivities of Stemming from
3.2.2. Computation of Second-Order Sensitivities of Stemming from
4. Application of the 2nd-FASAM-NODE Methodology to Compute Second-Order Sensitivities of an Illustrative Nordheim–Fuchs Model Response Involving Decoder Weights
4.1. Second-Order Sensitivities of the Thermal Conductivity Response Computed Using the Coupled NODE Equations
- (i)
- The first-order sensitivities of with respect to the decoder weights arose from the “direct-effect term” defined in Equation (52), and were obtained in Equations (54)–(56). The computation of the second-order sensitivities stemming from these first-order sensitivities will be illustrated in Section 4.1.1.
- (ii)
- The first-order sensitivities of with respect to the feature functions were obtained in Equations (62)–(64). The second-order sensitivities stemming from these first-order sensitivities will be illustrated in Section 4.1.2.
- (iii)
- The first-order sensitivities of with respect to the initial conditions were obtained in Equations (60) and (61). The second-order sensitivities stemming from these first-order sensitivities will be illustrated in Section 4.1.3.
4.1.1. Second-Order Sensitivities Stemming from the First-Order Sensitivities of with Respect to the Decoder Weights , and
- A.
- Second-order sensitivities stemming from
- B.
- Second-order sensitivities stemming from
- C.
- Second-order sensitivities stemming from
4.1.2. Second-Order Sensitivities Stemming from the First-Order Sensitivities with Respect to the Feature Functions , and
- A.
- Second-order sensitivities stemming from
- Use the definition of the inner product provided in Equation (97) to form the inner product of Equations (26)–(28) and (164)–(166) with the second-level adjoint sensitivity functions , and to obtain the following relationship:
- Integrating the left side of Equation (168) by parts over the independent variable yields the following relation:
- The unknown terms on the left side of Equation (170) are eliminated by imposing the following conditions:
- Using the conditions given in Equations (29), (167), (171) and (172) on the right side of Equation (170) and rearranging the remaining terms yields the following relation:
- The integral terms on the left side of Equation (173) are now required to represent the “indirect-effect” term defined in Equation (163), which is achieved by imposing the following requirements on the components of the second-level adjoint sensitivity function :
- 6.
- Using Equations (174)–(179) in Equation (173) yields the following alternative expression, in terms of , for the “indirect-effect” term defined in Equation (163):
- 7.
- Using in Equation (180) the definition of the function provided in Equation (169) and adding the resulting expression for the indirect-effect term to the expression for the direct-effect term provided in Equation (162) yields the following expression for the total first-order G-differential :
- B.
- Second-order sensitivities stemming from
- C.
- Second-order sensitivities stemming from
4.1.3. Second-Order Sensitivities Stemming from the First-Order Sensitivities with Respect to the Initial Conditions and
- A.
- Second-order sensitivities stemming from
- B.
- Second-order sensitivities stemming from
4.2. Second-Order Sensitivities of the Thermal Conductivity Response Computed Using the Corresponding Single NODE Equation
4.3. Computing the Second-Order Sensitivities of the Thermal Conductivity Response : Using the Coupled NODE Versus the Single NODE Equations
- (i)
- 3 × 3 = 9 differential equations for obtaining the second-order sensitivities of with respect to the decoder weights , and .
- (ii)
- 3 × 6 = 18 differential equations for obtaining the second-order sensitivities of with respect to the feature functions , and .
- (iii)
- 2 × 6 = 12 differential equations for obtaining the second-order sensitivities of with respect to the initial conditions and
- (i)
- solving Equations (126) and (127) for obtaining the second-level adjoint sensitivity function , which is required for computing and ; and
- (ii)
- solving Equations (135) and (136) for obtaining the second-level adjoint sensitivity function , which is required for computing and .
5. Discussion and Conclusions
Funding
Data Availability Statement
Conflicts of Interest
References
- Cacuci, D.G. Introducing the Second-Order Features Adjoint Sensitivity Analysis Methodology for Neural Ordinary Differential Equations. I: Mathematical Framework. Processes 2024, 12, 2660. [Google Scholar] [CrossRef]
- Lamarsh, J.R. Introduction to Nuclear Reactor Theory; Adison-Wesley Publishing Co.: Reading, MA, USA, 1966; pp. 491–492. [Google Scholar]
- Hetrick, D.L. Dynamics of Nuclear Reactors; American Nuclear Society, Inc.: La Grange Park, IL, USA, 1993; pp. 164–174. [Google Scholar]
- Chen, R.T.Q.; Rubanova, Y.; Bettencourt, J.; Duvenaud, D.K. Neural ordinary differential equations. In Advances in Neural Information Processing Systems; Curran Associates, Inc.: New York, NY, USA, 2018; Volume 31, pp. 6571–6583. [Google Scholar] [CrossRef]
- Cacuci, D.G. Illustrative Application of the nth-Order Comprehensive Adjoint Sensitivity Analysis Methodology for Nonlinear Systems to the Nordheim–Fuchs Reactor Dynamics/Safety Model. J. Nucl. Eng. 2022, 3, 191–221. [Google Scholar] [CrossRef]
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content. |
© 2024 by the author. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (https://creativecommons.org/licenses/by/4.0/).
Share and Cite
Cacuci, D.G. Introducing the Second-Order Features Adjoint Sensitivity Analysis Methodology for Neural Ordinary Differential Equations—II: Illustrative Application to Heat and Energy Transfer in the Nordheim–Fuchs Phenomenological Model for Reactor Safety. Processes 2024, 12, 2755. https://doi.org/10.3390/pr12122755
Cacuci DG. Introducing the Second-Order Features Adjoint Sensitivity Analysis Methodology for Neural Ordinary Differential Equations—II: Illustrative Application to Heat and Energy Transfer in the Nordheim–Fuchs Phenomenological Model for Reactor Safety. Processes. 2024; 12(12):2755. https://doi.org/10.3390/pr12122755
Chicago/Turabian StyleCacuci, Dan Gabriel. 2024. "Introducing the Second-Order Features Adjoint Sensitivity Analysis Methodology for Neural Ordinary Differential Equations—II: Illustrative Application to Heat and Energy Transfer in the Nordheim–Fuchs Phenomenological Model for Reactor Safety" Processes 12, no. 12: 2755. https://doi.org/10.3390/pr12122755
APA StyleCacuci, D. G. (2024). Introducing the Second-Order Features Adjoint Sensitivity Analysis Methodology for Neural Ordinary Differential Equations—II: Illustrative Application to Heat and Energy Transfer in the Nordheim–Fuchs Phenomenological Model for Reactor Safety. Processes, 12(12), 2755. https://doi.org/10.3390/pr12122755