Use of Fast Fourier Transform for Sensitivity Analysis

the LOFT L2-5 test were performed in the phase II of the BEMUSE research program. The nuclear LOFT integral test facility is a scale model of a pressurized water reactor. The objective of the test was to simulate a loss of coolant accident (LOCA) caused by a double-ended, off-shear guillotine cold leg rupture coupled with a loss of off-site power. The experiment was initiated by opening the quick opening blowdown valves in the broken loop hot and cold legs. The reactor scrammed and emergency core cooling systems started their injection. After initial heatup the core was


Introduction
The uncertainty quantification of code calculations is typically accompanied by a sensitivity analysis, in which the influence of the individual contributors to the uncertainty is determined. In the sensitivity analysis, the basic step is to perform sensitivity calculations varying the input parameters. One or more input parameters could be varied at a time. The typical statistical methods for the sensitivity analysis used in uncertainty methods are for example Pearson's Correlation Coefficient, Standardized Regression Coefficient, Partial Correlation Coefficient and others [1]. The output results are time domain signals. The objective of this study was to use fast Fourier transform (FFT) based approaches to determine the sensitivity of output parameters. In the reference [2], the FFT based approaches have been used for the accuracy quantification. The difference between the accuracy quantification and the sensitivity analysis is that in the accuracy quantification the experimental data are compared to the code calculated data, while in the sensitivity analysis the reference calculation signal is compared to the sensitivity run calculation signal. To do this comparison, first the fast Fourier transform is used to transform time domain signals into frequency domain signals. Then, the average amplitude is calculated, which is the sum of the amplitudes of the frequency domain difference signal (between the sensitivity run calculation signal and the reference calculation signal) normalized by the sum of the amplitudes of the frequency domain reference signal. Finally, the figures of merit based on the average amplitude are used to judge the sensitivity.
Such a FFT based approach is different from the typical sensitivity analysis using a statistical procedure to determine the influence of sensitive input parameters on the output parameter. Namely, the influence of the sensitive input parameters is represented by the average amplitude which remembers the previous history.
In this study it is shown that the proposed FFT based tool is complementary and a good alternative to the mentioned typical statistical methods, if one parameter is varied at a time.
The advantage of the proposed method is that the results of the sensitivity analysis obtained by the FFT based tool could be ranked. It provides a consistent ranking of sensitive input parameters according to their influence to the output parameter when one parameter is varied at a time, and based on the fact that the same method can be used for more participants performing calculations. For example, there is no need to have ranking levels like it was proposed in the Phase III of the Best Estimate Methods -Uncertainty and Sensitivity Evaluation (BEMUSE) programme [3] for the qualitative judgement, because in this approach the figure of merit is a quantitative value and therefore can be directly ranked. The zero value of the figure of merit means a not relevant sensitive parameter and the larger the figure of merit is the more influential the input parameter is.
The difference between statistical methods and the FFT based approach is that in the case of statistical methods the influence of each varied input parameter on the output result can be obtained even if more parameters are varied at a time. This cannot be done by FFT based tools when more parameters are varied at a time. Rather, the total influence of sensitive parameters on the result is given by the FFT based tool. But the good thing is that the same measure is used for both single and multiple variations and in this way the compensation effects of the influence of different sensitive parameters could be studied. As was already mentioned the FFT based approaches are complementary to statistical methods.
In this Chapter, first the original fast Fourier transform based method (FFTBM) approach is described. The average amplitude, the signal mirroring, the FFTBM Add-in tool and the time dependent accuracy measures are introduced. Based on signal mirroring the improved FFTBM by signal mirroring (FFTBM-SM) was developed. By calculating the time dependent average amplitude it can be answered, which discrepancy due to the parameter variation contributes to the sensitivity and how much is its contribution. The past application of the FFT based tool for the accuracy quantification showed that the original FFTBM gave an unrealistic judgment of the average amplitude for monotonically increasing or decreasing functions, causing problems in the FFTBM results interpretation. It was found out [4] that the reason for such an unrealistic calculated accuracy of increasing/decreasing signals is the edge between the first and last data point of the investigated signal, when the signal is periodically extended. Namely, if the values of the first and last data point of the investigated signal differ, then there are discontinuities present in the periodically extended signal seen by the discrete Fourier transform, which views the finite domain signal as an infinite periodic signal. The discontinuities give several harmonic components in the frequency domain, thus increasing the sum of the amplitudes, on which FFTBM is based, and by this influencing the accuracy. The influence of the edge due to the periodically extended signal is for clarity reasons called the edge effect.
Then the methods used for the sensitivity analysis are described. For the demonstration of the sensitivity study using FFT based tools the L2-5 test, which simulates the large break loss of coolant accident in the Loss of Fluid test (LOFT) facility, was used. The signals used were obtained from the Organisation for Economic Co-operation and Development (OECD) BEMUSE project. In the BEMUSE project there were 14 participants, each performing a reference calculation and 15 sensitivity runs of the LOFT L2-5 test. Three output parameters were provided: the upper plenum pressure, the primary side mass inventory and the rod surface temperature.
Finally, the application of the FFT based approaches to the sensitivity analysis is described. Both FFTBM and FFTBM-SM were used.

