Next Article in Journal
Fruit Extracts Incorporated into Meat Products as Natural Antioxidants, Preservatives, and Colorants
Next Article in Special Issue
Study of the Transient Heat Transfer of a Single-U-Tube Ground Heat Exchanger by Integrating a Forward-Difference Numerical Scheme with an Analytical Technique
Previous Article in Journal
A Review of Intelligentization System and Architecture for Ultra-Precision Machining Process
Previous Article in Special Issue
Introducing the Second-Order Features Adjoint Sensitivity Analysis Methodology for Neural Ordinary Differential Equations—I: Mathematical Framework
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

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

by
Dan Gabriel Cacuci
Department of Mechanical Engineering, University of South Carolina, Columbia, SC 29208, USA
Processes 2024, 12(12), 2755; https://doi.org/10.3390/pr12122755
Submission received: 12 October 2024 / Revised: 14 November 2024 / Accepted: 29 November 2024 / Published: 4 December 2024
(This article belongs to the Special Issue Heat and Mass Transfer Phenomena in Energy Systems)

Abstract

:
This work presents an illustrative application of the newly developed “Second-Order Features Adjoint Sensitivity Analysis Methodology for Neural Ordinary Differential Equations (2nd-FASAM-NODE)” methodology to determine most efficiently the exact expressions of the first- and second-order sensitivities of NODE decoder responses to the neural net’s underlying parameters (weights and initial conditions). The application of the 2nd-FASAM-NODE methodology will be illustrated using the Nordheim–Fuchs phenomenological model for reactor safety, which describes a short-time self-limiting power transient in a nuclear reactor system having a negative temperature coefficient in which a large amount of reactivity is suddenly inserted. The representative model responses that will be analyzed in this work include the model’s time-dependent total energy released, neutron flux, temperature and thermal conductivity. The 2nd-FASAM-NODE methodology yields the exact expressions of the first-order sensitivities of these decoder responses with respect to the underlying uncertain model parameters and initial conditions, requiring just a single large-scale computation per response. Furthermore, the 2nd-FASAM-NODE methodology yields the exact expressions of the second-order sensitivities of a model response requiring as few large-scale computations as there are features/functions of model parameters, thereby demonstrating its unsurpassed efficiency for performing sensitivity analysis of NODE nets.

1. Introduction

The mathematical/theoretical framework underlying the “Second-Order Features Adjoint Sensitivity Analysis Methodology for Neural Ordinary Differential Equations (2nd-FASAM-NODE)” has been presented in the accompanying Part 1 [1]. In this work, the application of the newly developed 2nd-FASAM-NODE methodology to determine most efficiently the exact expressions of second-order sensitivities of decoder responses to the neural net’s underlying parameters (weights and initial conditions) will be illustrated using the Nordheim–Fuchs phenomenological model for reactor safety [2,3]. This phenomenological model describes a short-time self-limiting power transient in a nuclear reactor system having a negative temperature coefficient in which a large amount of reactivity is suddenly inserted, either intentionally or by accident. The Nordheim–Fuchs model responses that will be analyzed in this work include the model’s state functions/variables (namely: the time-dependent total energy released per cm3, the reactor’s time-dependent temperature and the reactor’s time-dependent neutron flux), all of which are subject to uncertainties stemming from the model’s uncertain parameters. The application of the newly developed 2nd-FASAM-NODE methodology will also be illustrated by considering the reactor’s time-dependent thermal conductivity, which is a representative model response involving decoder weights that are also subject to uncertainties.
This work is structured as follows: Section 2 illustrates the application of the 2nd-FASAM-NODE methodology [1] to compute most efficiently the exact expressions of the first-order sensitivities of the model state functions and thermal conductivity. It is shown that the computation of the first-order sensitivities requires just a single large-scale computation per response. It is also shown that the number of large-scale computations can be reduced by identifying subsystems within the NODE structure which could be solved independently of each other. For example, the Nordheim–Fuchs NODE model can be decoupled into three equations, one for each of the dependent variables, which can be solved independently of each other. It is shown that the number of large-scale computations for determining the first-order (and, subsequently, the second-order) sensitivities is greatly reduced when the re-structured NODE equations can be solved independently of each other.
Section 3 presents illustrative applications of the 2nd-FASAM-NODE methodology to compute the second-order sensitivities of the Nordheim–Fuchs model’s dependent/state variables with respect to the underlying parameters. The computation of the second-order sensitivities by applying the 2nd-FASAM-NODE to the original NODE structure is presented in Section 3.1. The computation of the second-order sensitivities by applying the 2nd-FASAM-NODE to the decoupled NODE structure is presented in Section 3.2, illustrating the significant computational advantages gained by using decoupled subsystems, whenever possible.
Section 4 presents the application of the 2nd-FASAM-NODE methodology to compute second-order sensitivities of the thermal conductivity in the Nordheim–Fuchs model, which is a representative model response involving decoder weights subject to uncertainties. These second-order sensitivities are computed in Section 4.1 by applying the 2nd-FASAM-NODE methodology to the original NODE structure, and are subsequently computed alternatively, in Section 4.2, by applying the 2nd-FASAM-NODE methodology to the decoupled NODE structure. It is shown that using a decoupled structure, whenever possible, is even more advantageous for the computation of second-order sensitivities than for the computation of the first-order ones. The discussion presented in Section 5 concludes this work, highlighting the salient features and unparalleled capabilities of the 2nd-FASAM-NODE methodology for computing first- and second-order sensitivities of decoder response to uncertain NODE parameters and initial conditions.

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

Section 2.1 presents the Nordheim–Fuchs phenomenological model formulated in NODE format. Section 2.2 presents a representative application of the 1st-FASAM-NODE to compute most efficiently the exact expressions of the first-order sensitivities of model state functions, while Section 2.3 presents a representative application of the 1st-FASAM-NODE to the exact expressions of first-order sensitivities of a typical response involving decoder weights. Section 2.4 compares the alternative ways of applying the 1st-FASAM-NODE to minimize the number of computations for evaluating the exact expressions of first-order sensitivities of model responses to model parameters by possibly identifying subsystems, within the NODE structure, that contain as few dependent variables as possible, and which could be solved independently of each other. For example, the Nordheim–Fuchs model can be decoupled into three equations, one equation for each of the dependent variables, which can be solved independently of each other.

2.1. NODE Modeling of the Nordheim–Fuchs Reactor Dynamics/Safety Phenomenological Model

The mathematical modeling of a NODE net was introduced in [4]. This modeling was generalized in [1] by introducing the concept of “features of primary model parameters/weights”, so that the generalized representation of a NODE network that comprises such “features” is provided by the following system of “augmented” equations:
d h t d t = f h t ; F θ ; t , t > 0 ,
h t 0 = h e x , w , a t t = t 0 ,
r t f = h d h t f ; φ , a t t = t f ,
where:
(i)
the T H -dimensional vector-valued function h t h 1 t , , h T H t 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 T H -dimensional vector-valued nonlinear function f h t ; F θ ; t f 1 h ; F θ ; t , , f T H h ; F θ ; t models the dynamics of the latent neurons;
(iii)
the components of the vector θ θ 1 , , θ T W represent learnable scalar adjustable weights, which are considered to be the “primary model parameters”; where T W denotes the total number of adjustable weights in all of the latent neural nets;
(iv)
the components of the vector-valued function F θ F 1 θ , , F T F θ represent the “feature” functions of the respective weights, which the quantity T F T W denotes the “total number of feature/functions of the primary model parameters” comprised in the NODE;
(v)
the T H -dimensional vector-valued function h e x , w h 1 e x , w , , h T H e x , w represents the “encoder” which is characterized by “inputs” x x 1 , , x T I and “learnable” scalar adjustable weights w w 1 , , w T E W , where T I denotes the total number of “inputs” and T E W denotes the total number of “learnable encoder weights” that define the encoder;
(vi)
the T R -dimensional vector-valued function r t f r 1 h t f ; φ , , r T R h t f ; φ = h d h t f ; φ represents the vector of “system responses”; (vii) the vector-valued function h d h t f ; φ h 1 d h t f ; φ , , h T R d h t f ; φ represents the “decoder” with learnable scalar adjustable weights, which are represented by the components of the vector φ φ 1 , , φ T D , where T D denotes the total number of adjustable weights that characterize the decoder.
The Nordheim–Fuchs phenomenological model comprises the following balance/conservation equations:
  • The time-dependent neutron balance (point kinetics) equation for the neutron flux ψ t :
    d ψ t d t = ρ t 1 l p ψ t , t > 0 ,
    ψ 0 = ψ 0 , t = 0 ,
    where l p denotes the prompt-neutron lifetime, ρ t denotes the reactor’s multiplication factor and ψ 0 denotes the initial (i.e., extant flux) prior to initiating the transient at time t = 0 .
  • The energy production equation:
    E t = γ Σ f 0 t ψ x d x ,
    where γ denotes the recoverable energy per fission; Σ f σ f N f denotes the reactor’s effective macroscopic fission cross section, where σ f denotes the reactor’s equivalent microscopic fission cross section while N f denotes the reactor’s equivalent atomic number density.
  • The energy conservation equation:
    c p T t T 0 = E t ,
    where E t denotes the total energy released (per cm3) at time t in the reactor after the onset of reactivity change; c p denotes the specific heat (per cm3) of the reactor.
  • The reactivity–temperature feedback equation: ρ t = ρ 0 α T ρ 0 T t T 0 , where ρ 0 ρ 0 1 denotes the changed multiplication factor following the reactivity insertion at t = 0 ; α T denotes the magnitude of the negative temperature coefficient; T t denotes the reactor’s temperature; T 0 denotes the reactor’s initial temperature at time t = 0 . This work will consider the special case of a “prompt critical transient” which occurs when ρ 0 = 1 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:
    ρ t = 1 α T T t T 0 .
Equations (4)–(8) can be transformed into the following system of nonlinear differential equations written in NODE format:
d ψ t d t = α T l p c p E t ψ t , ψ 0 = ψ 0 ,
d E t d t = γ σ f N f ψ t , E 0 = 0 ,
d T t d t = γ σ f N f c p ψ t , T 0 = T 0 .
As detailed in [5], the Nordheim–Fuchs model described by Equations (9)–(11) can be solved analytically to obtain the following exact closed-form expression for the state functions ψ t , E t and T t , which can be used for subsequent verification of all expressions of sensitivities:
E t = K 1 α tanh [ t K 2 α ] ;
ψ t = ψ 0 1 tanh 2 t K 2 α = ψ 0 cosh 2 t K 2 α ;
T t = T 0 + K 1 α c p tanh t K 2 α ;
where:
K 1 α 2 ψ 0 γ σ f N f l p c p α T 1 / 2 ; K 2 α α T ψ 0 γ σ f N f 2 l p c p 1 / 2 .
Comparing the structure of the Nordheim–Fuchs model, cf. Equations (9)–(11), to the generic structure of a NODE defined by Equations (1)–(3) indicates the following correspondences for the weights/parameters of the hidden/latent units:
θ θ 1 , , θ T W α T , l p , c p , γ , σ f , N f ; T W = 6 ; x x 1 , x 2 , x 3 ψ 0 , 0 , T 0 ; T I = 3 .
The precise values of the components of the vectors θ and x remain unknown even after having trained the NODE, since the actual values of the parameters underlying the Nordheim–Fuchs model are experimentally-measured and are thus subject to uncertainties. However, the optimal parameter values obtained after having trained the NODE become the known nominal values of these parameters, and are considered to be exactly reproducible by the “trained” NODE; these nominal values will be denoted using a superscript “zero”, as follows:
θ 0 θ 1 0 , , θ 6 0 α T 0 , l p 0 , c p 0 , γ 0 , σ f 0 , N f 0 ; x 0 x 1 0 , x 2 0 , x 3 0 ψ 0 0 , 0 ; T 0 0 .
It is apparent from the structure of Equations (9)–(11) that although there are several possibilities for choosing the components of the vector-valued function F θ F 1 θ , , F T F θ , it is advantageous to define these components so as to minimize their number while incorporating all of the primary model parameters. A choice that satisfies these considerations is as follows:
F 1 θ α T l p ; F 2 θ γ σ f N f ; F 3 θ 1 c p .
Using the definitions provided in Equation (18), Equations (9)–(11) can be re-written in the following NODE format:
d h 1 t d t = F 1 θ F 3 θ h 1 t h 2 t , h 1 0 = ψ 0 ;
d h 2 t d t = F 2 θ h 1 t , h 2 0 = 0 ;
d h 3 t d t = F 2 θ F 3 θ h 1 t , h 3 0 = T 0 .
where:
h t h 1 t , , h T H t ψ t , E t , T t ; T H = 3 .
Since the exact values of the model parameters are unknown, the exact values of the functions h t h 1 t , h 2 t , h 3 t ψ t , E t , T t are also unknown. However, the nominal values h 0 t h 1 0 t , h 2 0 t , h 3 0 t ψ 0 t , E 0 t , T 0 t of these quantities (which are denoted using the superscript “zero”), are known after having solved Equations (19)–(21) at the nominal values θ 0 , x 0 .
The typical results of interest (called “model response”) for the Nordheim–Fuchs model are the values of the state functions at a “final-time” instance, denoted as t = τ , after the initiation at t = 0 of the prompt critical power transient. The most important response determined using the Nordheim–Fuchs model is the total energy (per cm3) released at the “final-time” instance t = τ , which can be represented in “decoder” form as follows:
r h = E τ = 0 τ h 2 t δ t τ d t ,
where δ t τ denotes the Dirac-delta functional. The neutron flux ψ τ and the reactor’s temperature T τ at a “final-time” instance t = τ can be represented by similar integrals.
A representative decoder response that also involves “weights” is provided by the temperature-dependent thermal conductivity, denoted as K ( T ; φ ) , of the conceptual reactor’s material. As a specific example, the material’s conductivity is considered to depend quadratically on the reactor’s temperature; the corresponding decoder response can be represented by the following expression:
K ( T ; φ ) 0 τ h 4 d [ h t ; φ ] δ t τ d t ; h 4 d h t ; φ φ 0 + φ 1 T t + φ 2 T 2 t ,
where the scalar-valued components of φ φ 0 , φ 1 , φ 2 are experimentally determined quantities and are thus subject to uncertainties. Of course, the temperature T τ is also subject to uncertainties since it is the solution of Equations (19)–(21), which themselves involve uncertain parameters.

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

