<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE article PUBLIC "-//NLM//DTD Journal Publishing DTD v2.3 20070202//EN" "journalpublishing.dtd">
<article article-type="research-article" dtd-version="2.3" xml:lang="EN" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink">
<front>
<journal-meta>
<journal-id journal-id-type="publisher-id">Front. Phys.</journal-id>
<journal-title>Frontiers in Physics</journal-title>
<abbrev-journal-title abbrev-type="pubmed">Front. Phys.</abbrev-journal-title>
<issn pub-type="epub">2296-424X</issn>
<publisher>
<publisher-name>Frontiers Media S.A.</publisher-name>
</publisher>
</journal-meta>
<article-meta>
<article-id pub-id-type="publisher-id">875464</article-id>
<article-id pub-id-type="doi">10.3389/fphy.2022.875464</article-id>
<article-categories>
<subj-group subj-group-type="heading">
<subject>Physics</subject>
<subj-group>
<subject>Original Research</subject>
</subj-group>
</subj-group>
</article-categories>
<title-group>
<article-title>SPIRAL2 Cryomodule Models: A Gateway to Process Control and Machine Learning</article-title>
<alt-title alt-title-type="left-running-head">Vassal et al.</alt-title>
<alt-title alt-title-type="right-running-head">SP2 CM Models: Proc. Contr. &#x0026; ML</alt-title>
</title-group>
<contrib-group>
<contrib contrib-type="author">
<name>
<surname>Vassal</surname>
<given-names>Adrien</given-names>
</name>
<xref ref-type="aff" rid="aff1">
<sup>1</sup>
</xref>
<xref ref-type="aff" rid="aff2">
<sup>2</sup>
</xref>
</contrib>
<contrib contrib-type="author" corresp="yes">
<name>
<surname>Ghribi</surname>
<given-names>Adnan</given-names>
</name>
<xref ref-type="aff" rid="aff2">
<sup>2</sup>
</xref>
<xref ref-type="aff" rid="aff3">
<sup>3</sup>
</xref>
<xref ref-type="corresp" rid="c001">&#x2a;</xref>
<uri xlink:href="https://loop.frontiersin.org/people/540899/overview"/>
</contrib>
<contrib contrib-type="author">
<name>
<surname>Millet</surname>
<given-names>Fran&#xe7;ois</given-names>
</name>
<xref ref-type="aff" rid="aff1">
<sup>1</sup>
</xref>
</contrib>
<contrib contrib-type="author">
<name>
<surname>Bonne</surname>
<given-names>Fran&#xe7;ois</given-names>
</name>
<xref ref-type="aff" rid="aff1">
<sup>1</sup>
</xref>
</contrib>
<contrib contrib-type="author">
<name>
<surname>Bonnay</surname>
<given-names>Patrick</given-names>
</name>
<xref ref-type="aff" rid="aff1">
<sup>1</sup>
</xref>
</contrib>
<contrib contrib-type="author">
<name>
<surname>Bernaudin</surname>
<given-names>Pierre-Emmanuel</given-names>
</name>
<xref ref-type="aff" rid="aff1">
<sup>1</sup>
</xref>
<xref ref-type="aff" rid="aff2">
<sup>2</sup>
</xref>
</contrib>
</contrib-group>
<aff id="aff1">
<sup>1</sup>
<institution>Commissariat &#xe0; l&#x2019;Energie Atomique et aux &#xe9;nergies appropri&#xe9;es (CEA)</institution>, <addr-line>Paris</addr-line>, <country>France</country>
</aff>
<aff id="aff2">
<sup>2</sup>
<institution>Grand Acc&#xe9;l&#xe9;l&#xe9;rateur National d&#x2019;Ions Lourds (GANIL)</institution>, <addr-line>Caen</addr-line>, <country>France</country>
</aff>
<aff id="aff3">
<sup>3</sup>
<institution>Centre National de la Recherche Scientifique (CNRS)</institution>, <addr-line>Paris</addr-line>, <country>France</country>
</aff>
<author-notes>
<fn fn-type="edited-by">
<p>
<bold>Edited by:</bold> <ext-link ext-link-type="uri" xlink:href="https://loop.frontiersin.org/people/1206162/overview">Alexander Scheinker</ext-link>, Los Alamos National Laboratory (DOE), United States</p>
</fn>
<fn fn-type="edited-by">
<p>
<bold>Reviewed by:</bold> <ext-link ext-link-type="uri" xlink:href="https://loop.frontiersin.org/people/1731308/overview">Benjamin Bradu</ext-link>, European Organization for Nuclear Research (CERN), Switzerland</p>
<p>
<ext-link ext-link-type="uri" xlink:href="https://loop.frontiersin.org/people/1731339/overview">Christine Darve</ext-link>, European Spallation Source, Sweden</p>
</fn>
<corresp id="c001">&#x2a;Correspondence: Adnan Ghribi, <email>adnan.ghribi@ganil.fr</email>
</corresp>
<fn fn-type="other">
<p>This article was submitted to Interdisciplinary Physics, a section of the journal Frontiers in Physics</p>
</fn>
</author-notes>
<pub-date pub-type="epub">
<day>08</day>
<month>09</month>
<year>2022</year>
</pub-date>
<pub-date pub-type="collection">
<year>2022</year>
</pub-date>
<volume>10</volume>
<elocation-id>875464</elocation-id>
<history>
<date date-type="received">
<day>14</day>
<month>02</month>
<year>2022</year>
</date>
<date date-type="accepted">
<day>10</day>
<month>05</month>
<year>2022</year>
</date>
</history>
<permissions>
<copyright-statement>Copyright &#xa9; 2022 Vassal, Ghribi, Millet, Bonne, Bonnay and Bernaudin.</copyright-statement>
<copyright-year>2022</copyright-year>
<copyright-holder>Vassal, Ghribi, Millet, Bonne, Bonnay and Bernaudin</copyright-holder>
<license xlink:href="http://creativecommons.org/licenses/by/4.0/">
<p>This is an open-access article distributed under the terms of the Creative Commons Attribution License (CC BY). The use, distribution or reproduction in other forums is permitted, provided the original author(s) and the copyright owner(s) are credited and that the original publication in this journal is cited, in accordance with accepted academic practice. No use, distribution or reproduction is permitted which does not comply with these terms.</p>
</license>
</permissions>
<abstract>
<p>From simple physical systems to full production lines, numerical models could be used to minimize downtime and to optimize performances. In this article, the system of interest is the SPIRAL2 heavy ion accelerator cryogenic system. This article illustrates three different applications based on a SPIRAL2 cryostat model: optimal controller synthesis, virtual sensor synthesis, and anomaly detection. The two first applications have been deployed on the system. Experimental results are used to illustrate the benefits of such applications. The third application is a case study based on data generated from a thermodynamic twin model.</p>
</abstract>
<kwd-group>
<kwd>machine learning</kwd>
<kwd>cryogenics</kwd>
<kwd>modeling</kwd>
<kwd>accelerators</kwd>
<kwd>thermodynamics</kwd>
<kwd>control</kwd>
</kwd-group>
</article-meta>
</front>
<body>
<sec id="s1">
<title>1 Introduction</title>
<p>SPIRAL2<xref ref-type="fn" rid="fn1">
<sup>1</sup>
</xref> is a heavy ion accelerator located in Caen, France. Its main part is a linear superconducting accelerator (LINAC) [<xref ref-type="bibr" rid="B1">1</xref>] composed of 26 bulk niobium radio-frequency (RF) resonators that accelerate charged particles by the mean of electromagnetic fields [<xref ref-type="bibr" rid="B2">2</xref>]. To be operated, those resonators need to be maintained in their superconducting state. As the niobium superconducting transition temperature at atmospheric pressure reaches 9.2 <italic>K</italic>, a cryogenic system is required. The resonators, also called SRF<xref ref-type="fn" rid="fn2">
<sup>2</sup>
</xref> cavities, are coupled to the RF system, as well as vacuum and cryogenic components. The assembly of these subsystems forms a cryomodule.</p>
<p>The cooling power is provided by a cryoplant with a maximal capacity of 1300&#xa0;<italic>W</italic> at 4.2&#xa0;<italic>K</italic>. A cold box coupled with a 5000&#xa0;<italic>L</italic> Dewar provides the necessary liquid helium to all the cryomodules through a cryodistribution. Inside the cryomodules, the liquid helium evaporates to extract heat from the resonator, and cold gaseous helium is returned to the cold box. More details on the cryogenic system can be found in [<xref ref-type="bibr" rid="B3">3</xref>,<xref ref-type="bibr" rid="B4">4</xref>]. As a perturbation in the cooling system might lead to a shutdown of the accelerator, it is mandatory to develop a highly reliable operation and control system. To achieve this, modeling tools are developed to improve the control robustness, predict valuable information, and detect faults or anomalies.</p>
<p>The present article mainly focuses on the cryomodules and not on the overall cryogenic system. The first section is dedicated to the modeling of the cryomodules. In the second section, an optimized control law is proposed. The third section details the synthesis of a virtual sensor used to predict unmeasured parameters. The last section is dedicated to fault detection using machine learning techniques.</p>
</sec>
<sec id="s2">
<title>2 Modeling of the Cryomodules</title>
<sec id="s2-1">
<title>2.1 Description</title>
<p>There are two types of cryomodules, namely, type-A and type-B. The main difference between them lies in the fact that type-A contains one resonating cavity, whereas type-B contains two of them. For more details concerning the cryomodules design and performance, please refer to [<xref ref-type="bibr" rid="B5">5</xref>,<xref ref-type="bibr" rid="B6">6</xref>].</p>
<p>In terms of thermodynamics, both types of cryomodules undergo different heat loads. First is the static heat load induced by the heat transfer between the cold and their surrounding parts. Second is the dynamic heat load due to the RF resistive losses in the resonating cavity. Heat load amplitudes are different for the two types of cryomodules. For the 4.4&#xb0;<italic>K</italic> bath, those characteristics as well as the volumes are given in <xref ref-type="table" rid="T1">Table 1</xref>.</p>
<table-wrap id="T1" position="float">
<label>TABLE 1</label>
<caption>
<p>Main thermal differences between type-A and type-B cryomodules.</p>
</caption>
<table>
<thead valign="top">
<tr>
<th align="left">Characteristic</th>
<th align="center">Type-A</th>
<th align="center">Type-B</th>
</tr>
</thead>
<tbody valign="top">
<tr>
<td align="left">Helium bath volume [L]</td>
<td align="center">20.5</td>
<td align="center">91.5</td>
</tr>
<tr>
<td align="left">Static heat load [W]</td>
<td align="center">3.5 &#xb1; 1.4</td>
<td align="center">12.5 &#xb1; 1.8</td>
</tr>
<tr>
<td align="left">RF heat load [W]</td>
<td align="center">5.8 &#xb1; 2.2</td>
<td align="center">12.1 &#xb1; 2.6</td>
</tr>
</tbody>
</table>
</table-wrap>
<p>The cryogenic system is in charge of keeping the superconducting RF cavities under their superconducting critical temperature at all times. This requirement is achieved by keeping the cavities submerged in a liquid helium bath. As the cavities are fed with RF power, a liquid helium bath ensures the resistive heat loads extraction at the cavity&#x27;s surface walls. As a consequence, the temperatures of the cavities are kept uniform and stable at 4.4&#xb0;K far beyond their superconducting critical temperature of 9.2&#xb0;<italic>K</italic>. Would the cavity be partially exposed out of the liquid helium bath, it would undergo a quench<xref ref-type="fn" rid="fn3">
<sup>3</sup>
</xref>. Three main elements, shown in <xref ref-type="fig" rid="F1">Figure 1</xref>, insure this constraint: a phase separator filled with liquid helium at 4.4&#xb0;K and 1,200&#xa0;mbar, a thermal shield that surrounds the phase separator and is kept at 60&#xb0;K, and finally a valves box containing all the valves used to control cryogenics operation. As the phase separator is the most critical element of the cryogenic system, we will only focus on that element and its associated valves. The <xref ref-type="fig" rid="F1">Figure 1</xref> presents a simplified scheme with the subsystems of interest.</p>
<fig id="F1" position="float">
<label>FIGURE 1</label>
<caption>
<p>Representation of a type-A cryomodule. On the left is a simplified scheme. On the right is a 3D cut view. LT and PT are, respectively, level transmitter and pressure transmitter.</p>
</caption>
<graphic xlink:href="fphy-10-875464-g001.tif"/>
</fig>
<p>The phase separator is fed with liquid helium through the input valve, which is used to regulate the level of liquid. Due to thermal heat load, liquid helium evaporates and is returned to the cold box. In that process, gas goes through the output valve, which is used to regulate the pressure within the phase separator.</p>
<p>Both the valves and the phase separator have been modeled. The equations governing the operation of the valve are the ones given in the standard ISA [<xref ref-type="bibr" rid="B7">7</xref>], whereas the phase separator dynamics are described through energy and mass balance. The equations have been implemented in the Simcryogenics library [<xref ref-type="bibr" rid="B8">8</xref>] of MATLAB<sup>&#xae;</sup>, which is a modeling tool used to simulate and optimize cryogenic systems. Helium properties are extracted from tabulated data using the HEPAK<sup>&#xae;</sup> package. As those equations have been extensively described in [<xref ref-type="bibr" rid="B9">9</xref>&#x2013;<xref ref-type="bibr" rid="B11">11</xref>], they will not be discussed in this article. Rather, the comparison between experimental and simulation results will be emphasized.</p>
</sec>
<sec id="s2-2">
<title>2.2 Model vs. Data</title>
<p>The simulation results for both cryomodule types have been compared to experimental data. For each of the cryomodules, an operating scenario has been performed starting from stable operating conditions<xref ref-type="fn" rid="fn4">
<sup>4</sup>
</xref>. This scenario is a series of steps applied to the input and output valve opening command. The same values have been applied to the model and to the real process in an open-loop manner. The comparison obtained for cryomodule 1 (the first one on the line considering the beam direction) is shown in <xref ref-type="fig" rid="F2">Figure 2</xref>. The comparison shows a good agreement between experimental and simulated data for both level and pressure dynamics. It is worth mentioning that the uncertainty of the modeled liquid helium level increases with time as the level is an integrator system. Furthermore, the high uncertainty on the pressure at time t &#x3d; 1,500&#xa0;s is mostly due to the valve position uncertainty: an error of &#xb1;1% on valve position could lead to a pressure uncertainty up to 10&#xa0;<italic>mbar</italic>. Finally, the pressure peak occurring at t &#x3d; 1,200&#xa0;s is due to a pressure oscillation in the cryodistribution (i.e. the inlet boundary of the model).</p>
<fig id="F2" position="float">
<label>FIGURE 2</label>
<caption>
<p>Model vs. measurement for the first type-A cryomodule. Measurement and associated uncertainty are, respectively, represented by black line and gray background. Simulation value and uncertainty are, respectively, represented by green lines and magenta dash-dotted lines.</p>
</caption>
<graphic xlink:href="fphy-10-875464-g002.tif"/>
</fig>
<p>Similar results have been observed on all other cryomodules. The following criteria have been calculated for each comparison:<disp-formula id="e1">
<mml:math id="m1">
<mml:mi>C</mml:mi>
<mml:mi>r</mml:mi>
<mml:mo>&#x3d;</mml:mo>
<mml:mfrac>
<mml:mrow>
<mml:mn>100</mml:mn>
<mml:mo>&#x22c5;</mml:mo>
<mml:msubsup>
<mml:mrow>
<mml:mo>&#x222b;</mml:mo>
</mml:mrow>
<mml:mrow>
<mml:msub>
<mml:mrow>
<mml:mi>t</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>i</mml:mi>
<mml:mi>n</mml:mi>
<mml:mi>i</mml:mi>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:msub>
</mml:mrow>
<mml:mrow>
<mml:msub>
<mml:mrow>
<mml:mi>t</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>f</mml:mi>
<mml:mi>i</mml:mi>
<mml:mi>n</mml:mi>
<mml:mi>a</mml:mi>
<mml:mi>l</mml:mi>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:msubsup>
<mml:msup>
<mml:mrow>
<mml:mfenced open="(" close=")">
<mml:mrow>
<mml:msub>
<mml:mrow>
<mml:mi>V</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>m</mml:mi>
<mml:mi>e</mml:mi>
<mml:mi>s</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mfenced open="(" close=")">
<mml:mrow>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:mfenced>
<mml:mo>&#x2212;</mml:mo>
<mml:msub>
<mml:mrow>
<mml:mi>V</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>s</mml:mi>
<mml:mi>i</mml:mi>
<mml:mi>m</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mfenced open="(" close=")">
<mml:mrow>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
<mml:mrow>
<mml:mn>2</mml:mn>
</mml:mrow>
</mml:msup>
<mml:mi>d</mml:mi>
<mml:mi>t</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:msubsup>
<mml:mrow>
<mml:mi>V</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>m</mml:mi>
<mml:mi>o</mml:mi>
<mml:mi>y</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>i</mml:mi>
<mml:mi>n</mml:mi>
<mml:mi>i</mml:mi>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:msubsup>
<mml:mo>&#x22c5;</mml:mo>
<mml:msub>
<mml:mrow>
<mml:mi>t</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>t</mml:mi>
<mml:mi>o</mml:mi>
<mml:mi>t</mml:mi>
<mml:mi>a</mml:mi>
<mml:mi>l</mml:mi>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:mfrac>
<mml:mo>,</mml:mo>
</mml:math>
<label>(1)</label>
</disp-formula>where <italic>Cr</italic> is the criteria representing the integral of the error between measured and simulated data. <italic>t</italic>
<sub>
<italic>init</italic>
</sub>, <italic>t</italic>
<sub>
<italic>final</italic>
</sub> , and <italic>t</italic>
<sub>
<italic>total</italic>
</sub> are, respectively, the initial time, the final time and the overall duration of the scenario, whereas <italic>V</italic>
<sub>
<italic>mes</italic>
</sub>(<italic>t</italic>) and <italic>V</italic>
<sub>
<italic>sim</italic>
</sub>(<italic>t</italic>) are, respectively, the measured and simulated values. Finally, <inline-formula id="inf1">
<mml:math id="m2">
<mml:msubsup>
<mml:mrow>
<mml:mi>V</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>m</mml:mi>
<mml:mi>o</mml:mi>
<mml:mi>y</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>i</mml:mi>
<mml:mi>n</mml:mi>
<mml:mi>i</mml:mi>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:msubsup>
</mml:math>
</inline-formula> designates the mean value at the beginning of the scenario. Normalizing by the overall duration and the mean value makes it possible to compare multiple scenarios with different durations and operating conditions. The criteria values obtained for the scenario shown in <xref ref-type="fig" rid="F2">Figure 2</xref> and applied to all cryomodules are plotted in <xref ref-type="fig" rid="F3">Figure 3</xref>. The latter plot gives an important insight into the usability of such a model in a generic way for all cryomodules across the LINAC. In fact, obtained <italic>Cr</italic> values give a deviation sufficiently small to be considered for applications such as control and fault detection. The next sections will investigate this feasibility.</p>
<fig id="F3" position="float">
<label>FIGURE 3</label>
<caption>
<p>Evaluation of the criteria <italic>Cr</italic> on each cryomodule. The type-A and type-B cryomodule are, respectively, plotted in blue and red. The blue highlighted element corresponds to the cryomodule investigated in <xref ref-type="fig" rid="F2">Figure 2</xref>.</p>
</caption>
<graphic xlink:href="fphy-10-875464-g003.tif"/>
</fig>
</sec>
</sec>
<sec id="s3">
<title>3 Optimal Controller Synthesis</title>
<sec id="s3-1">
<title>3.1 Problem Overview</title>
<p>Cryogenic system control loops are critical items that can affect the overall accelerator. Two requirements are to be met in order to allow the nominal operation of the RF cavity. The first is to ensure that the temperature of the cavity remains below its critical value. Otherwise, the cavity could quench<xref ref-type="fn" rid="fn5">
<sup>5</sup>
</xref>. To do so, the cavity is submerged in a liquid helium bath, and the level of liquid helium is regulated through a PID (Proportional&#x2013;Integrator Derivative) controller acting on the input valve (see <xref ref-type="fig" rid="F1">Figure 1</xref>). The goal is to maintain a level at 90% &#xb1; 5% which is high enough to maintain the overall cavity fully submerged with a comfortable operating margin. The second is to ensure that the shape of the cavity does not change as the performances of the resonator are intrinsically linked to the cavity shape. This could be seen in the expression of its unloaded quality factor:<disp-formula id="e2">
<mml:math id="m3">
<mml:msub>
<mml:mrow>
<mml:mi>Q</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>f</mml:mi>
<mml:mn>0</mml:mn>
</mml:mrow>
</mml:msub>
<mml:mo>&#x3d;</mml:mo>
<mml:mfrac>
<mml:mrow>
<mml:mi>G</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>R</mml:mi>
<mml:mi>s</mml:mi>
</mml:mrow>
</mml:mfrac>
<mml:mo>,</mml:mo>
</mml:math>
<label>(2)</label>
</disp-formula>where <italic>Q</italic>
<sub>
<italic>f</italic>0</sub> is the unloaded quality factor, <italic>Rs</italic> is the surface resistance, and <italic>G</italic> is the geometric factor that depends on the surface and the volume of the cavity. As the cavity is submerged in liquid a helium bath, any pressure variation (&#x394;<italic>P</italic>) in the separator will induce a mechanical force on the cavity walls that slightly deforms the cavity. This results in a variation of the geometric factor that can lead to a drop in the cavity quality factor, hence significantly reducing the nominal cavity accelerating gradient.</p>
<p>Considering the bandwidth of the cavity and its associated RF system, a pressure variation limit of &#x394;<italic>P</italic> &#x3d; &#xb1;5&#xa0;<italic>mbar</italic> has been set up for the SPIRAL2 cryomodules. It is worth mentioning that the nominal pressure of the helium bath is 1,200&#xa0;<italic>mbar</italic>, which means that a &#x394;<italic>P</italic> of &#xb1;5&#xa0;<italic>mbar</italic> represents a tolerance of &#xb1;0.41%. Both the level and the pressure are regulated through PID controllers. Although the PID performance is enough to achieve the level requirement, it is not the case for the pressure requirement. Even using a state-of-the-art [<xref ref-type="bibr" rid="B12">12</xref>] PID (Proportional, Integral Derivative) tuning tool, we were not able to maintain the pressure variation within a range of &#xb1;5&#xa0;<italic>mbar</italic> for long periods of time (i.e., more than a few hours) without having significant overshoots. This is probably due to the fact that the two regulation loops are coupled: an action on the input valve influences the level and the pressure. A similar statement is also true for the output valve: an action on the output valve has an impact on both on the pressure and the level. As PID controllers are more suitable in the case of linear SISO<xref ref-type="fn" rid="fn6">
<sup>6</sup>
</xref> system, another control algorithm is necessary to achieve the project requirement.</p>
</sec>
<sec id="s3-2">
<title>3.2 Synthesis of a LQ Regulator</title>
<p>Few parameters have to be considered while choosing the most suitable solution for the cryomodules control loops. First, the cryomodule cryogenic system is a multiple inputs multiple outputs (MIMO) system with two valves as inputs and the level and pressure as outputs. As there is internal coupling between all inputs and outputs, a controller that can handle this coupling is mandatory. Second, as the accelerator will be used for many years, it must be a solution proven on multiple systems with full documentation. Third, the controller has to be implemented in a dedicated PLC (Programmable Logical Controller) with a limited amount of calculation capacity. Considering those parameters, an LQ (Linear Quadratic) controller seems to be a good candidate. The block diagram of such controller applied to our system is given in <xref ref-type="fig" rid="F4">Figure 4</xref>. The mathematical development of this controller has already been described in [<xref ref-type="bibr" rid="B9">9</xref>,<xref ref-type="bibr" rid="B11">11</xref>]. In this section, we will only recall the main equations of the discrete LQ controller and focus on experimental results.</p>
<fig id="F4" position="float">
<label>FIGURE 4</label>
<caption>
<p>Block diagram of the synthesized LQ regulator. SP designates the setpoint.</p>
</caption>
<graphic xlink:href="fphy-10-875464-g004.tif"/>
</fig>
<p>The principle of a LQ controller is to synthesize a state feedback gain such that the command input is given by:<disp-formula id="e3">
<mml:math id="m4">
<mml:mi>u</mml:mi>
<mml:mfenced open="(" close=")">
<mml:mrow>
<mml:mi>k</mml:mi>
</mml:mrow>
</mml:mfenced>
<mml:mo>&#x3d;</mml:mo>
<mml:mo>&#x2212;</mml:mo>
<mml:mi>K</mml:mi>
<mml:mo>&#x22c5;</mml:mo>
<mml:mi>x</mml:mi>
<mml:mfenced open="(" close=")">
<mml:mrow>
<mml:mi>k</mml:mi>
</mml:mrow>
</mml:mfenced>
<mml:mo>,</mml:mo>
</mml:math>
<label>(3)</label>
</disp-formula>where <italic>K</italic> is the state feedback gain and <italic>x</italic> the state of the system. <italic>K</italic> is calculated so that it minimizes the following quadratic cost:<disp-formula id="e4">
<mml:math id="m5">
<mml:mi>J</mml:mi>
<mml:mo>&#x3d;</mml:mo>
<mml:munderover accentunder="false" accent="false">
<mml:mrow>
<mml:mo>&#x2211;</mml:mo>
</mml:mrow>
<mml:mrow>
<mml:mi>i</mml:mi>
<mml:mo>&#x3d;</mml:mo>
<mml:mi>k</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>&#x221e;</mml:mi>
</mml:mrow>
</mml:munderover>
<mml:mi>x</mml:mi>
<mml:msup>
<mml:mrow>
<mml:mfenced open="(" close=")">
<mml:mrow>
<mml:mi>i</mml:mi>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
<mml:mrow>
<mml:mi>T</mml:mi>
</mml:mrow>
</mml:msup>
<mml:mo>&#x22c5;</mml:mo>
<mml:mi>Q</mml:mi>
<mml:mo>&#x22c5;</mml:mo>
<mml:mi>x</mml:mi>
<mml:mfenced open="(" close=")">
<mml:mrow>
<mml:mi>i</mml:mi>
</mml:mrow>
</mml:mfenced>
<mml:mo>&#x2b;</mml:mo>
<mml:mi>u</mml:mi>
<mml:msup>
<mml:mrow>
<mml:mfenced open="(" close=")">
<mml:mrow>
<mml:mi>i</mml:mi>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
<mml:mrow>
<mml:mi>T</mml:mi>
</mml:mrow>
</mml:msup>
<mml:mo>&#x22c5;</mml:mo>
<mml:mi>R</mml:mi>
<mml:mo>&#x22c5;</mml:mo>
<mml:mi>u</mml:mi>
<mml:mfenced open="(" close=")">
<mml:mrow>
<mml:mi>i</mml:mi>
</mml:mrow>
</mml:mfenced>
<mml:mo>,</mml:mo>
</mml:math>
<label>(4)</label>
</disp-formula>where <italic>J</italic> is the cost, and <italic>Q</italic> and <italic>R</italic> are respectively state and input weights. As for gain and integral time for a PI controller, the goal is to tune the matrices <italic>Q</italic> and <italic>R</italic> to fulfill the process specifications. Details about the way to tune those gains are given in [<xref ref-type="bibr" rid="B9">9</xref>].</p>
<p>The calculation of the state feedback gain <italic>K</italic> requires the state-space model of the system which could be directly generated with the previously described model and a linearization algorithm such that the one described in [<xref ref-type="bibr" rid="B13">13</xref>]. To allow a comparison between the existing PID and the proposed regulation law, the LQ controller has been implemented on the existing PLC of each cryomodule. Even if they have a limited calculation capacity (a work memory of 192 Ko), it is more than enough for the proposed LQ controller which only requires around 30 multiplications/additions per sampling time. This is due to the fact that only the control law described in <xref ref-type="disp-formula" rid="e3">Eq. 3</xref> and its associated Luenberger observer [<xref ref-type="bibr" rid="B14">14</xref>] have been implemented. The calculation of the state feedback gain <italic>K</italic> that minimizes the cost <xref ref-type="disp-formula" rid="e4">Eq. 4</xref> could be carried out offline using dedicated optimizers.</p>
</sec>
<sec id="s3-3">
<title>3.3 Experimental Results</title>
<p>Classical tests like set point variation and output disturbance test (using electrical heaters as disturbance sources) have been performed on both PID and LQ controllers. The results of those tests show that the LQ regulator is slightly better in terms of robustness and speed than the PI controller. Nevertheless, our main interest is to see which controller is able to respect the level and pressure requirements during a long period of operation. To check this, the following experiment has been realized for two nights<xref ref-type="fn" rid="fn7">
<sup>7</sup>
</xref>. During the first night (12&#xa0;h), all cryomodules are regulated by PID controllers. During the second night, they are regulated by LQ controllers. For both cases, the level requirement has been respected, but not the pressure requirement. To illustrate this, the number of times the pressure overshoots the threshold of &#xb1;5&#xa0;<italic>mbar</italic> has been used as a metric to compare the two controllers. The result of the comparison is given in <xref ref-type="fig" rid="F5">Figure 5</xref>. The LQ controller shows no pressure overshoot at all, whereas the PID controller shows multiple ones. However, the LQ controller could not perfectly dump pressure oscillations. To illustrate this, a counter of overshoot with a tightened pressure threshold of &#xb1;3&#xa0;<italic>mbar</italic> (in comparison with the specification of &#xb1;5&#xa0;<italic>mbar</italic>) has also been plotted in <xref ref-type="fig" rid="F5">Figure 5</xref>. Nevertheless, the results obtained with the LQ regulator are satisfying considering process requirements. As the algorithm has been deployed in the PLCs for the purpose of the test, it is already available for the current operation. This new control strategy is an important improvement that could reduce the accelerator downtime as one pressure overshoot may arise safety chains that shuts down the accelerator beam. One drawback of such method is the knowledge of the thermal set point of operation. This setpoint depends on static load, RF losses, and other effects such as beam loading. A deviation from the setpoint due to isolation vacuum leaks or field emitters in the cavity might make the LQ control worse than a simple PID<xref ref-type="fn" rid="fn8">
<sup>8</sup>
</xref>. In this matter, having state observers able to monitor the thermal behavior of a cryomodule is vital. Such an observer could drive the change of the thermal operation set point and LQ inputs to automatically adapt to the real state of the system. The synthesis of precision state observers using supervised learning will be the subject of future studies. The next section is the first study of a thermal load observer based on a twin model synthesis as a starting point for future planned studies.</p>
<fig id="F5" position="float">
<label>FIGURE 5</label>
<caption>
<p>LQ vs. PID pressure overshoot number for one night.</p>
</caption>
<graphic xlink:href="fphy-10-875464-g005.tif"/>
</fig>
</sec>
</sec>
<sec id="s4">
<title>4 Virtual Sensor</title>
<sec id="s4-1">
<title>4.1 Problem Overview</title>
<p>As the RF signal injected in the resonator is sinusoidal, it generates energy dissipation in the cavity walls called AC losses [<xref ref-type="bibr" rid="B15">15</xref>]. Those losses are considered an indicator of the cavity state: an abrupt raise of those losses can indicate that a part of the cavity is no more in a superconducting state. This could be the premise of a global quench of the cavity. On another timescale, a slow increase of the dissipated AC losses can indicate a pollution of the cavity with non-superconducting elements. In the case of SPIRAL2, there is no continuous measurement of these AC losses. Measurements can only be performed when the cavity is not in operation as the measurement method is intrusive [<xref ref-type="bibr" rid="B16">16</xref>]. There is no operating solution in the case of SPIRAL2 that would allow us to perform such measurements online and without disturbing the process.</p>
<p>To solve this problem, we proposed a method to estimate these losses based on the phase separator model and an extended Kalman filter (EKF) [<xref ref-type="bibr" rid="B17">17</xref>].</p>
</sec>
<sec id="s4-2">
<title>4.2 Synthesis of an Extended Kalman Filter</title>
<p>From the phase separator point of view, the AC losses represent an external thermal heat load. The more AC losses, the more heat has to be extracted through the evaporation of liquid helium. Equations that link the AC losses to the thermal heat load are given in [<xref ref-type="bibr" rid="B18">18</xref>]. Knowing this, measuring the AC losses is equivalent to measuring the heat load extracted by the liquid helium bath. Nevertheless, as for the AC losses, there is no continuous measurement of the heat load dissipated in each cavity in the SPIRAL2 cryogenic system. Discontinuous measurement can be made by measuring the evaporating rate of the liquid helium [<xref ref-type="bibr" rid="B19">19</xref>], but once again it is an intrusive method that could not be realized during operation. This is where the cryomodule model becomes very useful: using the model and process measurements such as phase separator level and pressure as well as valve opening, it is possible to predict the current heat loads. Therefore, the idea is to synthesize an observer (also called a virtual sensor in that case) of the heat load.</p>
<p>An extended Kalman filter seems to be the best choice as it is designed to work with nonlinear processes and has been successfully used in many applications [<xref ref-type="bibr" rid="B20">20</xref>,<xref ref-type="bibr" rid="B21">21</xref>]. The process diagram of such an observer applied to our process is described in <xref ref-type="fig" rid="F6">Figure 6</xref> where it is decomposed into elementary steps represented as a number in green circles:<list list-type="simple">
<list-item>
<p>&#x2022; 1: calculate phase separator internal energy (<italic>e</italic>) and density (<italic>&#x3c1;</italic>) through property interpolation using bath pressure and liquid level.</p>
</list-item>
<list-item>
<p>&#x2022; 2: define model boundary pressures (<italic>p</italic>
<sub>
<italic>in</italic>
</sub> and <italic>p</italic>
<sub>
<italic>out</italic>
</sub>) using the closest available pressure transmitters. This is equivalent to calculating a pressure drop between the closest sensors and the model boundaries based on the current mass flows and temperatures.</p>
</list-item>
<list-item>
<p>&#x2022; 3: calculate input <inline-formula id="inf2">
<mml:math id="m6">
<mml:mrow>
<mml:mo stretchy="false">(</mml:mo>
<mml:mrow>
<mml:msub>
<mml:mrow>
<mml:mover accent="true">
<mml:mrow>
<mml:mi>m</mml:mi>
</mml:mrow>
<mml:mo>&#x307;</mml:mo>
</mml:mover>
</mml:mrow>
<mml:mrow>
<mml:mi>i</mml:mi>
<mml:mi>n</mml:mi>
</mml:mrow>
</mml:msub>
</mml:mrow>
<mml:mo stretchy="false">)</mml:mo>
</mml:mrow>
</mml:math>
</inline-formula> and output <inline-formula id="inf3">
<mml:math id="m7">
<mml:mrow>
<mml:mo stretchy="false">(</mml:mo>
<mml:mrow>
<mml:msub>
<mml:mrow>
<mml:mover accent="true">
<mml:mrow>
<mml:mi>m</mml:mi>
</mml:mrow>
<mml:mo>&#x307;</mml:mo>
</mml:mover>
</mml:mrow>
<mml:mrow>
<mml:mi>o</mml:mi>
<mml:mi>u</mml:mi>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:msub>
</mml:mrow>
<mml:mo stretchy="false">)</mml:mo>
</mml:mrow>
</mml:math>
</inline-formula> mass flows through valves considering valve pressure drop, valves opening, and valves input quality (<italic>&#x3c7;</italic>
<sub>
<italic>in</italic>
</sub>).</p>
</list-item>
<list-item>
<p>&#x2022; 4: define phase separator input (<italic>&#x3c6;</italic>
<sub>
<italic>in</italic>
</sub>) and output (<italic>&#x3c6;</italic>
<sub>
<italic>out</italic>
</sub>) energy flux.</p>
</list-item>
<list-item>
<p>&#x2022; 5: apply the extended Kalman filter algorithm using model parameters (i.e., valves coefficients, bath volume, and bath static heat loads) to estimate the heat loads dissipated in the phase separator.</p>
</list-item>
</list>
</p>
<fig id="F6" position="float">
<label>FIGURE 6</label>
<caption>
<p>Block diagram of the virtual sensor and its associated model schematic view. <italic>f</italic> designates different functions depending on the associated bloc number. <italic>LT</italic> and <italic>PT</italic> are, respectively, level and pressure transmitters. Numbers within green circles are explained in the text.</p>
</caption>
<graphic xlink:href="fphy-10-875464-g006.tif"/>
</fig>
<p>In a nutshell, we use the difference between estimated values based on the model (i.e., <italic>e</italic>
<sub>
<italic>est</italic>
</sub> and <italic>&#x3c1;</italic>
<sub>
<italic>est</italic>
</sub>) and values (<italic>e</italic> and <italic>&#x3c1;</italic>) directly calculated from measurement (tabulated data in HEPACK), to correct the estimated heat load based on the model equations. The complete algorithm is being deployed in cryomodule PLCs. The following results were obtained using an external computer connected to the data acquisition system of the process. In that way, it was possible to directly get sensor process values but with a delay of few seconds.</p>
</sec>
<sec id="s4-3">
<title>4.3 Experimental Results</title>
<p>To evaluate the estimation capacity of the extended Kalman filter, a reference was needed. A controllable resistive heater thermally linked to the liquid helium phase separator was used for this purpose. Actual power dissipated in the helium bath<xref ref-type="fn" rid="fn9">
<sup>9</sup>
</xref> showed good agreement with the electrical power of the heater (within 1&#xa0;Watt). Stepped variations of the heater power were used to test the synthesized virtual sensor. The results of <xref ref-type="fig" rid="F7">Figure 7</xref> showed an exceptionally good prediction of the heater power. The actual dynamics precision was better than 2&#xa0;Watts for heat loads lower than 20&#xa0;Watts. The absolute average estimation error was equal to 0.7&#xa0;<italic>W</italic> which represents about 3% of the maximal tested heat load. This means that the estimation precision could reach 1&#xa0;<italic>W</italic> if the estimation is averaged on a sufficiently long timescale. Above 20&#xa0;Watts, the method used to measure the actual heat load dissipation of the heater introduces a bias higher than 2&#xa0;Watts which limits the interpretability of the results. However, the presented virtual sensor<xref ref-type="fn" rid="fn10">
<sup>10</sup>
</xref> shows its capability to predict heat load in real-time with a precision of few Watts. This is enough to detect anomalies during operation.</p>
<fig id="F7" position="float">
<label>FIGURE 7</label>
<caption>
<p>Estimated heat loads (green) and uncertainty (magenta) vs. electrical heater setpoint (black).</p>
</caption>
<graphic xlink:href="fphy-10-875464-g007.tif"/>
</fig>
</sec>
</sec>
<sec id="s5">
<title>5 Anomaly Detection</title>
<sec id="s5-1">
<title>5.1 Problem Overview</title>
<p>&#x201c;Anomaly detection&#x201d; is used to designate algorithms capable of identifying events or items differing from the majority of the events/items. For the case of plant monitoring these algorithms could be used to address the problem of continuous fault detection on process actuators or transmitters. These kinds of algorithms are particularly suitable for large processes which contain thousands of actuators and transmitters because it is almost impossible for a single operator to continuously check the functioning of each element within the process. For example, in the SPIRAL2 cryogenic system, there are more than 70 control valves and 300 transmitters.</p>
<p>In such a case, we demonstrate the possibility to use the cryomodule model to perform actuator malfunction detection. To be more specific, we try to predict if the output value of one cryomodule (see <xref ref-type="fig" rid="F1">Figure 1</xref>) is undergoing a deadband<xref ref-type="fn" rid="fn11">
<sup>11</sup>
</xref> problem. We use machine learning (ML) algorithms to predict the malfunction.</p>
<p>This section is decomposed into two parts. First, the generation of the dataset used to train ML algorithms is explained. Then, the ML algorithms themselves are described as well as their performances.</p>
</sec>
<sec id="s5-2">
<title>5.2 Dataset Creation</title>
<p>Nowadays, the main concern when working with ML algorithms is the generation of a clean dataset rather than the algorithm itself. Why so? Because it exists many libraries that already contain codes for all the commonly used ML algorithms. In Python, some of the most popular libraries are TensorFlow [<xref ref-type="bibr" rid="B22">22</xref>], PyTorch [<xref ref-type="bibr" rid="B23">23</xref>], and Skitlearn [<xref ref-type="bibr" rid="B24">24</xref>].</p>
<p>In the present work, the MATLAB statistics and ML toolbox [<xref ref-type="bibr" rid="B25">25</xref>] are used. All the data used for the anomaly detection problem are simulated data. Nevertheless, white noise has been added to each input and output of the model. The amplitude of this noise has been defined such that the simulated data look like the real measurements. Furthermore, slow fluctuations have been added to the input and output boundaries pressures in order to mimic the real operating conditions. To a naked eye, it is almost impossible to differentiate simulated data from measured data.</p>
<p>Before generating a dataset for valve anomaly detection, it is required to model the deadband problem on the output valve. In our case, the deadband has been set to random values between 1% and 4% to generate different test cases. The following signals have been recorded:<list list-type="simple">
<list-item>
<p>&#x2022; phase separator pressure</p>
</list-item>
<list-item>
<p>&#x2022; phase separator liquid level</p>
</list-item>
<list-item>
<p>&#x2022; input and output valves command</p>
</list-item>
</list>
</p>
<p>Only the valve command (and not the real position) is considered. It mimics the case where valves are not equipped with a position indicator. In total, 500 time series of 60&#xa0;s have been simulated. The dataset has been perfectly balanced: in half of the cases, the valve was subject to deadband, and in the other half it was not. For the two ML algorithms described in the next sub-sections, we used a standard cross-validation method. So, the overall dataset has been decomposed into a training set (60% of the data), a validation set (20% of the data), and a testing set (20% of the data). Thus we are able to perform hyper-parameters<xref ref-type="fn" rid="fn12">
<sup>12</sup>
</xref> tuning for each tested ML algorithm.</p>
</sec>
<sec id="s5-3">
<title>5.3 Solution 1: Classification Learner</title>
<p>The first solution is to use a classification learner to determine if a valve is faulty or not. This kind of algorithms require features as input and not time series. So, features were extracted from each time series of the dataset. As we do not know which features would be most suitable to identify a deadband problem, we calculate all the most common ones (i.e., variance, peak to peak, skewness, and kurtosis, etc.). In our case, we define 36 features which are few enough not to be concerned with limitations due to computer performances. But if it was the case, it would still be possible to use the same brute force approach and apply a principal component analysis [<xref ref-type="bibr" rid="B26">26</xref>,<xref ref-type="bibr" rid="B27">27</xref>] to reduce the number of features. Consequently, for all the time series of the dataset, each of the 4 measured signals has been transformed into a list of 9 features that could be used as input for a classification learner<xref ref-type="fn" rid="fn13">
<sup>13</sup>
</xref>.</p>
<p>Once again, as there is no methodology to choose the best classification algorithm, we trained multiple ones and selected the one with the highest accuracy. Thanks to parallel computing it takes less than a few minutes to train multiple algorithms including decision trees, support vector machine (SVM), logistic regression, and nearest neighbors.</p>
<p>It appears that SVM with Gaussian kernel [<xref ref-type="bibr" rid="B28">28</xref>,<xref ref-type="bibr" rid="B29">29</xref>] gets the best performance among the other algorithms. SVM with Gaussian kernel is particularly suitable for our problem as we have a small number of features (less than 1,000) and not too much data to get concerned with the computation time issue.</p>
<p>The final results obtained with the SVM are given in <xref ref-type="table" rid="T2">Table 2</xref>. They are compared to the results obtained with another method: a deep neural network presented in the next section.</p>
<table-wrap id="T2" position="float">
<label>TABLE 2</label>
<caption>
<p>Performance index comparison between SVN and LSTM.</p>
</caption>
<table>
<thead valign="top">
<tr>
<th align="left">Metric</th>
<th align="center">SVM</th>
<th align="center">LSTM</th>
</tr>
</thead>
<tbody valign="top">
<tr>
<td align="left">Accuracy</td>
<td align="char" char=".">0.98</td>
<td align="char" char=".">0.93</td>
</tr>
<tr>
<td align="left">Precision</td>
<td align="char" char=".">0.97</td>
<td align="char" char=".">0.88</td>
</tr>
<tr>
<td align="left">Recall</td>
<td align="char" char=".">0.99</td>
<td align="char" char=".">0.98</td>
</tr>
<tr>
<td align="left">
<italic>F</italic>
<sub>1</sub> score</td>
<td align="char" char=".">0.98</td>
<td align="char" char=".">0.93</td>
</tr>
</tbody>
</table>
</table-wrap>
</sec>
<sec id="s5-4">
<title>5.4 Solution 2: Deep Network</title>
<p>The second idea while developing the valve anomaly detection consists of a Long Short Term Memory (LSTM) network [<xref ref-type="bibr" rid="B30">30</xref>]. The main advantage of this deep learning algorithm is the fact that time series signals could be directly used as network inputs. It means that there is no need to calculate features in that case. Nevertheless, it generally requires more data to train this kind of network than for an SVM.</p>
<p>The architecture of the LSTM network is given in <xref ref-type="fig" rid="F8">Figure 8</xref>. As one can see, the network is decomposed into five layers:<list list-type="simple">
<list-item>
<p>&#x2022; The sequence input layer used to sequence data to the network.</p>
</list-item>
<list-item>
<p>&#x2022; The LSTM layer that learns long-term dependencies between time steps in sequence data.</p>
</list-item>
<list-item>
<p>&#x2022; The fully connected layer that applies weight and bias to the LSTM output in order to predict the right label.</p>
</list-item>
<list-item>
<p>&#x2022; The softmax layer that applies a SoftMax function to calculate the probability associated to each case (in our case normal operation of the deadband problem).</p>
</list-item>
<list-item>
<p>&#x2022; The classification output layer that provides the final prediction depending on the probability calculated in the previous layer.</p>
</list-item>
</list>
</p>
<fig id="F8" position="float">
<label>FIGURE 8</label>
<caption>
<p>Architecture used for the LSTM network.</p>
</caption>
<graphic xlink:href="fphy-10-875464-g008.tif"/>
</fig>
<p>In total, it took 200 training epochs with a constant learning rate of 0.001 to train the network. This took less than 1&#xa0;min of computation time.</p>
</sec>
<sec id="s5-5">
<title>5.5 Prediction Results</title>
<p>In this section, we compare the performances of the synthesized SVM and the LSTM algorithm. The comparison is based upon usual ML metrics: accuracy, precision, recall, and F1 score. More details about those metrics are available in [<xref ref-type="bibr" rid="B31">31</xref>]. Comparison is performed on a test set of 100 time series used only for this purpose (and not for training). Results are given in <xref ref-type="table" rid="T2">Table 2</xref>.</p>
<p>As one can see, both SVM and LSTM algorithms show good results in terms of error predictions. Nevertheless, the SVM results are slightly better. As the implementation complexity of those two algorithms is quite similar, the best option would be to deploy an SVM algorithm on the system to get an online anomaly detector. It is worth mentioning that anomaly detection has been tested on the cryomodules only to remain consistent with the rest of the article. Nevertheless, it would be more interesting to generate an anomaly detector for process-critical elements such as rotating machines of the cryogenic system: the turbines and the compressors.</p>
</sec>
</sec>
<sec id="s6">
<title>6 Conclusion</title>
<p>Advanced operation and diagnostics tools are slowly becoming a vital part of the operation of large infrastructures such as particle accelerators. While sub-systems such as cryogenics are not usually studied and documented in that perspective, they can be critical in maintaining a high beam availability. Working on a twin model of the cryomodules opens a gate that allows a control and operation method that otherwise would be difficult. It also introduces the possibility to use machine learning techniques for synthesizing monitoring proxies and smart fault detection observers. The premises of such observers have been studied and is in the process of being implemented in the SPIRAL2 control system. Developed modeling allows us to generate training data sets for machine learning algorithms. Future work will include the extension of the thermodynamic models to its radio-frequency counter-part and the application of SVM-based algorithms on actual machine data.</p>
</sec>
</body>
<back>
<sec id="s7" sec-type="data-availability">
<title>Data Availability Statement</title>
<p>The raw data supporting the conclusion of this article will be made available by the authors, without undue reservation.</p>
</sec>
<sec id="s8">
<title>Author Contributions</title>
<p>All authors listed have made a substantial, direct, and intellectual contribution to the work and approved it for publication.</p>
</sec>
<sec sec-type="COI-statement" id="s9">
<title>Conflict of Interest</title>
<p>The authors declare that the research was conducted in the absence of any commercial or financial relationships that could be construed as a potential conflict of interest.</p>
</sec>
<sec sec-type="disclaimer" id="s10">
<title>Publisher&#x2019;s Note</title>
<p>All claims expressed in this article are solely those of the authors and do not necessarily represent those of their affiliated organizations, or those of the publisher, the editors, and the reviewers. Any product that may be evaluated in this article, or claim that may be made by its manufacturer, is not guaranteed or endorsed by the publisher.</p>
</sec>
<fn-group>
<fn id="fn1">
<label>1</label>
<p>Syst&#xe8;me de Production d&#x2019;Ions RAdioactifs en Ligne de 2e g&#xe9;n&#xe9;ration.</p>
</fn>
<fn id="fn2">
<label>2</label>
<p>Superconducting Radio-Frequency.</p>
</fn>
<fn id="fn3">
<label>3</label>
<p>Loss of the superconducting state.</p>
</fn>
<fn id="fn4">
<label>4</label>
<p>Operating conditions mean the internal thermal conditions (heat load), the external hydraulic and pneumatic conditions (set by the cryoplant), and the operation set-points (typically liquid helium bath pressure and level).</p>
</fn>
<fn id="fn5">
<label>5</label>
<p>Fast transitions between superconducting state and normal conducting state that can lead, in the worst case, to irreversible mechanical damages.</p>
</fn>
<fn id="fn6">
<label>6</label>
<p>Single Input Single Output.</p>
</fn>
<fn id="fn7">
<label>7</label>
<p>Night is chosen to avoid daily operations that could induce comparison bias.</p>
</fn>
<fn id="fn8">
<label>8</label>
<p>See [<xref ref-type="bibr" rid="B10">10</xref>] for thermal set points for both type A and type B cryomodules.</p>
</fn>
<fn id="fn9">
<label>9</label>
<p>Measured by liquid helium level decay while the inlet valve is closed.</p>
</fn>
<fn id="fn10">
<label>10</label>
<p>The overall synthesis of this virtual sensor has been patented [<xref ref-type="bibr" rid="B18">18</xref>].</p>
</fn>
<fn id="fn11">
<label>11</label>
<p>A deadband is a range of input control that does not result in any output on the valve position.</p>
</fn>
<fn id="fn12">
<label>12</label>
<p>A hyper-parameter is a parameter whose value is set before the learning process begins. By contrast, the values of other parameters are derived <italic>via</italic> training.</p>
</fn>
<fn id="fn13">
<label>13</label>
<p>Weighted average of the precision and recall.</p>
</fn>
</fn-group>
<ref-list>
<title>References</title>
<ref id="B1">
<label>1.</label>
<citation citation-type="confproc">
<person-group person-group-type="author">
<name>
<surname>Ferdinand</surname>
<given-names>R</given-names>
</name>
<name>
<surname>Junquera</surname>
<given-names>T</given-names>
</name>
<name>
<surname>Bosland</surname>
<given-names>P</given-names>
</name>
<name>
<surname>Bernaudin</surname>
<given-names>P</given-names>
</name>
<name>
<surname>Saugnac</surname>
<given-names>H</given-names>
</name>
<name>
<surname>Olry</surname>
<given-names>G</given-names>
</name>
<etal/>
</person-group> <article-title>The Spiral2 Superconducting Linac</article-title>. In: <conf-name>Proceedings of LINAC 2008</conf-name>; <conf-loc>Victoria, France</conf-loc> (<year>2008</year>). </citation>
</ref>
<ref id="B2">
<label>2.</label>
<citation citation-type="book">
<person-group person-group-type="author">
<name>
<surname>Padamsee</surname>
<given-names>H</given-names>
</name>
</person-group>. <source>RF Superconductivity: Science, Technology, and Applications</source>. <publisher-loc>Hoboken, NJ, USA</publisher-loc>: <publisher-name>Wiley VCH</publisher-name> (<year>2009</year>). <pub-id pub-id-type="doi">10.1002/9783527627172</pub-id> </citation>
</ref>
<ref id="B3">
<label>3.</label>
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Ghribi</surname>
<given-names>A</given-names>
</name>
<name>
<surname>Bernaudin</surname>
<given-names>P-E</given-names>
</name>
<name>
<surname>Vassal</surname>
<given-names>A</given-names>
</name>
<name>
<surname>Bonne</surname>
<given-names>F</given-names>
</name>
</person-group>. <article-title>Status of the SPIRAL 2 LINAC Cryogenic System</article-title>. <source>Cryogenics</source> (<year>2017</year>) <volume>85</volume>(<issue>Suppl. C</issue>):<fpage>44</fpage>&#x2013;<lpage>50</lpage>. <pub-id pub-id-type="doi">10.1016/j.cryogenics.2017.05.003</pub-id> </citation>
</ref>
<ref id="B4">
<label>4.</label>
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Ghribi</surname>
<given-names>A</given-names>
</name>
<name>
<surname>Bernaudin</surname>
<given-names>P-E</given-names>
</name>
<name>
<surname>Bert</surname>
<given-names>Y</given-names>
</name>
<name>
<surname>Commeaux</surname>
<given-names>C</given-names>
</name>
<name>
<surname>Houeto</surname>
<given-names>M</given-names>
</name>
<name>
<surname>Lescali&#xe9;</surname>
<given-names>G</given-names>
</name>
</person-group>. <article-title>Spiral 2 Cryogenic System for the Superconducting LINAC</article-title>. <source>IOP Conf Ser Mater Sci Eng</source> (<year>2017</year>) <volume>171</volume>:<fpage>012115</fpage>. <pub-id pub-id-type="doi">10.1088/1757-899X/171/1/012115</pub-id> </citation>
</ref>
<ref id="B5">
<label>5.</label>
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Bernaudin</surname>
<given-names>P</given-names>
</name>
<name>
<surname>Bosland</surname>
<given-names>P</given-names>
</name>
<name>
<surname>Chel</surname>
<given-names>S</given-names>
</name>
<name>
<surname>de Girolamo</surname>
<given-names>P</given-names>
</name>
<name>
<surname>Devanz</surname>
<given-names>G</given-names>
</name>
<name>
<surname>Hardy</surname>
<given-names>P</given-names>
</name>
<etal/>
</person-group> <article-title>Design of the Low-Beta, Quarter-Wave Resonator and its Cryomodule for the Spiral2 Project</article-title>. <source>EPAC</source> (<year>2004</year>) <volume>6</volume>:<fpage>1276</fpage>. </citation>
</ref>
<ref id="B6">
<label>6.</label>
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Olry</surname>
<given-names>G</given-names>
</name>
<name>
<surname>Biarrotte</surname>
<given-names>J-L</given-names>
</name>
<name>
<surname>Blivet</surname>
<given-names>S</given-names>
</name>
<name>
<surname>Bousson</surname>
<given-names>S</given-names>
</name>
<name>
<surname>Commeaux</surname>
<given-names>C</given-names>
</name>
<name>
<surname>Joly</surname>
<given-names>C</given-names>
</name>
<etal/>
</person-group> <article-title>Development of a Beta 0.12, 88MHz, Quarter-Wave Resonator and its Cryomodule for the SPIRAL2 Project</article-title>. <source>Physica C: Superconductivity</source> (<year>2006</year>) <volume>441</volume>(<issue>1-2</issue>):<fpage>197</fpage>&#x2013;<lpage>200</lpage>. <pub-id pub-id-type="doi">10.1016/j.physc.2006.03.030</pub-id> </citation>
</ref>
<ref id="B7">
<label>7.</label>
<citation citation-type="book">
<collab>ISA</collab>. <source>ANSI/ISA-75.01.01 Industrial-Process Control Valves</source>. <publisher-loc>Gurugram, India</publisher-loc>: <publisher-name>ISA</publisher-name> (<year>2012</year>). </citation>
</ref>
<ref id="B8">
<label>8.</label>
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Bonne</surname>
<given-names>F</given-names>
</name>
<name>
<surname>Varin</surname>
<given-names>S</given-names>
</name>
<name>
<surname>Vassal</surname>
<given-names>A</given-names>
</name>
<name>
<surname>Bonnay</surname>
<given-names>P</given-names>
</name>
<name>
<surname>Hoa</surname>
<given-names>C</given-names>
</name>
<name>
<surname>Millet</surname>
<given-names>F</given-names>
</name>
<etal/>
</person-group> <article-title>Simcryogenics: a Library to Simulate and Optimize Cryoplant and Cryodistribution Dynamics</article-title>. <source>IOP Conf Ser Mater Sci Eng</source> (<year>2020</year>) <volume>755</volume>:<fpage>012076</fpage>. <pub-id pub-id-type="doi">10.1088/1757-899x/755/1/012076</pub-id> </citation>
</ref>
<ref id="B9">
<label>9.</label>
<citation citation-type="thesis">
<person-group person-group-type="author">
<name>
<surname>Vassal</surname>
<given-names>A</given-names>
</name>
</person-group>. <source>Etude D&#x2019;un R&#xe9;seau Cryog&#xe9;nique Multi-Clients Pour SPIRAL2</source>. <comment>PhD thesis</comment> (<year>2019</year>). <comment>Available from: <ext-link ext-link-type="uri" xlink:href="https://tel.archives-ouvertes.fr/tel-02390264v2">https://tel.archives-ouvertes.fr/tel-02390264v2</ext-link>
</comment>.</citation>
</ref>
<ref id="B10">
<label>10.</label>
<citation citation-type="confproc">
<person-group person-group-type="author">
<name>
<surname>Vassal</surname>
<given-names>A</given-names>
</name>
<name>
<surname>Bernaudin</surname>
<given-names>P-E</given-names>
</name>
<name>
<surname>Bonnay</surname>
<given-names>P</given-names>
</name>
<name>
<surname>Bonne</surname>
<given-names>F</given-names>
</name>
<name>
<surname>Ghribi</surname>
<given-names>A</given-names>
</name>
<name>
<surname>Millet</surname>
<given-names>F</given-names>
</name>
<etal/>
</person-group> <article-title>Spiral2 Cryogenic System Thermodynamic Behavior Prediction through Dynamic Modeling</article-title>. In: <conf-name>Proc. 29th Linear Accelerator Conference (LINAC&#x2019;18)</conf-name>; <conf-date>16-21 September 2018</conf-date>; <conf-loc>Beijing, China</conf-loc> (<year>2018</year>). p. <fpage>366</fpage>&#x2013;<lpage>9</lpage>. </citation>
</ref>
<ref id="B11">
<label>11.</label>
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Vassal</surname>
<given-names>A</given-names>
</name>
<name>
<surname>Bonne</surname>
<given-names>F</given-names>
</name>
<name>
<surname>Ghribi</surname>
<given-names>A</given-names>
</name>
<name>
<surname>Millet</surname>
<given-names>F</given-names>
</name>
<name>
<surname>Bonnay</surname>
<given-names>P</given-names>
</name>
<name>
<surname>Bernaudin</surname>
<given-names>P-E</given-names>
</name>
</person-group>. <article-title>Dynamic Modeling and Control of the Spiral2 Cryomodules</article-title>. <source>IOP Conf Ser Mater Sci Eng</source> (<year>2019</year>) <volume>502</volume>:<fpage>012111</fpage>. <pub-id pub-id-type="doi">10.1088/1757-899x/502/1/012111</pub-id> </citation>
</ref>
<ref id="B12">
<label>12.</label>
<citation citation-type="book">
<collab>Matworks</collab>. <source>Control System Toolbox: User&#x2019;s Guide (R2019a)</source> (<year>2019</year>). </citation>
</ref>
<ref id="B13">
<label>13.</label>
<citation citation-type="thesis">
<person-group person-group-type="author">
<name>
<surname>Bonne</surname>
<given-names>F</given-names>
</name>
</person-group>. <source>Mod&#xe9;lisation et contr&#xf4;le des grands r&#xe9;frig&#xe9;rateurs cryog&#xe9;niques</source>. <comment>PhD thesis</comment>. <publisher-loc>Grenoble</publisher-loc>: <publisher-name>HAL open science</publisher-name> (<year>2014</year>). <comment>Available from: <ext-link ext-link-type="uri" xlink:href="http://www.theses.fr/2014GRENT094/document">http://www.theses.fr/2014GRENT094/document</ext-link>
</comment>.</citation>
</ref>
<ref id="B14">
<label>14.</label>
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Luenberger</surname>
<given-names>D</given-names>
</name>
</person-group>. <article-title>An Introduction to Observers</article-title>. <source>IEEE Trans Automat Contr</source> (<year>1971</year>) <volume>16</volume>(<issue>6</issue>):<fpage>596</fpage>&#x2013;<lpage>602</lpage>. <pub-id pub-id-type="doi">10.1109/tac.1971.1099826</pub-id> </citation>
</ref>
<ref id="B15">
<label>15.</label>
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Wipf</surname>
<given-names>SL</given-names>
</name>
</person-group>. <article-title>AC Losses in Superconductors</article-title>. <source>J Appl Phys</source> (<year>1968</year>) <volume>39</volume>(<issue>6</issue>):<fpage>2538</fpage>. <pub-id pub-id-type="doi">10.1063/1.1656612</pub-id> </citation>
</ref>
<ref id="B16">
<label>16.</label>
<citation citation-type="confproc">
<person-group person-group-type="author">
<name>
<surname>Ding</surname>
<given-names>X</given-names>
</name>
<name>
<surname>Boucher</surname>
<given-names>S</given-names>
</name>
<name>
<surname>Technologies</surname>
<given-names>R</given-names>
</name>
</person-group>. <article-title>A Method for Establishing Q-Factors of Rf Cavities &#x2217;</article-title>. In: <conf-name>IPAC</conf-name>; <conf-loc>Kyoto</conf-loc> (<year>2010</year>). p. <fpage>3789</fpage>&#x2013;<lpage>91</lpage>. </citation>
</ref>
<ref id="B17">
<label>17.</label>
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Kalman</surname>
<given-names>RE</given-names>
</name>
</person-group>. <article-title>A New Approach to Linear Filtering and Prediction Problems</article-title>. <source>Trans ASME</source> (<year>1960</year>) <volume>82</volume>(<issue>D</issue>):<fpage>35</fpage>&#x2013;<lpage>45</lpage>. <pub-id pub-id-type="doi">10.1115/1.3662552</pub-id> </citation>
</ref>
<ref id="B18">
<label>18.</label>
<citation citation-type="book">
<person-group person-group-type="author">
<name>
<surname>Vassal</surname>
<given-names>A</given-names>
</name>
<name>
<surname>Bonne</surname>
<given-names>F</given-names>
</name>
<name>
<surname>Bonnay</surname>
<given-names>P</given-names>
</name>
<name>
<surname>Ghribi</surname>
<given-names>A</given-names>
</name>
</person-group>. <source>Proc&#xe9;d&#xe9; de d&#xe9;termination d&#x2019;un facteur quailt&#xe9; d&#x2019;une cavit&#xe9; acc&#xe9;l&#xe9;ratrice d&#x2019;un acc&#xe9;l&#xe9;rateur de partricules</source> (<year>2018</year>). </citation>
</ref>
<ref id="B19">
<label>19.</label>
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Ghribi</surname>
<given-names>A</given-names>
</name>
<name>
<surname>Aburas</surname>
<given-names>M</given-names>
</name>
<name>
<surname>Baumont</surname>
<given-names>Y</given-names>
</name>
<name>
<surname>Bernaudin</surname>
<given-names>P-E</given-names>
</name>
<name>
<surname>Bonneau</surname>
<given-names>S</given-names>
</name>
<name>
<surname>Duteil</surname>
<given-names>G</given-names>
</name>
<etal/>
</person-group> <article-title>First Full Cool Down of the Spiral 2 Superconducting Linac</article-title>. <source>Cryogenics</source> (<year>2020</year>) <volume>110</volume>:<fpage>103126</fpage>. <pub-id pub-id-type="doi">10.1016/j.cryogenics.2020.103126</pub-id> </citation>
</ref>
<ref id="B20">
<label>20.</label>
<citation citation-type="book">
<person-group person-group-type="author">
<name>
<surname>McGee</surname>
<given-names>LA</given-names>
</name>
<name>
<surname>Schmidt</surname>
<given-names>SF</given-names>
</name>
<name>
<surname>Mcgee</surname>
<given-names>LA</given-names>
</name>
<name>
<surname>Sc</surname>
<given-names>SF</given-names>
</name>
</person-group>. &#x201c;<article-title>Discovery of the Kalman Filter as a Practical Tool for Aerospace and Industry</article-title>.&#x201d; in <source>Industry,&#x201d; National Aeronautics and Space Administration, Ames Research</source>. <publisher-name>Citeseer</publisher-name> (<year>1985</year>). </citation>
</ref>
<ref id="B21">
<label>21.</label>
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Torres</surname>
<given-names>L</given-names>
</name>
<name>
<surname>Jim&#xe9;nez-Cabas</surname>
<given-names>J</given-names>
</name>
<name>
<surname>Gonz&#xe1;lez</surname>
<given-names>O</given-names>
</name>
<name>
<surname>Molina</surname>
<given-names>L</given-names>
</name>
<name>
<surname>L&#xf3;pez-Estrada</surname>
<given-names>F-R</given-names>
</name>
</person-group>. <article-title>Kalman Filters for Leak Diagnosis in Pipelines: Brief History and Future Research</article-title>. <source>J Mar Sci Eng</source> (<year>2020</year>) <volume>8</volume>(<issue>3</issue>):<fpage>173</fpage>. <pub-id pub-id-type="doi">10.3390/jmse8030173</pub-id> </citation>
</ref>
<ref id="B22">
<label>22.</label>
<citation citation-type="book">
<person-group person-group-type="author">
<name>
<surname>Martin</surname>
<given-names>A</given-names>
</name>
<name>
<surname>Ashish</surname>
<given-names>A</given-names>
</name>
<name>
<surname>Paul</surname>
<given-names>B</given-names>
</name>
<name>
<surname>Eugene</surname>
<given-names>B</given-names>
</name>
<name>
<surname>Zhifeng</surname>
<given-names>C</given-names>
</name>
<name>
<surname>Craig</surname>
<given-names>C</given-names>
</name>
</person-group>. <source>TensorFlow: Large-Scale Machine Learning on Heterogeneous Systems</source> (<year>2015</year>). <comment>Available from: <ext-link ext-link-type="uri" xlink:href="https://www.tensorflow.org/">https://www.tensorflow.org/</ext-link>
</comment>. </citation>
</ref>
<ref id="B23">
<label>23.</label>
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Paszke</surname>
<given-names>A</given-names>
</name>
<name>
<surname>Gross</surname>
<given-names>S</given-names>
</name>
<name>
<surname>Massa</surname>
<given-names>F</given-names>
</name>
<name>
<surname>Lerer</surname>
<given-names>A</given-names>
</name>
<name>
<surname>Bradbury</surname>
<given-names>J</given-names>
</name>
<name>
<surname>Chanan</surname>
<given-names>G</given-names>
</name>
<etal/>
</person-group> <article-title>Pytorch: An Imperative Style, High-Performance Deep Learning Library</article-title>. <source>Adv Neural Inf Process Syst</source> (<year>2019</year>) <volume>32</volume>. </citation>
</ref>
<ref id="B24">
<label>24.</label>
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Pedregosa</surname>
<given-names>F</given-names>
</name>
<name>
<surname>Varoquaux</surname>
<given-names>G</given-names>
</name>
<name>
<surname>Gramfort</surname>
<given-names>A</given-names>
</name>
<name>
<surname>Michel</surname>
<given-names>V</given-names>
</name>
<name>
<surname>Thirion</surname>
<given-names>B</given-names>
</name>
<name>
<surname>Grisel</surname>
<given-names>O</given-names>
</name>
<etal/>
</person-group> <article-title>Scikit-learn: Machine Learning in \{P\}ython</article-title>. <source>J Mach Learn Res</source> (<year>2011</year>) <volume>12</volume>:<fpage>2825</fpage>&#x2013;<lpage>30</lpage>. </citation>
</ref>
<ref id="B25">
<label>25.</label>
<citation citation-type="book">
<person-group person-group-type="author">
<name>
<surname>The MathWorks</surname>
<given-names>I</given-names>
</name>
</person-group>. <source>MATLAB Statistics and Machine Learning Toolbox Release 2018b</source> (<year>2018</year>). <comment>Available at: <ext-link ext-link-type="uri" xlink:href="https://fr.mathworks.com/help/stats/">https://fr.mathworks.com/help/stats/</ext-link>
</comment>. </citation>
</ref>
<ref id="B26">
<label>26.</label>
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Pearson</surname>
<given-names>K</given-names>
</name>
</person-group>. <article-title>LIII. On Lines and Planes of Closest Fit to Systems of Points in Space</article-title>. <source>Lond Edinb Dublin Philos Mag J Sci</source> (<year>1901</year>) <volume>2</volume>(<issue>11</issue>):<fpage>559</fpage>&#x2013;<lpage>72</lpage>. <pub-id pub-id-type="doi">10.1080/14786440109462720</pub-id> </citation>
</ref>
<ref id="B27">
<label>27.</label>
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Hotelling</surname>
<given-names>H</given-names>
</name>
</person-group>. <article-title>Analysis of a Complex of Statistical Variables into Principal Components</article-title>. <source>J Educ Psychol</source> (<year>1933</year>) <volume>24</volume>(<issue>6</issue>):<fpage>417</fpage>&#x2013;<lpage>41</lpage>. <pub-id pub-id-type="doi">10.1037/h0071325</pub-id> </citation>
</ref>
<ref id="B28">
<label>28.</label>
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Cortes</surname>
<given-names>C</given-names>
</name>
<name>
<surname>Vapnik</surname>
<given-names>V</given-names>
</name>
</person-group>. <article-title>Support-vector Networks</article-title>. <source>Mach Learn</source> (<year>1995</year>) <volume>20</volume>(<issue>3</issue>):<fpage>273</fpage>&#x2013;<lpage>97</lpage>. <pub-id pub-id-type="doi">10.1007/bf00994018</pub-id> </citation>
</ref>
<ref id="B29">
<label>29.</label>
<citation citation-type="book">
<person-group person-group-type="author">
<name>
<surname>Cristianini</surname>
<given-names>N</given-names>
</name>
<name>
<surname>Shawe-Taylor</surname>
<given-names>J</given-names>
</name>
</person-group>. <source>An Introduction to Support Vector Machines and Other Kernel-Based Learning Methods</source>. <publisher-loc>Cambridge</publisher-loc>: <publisher-name>Cambridge University Press</publisher-name> (<year>2000</year>). <pub-id pub-id-type="doi">10.1017/CBO9780511801389</pub-id> </citation>
</ref>
<ref id="B30">
<label>30.</label>
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Hochreiter</surname>
<given-names>S</given-names>
</name>
<name>
<surname>Schmidhuber</surname>
<given-names>J</given-names>
</name>
</person-group>. <article-title>Long Short-Term Memory</article-title>. <source>Neural Comput</source> (<year>1997</year>) <volume>9</volume>(<issue>8</issue>):<fpage>1735</fpage>&#x2013;<lpage>80</lpage>. <pub-id pub-id-type="doi">10.1162/neco.1997.9.8.1735</pub-id> </citation>
</ref>
<ref id="B31">
<label>31.</label>
<citation citation-type="book">
<person-group person-group-type="author">
<name>
<surname>Shung</surname>
<given-names>KP</given-names>
</name>
</person-group>. <source>Accuracy, Precision, Recall, or F1</source>. <publisher-loc>Canada</publisher-loc>: <publisher-name>Towards data science</publisher-name> (<year>2018</year>). </citation>
</ref>
</ref-list>
</back>
</article>