Fast fourier transform based method description
The FFT based method is proposed for the sensitivity analysis, which is analogous to the FFT based code-accuracy assessment described in ref. [5]. The FFT based approach for code accuracy consists of three steps: a) selection of the test case (experimental or plant measured time trends to compare), b) qualitative analysis, and c) quantitative analysis. The qualitative analysis is necessary before quantifying the discrepancies between the measured and calculated trends. The qualitative analysis includes also the visual observation of plots and the evaluation of the discrepancies between the measured and calculated trends, which should be predictable and understood. For the sensitivity analysis the same FFT based approach is used for the quantitative analysis as used for the code-accuracy. However, the signals compared now are the output signal obtained with the reference value of the input parameter and the output signal as the result of the sensitive input parameter variation.
In the quantitative analysis, the influence of the sensitive input parameter variation is judged in the frequency domain. Therefore the time domain signals used in the sensitivity analysis have to be transformed in the frequency domain signals. The addressed time domain signals assume values different from zero only in the interval [0, T d ], where T d is the duration of the signal. Also the digital computers can only work with information that is discrete and finite in length (e.g. N points) and there is no version of the Fourier transform that uses finite length signals [6]. The way around this is to make the finite data look like an infinite length signal. This is done by imagining that the signal has an infinite number of samples on the left and right of the actual points. The imagined samples can be a duplication of the actual data points. In this case, the signal looks discrete and periodic. This calls for the discrete Fourier transform (DFT) to be used. There are several ways to calculate DFT. One method is FFT. While it produces the same results as the other approaches, it is incredibly more efficient. The key point to understand the FFTBM is that the periodicity is invoked in order to be able to use a mathematical tool, i.e., the DFT. It seems that the developers of the original FFTBM have not been sufficiently aware of this fact.
The discrete Fourier transform views both, the time domain and the frequency domain, as periodic [6]. However, the signals to be used for the comparison are not periodic and the user must conform to the DFT's view of the world. When a new period starts, the N samples on the left side are not related to the samples on the right side. However, DFT views these N points to be a single period of an infinitely long periodic signal. This means that the left side of the signal is connected to the right side of the signal, and vice versa. The most serious consequence of the time domain periodicity is the occurrence of the edge, where the signals are glued. When the signal spectrum is calculated with DFT, the edge is taken into account, despite the fact that the edge has no physical meaning for the comparison, since it was introduced artificially by the applied numerical method. It is known that the edge produces a variegated spectrum of frequencies due to the discontinuity of the edge. These frequencies originating from the artificially introduced edge may overshadow the frequency spectrum of the investigated signal. Therefore an improved version of FFTBM by signal mirroring has been proposed, which is described in detail in [4]. Both the original FFTBM and the improved FFTBM by signal mirroring have been used in the demonstration application. The same equations are used for the calculation of the average amplitude, like for the original FFTBM, except that, instead of the original signals, the symmetrized signals are used (for further details see ref. [4]). In the following it is first described how the average amplitude is calculated.

Average amplitude
FFT is another method for calculating the DFT. While it produces the same result as the other approaches, it significantly reduces the computation time. FFT usually operates with a number of values N that is a power of two. Typically, N is selected between 32 and 4096 [6]. In addition, the sampling theorem must be fulfilled to avoid the distortion of sampled signals due to the aliasing occurrence. The sampling theorem says: "a signal that varies continuously with time is completely determined by its values at an infinite sequence of equally spaced times if the frequency of these sampling times is greater than twice the highest frequency component of the signal" [7]. Thus if the number of points defining the function in the time domain is N=2 m +1 , then according to the sampling theorem the sampling frequency is: where τ is the sampling interval, t d is the transient time duration of the sampled signal and f max is the highest (maximum) frequency component of the signal. The sampling theorem does not hold beyond f max . From the relation in Eq. (1) it is seen that the number of points selection is strictly connected to the sampling frequency. The FFT algorithm requires the number of points, equally spaced, which is a power with base 2. Generally an interpolation is necessary to satisfy this requirement. The original FFTBM is done so that the default value of the exponent m ranges from 8 to 11. This gives N ranging from 512 to 4096. The final number of points used by FFTBM is determined depending on the value of f fix , which is the minimum requested maximum frequency and is input value. If f max is not larger than f fix , the number of points is doubled (exponent m is increased for 1) until the criterion is satisfied or the exponent m equals to 11. Please note, that the minimum value of the exponent m is 8. The FFTBM application implies the following input values: the fixed frequency f fix (minimum maximum frequency of the analysis, this determines the number of points N), the cut off frequency (f cut ), the start time t s and the end time t e of the analysed window (determines the analysis window t d = t s -t e ). A cut off frequency has been introduced to cut off spurious contributions, generally negligible. When f cut is equal or larger than f fix , all frequency components are considered.
For the calculation of the differences between the output signal obtained with the reference value of the input parameter (reference signal F ref (t)) and the output signal as the result of the sensitive input parameter variation (sensitive signal F sen (t)), the reference signal (F ref (t)) and the difference signal ΔF(t) are needed. The difference signal in the time domain is defined as: After performing the fast Fourier transform the obtained spectra of amplitudes are used for the calculation of the average amplitude (AA): where | Δ F ( f n ) | is the difference signal amplitude at frequency f n and | F ref ( f n ) | is the reference signal amplitude at frequency f n . The AA factor can be considered as a sort of average fractional difference and the closer the AA value is to zero, the smaller is the sensitivity (influence). In our specific application, the larger the sensitivity is the larger is the difference between the signals, normally resulting in a larger AA value. Typically, based on the previous experience in the accuracy quantification the values of AA below 0.3 indicate a small influence (in the case of pressure below 0.1), while the values above 0.5 indicate a large influence.  If the reference and sensitive signals are the same, the difference signal is zero. The larger the difference is, the larger is AA dif (in principle). On the other hand, AA ref normalizes the average amplitude AA and the higher the sum of amplitudes is, the lower is the average amplitude AA. This means that for ranking the sensitivities of the selected output parameter only AA dif has an influence. On the other hand, for judging the influence of a single sensitive parameter variation on different output parameters, besides AA dif also AA ref influences the ranking due to the different AA ref the output parameters have.
where | Δ F ( f 0 ) | is the mean value of the difference signal and it is equivalent to the mean error (ME) in the time domain as defined in ref. [8]. The measure fraction A0 shows when the frequency amplitudes are dominating or when the mean values (like constant differences) are dominating the sum of the amplitudes.