The application of the 1st-FASAM-NODE methodology will be illustrated by considering the total energy (per cm3) released at the “final-time” instance t = τ , defined in Equation (23), as the NODE response. The total first-order sensitivity of this response is provided by the first-order G-differential of Equation (23), which is obtained, by definition, as follows:
δ E τ = d d ε 0 τ [ h 2 0 t + ε δ h 2 t ] δ t τ d t ε = 0 = 0 τ δ h 2 t δ t τ d t ,
where the variation δ h 2 t is the solution of the system obtained by taking the first-order Gateaux (G) variation of the original system of Equations (19)–(21), which yields:
d d t δ h 1 t = [ δ F 1 F 3 + F 1 δ F 3 ] h 1 t h 2 t + F 1 F 3 δ h 1 t h 2 t + h 1 t δ h 2 t ,
d d t δ h 2 t = δ F 2 h 1 t + F 2 δ h 1 t ,
d d t δ h 3 t = [ δ F 2 F 3 + F 2 δ F 3 ] h 1 t + F 2 F 3 δ h 1 t ,
δ h 1 0 = δ ψ 0 ; δ h 2 0 = 0 ; δ h 3 0 = δ T 0 .
The system defined by Equations (26)–(29) is called the “First-Level Variational Sensitivity System (1st-LVSS)”and can be conveniently written in matrix/vector form as follows:
d v 1 t d t = J v 1 t + f h ; F F δ F ,
v 1 0 δ h 1 0 , δ h 2 0 , δ h 3 0 = δ ψ 0 , 0 , δ T 0 ,
where the following definitions were used:
J f h ; F h F 1 F 3 h 2 t F 1 F 3 h 1 t 0 F 2 0 0 F 2 F 3 0 0 ; v 1 t δ h 1 t δ h 2 t δ h 3 t ;
f h ; F F F 3 h 1 t h 2 t 0 F 1 h 1 t h 2 t 0 h 1 t 0 0 F 3 h 1 t F 2 h 1 t ; δ F δ F 1 δ F 2 δ F 3 .
It is evident that the 1st-LVSS, defined by Equations (30) and (31), would need to be solved repeatedly in order to compute the first-level variational function v 1 t δ h 1 t , δ h 2 t , δ h 3 t δ ψ t , δ E t , δ T t for every possible variations δ θ δ θ 1 , , δ θ T W δ α T , δ l p , δ c p , δ γ , δ σ f , δ N f in the model parameters and variations v 1 0 δ h 1 0 , δ h 2 0 , δ h 3 0 = δ ψ 0 , 0 , δ T 0 in the “encoder” initial conditions. This computationally expensive path can be avoided by applying the concepts of the 1st- FASAM-NODE, as follows:
  • Consider that the first-level variational function v 1 t δ h 1 t , δ h 2 t , δ h 3 t H 1 Ω t , Ω t 0 , τ , is an element in a Hilbert space denoted as H 1 Ω t which comprises vector elements of the form χ ( 1 ) t χ 1 1 t , χ 2 1 t , χ 3 1 t and η ( 1 ) t η 1 1 t , η 2 1 t , η 3 1 t , being endowed with an inner product χ ( 1 ) t , η ( 1 ) t 1 defined as follows:
    χ ( 1 ) t , η ( 1 ) t 1 t 0 τ χ ( 1 ) t η ( 1 ) t d t = i = 1 3 0 τ χ i 1 t η i 1 t d t .
  • Use Equation (34) to form the inner product of Equation (30) with a yet undefined function a ( 1 ) t a 1 ( 1 ) t , a 2 ( 1 ) t , a 3 ( 1 ) t H 1 Ω t to obtain the following relation:
    0 τ a ( 1 ) t d v 1 t d t d t 0 τ a ( 1 ) t J v 1 t d t = 0 τ a ( 1 ) t f h ; F F δ F d t .
  • Integrating by parts the term on the left side of Equation (35) and rearranging the terms inside the integrals leads to the following relation:
    0 τ a ( 1 ) t d v 1 t d t d t 0 τ a ( 1 ) t J v 1 t d t = a ( 1 ) τ v 1 τ a ( 1 ) 0 v 1 0 + 0 t f v 1 t A 1 a ( 1 ) t d t ,
    where:
    A 1 a ( 1 ) t d a ( 1 ) t d t J a ( 1 ) t ,
    with
    J f h ; F h = F 1 F 3 h 2 t F 2 F 2 F 3 F 1 F 3 h 1 t 0 0 0 0 0 .
  • The definition of the function a ( 1 ) t is now completed by requiring that (i) the G-differential δ E τ 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 v 1 τ be eliminated from appearing in Equation (36). These requirements are satisfied by requiring the function a ( 1 ) t a 1 ( 1 ) t , a 2 ( 1 ) t , a 3 ( 1 ) t H 1 Ω t to be the solution of the following “First-Level Adjoint Sensitivity System (1st-LASS)”:
    A 1 a ( 1 ) t d a ( 1 ) t d t J a ( 1 ) t = 0 , δ t τ , 0 ;
    a ( 1 ) τ a 1 ( 1 ) τ , a 2 ( 1 ) τ , a 3 ( 1 ) τ = 0 , 0 , 0 .
In component form, Equation (39) comprises the following relations written in NODE format:
d a 1 ( 1 ) t d t = F 1 F 3 h 2 t a 1 ( 1 ) t F 2 a 2 ( 1 ) t F 2 F 3 a 3 ( 1 ) t ;
d a 2 ( 1 ) t d t = F 1 F 3 h 1 t a 1 ( 1 ) t δ t τ ;
d a 3 ( 1 ) t d t = 0 .
It is important to note that the 1st-LASS is linear in the first-level adjoint sensitivity function a ( 1 ) t a 1 ( 1 ) t , a 2 ( 1 ) t , a 3 ( 1 ) t . Furthermore, the 1st-LASS is independent of any parameter variations, so it needs to be solved only once. In particular, Equations (40)–(43) imply that a 3 ( 1 ) t 0 . The actual/explicit expressions of the components a 1 ( 1 ) t and a 2 ( 1 ) t of a ( 1 ) t are unimportant for the purpose of the present illustrative/conceptual discussion.
5.
Using Equations (25) and (35) in Equation (36) yields the following expression for the first G-differential δ E τ :
δ E τ = a 1 ( 1 ) 0 δ ψ 0 + a 3 ( 1 ) 0 δ T 0 + 0 τ a ( 1 ) t f h ; F F δ F d t E τ ψ 0 δ ψ 0 + E τ T 0 δ T 0 + i = 1 3 E τ F i δ F i .
Expanding the integral term on the right side of Equation (44) while recalling that a 3 ( 1 ) t 0 yields the following expressions for the first-order sensitivities of the response E τ :
E τ ψ 0 = a 1 ( 1 ) 0 = 0 τ a 1 ( 1 ) t δ t d t ;
E τ T 0 = a 3 ( 1 ) 0 = 0 ;
E τ F 1 = F 3 θ 0 τ a 1 ( 1 ) t h 1 t h 2 t d t ;
E τ F 2 = 0 τ a 2 ( 1 ) t h 1 t d t ;
E τ F 3 = F 1 θ 0 τ a 1 ( 1 ) t h 1 t h 2 t d t .
The expressions of the first-order sensitivities obtained in Equations (45)–(49) are to be evaluated at the nominal values of the respective parameters and functions. The numerical values of these first-order sensitivities can be computed after having solved the 1st-LASS to obtain the components of the first-level adjoint sensitivity function a ( 1 ) t a 1 ( 1 ) t , a 2 ( 1 ) t , a 3 ( 1 ) t .
The sensitivities of the response E τ with respect to the primary model parameters are obtained by using Equations (45)–(49) in conjunction with the following “chain-rule” type relations:
E τ θ i = j = 1 3 E τ F j F j θ θ i ; i = 1 , , T W = 6 .
Of course, the first-order sensitivities of E τ with respect to the primary model parameters θ θ 1 , , θ T W α T , l p , c p , γ , σ f , N f could have been computed directly, ab initio, using a single large-scale computation to solve the corresponding 1st-LASS, as presented in [5]. The advantage of using “features/functions of parameters” is minimal for computing first-order sensitivities but becomes increasingly important for computing second- and higher-order sensitivities. This fact will be demonstrated in Section 3 and Section 4, when computing second-order sensitivities of model responses to parameters.
It is important to note that for any other model response (“decoder”), only the source-terms on the right side of Equation (39) will be different. The left side of the 1st-LASS defined by Equation (39) and the “final-time” conditions in Equation (40) will remain unchanged. Therefore, if several responses are of interest, it would be computationally convenient if the inverse of the operator A 1 h ; θ could be stored in order to be used repeatedly, for computing all of the first-level adjoint sensitivity functions that would correspond to the responses of interest. Furthermore, the expressions on the right side of Equations (45)–(49) will remain formally the same for computing the first-order sensitivities of any other response. Of course, the numerical values of the components of the first-level adjoint sensitivity function a ( 1 ) t a 1 ( 1 ) t , a 2 ( 1 ) t , a 3 ( 1 ) t will be replaced by the numerical values of the first-level adjoint sensitivity function that will correspond to the response under consideration. Thus, although the respective first-level adjoint sensitivity functions differ according to the response under consideration, the quadrature schemes needed to evaluate the integrals defining the respective sensitivities remain unchanged. Therefore, the same numerical procedures and/or neural nets can be used for computing the respective integrals that define the first-order sensitivities, while using the appropriate/corresponding values for the first-level adjoint sensitivity functions. If the response depends on parameters/weights, additional sensitivities will arise from the respective “direct-effect term”.

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

The application of the 1st-FASAM-NODE methodology to compute efficiently and exactly the first-order sensitivities of a representative NODE decoder response involving decoder weights will be illustrated in this Subsection by considering the thermal conductivity response defined in Equation (24). The first-order sensitivities of this response are obtained by applying the definition of the G-differential to Equation (24), which yields the following expression:
δ K ( T 0 ; φ 0 ; δ T ; δ φ ) d d ε 0 τ φ 0 0 + ε δ φ 0 + φ 1 0 + ε δ φ 1 T 0 + ε δ T + φ 2 0 + ε δ φ 2 T 0 + ε δ T 2 δ t τ d t ε = 0 = δ K ( T 0 ; φ 0 ; δ T ; δ φ ) d i r + δ K ( T 0 ; φ 0 ; δ T ; δ φ ) i n d .
In Equation (51), the direct-effect term δ K ( T 0 ; φ 0 ; δ T ; δ φ ) d i r comprises variations δ φ δ φ 0 , δ φ 1 , δ φ 2 in the weights defining the decoder and is defined as follows:
δ K ( T 0 ; φ 0 ; δ T ; δ φ ) d i r 0 τ δ φ 0 + δ φ 1 T 0 t + δ φ 2 T 0 2 δ t τ d t ,
while the indirect-effect term δ K ( T 0 ; φ 0 ; δ T ; δ φ ) i n d comprises the variations δ T t and is defined as follows:
δ K ( T 0 ; φ 0 ; δ T ; δ φ ) i n d 0 τ φ 1 0 + 2 φ 2 0 T 0 t δ T t δ t τ d t .
The direct-effect term defined in Equation (52) yields the following first-order sensitivities with respect to the decoder’s weights, which can be computed immediately at the nominal value of the reactor temperature:
K T τ φ 0 = 0 τ δ t τ d t = 1 ;
K T τ φ 1 = 0 τ T t δ t τ d t = T τ ;
K T τ φ 2 = 0 τ T 2 t δ t τ d t = T 2 τ .
The sensitivities stemming from the indirect-effect term can be obtained by applying the principles underlying the 1st-FASAM-NODE methodology by following the same steps as outlined in items (1)–(5) in Section 2.2, to obtain the following expression:
δ K ( T 0 ; φ 0 ; δ T ; δ φ ) i n d = b 1 ( 1 ) 0 δ ψ 0 + b 3 ( 1 ) 0 δ T 0 + 0 τ b ( 1 ) t f h ; F F δ F d t K τ ψ 0 δ ψ 0 + K τ T 0 δ T 0 + i = 1 3 K τ F i δ F i .
where the first-level adjoint sensitivity function b ( 1 ) t b 1 ( 1 ) t , b 2 ( 1 ) t , b 3 ( 1 ) t is the solution of the following First-Level Adjoint Sensitivity System (1st-LASS):
A 1 b ( 1 ) t d b ( 1 ) t d t J b ( 1 ) t = 0 , 0 , φ 1 + 2 φ 2 T t δ t τ ;
b ( 1 ) τ b 1 ( 1 ) τ , b 2 ( 1 ) τ , b 3 ( 1 ) τ = 0 , 0 , 0 .
The 1st-LASS defined by Equations (58) and (59) is solved at the nominal values for all parameters and original functions, but the superscript “zero” which would have denoted this fact has been omitted in order to simplify the notation. Expanding the vector-matrix product in the integral on the right side of Equation (57) and identifying the expressions that multiply the respective variations in the feature functions and initial conditions leads to the following expressions for the sensitivities of the response K τ :
K τ ψ 0 = b 1 ( 1 ) 0 = 0 τ b 1 ( 1 ) t δ t d t ;
K τ T 0 = b 3 ( 1 ) 0 = 0 τ b 3 ( 1 ) t δ t d t ;
K τ F 1 = F 3 θ 0 τ h 1 t h 2 t b 1 ( 1 ) t d t ;
K τ F 2 = 0 τ b 2 ( 1 ) t + F 3 θ b 3 ( 1 ) t h 1 t d t ;
K τ F 3 = 0 τ F 1 θ b 1 ( 1 ) t h 2 t + F 2 θ b 3 ( 1 ) t h 1 t d t .
As indicated in Equations (60)–(64), there are five first-order sensitivities of the response K τ with respect to the two non-zero initial conditions and the three components of the feature function. The first-order sensitivities with respect to the six primary parameters α T , l p , c p , γ , σ f , N f can be obtained by using Equations (60)–(64) in conjunction with chain-rule relations similar to those presented in Equation (50).

2.4. Discussion: Minimizing the Number of Computations for Evaluating the Exact Expressions of First-Order Sensitivities of Model Responses to Model Parameters

