In this section the results of the three modules are summarized, including the statistical analysis of the uncertainty propagation, from the inputs to the outputs of both EL and EM models. The generation ans simulation of a TH worst case scenario, selected according to the uncertainty quantification analysis, is also presented.
3.1. Results of the Electrical model
The EL model is sufficiently fast to allow the analysis of its uncertainty propagation on the results by a Monte Carlo approach. For this reason a MC analysis has been developed exploiting the interoperability of Python and Modelica assured by OMPython [
7] and DyMat packages. The MC method simply consists of sampling a large number N of random points from the input distribution and performing a simulation for each of these points giving a result
. In the MC algorithm the average results
are computed as:
Together with the average value both standard deviation (STD) and relative standard deviation (RSD) are computed, according to the following equations:
The RSD is used as indicator to stop the sampling of random points once the required tolerance is reached. In this case, the required tollerance for the RSD was
, and was reached after
simulations. The Equation (
10) underlines one of the main drawbacks of MC, namely its slow convergence (as
), asking for a large number of simulations.
The statistical distributions of the following four relevant results have been obtained from the MC run and are reported in
Figure 2:
time required for the current to decrease from nominal value to ;
, considering its asymptotic value, which is proportional to the energy extracted from the TF coils during the FD;
peak voltage on the FDU during the discharge;
peak voltage on the TF coil during the discharge.
The resulting mean values of the monitored variables and their standard deviations are reported in
Table 1.
The same model has been analyzed using the PCE to reduce the required number of simulations to obtain the same statistical information. Quadrature and polynomial orders from 1 to 3 have been tested and the results have been compared to those of the MC method, obtaining extremely good agreement for all the monitored variables using order 3, as it is shown in
Figure 3. Indeed the norm 2 of the relative difference between the MC and PCE order 3 distribution results in a maximum discrepancy of 0.05 % between the two.
This allows performing only sixteen simulation of the detailed model as training set. In fact, in the case of the pseudo-spectral projection method, the number of simulations required is given by
, where
p is the polynomial degree at which the truncation occurs (3 in this case) and
d the dimension of the input space (2 in the case at hand). This choice results in a polynomial with 10
coefficients, according to Equation (
6). Here, the quadrature nodes and the weights have been obtained using the Gaussian quadrature rule.
To better highlight the accuracy of the PCE results the comparison between the mean values and their standard deviation obtained with MC and PCE is reported in
Table 1. Using the PCE it has been possible to evaluate also the current and
evolution. Knowing the statistical distribution of each point in the evolution, it has been possible to evaluate an average evolution and a
confidence interval, for both variables, reported in
Figure 4.
Eventually, the UT method has been applied as well. In the framework of the EL model its application is not particularly relevant since the reduction of the required number of simulation is limited (five simulation instead of sixteen) and the amount of statistical information is limited to the average and the standard deviation, without providing effective information on the distribution. However this method has been introduced as a useful benchmark for the EM model in which the MC method can not be applied due to the excessive computational cost.
The five UT sigma points have been generated according to the Generalized Unscented Transformation algorithm and the results are summarized in
Table 1, showing very good agreement between the three methods. Indeed, the maximum relative error on the computed mean values is ≈ 0.06 % (smaller than the tolerance imposed to check the convergence of the MC run), while the maximum relative error on the computed variance is ≈ 0.6 %.
The results show a non-negligible variance, justifying the necessity to further propagate the uncertainties through the EM model. In particular, as the relative standard deviation on the outputs of the EL model, computed as
is generally larger than that on the input distributions in Equation (
4) and Equation (
3), the electrical model seems to amplify the uncertainties.
3.2. Results of the Electro-Magnetic model
The MC method was not applicable to the uncertainty propagation analysis in the EM model due to the increase of the computational time of the detailed model. For this reason the PCE of quadrature order 3 has been used to build a surrogate model of the detailed one, based on its results, since it proved to be accurate to replace the detailed EL model too. The 3D-FOX calculates the evolution of the power deposited in the TF coil casing. The monitoring variables have been extracted from this evolution, considering:
The statistical distributions of the peak of the deposited power and of the energy deposited are reported in
Figure 5: they highlight how the uncertainty on the inputs translates into a huge uncertainty on the peak power and deposited energy. Neglecting this uncertainty propagation may lead to disregard the worst case scenarios connected to this transient, concerning e.g. its TH effects.
The average value and the standard deviation of the peak of the deposited power and of the deposited energy computed with the PCE have been benchmarked against those evaluated with the UT. The comparison of the results is shown in
Table 2.
The benchmark shows an excellent agreement between the PCE and the UT. This does not guarantee the accuracy of the statistical distribution obtained with PCE, but suggests that the metamodel developed reproduces properly the main statistical data, namely the mean and the variance.
As already done for the evolution of the current and of
in the EL model analysis, here the average power evolution and its
confidence range have been calculated using the PCE and are shown in
Figure 6.
The width of the confidence range highlights the importance of considering the uncertainty on the input data to evaluate the worst case scenario to be retained for the analysis of this transient. Moreover, the impact of the uncertainty is much larger in the first part of the transient (peak region). This is expected since the first part of the transient is driven by the large value of the time derivative of the current at the beginning of the FD, strongly affected by the K and parameters of the varistors. On the contrary, the last part of the transient is less affected by the uncertainty of the inputs, as the time derivative of the current is reduced, reducing consequently the power deposited.
A further benchmark of the metamodel based on PCE is performed applying it to the inputs represented by the sigma points generated for the UT computations and comparing the results to those obtained in those points with the detailed EM model (3D-FOX). To ensure a fair benchmark, the UT sigma points used do not belong to the PCE model training set.
The comparison is shown in
Table 3 including the relative error
on variable
V obtained as:
The larger relative discrepancy is smaller than
, which is considered a satisfactory accuracy. This benchmark does not guarantee the level of accuracy for the entire parameter space
, but demonstrates that the model is able to reproduce properly the detailed model results in the entire parameter space, covered by the UT sigma points. In fact, by definition, the sigma points are constructed by the UT algorithm to cover in the best possible way the input space, with the smallest number of points.
3.3. Identification of the worst case scenarios
The relevant worst case scenarios (WCSs) to be used as input to the TH model must now be identified. In the WCS selection both EL and EM aspects must be considered. Indeed, a fast current discharge is fundamental to promptly protect the magnet from the quench, but at the same time deposits a lot of energy in the coil casing, contributing to the coil temperature increase. For this reason it is relevant to evaluate the
couples which cause the slowest discharge (WCS1) and that lead to the highest energy deposition in the coil casing (WCS2), and perform their TH analysis. The two scenarios are clearly distinct, as the slower is the discharge, the smaller is the energy deposited in the casing (driven by the time derivative of the current). Thus they will be generated by points standing at the opposite boundaries of the
plane. This statement is confirmed by
Figure 7 in which the
and deposited energy values have been mapped, using the PCE model, on the
plane. The specific values of K and
generating the two WCSs are (
,
) for WCS1 and (
,
) for WCS2.
Using these values of K and , the inputs to the TH model have been computed.
The first required input is the evolution of the coil current, evaluated with the EL model and it is reported in
Figure 8(a). As expected, the two evolutions are very different and this will strongly influence the quench evolution.
The second required input is the power deposited in the casing, including both its evolution and distribution (to account for its non-uniformity). The PCE metamodel has been trained on a set of 3D-FOX simulations considering the evolution of the overall power deposition, to reduce the computational cost. Therefore, a dedicated run of the 3D-FOX has been performed for each of the two selected WCSs to prepare the detailed input to the 4C code, namely the spatial discretization of the power deposition in the casing [
8]. The total power deposited in one TF coil casing in the two WCSs is reported in
Figure 8(b), confirming that the fastest discharge is actually responsible of the larger energy deposition.
3.4. Results of the Thermal-Hydraulic model
The inputs have been adopted to simulate a FD triggered by the magnet quench. In the simulation the quench has been obtained by a local heat deposition at the location where the minimum temperature margin is computed in nominal operation, i.e. in the first turn of the two central pancakes at inboard equator. In this work, 50 kW/m of external power (e.g. a very concentrated beam of particles coming from the plasma) have been deposited in 10 cm of SC cable around the minimum margin location of pancake 6 for 0.1 s. The power deposition erodes the temperature margin leading the magnet to quench initiation and propagation. The FD is triggered by the quench detection system when the voltage computed across the coil overcomes the 100 mV threshold, waiting then for a validation time of 1.5 s [
23] to reduce the spurious detections.
The evolution of the voltage computed with the 4C code in the two WCSs is reported in
Figure 9. The WCS2, characterized by a faster discharge, leads to a faster response to quench protection, reducing the quench propagation (and therefore the voltage buildup) in the Winding Pack (WP). Due to the inter-pancake thermal coupling, the neighbouring pancakes (namely, 5 and 7) are also heated up, possibly quenching. However, the voltage raise in pancakes 5 and 7 is almost negligible in WCS2 due to the faster reduction of the current; on the contrary, in WCS1 the delayed current decrease causes a quench initiation and propagation also in those pancakes. Quench initiation in pancake 7 is slightly delayed with respect to pancake 5 due to the smaller magnetic field there, being if further away from the coil center.
The two scenarios also differ in term of the hot-spot (HS) temperature, that may lead to permanent damages to the coil. Indeed, as shown in
Figure 10 where the HS temperature reached during the transient is plotted for each pancake, the hot spot temperature is larger, in the central pancakes, in the WCS1, featuring a larger Joule power deposition. Opposite trend is observed in side pancakes (e.g. pancake 1) in which the quench is not initiated and the heating is due to the thermal contact with the casing, where eddy current power is deposited. Given that the power deposition in the casing is larger in WCS2 (see
Figure 8(b)) also the power transferred from the casing to the WP is larger and thus the conductor temperature increases more. From the bar plot in
Figure 10 it is also possible to appreciate the effect of the inter-pancake heat diffusion, visible from the progressive temperature decrease moving far away from the quenched (central) pancakes.
The importance of reducing the current in the fastest possible way is clear comparing the hot spot temperature in the two scenarios. Indeed, HS temperature is much larger in WCS1, due to the faster current decrease in WCS2. On the contrary, the temperature increase in the side pancakes, given by the eddy current power deposition in the casing, is similar in the two cases, despite the consistent difference in the casing power deposition between them, as can be seen from
Figure 8(b). Actually, the timescale of the heat transfer from the casing to the WP is quite slow if compared to the current discharge duration, also in the slower WCS1.
These results show that the uncertainty on the characteristic parameters of the varistors leads, eventually, to a wide range of quench evolutions. Increasing as much as possible the precision on the varistor parameters during their manufacturing is fundamental to have reliable predictions and therefore a safe reactor operation. Moreover, the preferable direction in the refinement of the varistor characteristics is that leading to faster current discharges; this, despite the larger power deposition in the coil casing due to eddy currents, ensures a faster response to the quench and thus limits its propagation, reducing the HS temperature and therefore the risk to damage the coil.