Signal mirroring
If we have a function F (t) where 0 ≤ t ≤ t d and t d is the transient time duration, its mirrored function is defined as F mir (t) = F ( − t), where − t d ≤ t ≤ 0. From these functions a new function is composed which is symmetrical in regard to the y-axis: F m (t), where − t d ≤ t ≤ t d . This is illustrated in Figure   1. By composing the original signal (shown in Figure 1(a)) and its mirrored signal (signal mirroring), a signal without the edge between the first and the last data sample is obtained, and it is called symmetrized signal (shown in Figure 1(b)). It has the double number of points in order not to lose any information. Also it should be noted that the edge is not present in the original time domain signal (see Figure 1(a)). However, when performing FFT, the aperiodic original signal is treated as a periodic original signal as mentioned before and therefore the edge is part of the periodic original signal, what is not physical. In the case of the symmetrized signal the edge is not present even when treating the signal as periodic.
For the calculation of the average amplitude by signal mirroring AA m the Eq. (3) is used like for the calculation of AA, except that, instead of the original signals, the symmetrized signals are used. This may be efficiently done by signal mirroring, where the investigated signal is mirrored before the original FFTBM is applied. By composing the original signal and its mirrored signal (signal mirroring), a symmetric signal (also called symmetrized signal) with the same characteristics is obtained, but without introducing the edge when viewed as an infinite periodic signal (for details refer to refs. [4,9]). FFTBM using the symmetrized signals is called FFTBM-SM.
for the calculation of AA, except that, instead of the original signals, the symmetrized 4 signals are used. This may be efficiently done by signal mirroring, where the investigated 5 signal is mirrored before the original FFTBM is applied. By composing the original signal 6 and its mirrored signal (signal mirroring), a symmetric signal (also called symmetrized 7 signal) with the same characteristics is obtained, but without introducing the edge when 8 viewed as an infinite periodic signal (for details refer to refs. [4,9]). FFTBM using the 9 symmetrized signals is called FFTBM-SM. 10

FFTBM Add-in tool 12
To take the advantages of spread sheets in preparing input forms, analysing data (including 13 analysis of values), modifying graphs and the capability to store time recorded data, plots, 14 input forms and results, the Jožef Stefan Institute (JSI) in-house Microsoft Excel Add-in for 15 the accuracy evaluation of thermal-hydraulic code calculations with FFTBM has been 16 developed in 2003 [10]. Later the tool was upgraded with the capability to symmetrize the 17 signals, and some other improvements. The upgraded tool is called JSI FFTBM Add-in 2007 18 [11] and it has been used for the sensitivity study, described in this chapter. It includes both 19 FFTBM and FFTBM-SM. As already mentioned, the difference between FFTBM and FFTBM-20 SM is that in the latter the signals are symmetrized to eliminate the edge effect in calculating 21 the average amplitude by signal mirroring (AA m ). 22 JSI FFTBM Add-in 2007 provides additional information on interpolated data of the signals 23 used, the difference signals, the amplitude spectra and the AA dependency on the cut 24 frequency. The user can use the interpolated data for visual checking about the agreement of 25 the original signal and the interpolated signal. The amplitude spectra give the possibility to 26 compare the spectra between different signals. Information on the AA dependency on the 27 cut frequency is used to check if the cut frequency is selected properly. Usually the 28 dependency is not so big, therefore by default AA at the selected f cut frequencies is 29 calculated: 30  minimal AA (AA min ) at frequency (when f cut > 0.05 f max ) which gives the minimum AA, 31  average AA (AA avg ) is calculated as the average AA at all cut frequencies, 32