It is evident that the 1st-FASAM-NODE is the most efficient methodology for computing first-order sensitivities whenever it is possible to identify features/functions of the model parameters in the underlying NODE equations. Additional efficiency can be attained if the original system of NODE equations could be decoupled into subsystems that contain as few dependent variables as possible, which could then be solved independently of each other. For the Nordheim–Fuchs model, for example, Equations (9)–(11) can be decoupled into three equations, one equation for each of the dependent variables, which can be solved independently of each other. For example, the following equation has been obtained in [5] for the function E t in NODE format:
d E ( t ) d t = α T 2 l p c p E 2 t + ψ 0 γ σ f N f , E 0 = 0 .
The “features/functions of parameters” in Equation (65) can be conveniently chosen as follows:
Φ 1 p α T 2 l p c p ; Φ 2 p ψ 0 γ σ f N f ; Φ p [ Φ 1 p , Φ 2 p ] ; p p 1 , , p 7 α T , l p , c p , γ , σ f , N f , ψ 0 .
In terms of the “feature function” Φ p Φ 1 p , Φ 2 p , Equation (65) can alternatively be written as follows:
d E t d t = Φ 1 p E 2 t + Φ 2 p , E 0 = 0 .
Of course, a specific NODE model would need to be constructed to represent Equation (67).
In terms of the feature function Φ p Φ 1 p , Φ 2 p , the solution of Equation (67) has the following form:
E t = Φ 2 p Φ 1 p 1 / 2 tanh t G p ; G p Φ 1 p Φ 2 p .
The First-Level Variational Sensitivity System (1st-LVSS) for the variational function δ E t is obtained by applying the definition of the first-order G-differential to Equation (67), which yields the following 1st-LVSS:
d d t + 2 Φ 1 E t δ E t = δ Φ 1 E 2 t + δ Φ 2 , t > 0 ,
δ E 0 = 0 , t = 0 .
The 1st-LVSS represented by Equation (69) is to be solved at the nominal values for the parameters and the state function E t but the superscript “0” (which indicates “nominal values”) has been omitted to simplify the notation. Numerically, the 1st-LVSS would need to be solved anew for the various variations δ F 1 , δ F 2 , in the components of the feature function Φ p . This need for repeatedly solving the 1st-LVSS can be avoided by constructing the corresponding First-Level Adjoint Sensitivity System (1st-LASS). The Hilbert space appropriate for the construction of the 1st-LASS corresponding to Equation (69) will be denoted as H 1 , E Ω t , where the subscript “1” indicates “first-level”, the subscript “E” indicates that this Hilbert space is constructed exclusively for the “energy variable” and where Ω t 0 , τ . The inner product appropriate for H 1 , E Ω t between two functions ω 1 t H 1 , E Ω t and ω 2 t H 1 , E Ω t is denoted as ω 1 t , ω 2 t 1 , E and is defined as follows:
ω 1 ( t ) , ω 2 ( t ) 1 , E = 0 τ ω 1 ( t ) ω 2 ( t ) d t .
Using Equation (71), the 1st-LASS is constructed by applying the same sequence of steps as those leading to Equations (39)–(44), to obtain the following expression for the G-differential δ E τ of the response E τ :
δ E τ = δ Φ 1 0 τ e 1 t E 2 t d t + δ Φ 2 0 τ e 1 t d t ,
where the first-level adjoint sensitivity function e ( 1 ) t is the solution of the following First-Level Adjoint Sensitivity System (1st-LASS):
d d t + 2 Φ 1 E t e ( 1 ) t = δ t τ , t > 0 ,
e ( 1 ) τ = 0 , t = τ .
The 1st-LASS represented by Equations (73) and (74) is independent of variations in the feature functions (or parameters) so it would need to be solved only once, numerically. In the present case, the 1st-LASS can be solved analytically to obtain the following closed-form expression for the first-level adjoint sensitivity function e ( 1 ) t :
e ( 1 ) t = H τ t cosh t G p cosh τ G p 2 ,
where H t τ denotes the Heaviside functional. It follows from Equations (72), (75) and (68) that the two sensitivities of the response E τ with respect to the two components of the feature function Φ Φ 1 , Φ 2 have the following expressions:
E τ Φ 1 = 0 τ e ( 1 ) t E 2 t d t = 1 2 Φ 2 p Φ 1 p 1 / 2 τ cosh 2 τ G p tanh τ G p G p ;
E τ Φ 2 = 0 τ e ( 1 ) t d t = 1 2 G p tanh τ G p + τ 2 cosh 2 τ G p .
The above expressions are to be evaluated at the nominal parameter values but the superscript “zero” has been omitted, for simplicity. The expressions obtained in Equations (76) and (77) can be verified by differentiating the expression provided in Equation (68), evaluated at a user-chosen time t = τ within the interval 0 < τ < .
The sensitivities of the response E τ with respect to the model parameters are obtained by using the following general relationship:
E τ ; Φ 1 ; Φ 2 p i = E τ Φ 1 Φ 1 p p i + E τ Φ 2 Φ 2 p p i ; i = 1 , , 7 .
The explicit expressions for the specific sensitivities of the response E τ with respect to the parameters underlying the feature functions are obtained using Equation (78) in conjunction with Equations (76) and (77) while recalling the definitions of the feature functions Φ 1 p and Φ 2 p defined in Equation (66). The expressions of these first-order sensitivities are as follows:
E τ α T = E τ Φ 1 Φ 1 α T + E τ Φ 2 Φ 2 α T = 1 2 l p c p E τ Φ 1 ;
E τ l p = E τ Φ 1 Φ 1 l p + E τ Φ 2 Φ 2 l p = α T 2 l p 2 c p E τ Φ 1 ;
E τ c p = E τ Φ 1 Φ 1 c p + E τ Φ 2 Φ 2 c p = α T 2 c p 2 l p E τ Φ 1 ;
E τ σ f = E τ Φ 1 Φ 1 σ f + E τ Φ 2 Φ 2 σ f = ψ 0 γ N f E τ Φ 2 ;
E τ σ f = E τ Φ 1 Φ 1 σ f + E τ Φ 2 Φ 2 σ f = ψ 0 γ N f E τ Φ 2 ;
E τ N f = E τ Φ 1 Φ 1 N f + E τ Φ 2 Φ 2 N f = ψ 0 γ σ f E τ Φ 2 .
E τ ψ 0 = E τ Φ 1 Φ 2 ψ 0 + E τ Φ 2 Φ 2 ψ 0 = γ σ f N f E τ Φ 2 .
Notably, the application of the 1st-FASAM-NODE requires just one “large-scale” computation to solve the 1st-LASS, cf. Equations (73) and (74), which is a single NODE, to obtain the first-level adjoint function e ( 1 ) t , which is a scalar-valued function. However, solving the 1st-LASS, comprising Equations (73) and (74), requires the construction of a separate, albeit simpler, NODE. The first-level adjoint function e ( 1 ) t is subsequently used for obtaining the two sensitivities of the response E τ with respect to the two components Φ 1 p and Φ 2 p of the feature function Φ p Φ 1 , Φ 2 , which requires the evaluation of two integrals using quadrature formulas. Subsequently, all of the response sensitivities with respect to the model’s primary parameters are obtained analytically by using the chain rule to differentiate the components of the feature function with respect to the underlying model parameters and initial conditions.
On the other hand, the direct computation of the sensitivities of the response with respect to the model parameters and initial conditions, the original NODE can be used to solve (backward in time) the 1st-LASS, which comprises a system of three coupled NODEs for obtaining the first-level adjoint function a ( 1 ) t a 1 ( 1 ) t , a 2 ( 1 ) t , a 3 ( 1 ) t , which is a vector-valued function comprising three components. The respective vector-valued first-level adjoint function is subsequently used in performing six (rather than two, if the 1st-FASAM is used) integrals (quadrature) for obtaining the six sensitivities of the respective response with respect to the six model parameters.
After having obtained the first-order sensitivities of E ( τ ) , the first-order sensitivities of the temperature T ( τ ) at a time instance t = τ can be obtained exactly and most effectively by using the expressions provided in Equations (79)–(85) in conjunction with the following relation obtained by differentiating the expression in Equation (7) with respect to the parameters p i , i = 1 , , 7 :
T τ p i = 1 / c p p i E τ + 1 c p E τ p i .
Using Equations (9) and (65) yields the following relation:
ψ t = ψ 0 α T 2 l p c p γ σ f N f E 2 t .
The first-order sensitivities of the neutron flux ψ ( τ ) at a time instance t = τ can be obtained exactly and most effectively by using the first-order sensitivities of E ( τ ) , in conjunction with the following relation obtained by differentiating Equation (87) with respect to the parameters p i , i = 1 , , 7 :
ψ τ ψ 0 = 1 ; ψ τ p i = E 2 τ p i α T 2 l p c p γ σ f N f α T E τ l p c p γ σ f N f E τ p i .
After having obtained the first-order sensitivities of T ( τ ) , the first-order sensitivities of the thermal conductivity K ( τ ) can be obtained exactly, analytically and most efficiently by differentiating Equation (24) with respect to the parameters p i , i = 1 , , 7 . This procedure yields the following expressions:
K τ φ 0 = 1 ; K τ φ 1 = T τ ; K τ φ 2 = T 2 τ ; K τ p i = φ 0 + φ 1 + 2 φ 2 T τ T τ p i = φ 0 + φ 1 + 2 φ 2 T τ 1 / c p p i E τ + 1 c p E τ p i .

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

The computation of the second-order sensitivities of a dependent/state variable will be illustrated by using the response E τ as a paradigm example. The second-order sensitivities of this response are computed by using the fundamental definition of being “the first-order sensitivities of the first-order sensitivities”. In Section 3.1, the second-order sensitivities of E ( τ ) will be obtained from the NODE equations derived in Section 2.2, which led to the expressions presented in Equations (45)–(49). Alternatively, in Section 3.2, the second-order sensitivities of E ( τ ) will be obtained most efficiently from the first-order sensitivities with respect to the feature functions derived in Equations (76) and (77).

3.1. Computation of Second-Order Sensitivities of E ( τ ) Using the Coupled NODE Equations

The representative computation of second-order sensitivities of E ( τ ) can be illustrated by considering the expression obtained in Equation (49). The G-differential of this expression is obtained, by definition, as follows:
δ E τ F 3 = d d ε F 1 0 + ε δ F 1 0 τ a 1 ( 1 , 0 ) t + ε δ a 1 ( 1 ) t h 1 0 t + ε δ h 1 t × h 2 0 t + ε δ h 2 t d t ε = 0 = δ E τ / F 3 d i r + δ E τ / F 3 i n d ,
where the direct-effect term δ E τ / F 3 d i r comprises parameter variations and is defined as follows:
δ E τ / F 3 d i r δ F 1 0 τ a 1 ( 1 ) t h 2 t h 1 t d t ,
while the indirect-effect term δ E τ / F 3 i n d comprises variations in the state functions and is defined as follows:
δ E τ / F 3 i n d F 1 0 τ δ a 1 ( 1 ) t h 2 t h 1 t + δ h 2 t a 1 ( 1 ) t h 1 t + δ h 1 t a 1 ( 1 ) t h 2 t d t .
The expressions of the direct-effect and indirect-effect terms obtained in Equations (91) and (92) are to be evaluated at the respective nominal values of parameters and functions but the superscript “zero”, which has been used in Equation (90) to indicate this fact, has been omitted in order to simplify the notation.
The direct-effect term can be evaluated numerically at this time since all of the functions in Equation (91) are available. The indirect-effect term can be evaluated only after having determined the variational functions δ a 1 t δ a 1 ( 1 ) t , δ a 2 ( 1 ) t , δ a 3 ( 1 ) t and v 1 t δ h 1 t , δ h 2 t , δ h 3 t δ ψ t , δ E t , δ T t . The variational function v 1 t is the solution of the 1st-LVSS defined by Equations (30) and (31). The variational function δ a 1 t is the solution of the system of equations obtained by G-differentiating the 1st-LASS defined by Equations (39) and (40), which yields the following relations:
d d t δ a 1 ( 1 ) t = δ a 1 ( 1 ) t F 1 F 3 h 2 t δ a 2 ( 1 ) t F 2 δ a 3 ( 1 ) t F 2 F 3 δ h 2 t F 1 F 3 a 1 ( 1 ) t δ F 1 F 3 + δ F 3 F 1 h 2 t a 1 ( 1 ) t δ F 2 a 2 ( 1 ) t δ F 2 F 3 + δ F 3 F 2 a 3 ( 1 ) t ;
d d t δ a 2 ( 1 ) t = δ a 1 ( 1 ) t F 1 F 3 h 1 t δ h 1 t F 1 F 3 a 1 ( 1 ) t δ F 1 F 3 + δ F 3 F 1 h 1 t a 1 ( 1 ) t ,
d d t δ a 3 ( 1 ) t = 0 .
δ a 1 τ δ a 1 ( 1 ) τ , δ a 2 ( 1 ) τ , δ a 3 ( 1 ) τ = 0 , 0 , 0
As indicated by Equations (93)–(96), the components of δ a 1 t are connected to the components of v 1 t . Therefore, the function v 2 t v 1 t , δ a ( 1 ) t will be the solution of the so-called “Second-Level Variational Sensitivity System” (2nd-LVSS) obtained by concatenating Equations (93)–(96) with Equations (26)–(29). The function v 2 t v 1 t , δ a ( 1 ) t will be called the “second-level variational function”. The superscript “(2)” indicates “second-level”.
It is impractical to solve the 2nd-LVSS to compute each second-level variational function v 2 t v 1 t , δ a ( 1 ) t that would correspond to every component of the variations δ F and δ φ . The need for computing v 2 t can be circumvented by applying the principles of the 2nd-FASAM-NODE methodology [1], which comprises the following sequence of steps:
  • Consider that v 2 t v 1 t , δ a ( 1 ) t is an element in a Hilbert space denoted as H 2 Ω t , Ω t 0 , τ , comprising as elements two-block vectors having the following structure: χ 2 χ 1 2 t , χ 2 2 t , with χ 1 2 t χ 1 , 1 2 t , χ 1 , 2 2 t , χ 1 , 3 2 t and χ 2 2 t χ 2 , 1 2 t , χ 2 , 2 2 t , χ 2 , 3 2 t . The Hilbert space H 2 Ω t is considered to be endowed with an inner product denoted as χ 2 , η 2 2 and defined as follows:
    χ 2 , η 2 2 i = 1 3 0 τ χ 1 , i 2 t η 1 , i 2 t d t + i = 1 3 0 τ χ 2 , i 2 t η 2 , i 2 t d t .
  • 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 a 2 a 1 2 t , a 2 2 t H 2 Ω t , where a 1 2 t a 1 , 1 2 t , a 1 , 2 2 t , a 1 , 3 2 t and a 2 2 t a 2 , 1 2 t , a 2 , 2 2 t , a 2 , 3 2 t , to obtain the following relationship:
    0 τ a 1 , 1 2 t d d t δ h 1 t d t 0 τ a 1 , 1 2 t F 1 F 3 δ h 1 t h 2 t + h 1 t δ h 2 t d t + 0 τ a 1 , 2 2 d d t δ h 2 t d t 0 τ a 1 , 2 2 F 2 δ h 1 t d t + 0 τ a 1 , 3 2 d d t δ h 3 t d t 0 τ a 1 , 3 2 F 2 F 3 δ h 1 t d t + 0 τ a 2 , 1 2 d d t δ a 1 ( 1 ) t d t + 0 τ a 2 , 1 2 δ a 1 ( 1 ) t F 1 F 3 h 2 t + δ a 2 ( 1 ) t F 2 + δ a 3 ( 1 ) t F 2 F 3 + δ h 2 t F 1 F 3 a 1 ( 1 ) t d t 0 τ a 2 , 2 2 d d t δ a 2 ( 1 ) t d t + 0 τ a 2 , 2 2 δ a 1 ( 1 ) t F 1 F 3 h 1 t + δ h 1 t F 1 F 3 a 1 ( 1 ) t d t + 0 τ a 2 , 3 2 d d t δ a 3 ( 1 ) t d t = q 2 ,
    where:
    q 2 0 τ a 1 , 1 2 t δ F 1 F 3 + F 1 δ F 3 h 1 t h 2 t d t + 0 τ a 1 , 2 2 δ F 2 h 1 t d t + 0 τ a 1 , 3 2 δ F 2 F 3 + F 2 δ F 3 h 1 t d t 0 τ a 2 , 1 2 δ F 1 F 3 + δ F 3 F 1 h 2 t a 1 ( 1 ) t + δ F 2 a 2 ( 1 ) t + δ F 2 F 3 + δ F 3 F 2 a 3 ( 1 ) t d t 0 τ a 2 , 2 2 δ F 1 F 3 + δ F 3 F 1 h 1 t a 1 ( 1 ) t d t .
  • Integrating the left side of Equation (98) by parts over the independent variable t yields the following relation:
    0 τ δ h 1 t d a 1 , 1 2 t d t a 1 , 1 2 t F 1 F 3 δ h 1 t h 2 t + h 1 t δ h 2 t d t + a 1 , 1 2 τ δ h 1 τ a 1 , 1 2 0 δ h 1 0 + a 1 , 2 2 τ δ h 2 τ a 1 , 2 2 0 δ h 2 0 0 τ δ h 2 t d a 1 , 2 2 d t + a 1 , 2 2 F 2 δ h 1 t d t + a 1 , 3 2 τ δ h 3 τ a 1 , 3 2 0 δ h 3 0 0 τ δ h 3 t d a 1 , 3 2 d t + a 1 , 3 2 F 2 F 3 δ h 1 t d t + a 2 , 1 2 τ δ a 1 ( 1 ) τ a 2 , 1 2 0 δ a 1 ( 1 ) 0 0 τ δ a 1 ( 1 ) t d a 2 , 1 2 d t + a 2 , 1 2 δ a 1 ( 1 ) t F 1 F 3 h 2 t + δ a 2 ( 1 ) t F 2 + δ a 3 ( 1 ) t F 2 F 3 + δ h 2 t F 1 F 3 a 1 ( 1 ) t d t + a 2 , 2 2 τ δ a 2 ( 1 ) τ a 2 , 2 2 0 δ a 2 ( 1 ) 0 + 0 τ δ a 2 ( 1 ) t d a 2 , 2 2 d t + a 2 , 2 2 δ a 1 ( 1 ) t F 1 F 3 h 1 t + δ h 1 t F 1 F 3 a 1 ( 1 ) t d t + a 2 , 3 2 τ δ a 3 ( 1 ) τ a 2 , 3 2 0 δ a 3 ( 1 ) 0 0 τ δ a 3 ( 1 ) t d a 2 , 3 2 d t d t = q 2 ,
  • The unknown terms on the left side of Equation (100) are eliminated by imposing the following conditions:
    a 1 , 1 2 τ = 0 ; a 1 , 2 2 τ = 0 ; a 1 , 3 2 τ = 0 ;
    a 2 , 1 2 0 = 0 ; a 2 , 2 2 0 = 0 ; a 2 , 3 2 0 = 0 .
  • 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:
    a 1 , 1 2 0 δ ψ 0 a 1 , 3 2 0 δ T 0 + 0 τ δ h 1 t d a 1 , 1 2 t d t a 1 , 1 2 t F 1 F 3 h 2 t a 1 , 2 2 F 2 a 1 , 3 2 F 2 F 3 + a 2 , 2 2 F 1 F 3 a 1 ( 1 ) t + 0 τ δ h 2 t d a 1 , 2 2 d t a 1 , 1 2 t F 1 F 3 h 1 t + F 1 F 3 a 1 ( 1 ) t d t 0 τ δ h 3 t d a 1 , 3 2 d t d t + 0 τ δ a 1 ( 1 ) t d a 2 , 1 2 d t + a 2 , 1 2 F 1 F 3 h 2 t + a 2 , 2 2 F 1 F 3 h 1 t + 0 τ δ a 2 ( 1 ) t d a 2 , 2 2 d t + a 2 , 1 2 F 2 d t + 0 τ δ a 3 ( 1 ) t d a 2 , 3 2 d t + a 2 , 1 2 F 2 F 3 d t = q 2 ,
  • 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 a 2 a 1 2 t , a 2 2 t :
    d a 1 , 1 2 t d t a 1 , 1 2 t F 1 F 3 h 2 t a 1 , 2 2 t F 2 a 1 , 3 2 t F 2 F 3 + a 2 , 2 2 t F 1 F 3 a 1 ( 1 ) t = F 1 a 1 ( 1 ) t h 2 t ;
    d a 1 , 2 2 t d t a 1 , 1 2 t F 1 F 3 h 1 t + F 1 F 3 a 1 ( 1 ) t = F 1 a 1 ( 1 ) t h 1 t ;
    d a 1 , 3 2 t d t = 0 ;
    d a 2 , 1 2 t d t + a 2 , 1 2 t F 1 F 3 h 2 t + a 2 , 2 2 t F 1 F 3 h 1 t = F 1 h 2 t h 1 t ;
    d a 2 , 2 2 t d t + a 2 , 1 2 t F 2 = 0 ;
    d a 2 , 3 2 t d t + a 2 , 1 2 t F 2 F 3 = 0 .