FFTBM Add-in tool
To take the advantages of spread sheets in preparing input forms, analysing data (including analysis of values), modifying graphs and the capability to store time recorded data, plots, input forms and results, the Jožef Stefan Institute (JSI) in-house Microsoft Excel Add-in for the accuracy evaluation of thermal-hydraulic code calculations with FFTBM has been developed in 2003 [10]. Later the tool was upgraded with the capability to symmetrize the signals, and some other improvements. The upgraded tool is called JSI FFTBM Add-in 2007 [11] and it has been used for the sensitivity study, described in this chapter. It includes both FFTBM and FFTBM-SM. As already mentioned, the difference between FFTBM and FFTBM-SM is that in the latter the signals are symmetrized to eliminate the edge effect in calculating the average amplitude by signal mirroring (AA m ).
JSI FFTBM Add-in 2007 provides additional information on interpolated data of the signals used, the difference signals, the amplitude spectra and the AA dependency on the cut frequency. The user can use the interpolated data for visual checking about the agreement of the original signal and the interpolated signal. The amplitude spectra give the possibility to compare the spectra between different signals. Information on the AA dependency on the cut frequency is used to check if the cut frequency is selected properly. Usually the dependency is not so big, therefore by default AA at the selected f cut frequencies is calculated: • minimal AA (AA min ) at frequency (when f cut > 0.05 f max ) which gives the minimum AA, • average AA (AA avg ) is calculated as the average AA at all cut frequencies, • maximal AA (AA max ) at the frequency (when f cut > 0.05 f max ) which gives the maximum AA, This gives an indication if AA is significantly dependent on the cut frequency. In principle, AA should not be much different when half or all frequencies from the amplitude spectrum are considered for the AA calculation. If this is not the case, deeper insight into AA is needed to judge if there is a spurious contribution present in the signal. For example, in the case of measured data, noise may be present in the signal. In the case of code calculated digital data, noise is not present in the signals, therefore the whole amplitude spectrum is recommended for the AA calculation. Nevertheless, the user should be aware that AA depends on the cut frequency and that the result may change when not all frequencies are considered. Typically higher frequency components have lower amplitudes than lower frequencies, therefore the lower frequency content is always used for the AA calculation (only higher frequency components are filtered).

Time dependent average amplitude
In the ref. [12] the influence of the time window selection was studied. Instead of a few phenomenological windows a series of narrow windows (phases) could be selected. This gives the possibility to get the time dependency of the average amplitude. The increasing time interval was defined as a set of time intervals each increased for the duration of one narrow time window and the last time interval being the whole transient duration time. By increasing the time interval we see how the average amplitude changes with the time progression as it is shown in Figure 2. The average amplitude was calculated by the original FFTBM not considering the edge effect. Therefore the average amplitude shown in Figure 2(b) first increases and then partly decreases in spite of the discrepancy present all this time during the temperature increase shown in Figure 2(a).
The time dependent average amplitude is also indispensable for the sensitivity analysis. From such a time dependant average amplitude it can be easily seen when the largest influence occurs on the output parameter due to the sensitive parameter variation.
 maximal AA (AA max ) at the frequency (when f cut > 0.05 f max ) which gives the maximum 1 AA, 2  5 percentile AA (AA 05 ) at frequency f cut = 0.05 f max , 3  50 percentile AA (AA 50 ) at frequency f cut = 0.5 f max , 4  100 percentile AA (AA 100 ) considering all amplitudes (for f cut = f max ). 5 This gives an indication if AA is significantly dependent on the cut frequency. In principle, 6 AA should not be much different when half or all frequencies from the amplitude spectrum 7 are considered for the AA calculation. If this is not the case, deeper insight into AA is 8 needed to judge if there is a spurious contribution present in the signal. For example, in the 9 case of measured data, noise may be present in the signal. In the case of code calculated 10 digital data, noise is not present in the signals, therefore the whole amplitude spectrum is 11 recommended for the AA calculation. Nevertheless, the user should be aware that AA 12 depends on the cut frequency and that the result may change when not all frequencies are 13 considered. Typically higher frequency components have lower amplitudes than lower 14 frequencies, therefore the lower frequency content is always used for the AA calculation 15 (only higher frequency components are filtered). 16

Time dependent average amplitude 17
In the ref. [12] the influence of the time window selection was studied. Instead of a few 18 phenomenological windows a series of narrow windows (phases) could be selected. This 19 gives the possibility to get the time dependency of the average amplitude. The increasing 20 time interval was defined as a set of time intervals each increased for the duration of one 21 narrow time window and the last time interval being the whole transient duration time. By  22 increasing the time interval we see how the average amplitude changes with the time 23 progression as it is shown in Figure 2. The average amplitude was calculated by the original 24 FFTBM not considering the edge effect. Therefore the average amplitude shown in Figure  25 2(b) first increases and then partly decreases in spite of the discrepancy present all this time 26 during the temperature increase shown in Figure 2(a). 27 The time dependent average amplitude is also indispensable for the sensitivity analysis. 28 From such a time dependant average amplitude it can be easily seen when the largest 29 influence occurs on the output parameter due to the sensitive parameter variation.

Methods used for sensitivity analysis
In BEMUSE, Phase II, single parameter sensitivity analyses have been proposed and performed by the participants to study the influence of different parameters (break area, gap conductivity, core pressure drops, time of scram etc.) upon the predicted large-break loss-of-coolant accident (LBLOCA) evolution [13]. The performed sensitivity studies were intended to be used as guidance for deriving uncertainties of relevant input parameters like for phase III of the BEMUSE programme.
The sensitivity analysis is concerned, generally, with the influence of inputs on the output and output variability. Generally, sensitivity analyses are conducted by defining the model and its independent and dependent variables, assigning probability density functions to each input parameter, generating an input matrix through an appropriate random sampling method, performing calculations, and assessing the influences and relative importance of each input/ output relationship.
In our demonstration case, the calculated data obtained in the Phase II of BEMUSE provided by the host organization have been used. The input matrix consists of the single parameter variation. The range of variations has been proposed by the host organization. For sensitivity calculations, only one value (minimal or maximal) of the input parameter was proposed when the range of the parameter variation was specified for selected sensitive parameter. For each single parameter variation the calculation was performed. The influence of the sensitive parameter variation has been estimated through the application of FFT based approaches.
We will call sensitivity (of the output parameter Y versus the i-th input parameter X i ) a measure that is independent of the range of variation of the parameter X i . Sensitivity is related to output variability.
We will call influence a measure of the effect of the variation of the parameter X i on its full In our sensitivity analysis the influences were determined. Please note that classical measures of influences are: Pearson's or Spearman's Correlation Coefficients, Standardised Regression Coefficients, etc. [14]. In FFT based approaches the AA is a dimensionless number, showing influences in terms of the average amplitude obtained in the frequency domain which represents the physical influence (e.g. temperature or pressure change).

Test description
The LOFT L2-5 test was selected for this demonstration because a huge amount of data was available [15]. The reference and sensitivity calculations of the LOFT L2-5 test were performed in the phase II of the BEMUSE research program. The nuclear LOFT integral test facility is a scale model of a pressurized water reactor. The objective of the test was to simulate a loss of coolant accident (LOCA) caused by a double-ended, off-shear guillotine cold leg rupture coupled with a loss of off-site power. The experiment was initiated by opening the quick opening blowdown valves in the broken loop hot and cold legs. The reactor scrammed and emergency core cooling systems started their injection. After initial heatup the core was quenched at 65 s, following the core reflood. The low pressure injection system (LPIS) was stopped at 107.1 s, after the experiment was considered complete. In total 14 calculations from 13 organizations were performed. For more detailed information on the calculations the reader is referred to [4,15].

Sensitivity calculations description
The series of sensitivity calculations with assigned parameters was proposed to participants. For each parameter the host organization recommended the value to be used. The short description of the cases to be analysed is given in Table 1. In Table 2 sensitivity calculations performed by 14 participants are shown. Each row presents sensitivity calculations S-1 to S-15. If the calculation is performed with recommended values, the sign √ is used. If another value has been used, the value of the sensitive parameter is indicated. If the sensitivity calculation has not been performed, the cell is shaded grey. Name S-1 S-2 S-3 S-4 S-5 S-6 S-7 S-8 S-9 S-10 S-11 S-12 S-13 S-14 S-15

ID Parameter Recommended values (RV) Description
* no information given in Ref. [15], but high certainty that recommended values were used; √ -recommended value used

Figures of merit for sensitivity analysis
Same figures of merit were proposed for the original FFTBM and improved FFTBM-SM. In the case of signal mirroring the additional index m is used to distinguish the FFTBM-SM from FFTBM. The first figure of merit is the average amplitude (AA or AA m ), which tells how the single input parameter variation (or combination of input parameter variations) influences the Use of Fast Fourier Transform for Sensitivity Analysis http://dx.doi.org/10.5772/59769 output parameter. As there are several sensitive input parameters, several participants performing sensitivity runs and more selected output parameters, three additional figures of merit were proposed. The average amplitude of the participant sensitivity runs (AA p or AA mp ) is used to judge which sensitivity runs set is more influential to the input parameter variations. AA p or AA mp is calculated as the average of AAs for the participant sensitivity runs (15 in our specific case). The average amplitude of the sensitivity runs for the same sensitive parameter (AA s or AA ms ) is used to judge how influential (in average) the sensitive parameter is in calculations performed by different participants. AA s or AA ms is calculated as the average of AAs of participants for the same sensitivity run (14 in our specific case). Finally, the total average amplitude (AA t or AA mt ) is the average AA or average AA m obtained from all sensitivity runs performed by all participants.

Application of FFT based approches to sensitivity analysis
In this section the application of the original FFTBM and FFTBM-SM is demonstrated. As was explained in Subsection 2.1, two digital signals (reference and sensitive) of the same duration are used for calculating the average amplitude, which is a measure of the influence of the sensitive parameter variation. An example of calculating AA m is given first. Then the single value influence (based on the average amplitude) for the whole time window is given. Finally, the time dependent influence is presented for the sensitivity runs. We conclude this section with the discussion.