The system of equations comprising Equations (101), (102), (104)–(109) constitutes the “Second-Level Adjoint Sensitivity System (2nd-LASS)” for the second-level adjoint sensitivity function a 2 a 1 2 t , a 2 2 t . Evidently, the 2nd-LASS is linear in a 2 a 1 2 t , a 2 2 t and is independent of parameter variations. Notably, this system of equations does not need to be solved simultaneously, but can be solved sequentially, by first solving Equations (107)–(109) subject to the initial conditions given in Equation (102) to determine the function a 2 2 t , and subsequently using the function a 2 2 t in Equations (104)–(106) to solve them subject to the “final-time” condition given in Equation (101) to obtain the function a 1 2 t . The 2nd-LASS is to be solved using the nominal values of all functions and parameters/weights, but the superscript “zero” has been omitted for notational simplicity.
7.
Using the results obtained in Equations (104)–(109) in Equation (103) yields the following alternative expression for the “indirect-effect” term δ E τ / F 3 i n d defined in Equation (92):
δ E τ / F 3 i n d = q 2 + a 1 , 1 2 0 δ ψ 0 + a 1 , 3 2 0 δ T 0 .
Notably, the expression on the right side of Equation (110) no longer involves the second-level variational sensitivity function v 1 t but involves the second-level adjoint sensitivity function a 2 a 1 2 t , a 2 2 t .
8.
Using in Equation (110) the definition of the function q 2 provided in Equation (99) and adding the resulting expression for the indirect-effect term δ E τ / F 3 d i r to the expression for the direct-effect term δ r n / F i d i r provided in Equation (91) yields the following expression for the total first-order G-differential δ E τ / F 3 :
δ E τ / F 3 = δ F 1 0 τ a 1 ( 1 ) t h 2 t h 1 t d t + a 1 , 1 2 0 δ ψ 0 + a 1 , 3 2 0 δ T 0 + 0 τ a 1 , 1 2 t δ F 1 F 3 + F 1 δ F 3 h 1 t h 2 t d t + 0 τ a 1 , 2 2 δ F 2 h 1 t d t + 0 τ a 1 , 3 2 δ F 2 F 3 + F 2 δ F 3 h 1 t d t 0 τ a 2 , 1 2 δ F 1 F 3 + δ F 3 F 1 h 2 t a 1 ( 1 ) t + δ F 2 a 2 ( 1 ) t + δ F 2 F 3 + δ F 3 F 2 a 3 ( 1 ) t d t 0 τ a 2 , 2 2 δ F 1 F 3 + δ F 3 F 1 h 1 t a 1 ( 1 ) t d t .
The expression shown in Equation (111) is to be evaluated at the nominal values of all functions and parameters/weights but the superscript “zero” (which has been used to indicate this fact) has been omitted for notational simplicity.
Identifying the expressions that multiply the individual variations in the quantities δ ψ 0 , δ T 0 and δ F i , i = 1 , 2 , 3 , yields the following expressions for the second-order sensitivities that stem from the first-order sensitivity E τ / F 3 :
2 E τ ψ 0 F 3 = a 1 , 1 2 0 ; 2 E τ T 0 F 3 = a 1 , 3 2 0 ;
2 E τ F 1 F 3 = 0 τ a 1 ( 1 ) t h 2 t h 1 t d t + F 3 0 τ a 1 , 1 2 t h 1 t h 2 t d t F 3 0 τ a 2 , 1 2 h 2 t a 1 ( 1 ) t F 3 0 τ a 2 , 2 2 h 1 t a 1 ( 1 ) t d t ;
2 E τ F 2 F 3 = 0 τ a 1 , 2 2 h 1 t d t + F 3 0 τ a 1 , 3 2 h 1 t d t 0 τ a 2 , 1 2 a 2 ( 1 ) t + F 3 a 3 ( 1 ) t d t ;
2 E τ F 3 F 3 = F 1 0 τ a 1 , 1 2 t h 1 t h 2 t d t + F 2 0 τ a 1 , 3 2 h 1 t d t 0 τ a 2 , 1 2 F 1 h 2 t a 1 ( 1 ) t + F 2 a 3 ( 1 ) t d t F 1 0 τ a 2 , 2 2 h 1 t a 1 ( 1 ) t d t .
The second-order sensitivities that stem from the first-order sensitivities E τ / F 1 and E τ / F 2 are obtained from the G-differentials of the expressions provided in Equations (45), (47) and (48), respectively, and by subsequently following the same procedure as was used in this Section for determining the sensitivities stemming from E τ / F 3 , which led to the results presented in Equations (112)–(115). The 2nd-LASS that will thus be obtained for the second-level adjoint sensitivity functions that correspond to the indirect-effect terms stemming from the G-differentials of E τ / ψ 0 , E τ / F 1 and E τ / F 2 , respectively, will have the same operators on their left sides as the left side of the 2nd-LASS obtained in Equation (104)–(109). Furthermore, the second-level adjoint sensitivity functions that correspond to the indirect-effect terms stemming from E τ / ψ 0 , E τ / F 1 and E τ / F 2 will satisfy the same initial-time and final-time conditions as shown in Equations (101) and (102). On the other hand, the source terms on the right sides of the 2nd-LASS obtained in Equations (104)–(109) will correspond to the “indirect-effect” terms stemming from E τ / ψ 0 , E τ / F 1 and E τ / F 2 . Therefore, these source terms will all differ from one another and will also differ from the source terms on the right sides of Equations (104)–(109).
To avoid repetition, the detailed derivation of the second-order sensitivities stemming from E τ / ψ 0 , E τ / F 1 and E τ / F 2 will be omitted, but it is clear that their derivation will entail the construction and subsequent solving of three distinct Second-Level Adjoint Sensitivity Systems. Conceptually, as was shown in the general mathematical formalism underlying the 2nd-FASAM-NODE [1], the computation of the second-order sensitivities entails the construction and solution of as many 2nd-LASS as there are non-zero first-order sensitivities of the response under consideration with respect to the components of the feature functions and encoder’s initial conditions. The second-order sensitivities with respect to the NODE parameters are obtained from the sensitivities with respect to the components of the feature functions by using the “chain rule” of differentiating Equation (50), as shown below:
2 E τ θ j θ i = θ j k = 1 3 E τ F k F k θ θ i ; j , i = 1 , , T W = 6 .
Of course, the second-order sensitivities of the response E τ can be computed directly with respect to the parameters θ θ 1 , , θ T W α T , l p , c p , γ , σ f , N f , T W = 6 , as demonstrated in [5]. In this case, a total of six (as opposed to three) distinct Second-Level Adjoint Sensitivity Systems would have been needed [5], each of these six 2nd-LASSs corresponding to the G-differential of each of the six first-order sensitivities that were determined in Equations (79)–(84).
It is important to note that the second-order mixed sensitivities will be determined twice, obtaining two distinct expressions involving two distinct second-level adjoint functions, for each mixed second-order mixed sensitivity. This fact has been demonstrated in detail in [5] for the second-order mixed sensitivities of E τ with respect to the primary model parameters and will also be demonstrated in Section 3.2 and Section 4. Determining the mixed second-order sensitivities twice, using distinct expressions and second-level adjoint sensitivity functions provides a stringent test for verifying the accuracy of the computations of the respective adjoint functions.

3.2. Computation of Second-Order Sensitivities of E ( τ ) Using the Corresponding Single NODE Equation

It is expected that the most effective procedure for computing second-order sensitivities of a NODE response would be to use as few NODE equations as possible. For the illustrative Nordheim–Fuchs model under consideration, it is expected that the most efficient procedure would be to obtain the second-order sensitivities stemming from the first-order sensitivities E τ / Φ 1 and E τ / Φ 2 , which were determined in Equations (76) and (77), respectively.

3.2.1. Computation of Second-Order Sensitivities of E ( τ ) Stemming from E τ / Φ 1

The second-order sensitivities which stem from the first-order sensitivity E τ / Φ 1 defined in Equation (76) will be obtained by determining the first-order G-differential of E τ / Φ 1 , which is obtained, by definition, as follows:
δ E τ ; Φ 1 , Φ 2 Φ 1 = d d ε 0 τ e 1 + ε δ e 1 E t + ε δ E t 2 d t ε = 0 = 0 τ 2 e 1 t E t δ E t + δ e 1 t E 2 t d t = 2 E τ ; Φ 1 , Φ 2 Φ 1 Φ 1 δ Φ 1 + 2 E τ ; Φ 1 , Φ 2 Φ 2 Φ 1 δ Φ 2 .
The variational function δ e 1 t is the solution of the system of equations obtained by G-differentiating the 1st-LASS defined in Equations (73) and (74). Performing the G-differentiation of this 1st-LASS yields the following equations, which are to be evaluated at the nominal values of the respective parameters and functions:
d d t + 2 Φ 1 E t δ e ( 1 ) t + 2 Φ 1 e ( 1 ) t δ E t = 2 δ Φ 1 e ( 1 ) t E t , 0 < t < τ ,
δ e ( 1 ) τ = 0 , t = τ .
Concatenating Equations (118) and (119) with the 1st-LVSS for δ E t defined in Equations (69) and (70) yields the following Second-Level Variational Sensitivity System (2nd-LVSS) for the second-level variational function v 2 2 ; t δ E t , δ e 1 t , where the superscript “2”denotes “second-level”:
d / d t + 2 Φ 1 E t 0 2 Φ 1 e ( 1 ) t d / d t + 2 Φ 1 E t δ E t δ e 1 t = δ Φ 1 E 2 t + δ Φ 2 2 δ Φ 1 e ( 1 ) t E t ;
δ E 0 δ e ( 1 ) τ = 0 0 .
The need for solving repeatedly the 2nd-LVSS defined by Equations (120) and (121) to obtain the value of the second-level variational function v 2 2 ; t δ E t , δ e 1 t for every possible parameter variation is circumvented by deriving an alternative expression for the first-order G-differential δ E τ / Φ 1 defined in Equation (117), in which the variational function v 2 2 ; t δ E t , δ e 1 t will be replaced by a two-component second-level adjoint function that will be denoted as e 1 ( 2 ) t e 11 ( 2 ) t , e 12 ( 2 ) t and which will be independent of parameter variations. The notation used for the two-component vector e 1 ( 2 ) t is as follows: the superscript “2” indicates “second-level” while the subscript “1” indicates that this second-level adjoint sensitivity function will correspond to the first-order derivative E τ / Φ 1 with respect to the “first” feature function, Φ 1 . Subsequently, a second-level adjoint sensitivity function e 2 ( 2 ) t e 21 ( 2 ) t , e 22 ( 2 ) t will be used for determining the second-order sensitivities stemming from the first-order derivative E τ / Φ 2 with respect to the “second” feature function, Φ 2 .
The second-level adjoint function e 1 ( 2 ) t e 11 ( 2 ) t , e 12 ( 2 ) t will be the solution of a Second-Level Adjoint Sensitivity System (2nd-LASS) to be constructed by applying the principles underlying the 2nd-FASAM-NODE methodology [1]. This 2nd-LASS is constructed in a Hilbert space denoted as H 2 , E Ω t , Ω t 0 , τ , where the subscript “2” indicates “second-level” and which comprises as elements two-component vectors of the same form as e 1 ( 2 ) t e 11 ( 2 ) t , e 12 ( 2 ) t . The Hilbert space H 2 , E Ω t is considered to be endowed with an inner product, denoted as χ 2 , η 2 2 , E , of two vectors χ 2 t χ 1 2 t , χ 2 2 t and η 2 t η 1 2 t , η 2 2 t , and is defined as follows:
χ 2 , η 2 2 , E i = 1 2 0 τ χ i 2 t η i 2 t d t .
Using the definition provided in Equation (122), form the inner product of e 1 ( 2 ) t e 11 ( 2 ) t , e 12 ( 2 ) t with Equation (120) to obtain the following relation:
0 τ e 11 ( 2 ) t d / d t + 2 Φ 1 E t δ E t d t + 0 τ e 12 ( 2 ) t 2 Φ 1 ω ( 1 ) t δ E t d t + 0 τ e 12 ( 2 ) t d / d t + 2 Φ 1 E t δ e 1 t d t = s 1 2 t ,
where:
s 1 2 t 0 τ e 11 ( 2 ) t δ Φ 1 E 2 t + δ Φ 2 d t 2 δ Φ 1 0 τ e 12 ( 2 ) t e ( 1 ) t E t d t .
Integrating by parts the terms involving d / d t on the left side of Equation (123) and rearranging the resulting terms yields the following relation:
e 11 ( 2 ) τ δ E τ e 11 ( 2 ) 0 δ E 0 e 12 ( 2 ) τ δ e 1 τ + e 12 ( 2 ) 0 δ e 1 0 + 0 τ δ E t d / d t + 2 Φ 1 E t e 11 ( 2 ) t + 2 Φ 1 e ( 1 ) t e 12 ( 2 ) t d t + 0 τ δ e 1 t d / d t + 2 Φ 1 E t e 12 ( 2 ) t d t = s 1 2 t .
The integral terms on the left side of Equation (125) are required to represent the G-differential δ E τ / Φ 1 defined in Equation (117), and the unknown terms on the left side of Equation (125) are eliminated by requiring the function e 1 ( 2 ) t e 11 ( 2 ) t , e 12 ( 2 ) t to satisfy the following Second-Level Adjoint System (2nd-LASS):
d / d t + 2 Φ 1 p E t 2 Φ 1 p e ( 1 ) t 0 d / d t + 2 Φ 1 p E t e 11 ( 2 ) t e 12 ( 2 ) t = 2 e 1 t E t E 2 t ;
e 11 ( 2 ) τ e 12 ( 2 ) 0 = 0 0 .
The above 2nd-LASS is to be solved at the nominal values for the first-level adjoint function e 1 t and for the parameters p α T , l p , c p , γ , σ f , N f , ψ 0 . Notably, the 2nd-LASS is independent of variations in the feature functions (and/or parameter variations), so it needs to be solved just once to obtain the second-level adjoint function e 1 ( 2 ) t e 11 ( 2 ) t , e 12 ( 2 ) t . Furthermore, the 2nd-LASS is an upper-triangular system, so the respective equations need not solved simultaneously, but can be solved sequentially, first for the component e 12 ( 2 ) t and subsequently for the component e 11 ( 2 ) t . The explicit expressions of the components of e 1 ( 2 ) t e 11 ( 2 ) t , e 12 ( 2 ) t are not essential for following the subsequent conceptual derivations.
Using in Equation (125) the 2nd-LASS defined by Equations (126) and (127) together with the conditions provided in Equation (121) yields the following expression for the variation δ E τ / Φ 1 in terms of the second-level adjoint function e 1 ( 2 ) t e 11 ( 2 ) t , e 12 ( 2 ) t :
δ E τ ; Φ 1 , Φ 2 Φ 1 = 2 E τ ; Φ 1 , Φ 2 Φ 1 Φ 1 δ Φ 1 + 2 E τ ; Φ 1 , Φ 2 Φ 2 Φ 1 δ Φ 2 = 0 τ e 11 ( 2 ) t δ Φ 1 E 2 t + δ Φ 2 d t 2 δ Φ 1 0 τ e 12 ( 2 ) t e ( 1 ) t E t d t .
It follows from Equation (128) that the second-order sensitivities of the response E τ with respect to the feature functions Φ 1 and Φ 2 have the following expressions:
2 E τ Φ 1 Φ 1 = 0 τ e 11 ( 2 ) t E t + 2 e 12 ( 2 ) t e ( 1 ) t E t d t ;
2 E τ Φ 2 Φ 1 = 0 τ e 11 ( 2 ) t d t .