AA m figure of merit example
In the example the influence of sensitive parameters on three output parameters for the interval 0-119.5 s (whole transient time) is shown for calculations of participant P-14. The participant P-14 provided for each time trend 241 samples. This means that the sampling frequency was 2 Hz. The input values for FFTBM-SM were therefore the following: f fix =2 Hz, f cut =2 Hz, t b =0 s and t e =119.5 s (time 119.5 s was selected because some users provided the last data point at a value slightly smaller than 120 s). Per sampling theorem (Eq. (1)) at least 478 data points are needed. However, the minimum number of points per FFTBM-SM is 512. Table 3 shows that requesting more samples than required has a minor influence on the results.
To get some qualitative impression on the influence of input parameters on output parameters judged by FFTBM-SM, Figure 3 shows time trends of P-14 upper plenum pressure, primary side mass and cladding temperature. Visually it may be indicated that the upper plenum pressure is the most influenced by the break flow (S-1). On the other hand, hot rod parameters (S-2, S-3, S-4 and S-5) and accumulator initial mass (S-12) do not have significant influence on upper plenum pressure (see Figures 3(a2), 3(a3), 3(a4) and 3(a5)). The primary side mass inventory is the most influenced by the gap conductivity (S-2), fuel conductivity (S-5), and the accumulator liquid mass (S-12). When comparing S-2 and S-5 calculations, one may indicate that the S-5 calculation is a bit closer to the reference calculation. On the other hand, comparing the S-2 and S-12 calculation, in the case of S-2 the difference is absolutely larger than S-12, however in case of S-12 the difference is present a longer time than in the case of S-2. The calculated AA m is comparable.
To see this in more detail, Figure 4 shows part of the magnitude difference signal spectra | Δ F ( f n ) | for S-2 and S-12, which are used for the calculation of AA dif per Eq. (5). Please note that f max is 2.14 Hz. However, summing of amplitudes up to 0.2 Hz contributes more than 90% to total AA dif (for S-2 the sum is 11.26 out of 12.43 and for S-12 the sum is 10.83 out of 11.79). Summing amplitudes up to 0.05 Hz (representing 13 samples out of 513) contributes more than 80% to total AA dif (for S-2 the sum is 10.16 out of 12.43 and for S-12 the sum is 9.57 out of 11.79).
One may see that the zero frequency component (mean value of difference signal in the time domain) is larger for S-2 than S-12 and that due to this contribution finally S-2 is judged as more influential than S-12.

Single value influence for whole time window
In the example presented in Section 4.1, AA m for the P-14 calculation was determined. In this section all fourteen calculations are considered, and both FFTBM and FFTBM-SM are used for calculating all figures of merit presented in Section 3.3. The obtained results for the sensitive parameter influence on the three output parameters (upper plenum pressure, primary side mass inventory and rod surface temperature) are shown in Tables 4 through 6.
The qualitative comparison between FFTBM and FFTBM-SM results showed that the agreement is quite good. This is expected as at the end of the transient the influence of the sensitive parameter is generally insignificant, resulting that in the difference signal the edge is very small or not present at all. The edge is still present in the reference signal, but because it is used for the normalization it has no impact on the ranking of parameters and so the qualitative agreement between FFTBM and FFTBM-SM is good. This is not the case for the quantitative agreement as the normalization directly impacts the average amplitude. The average amplitudes obtained by both FFTBM and FFTBM-SM suggest that the most influential parameter for the upper plenum pressure is in all calculations the break flow area (S-1). To judge how influential the parameter is, the average amplitude of the sensitivity runs for the same sensitive calculation was also judged as the much influenced by the sensitive parameter variations. 4 Both methods qualitatively give the same results for the average amplitude of the 5 participant sensitivity runs. The total average amplitude (AAt or AAmt) show the overall 6 influence of the sensitive parameters variations of all calculations on the output upper 7 plenum pressure. The higher the value is the higher is the influence. The ratio between AAmt 8 and AAt to be 1.88 also tells what the contribution of the edge effect is in average. 9   When looking calculations, the most influenced upper plenum calculation is P-3. To judge how the calculation is influenced by the sensitive parameters variation, the average amplitude of the participant sensitivity runs (AA p or AA mp ) is used. Besides P-3 the P-5 calculation was also judged as the much influenced by the sensitive parameter variations. Both methods qualitatively give the same results for the average amplitude of the participant sensitivity runs. The total average amplitude (AA t or AA mt ) show the overall influence of the sensitive parameters variations of all calculations on the output upper plenum pressure. The higher the value is the higher is the influence. The ratio between AA mt and AA t to be 1.88 also tells what the contribution of the edge effect is in average.  The average amplitudes shown in Table 5, obtained by both FFTBM and FFTBM-SM suggest that the most influential parameter for the primary side mass inventory when considering all calculations is the accumulator liquid mass (S-12). Both the AA s and AA ms indicate the accumulator liquid mass (S-12), break flow area (S-1), accumulator pressure (S-11) and pressurizer level (S-13) the most influential sensitive parameters on the primary side mass inventory.
When looking the calculations, the most influenced primary side mass inventory calculation is P-3. The AA p and AA mp indicate as the second most influenced the P-13 calculation. Again both methods qualitatively give very similar results for the average amplitude of the participant sensitivity runs. The AA t and AA mt show that the overall influence of the sensitive parameters variations of all calculations on the output primary side mass inventory is higher than on the upper plenum pressure. The ratio between AA mt and AA t is 1.55, indicating that the primary side mass inventory is less influenced by the edge effect (see also Figure3).
The average amplitudes shown in Table 6, obtained by both FFTBM and FFTBM-SM suggest that the most influential parameter for the rod surface temperature when considering all calculations is the fuel conductivity (S-5). Both AA s and AA ms indicate the fuel conductivity (S-5) and gap conductivity (S-2) as the most influential. Significant influences have also the gap thickness (S-3), maximum linear power (S-10), break flow area (S-1) and the accumulator liquid mass (S-12) and a few others. The only difference between the FFTBM and FFTBM-SM results is that the ranks for S-1 and S-12 are changed.
When looking the calculations, the most influenced rod surface rod temperature calculation is P-10. The AA p and AA mp indicate that the next two most influenced are the P-2 and P-3 calculation. Again both methods qualitatively give pretty similar results for the average amplitude of the participant sensitivity runs. The AA t and AA mt show that the overall influence of the sensitive parameters variations of all calculations on the output rod surface temperature   is higher than on the primary side mass inventory. The ratio between AA mt and AA t is 1.17, indicating that the rod surface temperature is the least influenced by the edge effect (see also Figure 3).   Table 6. Influence of sensitive parameters on rod surface temperature in time interval 0-119.5 s as judged by (a) original FFTBM and (b) improved FFTBM by signal mirroring