3.2.2. Computation of Second-Order Sensitivities of E ( τ ) Stemming from E τ / Φ 2

The second-order sensitivities which stem from the first-order sensitivity E τ / Φ 2 are obtained from the first-order G-differential δ E τ / Φ 2 of the expression provided in Equation (77), which yields, by definition, the following expression:
δ E τ ; Φ 1 , Φ 2 Φ 2 = d d ε 0 τ e 1 t + ε δ e 1 t d t ε = 0 = 0 τ δ e 1 t d t 2 E τ ; Φ 1 , Φ 22 Φ 1 Φ 2 δ Φ 1 + 2 E τ ; Φ 1 , Φ 2 Φ 2 Φ 2 δ Φ 2 .
The variational function δ e 1 t is the solution of Equations (118) and (119). Notably, the right side of Equation (131) depends only on the variational function δ e 1 t , but does not depend directly on the variational function δ E t . Nevertheless, since the variational function δ e 1 t is related to the variational function δ E t through Equations (118) and (119), the second-level adjoint function that will be constructed in order to eliminate the appearance of δ e 1 t on the right side of Equation (131) will be the solution of a 2nd-LASS which will correspond to the 2nd-LVSS defined by Equations (120) and (121). The construction of the 2nd-LASS that will be used to eliminate the appearance of the variational function δ e 1 t from Equation (131) is based on the principles underlying the 2nd-FASAM-NODE [1], using the same Hilbert Space, H 2 , E Ω t , with the inner product defined in Equation (122), as was used for obtaining the results shown in Equations (129) and (130).
The inner product defined in Equation (122) is now used to construct the Second-Level Adjoint Sensitivity System (2nd-LASS) for the second-level adjoint function e 2 ( 2 ) t e 21 ( 2 ) t , e 22 ( 2 ) t by following the same sequence of steps as was used to obtain the expressions shown in Equations (129) and (130), but using the expression provided in Equation(131) to determine the right side (“source”) for the 2nd-LASS to be used for determining the second-order sensitivities stemming from δ E τ / Φ 2 . Thus, using the definition provided in Equation (122), form the inner product of e 2 ( 2 ) t e 21 ( 2 ) t , e 22 ( 2 ) t with Equation (120) to obtain the following relation:
0 τ e 21 ( 2 ) t d / d t + 2 Φ 1 E t δ E t d t + 0 τ e 22 ( 2 ) t 2 Φ 1 ω ( 1 ) t δ E t d t + 0 τ e 22 ( 2 ) t d / d t + 2 Φ 1 E t δ e 1 t d t = s 2 2 t ,
where:
s 2 2 t 0 τ e 21 ( 2 ) t δ Φ 1 E 2 t + δ Φ 2 d t 2 δ Φ 1 0 τ e 22 ( 2 ) t e ( 1 ) t E t d t .
Integrating by parts the terms involving d / d t on the left side of Equation (132) and rearranging the resulting terms yields the following relation:
e 21 ( 2 ) τ δ E τ e 21 ( 2 ) 0 δ E 0 e 22 ( 2 ) τ δ e 1 τ + e 22 ( 2 ) 0 δ e 1 0 + 0 τ δ E t d / d t + 2 Φ 1 E t e 21 ( 2 ) t + 2 Φ 1 e ( 1 ) t e 22 ( 2 ) t d t + 0 τ δ e 1 t d / d t + 2 Φ 1 E t e 22 ( 2 ) t d t = s 2 2 t .
The integral terms on the left side of Equation (134) are required to represent the G-differential δ E τ / Φ 2 defined in Equation (131), and the unknown terms on the left side of Equation (134) are eliminated by requiring the function e 2 ( 2 ) t e 21 ( 2 ) t , e 22 ( 2 ) t to satisfy the following Second-Level Adjoint System (2nd-LASS)
d / d t + 2 Φ 1 p E t 2 Φ 1 p e ( 1 ) t 0 d / d t + 2 Φ 1 p E t e 21 ( 2 ) t e 22 ( 2 ) t = 0 1 ;
e 21 ( 2 ) τ e 22 ( 2 ) 0 = 0 0 .
The above 2nd-LASS is to be solved at the nominal values for the first-level adjoint function e 1 t and for the parameters p α T , l p , c p , γ , σ f , N f , ψ 0 . Since the 2nd-LASS is independent of variations in the feature functions (and/or parameter variations), it needs to be solved just once to obtain the second-level adjoint function e 2 ( 2 ) t e 21 ( 2 ) t , e 22 ( 2 ) t . Furthermore, the 2nd-LASS is an upper-triangular system, so the respective equations need not be solved simultaneously, but can be solved sequentially, first for the component e 22 ( 2 ) t and subsequently for the component e 21 ( 2 ) t .
Using in Equation (134) the 2nd-LASS defined by Equations (135) and (136) together with the conditions provided in Equation (121) yields the following expression for the variation δ E τ / Φ 2 in terms of the second-level adjoint function e 2 ( 2 ) t e 21 ( 2 ) t , e 22 ( 2 ) t :
δ E τ ; Φ 1 , Φ 2 Φ 2 = 2 E τ ; Φ 1 , Φ 2 Φ 1 Φ 2 δ Φ 1 + 2 E τ ; Φ 1 , Φ 2 Φ 2 Φ 2 δ Φ 2 = 0 τ e 21 ( 2 ) t δ Φ 1 E 2 t + δ Φ 2 d t 2 δ Φ 1 0 τ e 22 ( 2 ) t e ( 1 ) t E t d t .
From Equation (137), we can infer the following:
2 E τ Φ 1 Φ 2 = 0 τ e 21 ( 2 ) t E t + 2 e 22 ( 2 ) t e ( 1 ) t E t d t ;
2 E τ Φ 2 Φ 2 = 0 τ e 21 ( 2 ) t d t .
It is important to note that the second-order mixed partial derivative 2 E τ / Φ 1 Φ 2 = 2 E τ / Φ 2 Φ 1 can be obtained from either Equation (138) or Equation (130). The equivalence between these expressions provides a stringent verification of the accuracy of solving (on the one hand) the 2nd-LASS comprising Equations (126) and (127) to obtain e 1 ( 2 ) t e 11 ( 2 ) t , e 12 ( 2 ) t and solving (on the other hand) the 2nd-LASS comprising Equations (135) and (136) to obtain e 2 ( 2 ) t e 21 ( 2 ) t , e 22 ( 2 ) t .
Notably, only two “large-scale computations” are necessary for solving the two distinct 2nd-LASS for obtaining the second-level adjoint functions e 1 ( 2 ) t e 11 ( 2 ) t , e 12 ( 2 ) t and e 2 ( 2 ) t e 21 ( 2 ) t , e 22 ( 2 ) t involved in the computation of the three distinct second-order response sensitivities, i.e., 2 E τ / Φ 1 Φ 1 , 2 E τ / Φ 1 Φ 2 and 2 E τ / Φ 2 Φ 2 , with respect to the two feature functions Φ 1 and Φ 2 . The second-order sensitivities of the response E τ with respect to the primary model parameters are obtained by using the total differential of the expression provided in Equation (78) in conjunction with the parameter dependencies of the functions Φ 1 p and Φ 2 p defined in Equation (66), and with the expressions obtained in Equations (129), (130), (138) and (139).
In summary, computing all of the second-order sensitivities of the response E τ with respect to the feature functions and initial conditions using the original NODE equations requires as many large-scale computations as there are component features (three components) functions and initial conditions (two initial conditions), for a total of five “large-scale” computations to solve the respective 2nd-LASS systems, for a total of 5 × 6 = 30 differential equations (since each of the respective 2nd-LASS comprises six differential equations). In contradistinction, computing all of the second-order sensitivities of the response E τ with respect to the primary model parameters using the modified NODE equation for the single dependent variable E t requires two “large-scale” computations to solve the 2nd-LASS represented by Equation (126) and, respectively, Equation (135), each involving two-coupled differential equations, amounting to a total of four differential equations, followed by inexpensive computations using the “chain rule” of differentiation. Hence, it is very advantageous to extract equations involving as few dependent variables as possible from the original NODE system (like the single equation for E t in the illustrative example in this subsection), even if this procedure entails modifications to the original NODE system.
After having obtained the second-order sensitivities 2 E τ / Φ 1 Φ 1 , 2 E τ / Φ 1 Φ 2 and 2 E τ / Φ 2 Φ 2 , the exact expressions of the second-order sensitivities 2 E τ / p j p i , i , j = 1 , , 7 of the response E τ with respect to the components of the vector of primary parameters p p 1 , , p 7 α T , l p , c p , γ , σ f , N f , ψ 0 can be determined analytically by applying the chain rule of differentiation to the expression of the first-order sensitivities E τ / p i , i = 1 , , 7 , shown in Equation (78), to obtain the following relation:
2 E τ ; Φ 1 ; Φ 2 p j p i = p j E τ Φ 1 Φ 1 p p i + E τ Φ 2 Φ 2 p p i ; i , j = 1 , , 7 .
After having obtained the second-order sensitivities 2 E τ / p j p i , i , j = 1 , , 7 , the second-order sensitivities 2 T τ / p j p i , i , j = 1 , , 7 of the temperature response T τ can be determined analytically by applying the chain rule of differentiation to the expression of the first-order sensitivities T τ / p i , i = 1 , , 7 , shown in Equation (86), to obtain the following relation:
2 T τ p j p i = p j 1 / c p p i E τ + 1 c p E τ p i = 2 1 / c p p j p i E τ + E τ p j 1 / c p p i + 1 / c p p j E τ p i + 1 c p 2 E τ p j p i ; i , j = 1 , , 7 .
After having obtained the second-order sensitivities 2 E τ / p j p i , i , j = 1 , , 7 , the second-order sensitivities 2 ψ τ / p j p i , i , j = 1 , , 7 of the neutron flux response ψ τ can be determined analytically by applying the chain rule of differentiation to the expression of the first-order sensitivities ψ τ / p i , i = 1 , , 7 , shown in Equation (88), to obtain the following relations:
2 ψ τ p j ψ 0 = 0 ; j = 1 , , 7 ;
2 ψ τ p j p i = p j E 2 τ p i α T 2 l p c p γ σ f N f + α T E τ l p c p γ σ f N f E τ p i ; i , j = 1 , , 7 .

4. Application of the 2nd-FASAM-NODE Methodology to Compute Second-Order Sensitivities of an Illustrative Nordheim–Fuchs Model Response Involving Decoder Weights

This Section presents the application of the 2nd-FASAM-NODE methodology to compute second-order sensitivities of the thermal conductivity in the Nordheim–Fuchs model, which is a representative model response involving decoder weights subject to uncertainties. Section 4.1 presents the determination of the second-order sensitivities by applying the 2nd-FASAM-NODE methodology to the original NODE structure. Section 4.2 presents the alternative computation of these second-order sensitivities by applying the 2nd-FASAM-NODE methodology to the decoupled NODE structure. It will be shown that using a decoupled structure, whenever possible, is even more advantageous for the computation of second-order sensitivities than for the computation of the first-order ones.

4.1. Second-Order Sensitivities of the Thermal Conductivity Response K τ Computed Using the Coupled NODE Equations

The application of the 2nd-FASAM-NODE methodology to a Nordheim–Fuchs model response involving decoder weights will be illustrated by considering the thermal conductivity response K τ . The first-order sensitivities of K τ were obtained in Section 2.3, as follows:
(i)
The first-order sensitivities of K τ 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 K τ 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 K τ 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 K τ with Respect to the Decoder Weights φ 0 , φ 1 and φ 2

A.
Second-order sensitivities stemming from K T τ / φ 0
It is evident from the expression of K T τ / φ 0 obtained in Equation (54) that all of the second-order sensitivities which stem from this first-order sensitivity are identically zero, i.e., 2 K T τ / φ i φ 0 0 , for i = 1 , 2 , 3 ; 2 K T τ / F i φ 0 0 , for i = 1 , 2 , 3 ; a, for i = 1 , 2 , 3 .
B.
Second-order sensitivities stemming from  K T τ / φ 1
The second-order sensitivities which stem from the first-order sensitivity K T τ / φ 1 are determined from the G-differential of the expression provided in Equation (55), which is obtained, by definition, as follows:
δ K T τ φ 1 d d ε 0 τ T 0 t + ε δ T t δ t τ d t ε = 0 = 0 τ δ T t δ t τ d t .
As indicated by Equation (144), the G-differential δ K T τ / φ 1 depends only on the variation δ T t . It therefore follows that δ K T τ / φ 1 can be evaluated by following the procedure outlined in Section 2.3, to obtain the following expression:
δ K T τ / φ 1 = b 1 ( 2 ) 0 δ ψ 0 + b 3 ( 2 ) 0 δ T 0 + 0 τ b ( 2 ) t f h ; F F δ F d t 2 K τ ψ 0 φ 1 δ ψ 0 + 2 K τ T 0 φ 1 δ T 0 + i = 1 3 2 K τ F i φ 1 δ F i ,
where the second-level adjoint sensitivity function b ( 2 ) t b 1 ( 2 ) t , b 2 ( 2 ) t , b 3 ( 2 ) t is the solution of the following Second-Level Adjoint Sensitivity System (2nd-LASS), which is to be solved at the nominal values for all parameters and original functions:
d b ( 2 ) t d t J b ( 2 ) t = 0 , 0 , 1 ;
b ( 2 ) τ b 1 ( 2 ) τ , b 2 ( 2 ) τ , b 3 ( 2 ) τ = 0 , 0 , 0 .
It follows from Equation (145) that the respective second-order sensitivities have the following expressions:
2 K τ ψ 0 φ 1 = b 1 ( 2 ) 0 = 0 τ b 1 ( 2 ) t δ t d t ;
2 K τ T 0 φ 1 = b 3 ( 2 ) 0 = 0 τ b 3 ( 2 ) t δ t d t ;
2 K τ F 1 φ 1 = F 3 θ 0 τ h 1 t h 2 t b 1 ( 2 ) t d t ;
2 K τ F 2 φ 1 = 0 τ b 2 ( 2 ) t + F 3 θ b 3 ( 2 ) t h 1 t d t ;
2 K τ F 3 φ 1 = 0 τ F 1 θ b 1 ( 2 ) t h 2 t + F 2 θ b 3 ( 2 ) t h 1 t d t .
C.
Second-order sensitivities stemming from  K T τ / φ 2
The second-order sensitivities stemming from the first-order sensitivity K T τ / φ 2 are determined from the G-differential of the expression provided in Equation (56), which is obtained, by definition, as follows:
δ K T τ φ 2 d d ε 0 τ T 0 t + ε δ T t 2 δ t τ d t ε = 0 = 2 0 τ T 0 t δ T t δ t τ d t .
The second-order sensitivities stemming from the G-differential δ K T τ / φ 2 obtained in Equation (153) are derived by following the same procedure as outlined in Section 2.3, which was also used above to obtain the second-order sensitivities stemming from K T τ / φ 1 . The final expressions of these second-order sensitivities are as follows:
2 K τ ψ 0 φ 2 = c 1 ( 2 ) 0 = 0 τ c 1 ( 2 ) t δ t d t ;
2 K τ T 0 φ 2 = c 3 ( 2 ) 0 = 0 τ c 3 ( 2 ) t δ t d t ;
2 K τ F 1 φ 2 = F 3 θ 0 τ h 1 t h 2 t c 1 ( 2 ) t d t ;
2 K τ F 2 φ 2 = 0 τ b 2 ( 2 ) t + F 3 θ c 3 ( 2 ) t h 1 t d t ;
2 K τ F 3 φ 2 = 0 τ F 1 θ c 1 ( 2 ) t h 2 t + F 2 θ c 3 ( 2 ) t h 1 t d t ;
where the second-order adjoint sensitivity function c ( 2 ) t c 1 ( 2 ) t , c 2 ( 2 ) t , c 3 ( 2 ) t is the solution of the following Second-Level Adjoint Sensitivity System (2nd-LASS):
d c ( 2 ) t d t J c ( 2 ) t = 0 , 0 , 2 T t ;
c ( 2 ) τ c 1 ( 2 ) τ , c 2 ( 2 ) τ , c 3 ( 2 ) τ = 0 , 0 , 0 .

4.1.2. Second-Order Sensitivities Stemming from the First-Order Sensitivities with Respect to the Feature Functions F 1 , F 2 and F 3

A.
Second-order sensitivities stemming from  K τ / F 1
The second-order sensitivities stemming from the first-order sensitivity K τ / F 1 are obtained from the G-differential δ K T τ / F 1 , which is obtained by using Equation (62), as follows:
δ K τ F 1 d d ε 0 τ F 3 0 + ε δ F 3 h 1 0 t + ε δ h 1 t × h 2 0 t + ε δ h 2 t b 1 ( 1 , 0 ) t + ε δ b 1 ( 1 ) t d t ε = 0 = δ F 3 0 τ h 1 0 t h 2 0 t b 1 ( 1 , 0 ) t d t + F 3 0 0 τ δ h 1 t h 2 0 t b 1 ( 1 , 0 ) t d t + F 3 0 0 τ δ h 2 t h 1 0 t b 1 ( 1 , 0 ) t d t + F 3 0 0 τ δ b 1 ( 1 ) t h 1 0 t h 2 0 t d t = δ K τ / F 1 d i r + δ K τ / F 1 i n d ,
where the superscript “zero” indicates, as before, that the respective quantities are to be evaluated at their nominal values. The following definitions were used for the “direct-effect” and, respectively, “indirect-effect” terms defined in Equation (161):
δ K τ / F 1 d i r δ F 3 0 τ h 1 0 t h 2 0 t b 1 ( 1 , 0 ) t d t
δ K τ / F 1 i n d F 3 0 0 τ δ h 1 t h 2 0 t b 1 ( 1 , 0 ) t d t + F 3 0 0 τ δ h 2 t h 1 0 t b 1 ( 1 , 0 ) t d t + F 3 0 0 τ δ b 1 ( 1 ) t h 1 0 t h 2 0 t d t .
The variational function δ b 1 t δ b 1 ( 1 ) t , δ b 2 ( 1 ) t , δ b 3 ( 1 ) t is the solution of the G-differentiated First-Level Adjoint Sensitivity System defined by Equations (58) and (59), which is obtained by applying the definition of the G-differential to these equations in order to obtain the following relations:
d d t δ b 1 ( 1 ) t = δ b 1 ( 1 ) t F 1 F 3 h 2 t δ b 2 ( 1 ) t F 2 δ b 3 ( 1 ) t F 2 F 3 δ h 2 t F 1 F 3 b 1 ( 1 ) t δ F 1 F 3 + δ F 3 F 1 h 2 t b 1 ( 1 ) t δ F 2 b 2 ( 1 ) t δ F 2 F 3 + δ F 3 F 2 b 3 ( 1 ) t ;
d d t δ b 2 ( 1 ) t = δ b 1 ( 1 ) t F 1 F 3 h 1 t δ h 1 t F 1 F 3 b 1 ( 1 ) t δ F 1 F 3 + δ F 3 F 1 h 1 t b 1 ( 1 ) t ,
d d t δ b 3 ( 1 ) t = δ φ 1 + 2 δ φ 2 h 3 t + 2 φ 2 δ h 3 t δ t τ .
δ b 1 τ δ b 1 ( 1 ) τ , δ b 2 ( 1 ) τ , δ b 3 ( 1 ) τ = 0 , 0 , 0
The indirect-effect term defined by Equation (163) is evaluated by following the same procedural steps as described in Section 3.1, which comprises the following sequence of steps:
  • 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 u 2 u 1 2 t , u 2 2 t H 2 Ω t , u 1 2 t u 1 , 1 2 t , u 1 , 2 2 t , u 1 , 3 2 t and u 2 2 t u 2 , 1 2 t , u 2 , 2 2 t , u 2 , 3 2 t to obtain the following relationship:
    0 τ u 1 , 1 2 t d d t δ h 1 t d t 0 τ u 1 , 1 2 t F 1 F 3 δ h 1 t h 2 t + h 1 t δ h 2 t d t + 0 τ u 1 , 2 2 d d t δ h 2 t d t 0 τ u 1 , 2 2 F 2 δ h 1 t d t + 0 τ u 1 , 3 2 d d t δ h 3 t d t 0 τ u 1 , 3 2 F 2 F 3 δ h 1 t d t + 0 τ u 2 , 1 2 d d t δ b 1 ( 1 ) t d t + 0 τ u 2 , 1 2 δ b 1 ( 1 ) t F 1 F 3 h 2 t + δ b 2 ( 1 ) t F 2 + δ b 3 ( 1 ) t F 2 F 3 + δ h 2 t F 1 F 3 b 1 ( 1 ) t d t 0 τ u 2 , 2 2 d d t δ b 2 ( 1 ) t d t + 0 τ u 2 , 2 2 δ b 1 ( 1 ) t F 1 F 3 h 1 t + δ h 1 t F 1 F 3 b 1 ( 1 ) t d t + 0 τ u 2 , 3 2 d d t δ b 3 ( 1 ) t d t + 2 φ 2 0 τ δ h 3 t u 2 , 3 2 δ t τ d t = r 2 ,
    r 2 0 τ u 1 , 1 2 t δ F 1 F 3 + F 1 δ F 3 h 1 t h 2 t d t + 0 τ u 1 , 2 2 δ F 2 h 1 t d t + 0 τ u 1 , 3 2 δ F 2 F 3 + F 2 δ F 3 h 1 t d t 0 τ u 2 , 1 2 δ F 1 F 3 + δ F 3 F 1 h 2 t b 1 ( 1 ) t + δ F 2 b 2 ( 1 ) t + δ F 2 F 3 + δ F 3 F 2 b 3 ( 1 ) t d t 0 τ u 2 , 2 2 δ F 1 F 3 + δ F 3 F 1 h 1 t b 1 ( 1 ) t d t 0 τ u 2 , 3 2 δ φ 1 + 2 δ φ 2 h 3 t δ t τ d t .
  • Integrating the left side of Equation (168) by parts over the independent variable t yields the following relation:
    0 τ δ h 1 t d u 1 , 1 2 t d t u 1 , 1 2 t F 1 F 3 δ h 1 t h 2 t + h 1 t δ h 2 t d t + u 1 , 1 2 τ δ h 1 τ u 1 , 1 2 0 δ h 1 0 + u 1 , 2 2 τ δ h 2 τ u 1 , 2 2 0 δ h 2 0 0 τ δ h 2 t d u 1 , 2 2 d t + u 1 , 2 2 F 2 δ h 1 t d t + u 1 , 3 2 τ δ h 3 τ u 1 , 3 2 0 δ h 3 0 0 τ δ h 3 t d u 1 , 3 2 d t + u 1 , 3 2 F 2 F 3 δ h 1 t d t + u 2 , 1 2 τ δ b 1 ( 1 ) τ u 2 , 1 2 0 δ b 1 ( 1 ) 0 + 0 τ δ b 1 ( 1 ) t d u 2 , 1 2 d t + u 2 , 1 2 δ a 1 ( 1 ) t F 1 F 3 h 2 t + δ b 2 ( 1 ) t F 2 + δ b 3 ( 1 ) t F 2 F 3 + δ h 2 t F 1 F 3 b 1 ( 1 ) t d t + u 2 , 2 2 τ δ b 2 ( 1 ) τ u 2 , 2 2 0 δ b 2 ( 1 ) 0 + 0 τ δ b 2 ( 1 ) t d u 2 , 2 2 d t + u 2 , 2 2 δ b 1 ( 1 ) t F 1 F 3 h 1 t + δ h 1 t F 1 F 3 b 1 ( 1 ) t d t + u 2 , 3 2 τ δ b 3 ( 1 ) τ u 2 , 3 2 0 δ b 3 ( 1 ) 0 0 τ δ b 3 ( 1 ) t d u 2 , 3 2 d t d t + 2 φ 2 0 τ δ h 3 t u 2 , 3 2 t δ t τ d t = r 2 ,
  • The unknown terms on the left side of Equation (170) are eliminated by imposing the following conditions:
    u 1 , 1 2 τ = 0 ; u 1 , 2 2 τ = 0 ; u 1 , 3 2 τ = 0 ;
    u 2 , 1 2 0 = 0 ; u 2 , 2 2 0 = 0 ; u 2 , 3 2 0 = 0 .
  • 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:
    u 1 , 1 2 0 δ ψ 0 u 1 , 3 2 0 δ T 0 + 0 τ δ h 1 t d u 1 , 1 2 t d t u 1 , 1 2 t F 1 F 3 h 2 t u 1 , 2 2 F 2 u 1 , 3 2 F 2 F 3 + u 2 , 2 2 F 1 F b 1 ( 1 ) t + 0 τ δ h 2 t d u 1 , 2 2 d t u 1 , 1 2 t F 1 F 3 h 1 t + F 1 F 3 u 1 ( 1 ) t d t 0 τ δ h 3 t d u 1 , 3 2 d t + 2 φ 2 u 2 , 3 2 t δ t τ d t + 0 τ δ b 1 ( 1 ) t d u 2 , 1 2 d t + u 2 , 1 2 F 1 F 3 h 2 t + u 2 , 2 2 F 1 F 3 h 1 t + 0 τ δ b 2 ( 1 ) t d u 2 , 2 2 d t + u 2 , 1 2 F 2 d t + 0 τ δ b 3 ( 1 ) t d u 2 , 3 2 d t + u 2 , 1 2 F 2 F 3 d t = r 2 ,
  • 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 u 2 u 1 2 t , u 2 2 t :
    d u 1 , 1 2 t d t u 1 , 1 2 t F 1 F 3 h 2 t u 1 , 2 2 t F 2 u 1 , 3 2 t F 2 F 3 + u 2 , 2 2 t F 1 F 3 b 1 ( 1 ) t = F 3 b 1 ( 1 ) t h 2 t ;
    d u 1 , 2 2 t d t u 1 , 1 2 t F 1 F 3 h 1 t + F 1 F 3 u 1 ( 1 ) t = F 3 b 1 ( 1 ) t h 1 t ;
    d u 1 , 3 2 d t + 2 φ 2 u 2 , 3 2 t δ t τ = 0 ;
    d u 1 , 3 2 d t + 2 φ 2 u 2 , 3 2 t δ t τ = 0 ;
    d u 2 , 2 2 t d t + u 2 , 1 2 t F 2 = 0 ;
    d u 2 , 3 2 t d t + u 2 , 1 2 t F 2 F 3 = 0 .