Time dependent influence
The results presented in Section 4.2 give information on the accumulated influence of sensitive parameters for the whole transient duration (single value figures of merit). Additional insight into the results is obtained from the time dependent average amplitudes for each single variation of parameters. They provide information how the influence changes during the transient progression. Figure 5 shows the comparison between the FFTBM and FFTBM-SM results for the P-14 sensitive calculations shown in Figure 3. It is shown how the sensitive parameter influence changes during the transient progression. The judged quantitative influence in Figure 5 reflects well what is seen during the visual observation of Figure 3, in which 5 out of 15 sensitive parameter variations for the three output parameters for the P-14 calculation are shown. Please note that the FFT based approaches are especially to be used when there are several calculations (fourteen in our case) with several sensitive parameter variations (fifteen in our case) to judge the influence of the sensitive parameters in an uniform way.
When looking the output parameter upper plenum pressure, both FFTBM (excluding period when edge effect significantly contributes to average amplitude) and FFTBM-SM clearly show when during the transient the parameter was influential. For all parameters shown in Figure  5 the major influence was during the first 30 seconds when the pressure was dropping. In the case of the S-1 parameter the influence was the largest (see Figure 5(a1)), but still not extremely significant. For parameters S-2, S-3, S-5 and S-12 the total influence is small. The values of average amplitudes up to 0.03 are small. This is confirmed by Figures 3(a2), 3(a3), 3 (a4) and 3 (a5) which show that the reference and sensitive signals for the upper plenum pressure practically match each other.
When looking the output parameter primary side mass inventory, the influence of the sensitive parameters is also quite small. Parameter S-1 is the most influential in the beginning of the transient (see also Figure 3(b1)), while all other shown sensitive parameters (S-2, S-3, S-5 and S-12) become more influential later into the transient. This is in agreement with the Figures 3(b2), 3(b3), 3(b4) and 3(b5), in which the differences in the first 20 seconds are practically not visible.
Finally, when looking the output parameter rod surface temperature, the influence of the sensitive parameters is the largest among the selected output parameters as shown by the plots and the average amplitude trends. The variation of the break flow area (S-1) having the largest influence on the upper plenum pressure has a lower influence on the rod surface temperature than the sensitive parameters S-2, S-3, S-5 and S-12. This is logically as the break area size directly impacts the upper plenum pressure.
From Figure 5(c1) it can be seen that the influence of S-1 on the rod surface temperature is judged to be in the beginning of the transient and at around 60 s. When comparing the sensitive signal to the reference signal in Figure 3(c1), in the beginning for the sensitive signal a slower temperature increase with under predicted peak and earlier temperature decrease (rod quench) at around 60 s can be seen. At other times the trends are similar. In the case of S-2 the temperature is over predicted and the quench is delayed. Therefore besides the initial jump sensitive signal to the reference signal in Figure 3(c1), in the beginning for the sensitive a 5 slower temperature increase with under predicted peak and earlier temperature decrease 6 (rod quench) at around 60 s can be seen. At other times the trends are similar. In the case of 7 S-2 the temperature is over predicted and the quench is delayed. Therefore besides the 8  Figure 5(c4). The influence of S-11 is smaller than S-1 because S-11 influences only the time of rod quenching. Finally, S-12 shows that the larger discrepancy in the times when the rod quench starts causes also larger values of average amplitudes. Also when comparing the average amplitudes obtained by FFTBM and FFTBM-SM it can be seen that they agree pretty well for the output parameters primary side mass inventory and the rod surface temperature, because the edge present in the periodic signal is relatively smaller from the edge present in the upper plenum pressure periodic signal. Figure 6(a) shows the comparison of the rod surface temperature reference calculations to experimental data. One may see that the calculations differ and that they do not exactly match the experimental data. Therefore the reader should always keep in mind that the direct comparison of sensitive signals (see Figure 6(b)) obtained by different participants could not answer in which calculation the sensitive parameter is the most influential.
Fourier Transform 20 initial jump the AA m is still increasing till 20s and for the time duration of the rod quench 1 delay. For parameter S-3 it can be seen that its influence is between the S-1 and the S- 2 2 influence, what can be confirmed from Figures 3(c1), 3(c2) and 3(c3). The influence of S-5 on 3 the rod surface temperature is the largest what can be easily confirmed when comparing 4 Figure 3(c4) and Figure 5(c4). The influence of S-11 is smaller than S-1 because S- 11 5 influences only the time of rod quenching. Finally, S-12 shows that the larger discrepancy in 6 the times when the rod quench starts causes also larger values of average amplitudes.Also 7 when comparing the average amplitudes obtained by FFTBM and FFTBM-SM it can be seen 8 that they agree pretty well for the output parameters primary side mass inventory and the 9 rod surface temperature, because the edge present in the periodic signal is relatively smaller 10 from the edge present in the upper plenum pressure periodic signal. 11 could be compared as it is shown in the Figures 7, 8 and 9 for the output parameters upper 20 plenum pressure, primary side mass inventory and rod surface temperature, respectively. 21 For each of the output parameters the most influential parameters are shown as identified 22 from Tables 4, 5 and 6. Figure 7 for the upper plenum pressure shows that for the majority 23 of calculations the influences of the same sensitive parameter variation are similar. There are 24 only a few calculations significantly deviating, for example P-4 for S-1 variation, P-3 and P-25 10 for S-13 variation, P-3 for S-6 variation and P-11 for S-4 variation. Figure 8 for the primary 26 side mass inventory shows that the P3 calculation was more sensitive to variations than 27 other calculations. In the case of the S-4 sensitive parameter variation the P-11 calculation 28 significantly deviates from other calculations and the reason may be that the code model is 29 used outside its validation range [13]. 30 Figure 6. Comparison of (a) reference calculations with experimental value and (b) sensitive runs for S-2 sensitive parameter variation However, by calculating the average amplitude the sensitive runs by different participants could be compared as it is shown in the Figures 7, 8 and 9 for the output parameters upper plenum pressure, primary side mass inventory and rod surface temperature, respectively. For each of the output parameters the most influential parameters are shown as identified from Tables 4, 5 and 6. Figure 7 for the upper plenum pressure shows that for the majority of calculations the influences of the same sensitive parameter variation are similar. There are only a few calculations significantly deviating, for example P-4 for S-1 variation, P-3 and P-10 for S-13 variation, P-13 for S-6 variation and P-11 for S-4 variation. Figure 8 for the primary side mass inventory shows that the P3 calculation was more sensitive to variations than other calculations. In the case of the S-4 sensitive parameter variation the P-11 calculation significantly deviates from other calculations and the reason may be that the code model is used outside its validation range [13]. Figure 9 shows that some parameters are more influential in the beginning of the transient (e.g. S-5), some in the middle of the transient (e.g. S-12) and that in the last part normally there is no significant influence (exception is the calculation P-2 for the S-12 sensitive parameter in which the rod surface temperature did not quench due to no accumulator injection when it was supposed to inject). there is no significant influence (exception is the calculation P-2 for the S-12 sensitive 5 parameter in which the rod surface temperature did not quench due to no accumulator 6 injection when it was supposed to inject). 7