The system of equations comprising Equations (171), (172), (174)–(179) constitutes the “Second-Level Adjoint Sensitivity System (2nd-LASS)” for the second-level adjoint sensitivity function u 2 u 1 2 t , u 2 2 t . Evidently, the 2nd-LASS is linear in u 2 u 1 2 t , u 2 2 t and is independent of parameter variations. Notably, this system of equations does not need to be solved simultaneously, but can be solved sequentially, by first solving Equations (177)–(179) subject to the initial conditions given in Equation (172) to determine the function u 2 2 t , and subsequently using the function u 2 2 t in Equations (174)–(176) to solve these equations subject to the “final-time” condition given in Equation (171), to obtain the function u 1 2 t . The 2nd-LASS is to be solved using the nominal values of all functions and parameters/weights, but the superscript “zero” has been omitted for notational simplicity.
6.
Using Equations (174)–(179) in Equation (173) yields the following alternative expression, in terms of u 2 u 1 2 t , u 2 2 t , for the “indirect-effect” term δ K τ / F 1 i n d defined in Equation (163):
δ K τ / F 1 i n d = r 2 + u 1 , 1 2 0 δ ψ 0 + u 1 , 3 2 0 δ T 0 .
7.
Using in Equation (180) the definition of the function r 2 provided in Equation (169) and adding the resulting expression for the indirect-effect term δ K τ / F 1 i n d to the expression for the direct-effect term δ K τ / F 1 d i r provided in Equation (162) yields the following expression for the total first-order G-differential δ K τ / F 1 :
δ K τ / F 1 2 K τ ψ 0 F 1 δ ψ 0 + 2 K τ T 0 F 1 δ T 0 + i = 1 3 2 K τ F i F 1 δ F i , = δ F 3 0 τ h 1 t h 2 t b 1 ( 1 ) t d t + u 1 , 1 2 0 δ ψ 0 + u 1 , 3 2 0 δ T 0 + 0 τ u 1 , 1 2 t δ F 1 F 3 + F 1 δ F 3 h 1 t h 2 t d t + 0 τ u 1 , 2 2 δ F 2 h 1 t d t + 0 τ u 1 , 3 2 δ F 2 F 3 + F 2 δ F 3 h 1 t d t 0 τ u 2 , 1 2 δ F 1 F 3 + δ F 3 F 1 h 2 t b 1 ( 1 ) t + δ F 2 b 2 ( 1 ) t + δ F 2 F 3 + δ F 3 F 2 b 3 ( 1 ) t d t 0 τ u 2 , 2 2 δ F 1 F 3 + δ F 3 F 1 h 1 t b 1 ( 1 ) t d t 0 τ u 2 , 3 2 δ φ 1 + 2 δ φ 2 h 3 t δ t τ d t .
The expression shown in Equation (181) is to be evaluated at the nominal values of all functions and parameters/weights but the superscript “zero” (which has been used to indicate this fact) has been omitted for notational simplicity.
Identifying in Equation (181) the quantities that multiply the respective variations in the initial conditions and feature functions yields the following expressions for the second-order sensitivities stemming from δ K τ / F 1 :
2 K τ ψ 0 F 1 = u 1 , 1 2 0 ;
2 K τ T 0 F 1 = u 1 , 3 2 0 ;
2 K τ F 1 F 1 = F 3 0 τ u 1 , 1 2 t h 1 t h 2 t u 2 , 1 2 t h 2 t b 1 ( 1 ) t u 2 , 2 2 t h 1 t b 1 ( 1 ) t d t ;
2 K τ F 2 F 1 = 0 τ u 1 , 2 2 t h 1 t d t + F 3 0 τ u 1 , 3 2 t h 1 t d t 0 τ u 2 , 1 2 b 2 ( 1 ) t + F 3 b 3 ( 1 ) t d t ;
2 K τ F 3 F 1 = 0 τ h 1 t h 2 t b 1 ( 1 ) t d t + F 1 0 τ u 1 , 1 2 t h 1 t h 2 t d t + F 2 0 τ u 1 , 3 2 t h 1 t d t 0 τ u 2 , 1 2 t F 1 h 2 t b 1 ( 1 ) t + F 2 b 3 ( 1 ) t d t F 1 0 τ u 2 , 2 2 t h 1 t b 1 ( 1 ) t d t . .
2 K τ φ 1 F 1 = 0 τ u 2 , 3 2 t δ t τ d t = u 2 , 3 2 τ ;
2 K τ φ 2 F 1 = 2 0 τ u 2 , 3 2 t h 3 t δ t τ d t = 2 u 2 , 3 2 τ h 3 τ .
The expressions of the second-order sensitivities represented by Equations (182)–(188) are also to be evaluated using the nominal values of all functions and parameters/weights, but the superscript “zero” has been omitted for notational simplicity.
B.
Second-order sensitivities stemming from  K τ / F 2
The second-order sensitivities stemming from the first-order sensitivity K τ / F 2 are obtained from the G-differential δ K T τ / F 2 , which is in turn obtained by using Equation (63), as follows:
δ K τ F 2 d d ε 0 τ b 2 ( 1 , 0 ) t + ε δ b 2 ( 1 ) t h 1 0 t + ε δ h 1 t d t ε = 0 + d d ε 0 τ F 3 0 + ε δ F 3 b 3 ( 1 , 0 ) t + ε δ b 3 ( 1 ) t h 1 0 t + ε δ h 1 t d t ε = 0 = 0 τ δ b 2 ( 1 ) t h 1 0 t d t + 0 τ δ h 1 t b 2 ( 1 , 0 ) t d t + δ F 3 0 τ b 3 ( 1 , 0 ) t h 1 0 t d t + F 3 0 0 τ δ b 3 ( 1 ) t h 1 0 t d t + F 3 0 0 τ δ h 1 t b 3 ( 1 , 0 ) t d t = δ K τ / F 2 d i r + δ K τ / F 2 i n d ,
where the superscript “zero” indicates, as before, that the respective quantities are to be evaluated at their nominal values. The following definitions were used for the “direct-effect” and, respectively, “indirect-effect” terms defined in Equation (189):
δ K τ / F 2 d i r δ F 3 0 τ b 3 ( 1 , 0 ) t h 1 0 t d t ,
δ K τ / F 2 i n d 0 τ δ b 2 ( 1 ) t h 1 0 t d t + 0 τ δ h 1 t b 2 ( 1 , 0 ) t d t + F 3 0 0 τ δ b 3 ( 1 ) t h 1 0 t d t + F 3 0 0 τ δ h 1 t b 3 ( 1 , 0 ) t d t .
The indirect-effect term δ K τ / F 2 i n d , defined by Equation (191), is evaluated by following the same procedural steps as used above for determining the second-order sensitivities stemming from δ K τ / F 1 i n d . The following expressions are ultimately obtained for the second-order sensitivities stemming from δ K T τ / F 2 :
2 K τ ψ 0 F 2 = w 1 , 1 2 0 ;
2 K τ T 0 F 2 = w 1 , 3 2 0 ;
2 K τ F 1 F 2 = F 3 0 τ w 1 , 1 2 t h 1 t h 2 t w 2 , 1 2 t h 2 t b 1 ( 1 ) t w 2 , 2 2 t h 1 t b 1 ( 1 ) t d t ;
2 K τ F 2 F 2 = 0 τ w 1 , 2 2 t h 1 t d t + F 3 0 τ w 1 , 3 2 t h 1 t d t 0 τ w 2 , 1 2 b 2 ( 1 ) t + F 3 b 3 ( 1 ) t d t ;
2 K τ F 3 F 2 = 0 τ b 3 ( 1 ) t h 1 t d t + F 1 0 τ w 1 , 1 2 t h 1 t h 2 t d t + F 2 0 τ w 1 , 3 2 t h 1 t d t 0 τ w 2 , 1 2 t F 1 h 2 t b 1 ( 1 ) t + F 2 b 3 ( 1 ) t d t F 1 0 τ w 2 , 2 2 t h 1 t b 1 ( 1 ) t d t . .
2 K τ φ 1 F 2 = 0 τ w 2 , 3 2 t δ t τ d t = w 2 , 3 2 τ ;
2 K τ φ 2 F 2 = 2 0 τ w 2 , 3 2 t h 3 t δ t τ d t = 2 w 2 , 3 2 τ h 3 τ .
The second-level adjoint sensitivity function w 2 w 1 2 t , w 2 2 t H 2 Ω t , where w 1 2 t w 1 , 1 2 t , w 1 , 2 2 t , w 1 , 3 2 t and w 2 2 t w 2 , 1 2 t , w 2 , 2 2 t , w 2 , 3 2 t , which appears in the expression provided in Equations (192)–(198), is the solution of the following Second-Level Adjoint Sensitivity System (2nd-LASS):
d w 1 , 1 2 t d t w 1 , 1 2 t F 1 F 3 h 2 t w 1 , 2 2 t F 2 w 1 , 3 2 t F 2 F 3 + w 2 , 2 2 t F 1 F 3 b 1 ( 1 ) t = b 2 ( 1 ) t + F 3 b 3 ( 1 ) t ;
d w 1 , 2 2 t d t w 1 , 1 2 t F 1 F 3 h 1 t + F 1 F 3 b 1 ( 1 ) t = 0 ;
d w 1 , 3 2 t d t + 2 φ 2 w 2 , 3 2 t δ t τ = 0 ;
d w 2 , 1 2 t d t + w 2 , 1 2 t F 1 F 3 h 2 t + w 2 , 2 2 t F 1 F 3 h 1 t = 0 ;
d w 2 , 2 2 t d t + w 2 , 1 2 t F 2 = h 1 t ;
d w 2 , 3 2 t d t + w 2 , 1 2 t F 2 F 3 = F 3 h 1 t ;
w 1 , 1 2 τ = 0 ; w 1 , 2 2 τ = 0 ; w 1 , 3 2 τ = 0 ;
w 2 , 1 2 0 = 0 ; w 2 , 2 2 0 = 0 ; w 2 , 3 2 0 = 0 .
The 2nd-LASS represented by Equations (199)–(206) is to be solved using the nominal values of all required functions and parameters/weights, but the superscript “zero” has been omitted for notational simplicity. Furthermore, the expressions of the second-order sensitivities represented by Equations (192)–(198) are also evaluated using the nominal values of all functions and parameters/weights, but the superscript “zero” has been omitted here, as well, for notational simplicity.
C.
Second-order sensitivities stemming from  K τ / F 3
The second-order sensitivities stemming from the first-order sensitivity K τ / F 3 are obtained from the G-differential δ K T τ / F 3 of K τ / F 3 , which is obtained using Equation (64) as follows:
δ K τ F 3 d d ε 0 τ F 2 0 + ε δ F 2 b 3 ( 1 , 0 ) t + ε δ b 3 ( 1 ) t h 1 0 t + ε δ h 1 t d t ε = 0 + d d ε 0 τ F 1 0 + ε δ F 1 b 1 ( 1 , 0 ) t + ε δ b 1 ( 1 ) t h 2 0 t + ε δ h 2 t h 1 0 t + ε δ h 1 t d t ε = 0 = δ F 2 0 τ b 3 ( 1 , 0 ) t h 1 0 t d t + F 2 0 0 τ h 1 0 t δ b 3 ( 1 ) t d t + F 2 0 0 τ b 3 ( 1 , 0 ) t δ h 1 t d t + δ F 1 0 τ b 1 ( 1 , 0 ) t h 2 0 t h 1 0 t d t + F 1 0 0 τ δ b 1 ( 1 ) t h 2 0 t h 1 0 t d t + F 1 0 0 τ b 1 ( 1 , 0 ) t δ h 2 t h 1 0 t d t + F 1 0 0 τ b 1 ( 1 , 0 ) t h 2 0 t δ h 1 t d t = δ K τ / F 3 d i r + δ K τ / F 3 i n d .
The superscript “zero” in Equation (207) indicates, as before, that the respective quantities are to be evaluated at their nominal values. The following definitions were used for the “direct-effect” and, respectively, “indirect-effect” terms in Equation (207):
δ K τ / F 3 d i r δ F 1 0 τ b 1 ( 1 , 0 ) t h 1 0 t h 2 0 t d t + δ F 2 0 τ b 3 ( 1 , 0 ) t h 1 0 t d t ,
δ K τ / F 3 i n d F 1 0 0 τ δ b 1 ( 1 ) t h 2 0 t h 1 0 t d t + F 1 0 0 τ b 1 ( 1 , 0 ) t δ h 2 t h 1 0 t d t + F 1 0 0 τ b 1 ( 1 , 0 ) t h 2 0 t δ h 1 t d t + F 2 0 0 τ h 1 0 t δ b 3 ( 1 ) t d t + F 2 0 0 τ b 3 ( 1 , 0 ) t δ h 1 t d t .
The indirect-effect term defined by Equation (209) is evaluated by following the same procedural steps as previously described when determining the second-order sensitivities stemming from δ K τ / F 1 i n d and from δ K τ / F 2 i n d . The following expressions are ultimately obtained for the second-order sensitivities stemming from δ K T τ / F 3 :
2 K τ ψ 0 F 3 = z 1 , 1 2 0 ;
2 K τ T 0 F 3 = z 1 , 3 2 0 ;
2 K τ F 1 F 3 = 0 τ b 1 ( 1 ) t h 1 t h 2 t d t + F 3 0 τ z 1 , 1 2 t h 1 t h 2 t z 2 , 1 2 t h 2 t b 1 ( 1 ) t z 2 , 2 2 t h 1 t b 1 ( 1 ) t d t ;
2 K τ F 2 F 3 = 0 τ b 3 ( 1 ) t h 1 t d t + 0 τ z 1 , 2 2 t h 1 t d t + F 3 0 τ z 1 , 3 2 t h 1 t d t 0 τ z 2 , 1 2 b 2 ( 1 ) t + F 3 b 3 ( 1 ) t d t
2 K τ F 3 F 3 = F 1 0 τ z 1 , 1 2 t h 1 t h 2 t d t + F 2 0 τ z 1 , 3 2 t h 1 t d t 0 τ z 2 , 1 2 t F 1 h 2 t b 1 ( 1 ) t + F 2 b 3 ( 1 ) t d t F 1 0 τ z 2 , 2 2 t h 1 t b 1 ( 1 ) t d t .
2 K τ φ 1 F 3 = 0 τ z 2 , 3 2 t δ t τ d t = z 2 , 3 2 τ ;
2 K τ φ 2 F 3 = 2 0 τ z 2 , 3 2 t h 3 t δ t τ d t = 2 z 2 , 3 2 τ h 3 τ .
The second-level adjoint sensitivity function z 2 z 1 2 t , z 2 2 t H 2 Ω t , where z 1 2 t z 1 , 1 2 t , z 1 , 2 2 t , z 1 , 3 2 t and z 2 2 t z 2 , 1 2 t , z 2 , 2 2 t , z 2 , 3 2 t , which appears in the expressions provided in Equations (210)–(216), is the solution of the following Second-Level Adjoint Sensitivity System (2nd-LASS):
d z 1 , 1 2 t d t z 1 , 1 2 t F 1 F 3 h 2 t z 1 , 2 2 t F 2 z 1 , 3 2 t F 2 F 3 + z 2 , 2 2 t F 1 F 3 b 1 ( 1 ) t = F 2 b 3 ( 1 ) t ;
d z 1 , 2 2 t d t z 1 , 1 2 t F 1 F 3 h 1 t + F 1 F 3 b 1 ( 1 ) t = F 1 b 1 ( 1 ) t h 1 t ;
d z 1 , 3 2 t d t + 2 φ 2 z 2 , 3 2 t δ t τ = 0 ;
d z 2 , 1 2 t d t + z 2 , 1 2 t F 1 F 3 h 2 t + z 2 , 2 2 t F 1 F 3 h 1 t = F 1 h 2 t h 1 t ;
d z 2 , 2 2 t d t + z 2 , 1 2 t F 2 = 0 ;
d z 2 , 3 2 t d t + z 2 , 1 2 t F 2 F 3 = F 2 h 1 t ;
z 1 , 1 2 τ = 0 ; z 1 , 2 2 τ = 0 ; z 1 , 3 2 τ = 0 ;
z 2 , 1 2 0 = 0 ; z 2 , 2 2 0 = 0 ; z 2 , 3 2 0 = 0 .
The 2nd-LASS represented by Equations (217)–(224) is to be solved using the nominal values of all required functions and parameters/weights, but the superscript “zero” has been omitted for notational simplicity. Furthermore, the expressions of the second-order sensitivities represented by Equations (210)–(216) are also evaluated using the nominal values of all functions and parameters/weights, but the superscript “zero” has been omitted here, as well, for notational simplicity.