Discussion
In the application for each participant each sensitivity run in the set was compared to his reference calculation and the average amplitude, which is the figure of merit for FFT based approaches, was used to judge how each output parameter is sensitive to the selected input parameter. For brevity reasons, only some examples were given in Figures 6 through 9. Nevertheless, these examples are sufficient to demonstrate that the results for the whole transient interval, shown in Tables 4, 5 and 6 may not be always sufficient for judging the sensitivity. For example, for the output parameter rod surface temperature there is higher interest in the value of the maximum rod surface temperature rather the average influence on the rod surface temperature, therefore it is important to know how the influence changes with time. Also, some parameters are more influential at the beginning and the others later in the calculation.
The results suggest that the FFT based approaches are especially appropriate for a quick sensitivity analysis in which several calculations need to be compared. It is very appropriate also due to the inherent feature, which integrates the contribution of the parameter variation with progressing transient time.
In addition, the average amplitude of participant sensitivity runs for the participants (AA p or AA mp ) and the average amplitude for the same sensitive parameter (AA s or AA ms ) were calculated. These measures could be used for ranking purposes. In this way information on the most influential input parameter and which participant calculation is the most sensitive to variations is obtained. Finally, different output parameters could be compared between each other regarding the influence of input parameters of all participants (AA t or AA mt ). Quantitatively it is judged that the most influenced output parameter is the rod surface temperature and the least influenced the upper plenum pressure.

Conclusions
The study using FFTBM-SM and FFTBM was performed to show that the FFT based approaches could be used for sensitivity analyses. The LOFT L2-5 test, which simulates the large break loss of coolant accident, was used in the frame of the BEMUSE programme for sensitivity runs. In total 15 sensitivity runs were performed by 14 participants.
It can be concluded that with FFTBM-SM the analyst can get a good picture of the influence of the single parameter variation to the results throughout the transient. Some sensitive parameters are more influential at the beginning and the others later in the calculation. Due to the edge effect FFTBM-SM is advantageous for time dependent sensitivity calculations with respect to FFTBM, while for the whole transient duration (average sensitivity during whole transient) in general also FFTBM gives consistent results. FFT based approaches could be also used to quantify the influence of several parameter variations on the results. However, the influential parameters could not be identified nor the direction of the influence. The results suggest that the FFT based approaches are especially appropriate for a quick assessment of a sensitivity analysis in which several calculations need to be compared or the influence of single sensitive parameters needs to be ranked. Such a sensitivity analysis could provide information which are the most influential parameters and how influential the input parameters are on the selected output parameters and when they influence during a transient.