4.1.3. Second-Order Sensitivities Stemming from the First-Order Sensitivities with Respect to the Initial Conditions ψ 0 and T 0

A.
Second-order sensitivities stemming from  K τ / ψ 0
The second-order sensitivities stemming from the first-order sensitivity K τ / ψ 0 are determined from the G-differential δ K T τ / ψ 0 of K τ / ψ 0 , which is obtained using Equation (60) as follows:
δ K τ ψ 0 d d ε 0 τ b 1 ( 1 , 0 ) t + ε δ b 1 ( 1 ) t δ t d t ε = 0 = 0 τ δ b 1 ( 1 ) t δ t d t .
The second-order sensitivities stemming from the expression of δ K T τ / ψ 0 obtained in Equation (225) are determined by following the same procedural steps as described in Section 4.1.2. The following expressions are ultimately obtained for the second-order sensitivities stemming from δ K T τ / ψ 0 :
2 K τ ψ 0 ψ 0 = ξ 1 , 1 2 0 ;
2 K τ T 0 ψ 0 = ξ 1 , 3 2 0 ;
2 K τ F 1 ψ 0 = F 3 0 τ ξ 1 , 1 2 t h 1 t h 2 t ξ 2 , 1 2 t h 2 t b 1 ( 1 ) t ξ 2 , 2 2 t h 1 t b 1 ( 1 ) t d t ;
2 K τ F 2 ψ 0 = 0 τ ξ 1 , 2 2 t h 1 t d t + F 3 0 τ ξ 1 , 3 2 t h 1 t d t 0 τ ξ 2 , 1 2 b 2 ( 1 ) t + F 3 b 3 ( 1 ) t d t ;
2 K τ F 3 ψ 0 = F 1 0 τ ξ 1 , 1 2 t h 1 t h 2 t d t + F 2 0 τ ξ 1 , 3 2 t h 1 t d t 0 τ ξ 2 , 1 2 t F 1 h 2 t b 1 ( 1 ) t + F 2 b 3 ( 1 ) t d t F 1 0 τ ξ 2 , 2 2 t h 1 t b 1 ( 1 ) t d t .
2 K τ φ 1 ψ 0 = 0 τ ξ 2 , 3 2 t δ t τ d t = ξ 2 , 3 2 τ ;
2 K τ φ 2 ψ 0 = 2 0 τ ξ 2 , 3 2 t h 3 t δ t τ d t = 2 ξ 2 , 3 2 τ h 3 τ .
The second-level adjoint sensitivity function ξ 2 ξ 1 2 t , ξ 2 2 t H 2 Ω t , where ξ 1 2 t ξ 1 , 1 2 t , ξ 1 , 2 2 t , ξ 1 , 3 2 t and ξ 2 2 t ξ 2 , 1 2 t , ξ 2 , 2 2 t , ξ 2 , 3 2 t , which appears in the expressions provided in Equations (226)–(230), is the solution of the following Second-Level Adjoint Sensitivity System (2nd-LASS):
d ξ 1 , 1 2 t d t ξ 1 , 1 2 t F 1 F 3 h 2 t ξ 1 , 2 2 t F 2 ξ 1 , 3 2 t F 2 F 3 + ξ 2 , 2 2 t F 1 F 3 b 1 ( 1 ) t = 0 ;
d ξ 1 , 2 2 t d t ξ 1 , 1 2 t F 1 F 3 h 1 t + F 1 F 3 b 1 ( 1 ) t = 0 ;
d ξ 1 , 3 2 t d t = 0 ;
d ξ 2 , 1 2 t d t + ξ 2 , 1 2 t F 1 F 3 h 2 t + ξ 2 , 2 2 t F 1 F 3 h 1 t = δ t ;
d ξ 2 , 2 2 t d t + ξ 2 , 1 2 t F 2 = 0 ;
d ξ 2 , 3 2 t d t + ξ 2 , 1 2 t F 2 F 3 = 0 ;
ξ 1 , 1 2 τ = 0 ; ξ 1 , 2 2 τ = 0 ; ξ 1 , 3 2 τ = 0 ;
ξ 2 , 1 2 0 = 0 ; ξ 2 , 2 2 0 = 0 ; ξ 2 , 3 2 0 = 0 .
The 2nd-LASS represented by Equations (233)–(240) is to be solved using the nominal values of all required functions and parameters/weights, but the superscript “zero” has been omitted for notational simplicity. The expressions of the second-order sensitivities represented by Equations (226)–(230) are also evaluated using the nominal values of all functions and parameters/weights, but the superscript “zero” has been omitted here, as well, for notational simplicity. In particular, Equations (235) and (239) imply that ξ 1 , 3 2 t 0 , so that the general expressions shown in Equations (227), (229) and (230) simplify accordingly.
B.
Second-order sensitivities stemming from  K τ / T 0
The second-order sensitivities stemming from the first-order sensitivity K τ / T 0 are obtained from the G-differential δ K T τ / T 0 of K τ / T 0 , which is obtained using Equation (61) as follows:
δ K τ T 0 d d ε 0 τ b 3 ( 1 , 0 ) t + ε δ b 3 ( 1 ) t δ t d t ε = 0 = 0 τ δ b 3 ( 1 ) t δ t d t .
The second-order sensitivities stemming from the expression of δ K T τ / T 0 obtained in Equation (225) are determined by following the same procedural steps as described in Section 4.1.2. The following expressions are ultimately obtained for the second-order sensitivities stemming from δ K T τ / T 0 :
2 K τ ψ 0 T 0 = ζ 1 , 1 2 0 ;
2 K τ T 0 T 0 = ζ 1 , 3 2 0 ;
2 K τ F 1 T 0 = F 3 0 τ ζ 1 , 1 2 t h 1 t h 2 t ζ 2 , 1 2 t h 2 t b 1 ( 1 ) t ζ 2 , 2 2 t h 1 t b 1 ( 1 ) t d t ;
2 K τ F 2 T 0 = 0 τ ζ 1 , 2 2 t h 1 t d t + F 3 0 τ ζ 1 , 3 2 t h 1 t d t 0 τ ζ 2 , 1 2 b 2 ( 1 ) t + F 3 b 3 ( 1 ) t d t ;
2 K τ F 3 T 0 = F 1 0 τ ζ 1 , 1 2 t h 1 t h 2 t d t + F 2 0 τ ζ 1 , 3 2 t h 1 t d t 0 τ ζ 2 , 1 2 t F 1 h 2 t b 1 ( 1 ) t + F 2 b 3 ( 1 ) t d t F 1 0 τ ζ 2 , 2 2 t h 1 t b 1 ( 1 ) t d t .
2 K τ φ 1 T 0 = 0 τ ζ 2 , 3 2 t δ t τ d t = ζ 2 , 3 2 τ ;
2 K τ φ 2 T 0 = 2 0 τ ζ 2 , 3 2 t h 3 t δ t τ d t = 2 ζ 2 , 3 2 τ h 3 τ .
The second-level adjoint sensitivity function ζ 2 ζ 1 2 t , ζ 2 2 t H 2 Ω t , where ζ 1 2 t ζ 1 , 1 2 t , ζ 1 , 2 2 t , ζ 1 , 3 2 t and ζ 2 2 t ζ 2 , 1 2 t , ζ 2 , 2 2 t , ζ 2 , 3 2 t , which appears in the expressions provided in Equations (226)–(230), is the solution of the following Second-Level Adjoint Sensitivity System (2nd-LASS):
d ζ 1 , 1 2 t d t ζ 1 , 1 2 t F 1 F 3 h 2 t ζ 1 , 2 2 t F 2 ζ 1 , 3 2 t F 2 F 3 + ζ 2 , 2 2 t F 1 F 3 b 1 ( 1 ) t = 0 ;
d ζ 1 , 2 2 t d t ζ 1 , 1 2 t F 1 F 3 h 1 t + F 1 F 3 b 1 ( 1 ) t = 0 ;
d ζ 1 , 3 2 t d t = 0 ;
d ζ 2 , 1 2 t d t + ζ 2 , 1 2 t F 1 F 3 h 2 t + ζ 2 , 2 2 t F 1 F 3 h 1 t = 0 ;
d ζ 2 , 2 2 t d t + ζ 2 , 1 2 t F 2 = 0 ;
d ζ 2 , 3 2 t d t + ζ 2 , 1 2 t F 2 F 3 = δ t ;
ζ 1 , 1 2 τ = 0 ; ζ 1 , 2 2 τ = 0 ; ζ 1 , 3 2 τ = 0 ;
ζ 2 , 1 2 0 = 0 ; ζ 2 , 2 2 0 = 0 ; ζ 2 , 3 2 0 = 0 .
The 2nd-LASS represented by Equations (233)–(240) is to be solved using the nominal values of all required functions and parameters/weights, but the superscript “zero” has been omitted for notational simplicity. The expressions of the second-order sensitivities represented by Equations (226)–(230) are also evaluated using the nominal values of all functions and parameters/weights, but the superscript “zero” has been omitted here, as well, for notational simplicity. In particular, Equations (235) and (239) imply that ξ 1 , 3 2 t 0 , so that the general expressions shown in Equations (227), (229) and (230) simplify accordingly.

4.2. Second-Order Sensitivities of the Thermal Conductivity Response K τ Computed Using the Corresponding Single NODE Equation

Alternatively, the second-order sensitivities of the response K τ can be computed by differentiating analytically the single-NODE expressions which were obtained in Equation (89) for the first-order sensitivities of K τ . This procedure yields the following expressions for the second-order sensitivities 2 K τ / p j p i , i , j = 1 , , 7 :
2 K τ p j φ 0 = 0 ; 2 K τ p j φ 1 = T τ p j ; 2 K τ p j φ 2 = 2 T τ T τ p j ; j = 1 , , 7
2 K τ p j p i = φ 0 p j + p j φ 1 + 2 φ 2 T τ T τ p i ; i , j = 1 , , 7 .
For evaluating the expressions provided in Equations (257) and (258), the following expressions, previously obtained, are to be used: (i) the expressions for the first-order sensitivities T τ / p i , i = 1 , , 7 , provided in Equation (86); and (ii) the expressions for the second-order sensitivities 2 T τ / p j p i , i , j = 1 , , 7 , provided in Equation (141).

4.3. Computing the Second-Order Sensitivities of the Thermal Conductivity Response K τ : Using the Coupled NODE Versus the Single NODE Equations

Computing all of the second-order sensitivities 2 K τ / p j p i , i , j = 1 , , 7 using the coupled NODE equations requires solving 39 differential equations (the total number of differential equations included in eight 2nd-LASSs), as follows:
(i)
3 × 3 = 9 differential equations for obtaining the second-order sensitivities of K τ with respect to the decoder weights φ 0 , φ 1 and φ 2 .
(ii)
3 × 6 = 18 differential equations for obtaining the second-order sensitivities of K τ with respect to the feature functions F 1 , F 2 and F 3 .
(iii)
2 × 6 = 12 differential equations for obtaining the second-order sensitivities of K τ with respect to the initial conditions ψ 0 and T 0
Notably, the same operator appears on the left side of each of the eight 2nd-LASSs, i.e., all of these 2nd-LASSs have the following operator form: A y m = q m , m = 1 , , 8 . Only the source terms, symbolically represented by q m , which appear on the right sides of these eight 2nd-LASSs, differ from each other. Therefore, if the inverse operator A 1 could be stored, then the respective coupled differential equations could be easily solved to obtain y m = A 1 q m . Storing the operator A 1 may be feasible for small problems/systems but becomes impractical for large systems.
The mixed sensitivities 2 K τ / p j p i are computed twice, using distinct second-order adjoint functions, which provides a stringent test for verifying the accuracy of the computations needed for solving the 2nd-LASS involved in determining the respective second-order adjoint functions.
On the other hand, computing all of the second-order sensitivities 2 K τ / p j p i , i , j = 1 , , 7 using the single-NODE equations requires solving just 2 × 2 = 4 differential equations, namely:
(i)
solving Equations (126) and (127) for obtaining the second-level adjoint sensitivity function e 1 ( 2 ) t e 11 ( 2 ) t , e 12 ( 2 ) t , which is required for computing 2 E τ / Φ 1 Φ 1 and 2 E τ / Φ 1 Φ 2 ; and
(ii)
solving Equations (135) and (136) for obtaining the second-level adjoint sensitivity function e 2 ( 2 ) t e 21 ( 2 ) t , e 22 ( 2 ) t , which is required for computing 2 E τ / Φ 2 Φ 1 and 2 E τ / Φ 2 Φ 2 .
The above considerations clearly highlight the advantages of decoupling the original NODE system whenever possible, to obtain and solve equations for single dependent variables, such as E t , rather than solving the entire system of coupled equations simultaneously.

5. Discussion and Conclusions

A new sensitivity analysis methodology, called the “Second-Order Features Adjoint Sensitivity Analysis Methodology for Neural Ordinary Differential Equations” and abbreviated as “2nd-FASAM-NODE” has been developed in [1]. This work has illustrated the application of the 2nd-FASAM-NODE to a paradigm benchmark model, called the Nordheim–Fuchs phenomenological model for reactor safety [2,3]. This phenomenological model describes a short-time self-limiting power transient in a nuclear reactor system having a negative temperature coefficient in which a large amount of reactivity is suddenly inserted, either intentionally or by accident. The Nordheim–Fuchs model responses analyzed in this work included the model’s state functions/variables (namely: the time-dependent total energy released per cm3, the reactor’s time-dependent temperature and the reactor’s time-dependent neutron flux), and the reactor’s time-dependent thermal conductivity, which is a representative model response involving decoder weights. All of the parameters underlying the Nordheim–Fuchs phenomenological model are subject to uncertainties.
“Large-scale” computations are those needed to solve systems of equations (algebraic, differential, integral) such as those underlying the original model and the adjoint sensitivity systems of various levels (1st-LASS, 2nd-LASS, etc.). By comparison, the evaluations of integrals, such as those expressing then various sensitivities, by means of quadrature formulas, are “small-scale” computations. For large-scale systems involving many parameters, the conventional (e.g., “statistical” or “finite-difference”) methods are impractical for computing response sensitivities higher than first-order. The 2nd-FASAM-NODE methodology provides the most efficient means of computing the exact expressions of the second-order sensitivities of a model-decoder response with respect to the underlying model parameters and initial conditions, requiring at most as many large-scale computations as there are features/functions of model parameters. Importantly, the mixed second-order sensitivities are computed twice, using distinct adjoint functions, thus providing an intrinsic mechanism for verifying the accuracy of the respective first- and second-level adjoint functions. Ongoing research aims at developing similarly efficient methodologies for performing high-order sensitivity analysis of integral and integro-differential equation neural networks.

Funding

This research received no external funding.

Data Availability Statement

The original contributions presented in the study are included in the article, further inquiries can be directed to the corresponding author.

Conflicts of Interest

The author declares no conflict of interest.

References

  1. 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]
  2. Lamarsh, J.R. Introduction to Nuclear Reactor Theory; Adison-Wesley Publishing Co.: Reading, MA, USA, 1966; pp. 491–492. [Google Scholar]
  3. Hetrick, D.L. Dynamics of Nuclear Reactors; American Nuclear Society, Inc.: La Grange Park, IL, USA, 1993; pp. 164–174. [Google Scholar]
  4. 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]
  5. 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.

Share and Cite

MDPI and ACS Style

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

AMA Style

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 Style

Cacuci, 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 Style

Cacuci, 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

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop