<?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. Energy Res.</journal-id>
<journal-title>Frontiers in Energy Research</journal-title>
<abbrev-journal-title abbrev-type="pubmed">Front. Energy Res.</abbrev-journal-title>
<issn pub-type="epub">2296-598X</issn>
<publisher>
<publisher-name>Frontiers Media S.A.</publisher-name>
</publisher>
</journal-meta>
<article-meta>
<article-id pub-id-type="publisher-id">1339598</article-id>
<article-id pub-id-type="doi">10.3389/fenrg.2025.1339598</article-id>
<article-categories>
<subj-group subj-group-type="heading">
<subject>Energy Research</subject>
<subj-group>
<subject>Original Research</subject>
</subj-group>
</subj-group>
</article-categories>
<title-group>
<article-title>A theoretical assessment of the on-site monitoring of hydrogen-enriched natural gas by its thermodynamic properties</article-title>
<alt-title alt-title-type="left-running-head">Monsalve</alt-title>
<alt-title alt-title-type="right-running-head">
<ext-link ext-link-type="uri" xlink:href="https://doi.org/10.3389/fenrg.2025.1339598">10.3389/fenrg.2025.1339598</ext-link>
</alt-title>
</title-group>
<contrib-group>
<contrib contrib-type="author" corresp="yes">
<name>
<surname>Monsalve</surname>
<given-names>Jorge M.</given-names>
</name>
<xref ref-type="corresp" rid="c001">&#x2a;</xref>
<uri xlink:href="https://loop.frontiersin.org/people/2579068/overview"/>
<role content-type="https://credit.niso.org/contributor-roles/conceptualization/"/>
<role content-type="https://credit.niso.org/contributor-roles/formal-analysis/"/>
<role content-type="https://credit.niso.org/contributor-roles/investigation/"/>
<role content-type="https://credit.niso.org/contributor-roles/methodology/"/>
<role content-type="https://credit.niso.org/contributor-roles/software/"/>
<role content-type="https://credit.niso.org/contributor-roles/validation/"/>
<role content-type="https://credit.niso.org/contributor-roles/writing-original-draft/"/>
<role content-type="https://credit.niso.org/contributor-roles/Writing - review &#x26; editing/"/>
</contrib>
</contrib-group>
<aff>
<institution>Acoustic Sensors and Systems, Fraunhofer IPMS</institution>, <addr-line>Dresden</addr-line>, <country>Germany</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/1338456/overview">Quan Xie</ext-link>, Curtin University, Australia</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/1501274/overview">Michele Rocca</ext-link>, University of Pisa, Italy</p>
<p>
<ext-link ext-link-type="uri" xlink:href="https://loop.frontiersin.org/people/2824170/overview">Hamid Ez-Zahraouy</ext-link>, Mohammed V University, Morocco</p>
</fn>
<corresp id="c001">&#x2a;Correspondence: Jorge M. Monsalve, <email>Jorge.mario.monsalve.guaracao@ipms.fraunhofer.de</email>
</corresp>
</author-notes>
<pub-date pub-type="epub">
<day>18</day>
<month>03</month>
<year>2025</year>
</pub-date>
<pub-date pub-type="collection">
<year>2025</year>
</pub-date>
<volume>13</volume>
<elocation-id>1339598</elocation-id>
<history>
<date date-type="received">
<day>16</day>
<month>11</month>
<year>2023</year>
</date>
<date date-type="accepted">
<day>25</day>
<month>02</month>
<year>2025</year>
</date>
</history>
<permissions>
<copyright-statement>Copyright &#xa9; 2025 Monsalve.</copyright-statement>
<copyright-year>2025</copyright-year>
<copyright-holder>Monsalve</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>A real-time, on-site monitoring of the concentration of hydrogen and the heating value of a blend of hydrogen and natural gas is of key importance for its safe distribution in existing pipelines, as proposed by the &#x2018;Power-to-Gas&#x2019; concept. Although current gas chromatography (PGC) methods deliver this information accurately, they are unsuitable for a quick and pipeline-integrated measurement. We analyse the possibility to monitor this blend with a combination of sensors of thermodynamic properties&#x2014;thermal conductivity, speed of sound and density&#x2014;as a potential substitute for PGC. We propose a numerical method for this multi-sensor detection based on the assumption of ideal gas (i.e., low-pressure) behaviour, treating natural gas as a &#x2018;mixture of mixtures&#x2019;, depending on how many geographical sources are drawn upon for its distribution. By performing a Monte-Carlo simulation with known concentrations of natural gas proceeding from different European sources, we conclude that the combined measurement of thermal conductivity together with either speed of sound or density can yield a good estimation of both variables of interest (hydrogen concentration and heating value), even under variability in the composition of natural gas.</p>
</abstract>
<kwd-group>
<kwd>hydrogen</kwd>
<kwd>natural gas</kwd>
<kwd>power-to-gas</kwd>
<kwd>speed of sound</kwd>
<kwd>thermal conductivity</kwd>
<kwd>density</kwd>
</kwd-group>
<custom-meta-wrap>
<custom-meta>
<meta-name>section-at-acceptance</meta-name>
<meta-value>Hydrogen Storage and Production</meta-value>
</custom-meta>
</custom-meta-wrap>
</article-meta>
</front>
<body>
<sec id="s1">
<title>1 Introduction</title>
<p>Hydrogen is an appealing energy carrier that offers the potential to reduce carbon emissions, as it can be synthesised from water by electrolysis. A concept termed &#x2018;Power-to-Gas&#x2019; is being seriously considered by some governments as a means to deploy the distribution of hydrogen whilst promoting the generation of electricity from renewable sources (<xref ref-type="bibr" rid="B1">Ajanovic and Haas, 2018</xref>; <xref ref-type="bibr" rid="B18">Melaina et al., 2013</xref>; <xref ref-type="bibr" rid="B14">Liu et al., 2017</xref>). The intermittent power generated by renewable sources can be used to synthesise hydrogen, which can be mixed with natural gas and stored in large containers. By blending hydrogen with natural gas, an additional pipeline network for its distribution could be spared; however, this entails the risk that certain components (such as tanks, pipes, valves, and burners) may fail if the concentration of hydrogen exceeds a certain limit, ranging approximately between 5 and 20 mol% depending on the device (<xref ref-type="bibr" rid="B18">Melaina et al., 2013</xref>; <xref ref-type="bibr" rid="B20">M&#xfc;ller-Syring and Henel, 2014</xref>; <xref ref-type="bibr" rid="B9">D&#xf6;rr et al., 2016;</xref> <xref ref-type="bibr" rid="B15">Makaryan et al., 2022</xref>; <xref ref-type="bibr" rid="B11">Franco and Rocca, 2024</xref>). The hydrogen-enriched mixture can be used as-is for the usual application of combustion for heating, in which case knowledge of the content of hydrogen becomes important, not only to verify the safety limits, but also for billing purposes. Therefore, the implementation of Power-to-Gas requires a sensing technology that can detect the content of hydrogen in a mixture with natural gas, preferably on-site, in real time, and at a low cost.</p>
<p>The standard method for characterising a mixture such as hydrogen-enriched natural gas is process gas chromatography (PGC<xref ref-type="fn" rid="fn1">
<sup>1</sup>
</xref>); however, this technique requires the extraction of samples and takes a considerable time for analysis, which makes it unsuitable for on-site monitoring&#x2014;alongside its high costs. An important challenge in the characterisation of hydrogen-enriched natural gas is that the latter is not a standardised mixture. Although heavily based on methane (roughly 90 mol%), the composition of natural gas can vary from source to source, remaining relatively constant only if the source is kept constant (<xref ref-type="bibr" rid="B5">Cerbe and Lendt, 2017</xref>; <xref ref-type="bibr" rid="B7">Deutscher Verein des Gas-und Wasserfaches, 2021</xref>). Infrared spectroscopy is an interesting alternative to PCG that can be integrated into a pipeline (<xref ref-type="bibr" rid="B10">Fodor, 1996</xref>). According to recent reports, this technique has become capable of discriminating carbon dioxide, methane, ethane, propane and even higher hydrocarbons (<xref ref-type="bibr" rid="B4">Bolwien, 2022</xref>); nonetheless, hydrogen remains elusive to this technique, which requires a combination with further sensors. Due to its low density, high thermal conductivity, and high speed of sound, the amount fraction of hydrogen in natural gas can be detected by measuring any of these variables (<xref ref-type="bibr" rid="B19">Monsalve et al., 2022</xref>; <xref ref-type="bibr" rid="B3">Benkendorf, 2023</xref>), as long as the composition of natural gas remains constant. If this is not the case, a more complex system needs to be developed. In this article, we address the question as to whether multiple sensors of thermodynamic properties can be combined to detect both the molar percentage of hydrogen and the combustion enthalpy of a mixture with natural gas of a variable composition. In particular, we consider the variables of speed of sound, density, thermal conductivity and viscosity, whose real-time monitoring can be performed with low-cost, MEMS<xref ref-type="fn" rid="fn2">
<sup>2</sup>
</xref> sensors.</p>
</sec>
<sec sec-type="methods" id="s2">
<title>2 Methods</title>
<sec id="s2-1">
<title>2.1 Characterisation of a mixture of ideal gases by a thermodynamic fingerprint</title>
<p>Although some studies propose the usage of methane (not natural gas) mixed with hydrogen as an alternative to fossil fuels (<xref ref-type="bibr" rid="B15">Makaryan et al., 2022</xref>), we aim to explore the feasibility of a sensing system for mixtures where the higher hydrocarbons and other elements cannot be neglected&#x2014;if pure methane is mixed with pure hydrogen, a simple physical detection system can be readily proposed. Before proceeding with our analysis, it is instructive to observe the composition of several typical natural gas samples extracted from different sources, shown in <xref ref-type="table" rid="T1">Table 1</xref>. Notice that some gases are classified as &#x201c;H&#x201d; and others as &#x201c;L&#x201d;, denoting a <italic>high</italic> or <italic>low</italic> percentage of methane, respectively.</p>
<table-wrap id="T1" position="float">
<label>TABLE 1</label>
<caption>
<p>Typical composition of natural gas proceeding from different geographical sources. Source: <xref ref-type="bibr" rid="B7">Deutscher Verein des Gas-und Wasserfaches, (2021)</xref>.</p>
</caption>
<table>
<thead valign="top">
<tr>
<th rowspan="2" align="left">
<bold>Component</bold>
</th>
<th colspan="7" align="left">Geographical source</th>
</tr>
<tr>
<th align="left">Russia (H)</th>
<th align="left">North Sea (H)</th>
<th align="left">Denmark (H)</th>
<th align="left">Netherlands (L)</th>
<th align="left">Germany (L)</th>
<th align="left">Biomethane (H)</th>
<th align="left">Biomethane &#x2b; LPG (H)</th>
</tr>
</thead>
<tbody valign="top">
<tr>
<td align="left">Methane, CH<sub>4</sub>
</td>
<td align="left">96.96 mol%</td>
<td align="left">88.71 mol%</td>
<td align="left">90.07 mol%</td>
<td align="left">83.64 mol%</td>
<td align="left">86.46 mol%</td>
<td align="left">96.15 mol%</td>
<td align="left">90.94 mol%</td>
</tr>
<tr>
<td align="left">Ethane, C<sub>2</sub>H<sub>6</sub>
</td>
<td align="left">1.37 mol%</td>
<td align="left">6.93 mol%</td>
<td align="left">5.68 mol%</td>
<td align="left">3.56 mol%</td>
<td align="left">1.06 mol%</td>
<td align="left">--</td>
<td align="left">--</td>
</tr>
<tr>
<td align="left">Propane, C<sub>3</sub>H<sub>8</sub>
</td>
<td align="left">0.45 mol%</td>
<td align="left">1.25 mol%</td>
<td align="left">2.19 mol%</td>
<td align="left">0.61 mol%</td>
<td align="left">0.11 mol%</td>
<td align="left">--</td>
<td align="left">5.00 mol%</td>
</tr>
<tr>
<td align="left">Butane, C<sub>4</sub>H<sub>10</sub>
</td>
<td align="left">0.15 mol%</td>
<td align="left">0.28 mol%</td>
<td align="left">0.90 mol%</td>
<td align="left">0.19 mol%</td>
<td align="left">0.03 mol%</td>
<td align="left">--</td>
<td align="left">0.50 mol%</td>
</tr>
<tr>
<td align="left">Pentane, C<sub>5</sub>H<sub>12</sub>
</td>
<td align="left">0.02 mol%</td>
<td align="left">0.05 mol%</td>
<td align="left">0.22 mol%</td>
<td align="left">0.04 mol%</td>
<td align="left">0.01 mol%</td>
<td align="left">--</td>
<td align="left">--</td>
</tr>
<tr>
<td align="left">C6&#x2b; Hydrocarbons</td>
<td align="left">0.01 mol%</td>
<td align="left">0.02 mol%</td>
<td align="left">0.06 mol%</td>
<td align="left">0.07 mol%</td>
<td align="left">0.01 mol%</td>
<td align="left">--</td>
<td align="left">--</td>
</tr>
<tr>
<td align="left">Nitrogen, N<sub>2</sub>
</td>
<td align="left">0.86 mol%</td>
<td align="left">0.82 mol%</td>
<td align="left">0.28 mol%</td>
<td align="left">10.21 mol%</td>
<td align="left">10.24 mol%</td>
<td align="left">0.75 mol%</td>
<td align="left">0.69 mol%</td>
</tr>
<tr>
<td align="left">Carbon dioxide, CO<sub>2</sub>
</td>
<td align="left">0.18 mol%</td>
<td align="left">1.94 mol%</td>
<td align="left">0.60 mol%</td>
<td align="left">1.68 mol%</td>
<td align="left">2.08 mol%</td>
<td align="left">2.90 mol%</td>
<td align="left">2.68 mol%</td>
</tr>
</tbody>
</table>
</table-wrap>
<p>One approach to characterising hydrogen-enriched natural gas would be the determination of the molar percentages of its most important components. A rigorous PGC-like, molecule-based approach would require the computation of nine unknowns, which can only be achieved if nine independent equations are available (one of them being given by the definition that the sum of the molar fractions is one). Recognising that the combination of pentane, hexane and higher hydrocarbons sums up less than about 0.1 mol%, their contribution can be either ignored or attributed to a slightly higher amount of butane without causing a significant error. Even so, 7 M percentages remain to be determined, which requires at least six independent physical measurements.</p>
<p>The difficulty in determining the full composition of this complex mixture has led some to search for correlation tendencies (<xref ref-type="bibr" rid="B12">Huber et al., 2018</xref>). What is of interest to the application is not the molar percentage of every component, but only that of hydrogen, alongside the overall combustion enthalpy. Hence, if an empirical combination of physical variables can be found, such that the two sought-after variables can be predicted within some accuracy, the computation of the composition can be avoided. Such a finding cannot be guaranteed, as it does not follow from a rigorous model, but it would be of great practical value if it is confirmed. In this article, we test some of the proposed correlation tendencies, finding negative results. The possibility of developing a machine-learning algorithm to predict these two variables based on a certain set of measurable properties, however numerous, remains an open possibility to be explored.</p>
<p>We address the question of a plausible physical characterisation with a different approach, considering hydrogen-enriched natural gas, not as a mixture of gas molecules, but as a mixture of mixtures. This is illustrated in <xref ref-type="fig" rid="F1">Figure 1</xref>. Under this approach, each source of natural gas is characterised by a fixed composition and therefore by a set of effective thermodynamic properties that could serve as its fingerprint. If a certain user draws natural gas from two different sources and hydrogen is added to it, the quantification problem reduces to solving a system of two equations with two unknowns. This assumption is only valid for ideal gases, where molecule-molecule interactions are neglected. Therefore, our approach is limited to pressures less than about 10 bar (<xref ref-type="bibr" rid="B6">C&#xe9;zar de Almeida et al., 2014</xref>) and so not applicable to &#x2018;high-pressure&#x2019; pipelines, which are designed for pressures above 16 bar (<xref ref-type="bibr" rid="B21">T&#xe9;lessy et al., 2024</xref>). In the case of real-gas behaviour, further variables and more complex equations are required to characterise the mixture.</p>
<fig id="F1" position="float">
<label>FIGURE 1</label>
<caption>
<p>Illustration of two possible approaches to conceive the blending of hydrogen into natural gas, either as a combination of molecules or as a &#x201c;mixture of mixtures&#x201d; (valid only for ideal gases).</p>
</caption>
<graphic xlink:href="fenrg-13-1339598-g001.tif"/>
</fig>
<p>With a mixture-based approach, a system of equations of the following sort (<xref ref-type="disp-formula" rid="e1">Equation 1</xref>) is solved:<disp-formula id="equ1">
<mml:math id="m1">
<mml:mrow>
<mml:msub>
<mml:mi mathvariant="bold-italic">x</mml:mi>
<mml:mi mathvariant="bold-italic">H</mml:mi>
</mml:msub>
<mml:mo>&#x2b;</mml:mo>
<mml:msub>
<mml:mi mathvariant="bold-italic">x</mml:mi>
<mml:mn mathvariant="bold">1</mml:mn>
</mml:msub>
<mml:mo>&#x2b;</mml:mo>
<mml:mo>&#x22ef;</mml:mo>
<mml:mo>&#x2b;</mml:mo>
<mml:msub>
<mml:mi mathvariant="bold-italic">x</mml:mi>
<mml:mi mathvariant="bold-italic">n</mml:mi>
</mml:msub>
<mml:mo>&#x3d;</mml:mo>
<mml:mn mathvariant="bold">1</mml:mn>
</mml:mrow>
</mml:math>
</disp-formula>
<disp-formula id="e1">
<mml:math id="m2">
<mml:mrow>
<mml:mfenced open="{" close="" separators="|">
<mml:mrow>
<mml:mtable columnalign="left">
<mml:mtr>
<mml:mtd>
<mml:mrow>
<mml:msub>
<mml:mi mathvariant="bold-italic">f</mml:mi>
<mml:mi mathvariant="bold-italic">i</mml:mi>
</mml:msub>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="|">
<mml:mrow>
<mml:msub>
<mml:mi mathvariant="bold-italic">x</mml:mi>
<mml:mi mathvariant="bold-italic">H</mml:mi>
</mml:msub>
<mml:mo>,</mml:mo>
<mml:msub>
<mml:mi mathvariant="bold-italic">x</mml:mi>
<mml:mn mathvariant="bold">1</mml:mn>
</mml:msub>
<mml:mo>,</mml:mo>
<mml:mo>&#x2026;</mml:mo>
<mml:mo>,</mml:mo>
<mml:msub>
<mml:mi mathvariant="bold-italic">x</mml:mi>
<mml:mi mathvariant="bold-italic">n</mml:mi>
</mml:msub>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
<mml:mo>&#x3d;</mml:mo>
<mml:msub>
<mml:mi mathvariant="bold-italic">y</mml:mi>
<mml:mi mathvariant="bold-italic">i</mml:mi>
</mml:msub>
</mml:mrow>
</mml:mtd>
</mml:mtr>
<mml:mtr>
<mml:mtd>
<mml:mo>&#x2026;</mml:mo>
</mml:mtd>
</mml:mtr>
</mml:mtable>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
</mml:math>
<label>(1)</label>
</disp-formula>where <inline-formula id="inf1">
<mml:math id="m3">
<mml:mrow>
<mml:msub>
<mml:mi>x</mml:mi>
<mml:mi>H</mml:mi>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula> is the amount fraction of <inline-formula id="inf2">
<mml:math id="m4">
<mml:mrow>
<mml:msub>
<mml:mi>H</mml:mi>
<mml:mn>2</mml:mn>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula>, <inline-formula id="inf3">
<mml:math id="m5">
<mml:mrow>
<mml:msub>
<mml:mi>x</mml:mi>
<mml:mrow>
<mml:mn>1</mml:mn>
<mml:mo>&#x2026;</mml:mo>
<mml:mi>n</mml:mi>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula> the amount fractions of the different &#x2018;kinds&#x2019; of natural gas, and <inline-formula id="inf4">
<mml:math id="m6">
<mml:mrow>
<mml:msub>
<mml:mi>y</mml:mi>
<mml:mi>i</mml:mi>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula> is a physical property that can be explicitly calculated as a function of the molar percentages. Solving for all the involved molar percentages, not just that of hydrogen, is important in order to estimate the enthalpy of combustion (<xref ref-type="disp-formula" rid="e2">Equation 2</xref>).<disp-formula id="e2">
<mml:math id="m7">
<mml:mrow>
<mml:mi mathvariant="bold">&#x394;</mml:mi>
<mml:msub>
<mml:mi mathvariant="bold-italic">H</mml:mi>
<mml:mi mathvariant="bold-italic">C</mml:mi>
</mml:msub>
<mml:mo>&#x3d;</mml:mo>
<mml:msub>
<mml:mi mathvariant="bold-italic">x</mml:mi>
<mml:mi mathvariant="bold-italic">H</mml:mi>
</mml:msub>
<mml:mi mathvariant="bold">&#x394;</mml:mi>
<mml:msub>
<mml:mi mathvariant="bold-italic">H</mml:mi>
<mml:mi mathvariant="bold-italic">H</mml:mi>
</mml:msub>
<mml:mo>&#x2b;</mml:mo>
<mml:mstyle displaystyle="true">
<mml:munderover>
<mml:mo>&#x2211;</mml:mo>
<mml:mrow>
<mml:mi mathvariant="bold-italic">k</mml:mi>
<mml:mo>&#x3d;</mml:mo>
<mml:mn mathvariant="bold">1</mml:mn>
</mml:mrow>
<mml:mi mathvariant="bold-italic">n</mml:mi>
</mml:munderover>
</mml:mstyle>
<mml:msub>
<mml:mi mathvariant="bold-italic">x</mml:mi>
<mml:mi mathvariant="bold-italic">k</mml:mi>
</mml:msub>
<mml:mi mathvariant="bold">&#x394;</mml:mi>
<mml:msub>
<mml:mi mathvariant="bold-italic">H</mml:mi>
<mml:mi mathvariant="bold-italic">k</mml:mi>
</mml:msub>
</mml:mrow>
</mml:math>
<label>(2)</label>
</disp-formula>
</p>
<p>If a sensor system is capable of estimating the enthalpy of combustion, the rate of energy transported through the gas can be then computed according to <xref ref-type="disp-formula" rid="e3">Equation 3</xref>, assuming ideal gas behaviour. (Let <inline-formula id="inf5">
<mml:math id="m8">
<mml:mrow>
<mml:mi>v</mml:mi>
</mml:mrow>
</mml:math>
</inline-formula> be the flow velocity, <inline-formula id="inf6">
<mml:math id="m9">
<mml:mrow>
<mml:mi>A</mml:mi>
</mml:mrow>
</mml:math>
</inline-formula> the area of the cross section of the conduit, <inline-formula id="inf7">
<mml:math id="m10">
<mml:mrow>
<mml:mi>P</mml:mi>
</mml:mrow>
</mml:math>
</inline-formula> the absolute pressure, <inline-formula id="inf8">
<mml:math id="m11">
<mml:mrow>
<mml:mi>R</mml:mi>
</mml:mrow>
</mml:math>
</inline-formula> the ideal gas constant, and <inline-formula id="inf9">
<mml:math id="m12">
<mml:mrow>
<mml:mi>T</mml:mi>
</mml:mrow>
</mml:math>
</inline-formula> the absolute temperature.) In other words, a sensor system for billing purposes requires a measurement of flow velocity, absolute pressure, and temperature.<disp-formula id="e3">
<mml:math id="m13">
<mml:mrow>
<mml:mover accent="true">
<mml:mi mathvariant="bold-italic">E</mml:mi>
<mml:mo>&#x2d9;</mml:mo>
</mml:mover>
<mml:mo>&#x3d;</mml:mo>
<mml:mover accent="true">
<mml:mi mathvariant="bold-italic">n</mml:mi>
<mml:mo>&#x2d9;</mml:mo>
</mml:mover>
<mml:mrow>
<mml:mfenced open="|" close="" separators="|">
<mml:mrow>
<mml:mi mathvariant="bold">&#x394;</mml:mi>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
<mml:msub>
<mml:mi mathvariant="bold-italic">H</mml:mi>
<mml:mi mathvariant="bold-italic">C</mml:mi>
</mml:msub>
<mml:mrow>
<mml:mfenced open="|" close="" separators="|">
<mml:mrow>
<mml:mo>&#x3d;</mml:mo>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="|">
<mml:mrow>
<mml:mfrac>
<mml:mrow>
<mml:mi mathvariant="bold-italic">v</mml:mi>
<mml:mi mathvariant="bold-italic">A</mml:mi>
<mml:mi mathvariant="bold-italic">P</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi mathvariant="bold-italic">R</mml:mi>
<mml:mi mathvariant="bold-italic">T</mml:mi>
</mml:mrow>
</mml:mfrac>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
<mml:mrow>
<mml:mfenced open="|" close="|" separators="|">
<mml:mrow>
<mml:mi mathvariant="bold">&#x394;</mml:mi>
</mml:mrow>
<mml:msub>
<mml:mi mathvariant="bold-italic">H</mml:mi>
<mml:mi mathvariant="bold-italic">C</mml:mi>
</mml:msub>
</mml:mfenced>
</mml:mrow>
</mml:mrow>
</mml:math>
<label>(3)</label>
</disp-formula>
</p>
<p>The ease or difficulty of solving this problem lies in the nature of the equations for each physical property, <inline-formula id="inf10">
<mml:math id="m14">
<mml:mrow>
<mml:msub>
<mml:mi>y</mml:mi>
<mml:mi>i</mml:mi>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula>. There ought to be an explicit equation under which each property can be directly related to each amount fraction. The equations need not be linear nor polynomial, but any valid approximation as either of these would significantly reduce the complexity.</p>
</sec>
<sec id="s2-2">
<title>2.2 Calculation of thermodynamic properties of a gas mixture</title>
<p>Let us now consider the available models through which the aforementioned thermodynamic properties (density, speed of sound, thermal conductivity and viscosity) can be calculated for a mixture of gases.</p>
<p>The ideal gas equation yields a simple linear model to calculate the density of a gas mixture (<xref ref-type="disp-formula" rid="e4">Equation 4</xref>) Rather than density itself (<inline-formula id="inf11">
<mml:math id="m15">
<mml:mrow>
<mml:mi>&#x3c1;</mml:mi>
</mml:mrow>
</mml:math>
</inline-formula>), it is more convenient to refer to the molar mass (<inline-formula id="inf12">
<mml:math id="m16">
<mml:mrow>
<mml:mi>M</mml:mi>
</mml:mrow>
</mml:math>
</inline-formula>) of the mixture, for it is independent on the absolute pressure and temperature. A measurement of density, therefore, ought to be accompanied by pressure and temperature sensors in order to make the respective compensation. This molar mass is simply the linear combination of the individual molar masses and the respective molar percentages. Notice that this linear combination can be expressed both in terms of the individual molecules and in terms of the different sources of natural gas.<disp-formula id="e4">
<mml:math id="m17">
<mml:mrow>
<mml:mfrac>
<mml:mrow>
<mml:mi mathvariant="bold-italic">&#x3c1;</mml:mi>
<mml:mi mathvariant="bold-italic">R</mml:mi>
<mml:mi mathvariant="bold-italic">T</mml:mi>
</mml:mrow>
<mml:mi mathvariant="bold-italic">P</mml:mi>
</mml:mfrac>
<mml:mo>&#x3d;</mml:mo>
<mml:mi mathvariant="bold-italic">M</mml:mi>
<mml:mo>&#x3d;</mml:mo>
<mml:mo>&#x2211;</mml:mo>
<mml:msub>
<mml:mi mathvariant="bold-italic">M</mml:mi>
<mml:mi mathvariant="bold-italic">i</mml:mi>
</mml:msub>
<mml:msub>
<mml:mi mathvariant="bold-italic">x</mml:mi>
<mml:mi mathvariant="bold-italic">i</mml:mi>
</mml:msub>
</mml:mrow>
</mml:math>
<label>(4)</label>
</disp-formula>
</p>
<p>The Newton-Laplace equation for the speed of sound (<inline-formula id="inf13">
<mml:math id="m18">
<mml:mrow>
<mml:mi>c</mml:mi>
</mml:mrow>
</mml:math>
</inline-formula>) in an ideal gas reveals its dependence on the overall molar mass of the mixture (<inline-formula id="inf14">
<mml:math id="m19">
<mml:mrow>
<mml:mi>M</mml:mi>
</mml:mrow>
</mml:math>
</inline-formula>), as well as on the overall molar isobaric heat capacity (<inline-formula id="inf15">
<mml:math id="m20">
<mml:mrow>
<mml:msub>
<mml:mi>C</mml:mi>
<mml:mi>p</mml:mi>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula>) and molar isochoric heat capacity (<inline-formula id="inf16">
<mml:math id="m21">
<mml:mrow>
<mml:msub>
<mml:mi>C</mml:mi>
<mml:mi>v</mml:mi>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula>), all of which are given by linear combinations of the individual amount fractions (<xref ref-type="bibr" rid="B8">Dixon and Greenwood, 1925</xref>). Given the temperature dependence of the speed of sound, it is more convenient to calculate the ratio <inline-formula id="inf17">
<mml:math id="m22">
<mml:mrow>
<mml:mi>R</mml:mi>
<mml:mi>T</mml:mi>
<mml:mo>/</mml:mo>
<mml:msup>
<mml:mi>c</mml:mi>
<mml:mn>2</mml:mn>
</mml:msup>
</mml:mrow>
</mml:math>
</inline-formula>, which has units of molar mass and is denoted here as <inline-formula id="inf18">
<mml:math id="m23">
<mml:mrow>
<mml:msup>
<mml:mi>M</mml:mi>
<mml:mo>&#x2a;</mml:mo>
</mml:msup>
</mml:mrow>
</mml:math>
</inline-formula> (<xref ref-type="disp-formula" rid="e5">Equation 5</xref>). The presence of linear combinations for the calculation of <inline-formula id="inf19">
<mml:math id="m24">
<mml:mrow>
<mml:msub>
<mml:mi>C</mml:mi>
<mml:mi>p</mml:mi>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula>, <inline-formula id="inf20">
<mml:math id="m25">
<mml:mrow>
<mml:msub>
<mml:mi>C</mml:mi>
<mml:mi>v</mml:mi>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula> and <inline-formula id="inf21">
<mml:math id="m26">
<mml:mrow>
<mml:mi>M</mml:mi>
</mml:mrow>
</mml:math>
</inline-formula> also makes it possible to express the speed of sound in terms of either the molar percentages of the individual molecules or of the different &#x2018;mixtures&#x2019; in the mixture (each with effective values of <inline-formula id="inf22">
<mml:math id="m27">
<mml:mrow>
<mml:msub>
<mml:mi>C</mml:mi>
<mml:mi>p</mml:mi>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula>, <inline-formula id="inf23">
<mml:math id="m28">
<mml:mrow>
<mml:msub>
<mml:mi>C</mml:mi>
<mml:mi>v</mml:mi>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula> and <inline-formula id="inf24">
<mml:math id="m29">
<mml:mrow>
<mml:mi>M</mml:mi>
</mml:mrow>
</mml:math>
</inline-formula>).<disp-formula id="e5">
<mml:math id="m30">
<mml:mrow>
<mml:mfrac>
<mml:mrow>
<mml:mi mathvariant="bold-italic">R</mml:mi>
<mml:mi mathvariant="bold-italic">T</mml:mi>
</mml:mrow>
<mml:msup>
<mml:mi mathvariant="bold-italic">c</mml:mi>
<mml:mn mathvariant="bold">2</mml:mn>
</mml:msup>
</mml:mfrac>
<mml:mo>&#x3d;</mml:mo>
<mml:msup>
<mml:mi mathvariant="bold-italic">M</mml:mi>
<mml:mo>&#x2a;</mml:mo>
</mml:msup>
<mml:mo>&#x3d;</mml:mo>
<mml:mfrac>
<mml:mrow>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="|">
<mml:mrow>
<mml:mo>&#x2211;</mml:mo>
<mml:msub>
<mml:mi mathvariant="bold-italic">C</mml:mi>
<mml:mrow>
<mml:mi mathvariant="bold-italic">v</mml:mi>
<mml:mi mathvariant="bold-italic">i</mml:mi>
</mml:mrow>
</mml:msub>
<mml:msub>
<mml:mi mathvariant="bold-italic">x</mml:mi>
<mml:mi mathvariant="bold-italic">i</mml:mi>
</mml:msub>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="|">
<mml:mrow>
<mml:mo>&#x2211;</mml:mo>
<mml:msub>
<mml:mi mathvariant="bold-italic">M</mml:mi>
<mml:mi mathvariant="bold-italic">i</mml:mi>
</mml:msub>
<mml:msub>
<mml:mi mathvariant="bold-italic">x</mml:mi>
<mml:mi mathvariant="bold-italic">i</mml:mi>
</mml:msub>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
</mml:mrow>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="|">
<mml:mrow>
<mml:mo>&#x2211;</mml:mo>
<mml:msub>
<mml:mi mathvariant="bold-italic">C</mml:mi>
<mml:mrow>
<mml:mi mathvariant="bold-italic">p</mml:mi>
<mml:mi mathvariant="bold-italic">i</mml:mi>
</mml:mrow>
</mml:msub>
<mml:msub>
<mml:mi mathvariant="bold-italic">x</mml:mi>
<mml:mi mathvariant="bold-italic">i</mml:mi>
</mml:msub>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
</mml:mfrac>
</mml:mrow>
</mml:math>
<label>(5)</label>
</disp-formula>
</p>
<p>Closer examination of <xref ref-type="disp-formula" rid="e5">Equation 5</xref> leads to the observation that a quadratic polynomial of the individual amount fractions is always formed. For the case of hydrogen mixed with two different compositions of natural gas (<inline-formula id="inf25">
<mml:math id="m31">
<mml:mrow>
<mml:msub>
<mml:mi>x</mml:mi>
<mml:mn>1</mml:mn>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula> and <inline-formula id="inf26">
<mml:math id="m32">
<mml:mrow>
<mml:msub>
<mml:mi>x</mml:mi>
<mml:mn>2</mml:mn>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula>, with <inline-formula id="inf27">
<mml:math id="m33">
<mml:mrow>
<mml:msub>
<mml:mi>x</mml:mi>
<mml:mn>2</mml:mn>
</mml:msub>
<mml:mo>&#x3d;</mml:mo>
<mml:mn>1</mml:mn>
<mml:mo>&#x2212;</mml:mo>
<mml:msub>
<mml:mi>x</mml:mi>
<mml:mi>H</mml:mi>
</mml:msub>
<mml:mo>&#x2212;</mml:mo>
<mml:msub>
<mml:mi>x</mml:mi>
<mml:mn>1</mml:mn>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula>), <xref ref-type="disp-formula" rid="e5">Equation 5</xref> can be rewritten as the quadratic polynomial in <xref ref-type="disp-formula" rid="e6">Equation 6</xref>, whereby each coefficient (<inline-formula id="inf28">
<mml:math id="m34">
<mml:mrow>
<mml:msub>
<mml:mi>&#x3b6;</mml:mi>
<mml:mrow>
<mml:mi>i</mml:mi>
<mml:mi>j</mml:mi>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula>) originates from a multiplication between a heat capacity and a molar mass.<disp-formula id="e6">
<mml:math id="m35">
<mml:mrow>
<mml:msub>
<mml:mi mathvariant="bold-italic">&#x3b6;</mml:mi>
<mml:mn mathvariant="bold">20</mml:mn>
</mml:msub>
<mml:msubsup>
<mml:mi mathvariant="bold-italic">x</mml:mi>
<mml:mi mathvariant="bold-italic">H</mml:mi>
<mml:mn mathvariant="bold">2</mml:mn>
</mml:msubsup>
<mml:mo>&#x2b;</mml:mo>
<mml:msub>
<mml:mi mathvariant="bold-italic">&#x3b6;</mml:mi>
<mml:mn mathvariant="bold">11</mml:mn>
</mml:msub>
<mml:msub>
<mml:mi mathvariant="bold-italic">x</mml:mi>
<mml:mi mathvariant="bold-italic">H</mml:mi>
</mml:msub>
<mml:msub>
<mml:mi mathvariant="bold-italic">x</mml:mi>
<mml:mn mathvariant="bold">1</mml:mn>
</mml:msub>
<mml:mo>&#x2b;</mml:mo>
<mml:msub>
<mml:mi mathvariant="bold-italic">&#x3b6;</mml:mi>
<mml:mn mathvariant="bold">02</mml:mn>
</mml:msub>
<mml:msubsup>
<mml:mi mathvariant="bold-italic">x</mml:mi>
<mml:mn mathvariant="bold">1</mml:mn>
<mml:mn mathvariant="bold">2</mml:mn>
</mml:msubsup>
<mml:mo>&#x2b;</mml:mo>
<mml:msub>
<mml:mi mathvariant="bold-italic">&#x3b6;</mml:mi>
<mml:mn mathvariant="bold">10</mml:mn>
</mml:msub>
<mml:msub>
<mml:mi mathvariant="bold-italic">x</mml:mi>
<mml:mi mathvariant="bold-italic">H</mml:mi>
</mml:msub>
<mml:mo>&#x2b;</mml:mo>
<mml:msub>
<mml:mi mathvariant="bold-italic">&#x3b6;</mml:mi>
<mml:mn mathvariant="bold">01</mml:mn>
</mml:msub>
<mml:msub>
<mml:mi mathvariant="bold-italic">x</mml:mi>
<mml:mn mathvariant="bold">1</mml:mn>
</mml:msub>
<mml:mo>&#x2b;</mml:mo>
<mml:msub>
<mml:mi mathvariant="bold-italic">&#x3b6;</mml:mi>
<mml:mn mathvariant="bold">00</mml:mn>
</mml:msub>
<mml:mo>&#x3d;</mml:mo>
<mml:mn mathvariant="bold">0</mml:mn>
</mml:mrow>
</mml:math>
<label>(6)</label>
</disp-formula>
</p>
<p>The calculation of the thermal conductivity and viscosity of a gas mixture&#x2014;even of ideal gases&#x2014;is not a straightforward task. <xref ref-type="bibr" rid="B17">Mason and Saxena (1958)</xref> developed an approximate formula for the thermal conductivity based on a rigorous analysis of the kinetic theory of gases. A similar work was performed by <xref ref-type="bibr" rid="B22">Wilke (1950)</xref> for the calculation of viscosity. Both equations are very similar in form, showing how the pairwise interactions between components affect the overall behaviour of the mixture.</p>
<p>The thermal conductivity of a mixture (<inline-formula id="inf29">
<mml:math id="m36">
<mml:mrow>
<mml:msub>
<mml:mi>&#x3ba;</mml:mi>
<mml:mrow>
<mml:mi>m</mml:mi>
<mml:mi>i</mml:mi>
<mml:mi>x</mml:mi>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula>) is thus calculated according to<xref ref-type="fn" rid="fn3">
<sup>3</sup>
</xref> <xref ref-type="disp-formula" rid="e7">Equation 7</xref>:<disp-formula id="equ2">
<mml:math id="m37">
<mml:mrow>
<mml:msub>
<mml:mi mathvariant="bold-italic">&#x3ba;</mml:mi>
<mml:mrow>
<mml:mi mathvariant="bold-italic">m</mml:mi>
<mml:mi mathvariant="bold-italic">i</mml:mi>
<mml:mi mathvariant="bold-italic">x</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mo>&#x3d;</mml:mo>
<mml:mstyle displaystyle="true">
<mml:munderover>
<mml:mo>&#x2211;</mml:mo>
<mml:mrow>
<mml:mi mathvariant="bold-italic">i</mml:mi>
<mml:mo>&#x3d;</mml:mo>
<mml:mn mathvariant="bold">1</mml:mn>
</mml:mrow>
<mml:mi mathvariant="bold-italic">n</mml:mi>
</mml:munderover>
</mml:mstyle>
<mml:mfrac>
<mml:msub>
<mml:mi mathvariant="bold-italic">&#x3ba;</mml:mi>
<mml:mi mathvariant="bold-italic">i</mml:mi>
</mml:msub>
<mml:mrow>
<mml:mn mathvariant="bold">1</mml:mn>
<mml:mo>&#x2b;</mml:mo>
<mml:mfrac>
<mml:mrow>
<mml:mn mathvariant="bold">1</mml:mn>
</mml:mrow>
<mml:mrow>
<mml:msub>
<mml:mi mathvariant="bold-italic">x</mml:mi>
<mml:mi mathvariant="bold-italic">i</mml:mi>
</mml:msub>
</mml:mrow>
</mml:mfrac>
<mml:mstyle displaystyle="true">
<mml:munderover>
<mml:mo>&#x2211;</mml:mo>
<mml:mrow>
<mml:mi mathvariant="bold-italic">j</mml:mi>
<mml:mo>&#x3d;</mml:mo>
<mml:mn mathvariant="bold">1</mml:mn>
<mml:mo>,</mml:mo>
<mml:mi mathvariant="bold-italic">j</mml:mi>
<mml:mo>&#x2260;</mml:mo>
<mml:mi mathvariant="bold-italic">i</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi mathvariant="bold-italic">j</mml:mi>
<mml:mo>&#x3d;</mml:mo>
<mml:mi mathvariant="bold-italic">n</mml:mi>
</mml:mrow>
</mml:munderover>
</mml:mstyle>
<mml:msub>
<mml:mi mathvariant="bold-italic">x</mml:mi>
<mml:mi mathvariant="bold-italic">j</mml:mi>
</mml:msub>
<mml:msub>
<mml:mi mathvariant="bold-italic">G</mml:mi>
<mml:mrow>
<mml:mi mathvariant="bold-italic">i</mml:mi>
<mml:mi mathvariant="bold-italic">j</mml:mi>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:mfrac>
</mml:mrow>
<mml:mspace width="3.5em"/>
</mml:math>
</disp-formula>
<disp-formula id="e7">
<mml:math id="m38">
<mml:mrow>
<mml:msub>
<mml:mi mathvariant="bold-italic">G</mml:mi>
<mml:mrow>
<mml:mi mathvariant="bold-italic">i</mml:mi>
<mml:mi mathvariant="bold-italic">j</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mo>&#x3d;</mml:mo>
<mml:mfrac>
<mml:mn mathvariant="bold">1.065</mml:mn>
<mml:mrow>
<mml:mn mathvariant="bold">2</mml:mn>
<mml:msqrt>
<mml:mn mathvariant="bold">2</mml:mn>
</mml:msqrt>
</mml:mrow>
</mml:mfrac>
<mml:mfrac>
<mml:mrow>
<mml:msup>
<mml:mrow>
<mml:mfenced open="[" close="]" separators="|">
<mml:mrow>
<mml:mn mathvariant="bold">1</mml:mn>
<mml:mo>&#x2b;</mml:mo>
<mml:msup>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="|">
<mml:mrow>
<mml:mfrac>
<mml:mrow>
<mml:msub>
<mml:mi mathvariant="bold-italic">&#x3bc;</mml:mi>
<mml:mi mathvariant="bold-italic">i</mml:mi>
</mml:msub>
</mml:mrow>
<mml:mrow>
<mml:msub>
<mml:mi mathvariant="bold-italic">&#x3bc;</mml:mi>
<mml:mi mathvariant="bold-italic">j</mml:mi>
</mml:msub>
</mml:mrow>
</mml:mfrac>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
<mml:mfrac>
<mml:mrow>
<mml:mn mathvariant="bold">1</mml:mn>
</mml:mrow>
<mml:mrow>
<mml:mn mathvariant="bold">2</mml:mn>
</mml:mrow>
</mml:mfrac>
</mml:msup>
<mml:msup>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="|">
<mml:mrow>
<mml:mfrac>
<mml:mrow>
<mml:msub>
<mml:mi mathvariant="bold-italic">M</mml:mi>
<mml:mi mathvariant="bold-italic">j</mml:mi>
</mml:msub>
</mml:mrow>
<mml:mrow>
<mml:msub>
<mml:mi mathvariant="bold-italic">M</mml:mi>
<mml:mi mathvariant="bold-italic">i</mml:mi>
</mml:msub>
</mml:mrow>
</mml:mfrac>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
<mml:mfrac>
<mml:mrow>
<mml:mn mathvariant="bold">1</mml:mn>
</mml:mrow>
<mml:mrow>
<mml:mn mathvariant="bold">4</mml:mn>
</mml:mrow>
</mml:mfrac>
</mml:msup>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
<mml:mn mathvariant="bold">2</mml:mn>
</mml:msup>
</mml:mrow>
<mml:mrow>
<mml:msup>
<mml:mrow>
<mml:mfenced open="[" close="]" separators="|">
<mml:mrow>
<mml:mn mathvariant="bold">1</mml:mn>
<mml:mo>&#x2b;</mml:mo>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="|">
<mml:mrow>
<mml:mfrac>
<mml:mrow>
<mml:msub>
<mml:mi mathvariant="bold-italic">M</mml:mi>
<mml:mi mathvariant="bold-italic">i</mml:mi>
</mml:msub>
</mml:mrow>
<mml:mrow>
<mml:msub>
<mml:mi mathvariant="bold-italic">M</mml:mi>
<mml:mi mathvariant="bold-italic">j</mml:mi>
</mml:msub>
</mml:mrow>
</mml:mfrac>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
<mml:mfrac>
<mml:mrow>
<mml:mn mathvariant="bold">1</mml:mn>
</mml:mrow>
<mml:mrow>
<mml:mn mathvariant="bold">2</mml:mn>
</mml:mrow>
</mml:mfrac>
</mml:msup>
</mml:mrow>
</mml:mfrac>
</mml:mrow>
</mml:math>
<label>(7)</label>
</disp-formula>
</p>
<p>And the viscosity of a mixture (<inline-formula id="inf30">
<mml:math id="m39">
<mml:mrow>
<mml:msub>
<mml:mi>&#x3bc;</mml:mi>
<mml:mrow>
<mml:mi>m</mml:mi>
<mml:mi>i</mml:mi>
<mml:mi>x</mml:mi>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula>) is calculated according to <xref ref-type="disp-formula" rid="e8">Equation 8</xref>:<disp-formula id="equ3">
<mml:math id="m40">
<mml:mrow>
<mml:msub>
<mml:mi mathvariant="bold-italic">&#x3bc;</mml:mi>
<mml:mrow>
<mml:mi mathvariant="bold-italic">m</mml:mi>
<mml:mi mathvariant="bold-italic">i</mml:mi>
<mml:mi mathvariant="bold-italic">x</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mo>&#x3d;</mml:mo>
<mml:mstyle displaystyle="true">
<mml:munderover>
<mml:mo>&#x2211;</mml:mo>
<mml:mrow>
<mml:mi mathvariant="bold-italic">i</mml:mi>
<mml:mo>&#x3d;</mml:mo>
<mml:mi mathvariant="bold-italic">i</mml:mi>
</mml:mrow>
<mml:mi mathvariant="bold-italic">n</mml:mi>
</mml:munderover>
</mml:mstyle>
<mml:mfrac>
<mml:msub>
<mml:mi mathvariant="bold-italic">&#x3bc;</mml:mi>
<mml:mi mathvariant="bold-italic">i</mml:mi>
</mml:msub>
<mml:mrow>
<mml:mn mathvariant="bold">1</mml:mn>
<mml:mo>&#x2b;</mml:mo>
<mml:mfrac>
<mml:mrow>
<mml:mn mathvariant="bold">1</mml:mn>
</mml:mrow>
<mml:mrow>
<mml:msub>
<mml:mi mathvariant="bold-italic">x</mml:mi>
<mml:mi mathvariant="bold-italic">i</mml:mi>
</mml:msub>
</mml:mrow>
</mml:mfrac>
<mml:mstyle displaystyle="true">
<mml:munderover>
<mml:mo>&#x2211;</mml:mo>
<mml:mrow>
<mml:mi mathvariant="bold-italic">j</mml:mi>
<mml:mo>&#x3d;</mml:mo>
<mml:mn mathvariant="bold">1</mml:mn>
<mml:mo>,</mml:mo>
<mml:mi mathvariant="bold-italic">j</mml:mi>
<mml:mo>&#x2260;</mml:mo>
<mml:mi mathvariant="bold-italic">i</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi mathvariant="bold-italic">j</mml:mi>
<mml:mo>&#x3d;</mml:mo>
<mml:mi mathvariant="bold-italic">n</mml:mi>
</mml:mrow>
</mml:munderover>
</mml:mstyle>
<mml:msub>
<mml:mi mathvariant="bold-italic">x</mml:mi>
<mml:mi mathvariant="bold-italic">j</mml:mi>
</mml:msub>
<mml:msub>
<mml:mi mathvariant="bold-italic">&#x3d5;</mml:mi>
<mml:mrow>
<mml:mi mathvariant="bold-italic">i</mml:mi>
<mml:mi mathvariant="bold-italic">j</mml:mi>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:mfrac>
</mml:mrow>
<mml:mspace width="1.4em"/>
</mml:math>
</disp-formula>
<disp-formula id="e8">
<mml:math id="m41">
<mml:mrow>
<mml:msub>
<mml:mi mathvariant="bold-italic">&#x3d5;</mml:mi>
<mml:mrow>
<mml:mi mathvariant="bold-italic">i</mml:mi>
<mml:mi mathvariant="bold-italic">j</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mo>&#x3d;</mml:mo>
<mml:mfrac>
<mml:msup>
<mml:mrow>
<mml:mfenced open="[" close="]" separators="|">
<mml:mrow>
<mml:mn mathvariant="bold">1</mml:mn>
<mml:mo>&#x2b;</mml:mo>
<mml:msup>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="|">
<mml:mrow>
<mml:mfrac>
<mml:mrow>
<mml:msub>
<mml:mi mathvariant="bold-italic">&#x3bc;</mml:mi>
<mml:mi mathvariant="bold-italic">i</mml:mi>
</mml:msub>
</mml:mrow>
<mml:mrow>
<mml:msub>
<mml:mi mathvariant="bold-italic">&#x3bc;</mml:mi>
<mml:mi mathvariant="bold-italic">j</mml:mi>
</mml:msub>
</mml:mrow>
</mml:mfrac>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
<mml:mfrac>
<mml:mrow>
<mml:mn mathvariant="bold">1</mml:mn>
</mml:mrow>
<mml:mrow>
<mml:mn mathvariant="bold">2</mml:mn>
</mml:mrow>
</mml:mfrac>
</mml:msup>
<mml:msup>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="|">
<mml:mrow>
<mml:mfrac>
<mml:mrow>
<mml:msub>
<mml:mi mathvariant="bold-italic">M</mml:mi>
<mml:mi mathvariant="bold-italic">j</mml:mi>
</mml:msub>
</mml:mrow>
<mml:mrow>
<mml:msub>
<mml:mi mathvariant="bold-italic">M</mml:mi>
<mml:mi mathvariant="bold-italic">i</mml:mi>
</mml:msub>
</mml:mrow>
</mml:mfrac>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
<mml:mfrac>
<mml:mrow>
<mml:mn mathvariant="bold">1</mml:mn>
</mml:mrow>
<mml:mrow>
<mml:mn mathvariant="bold">4</mml:mn>
</mml:mrow>
</mml:mfrac>
</mml:msup>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
<mml:mn mathvariant="bold">2</mml:mn>
</mml:msup>
<mml:mrow>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="|">
<mml:mrow>
<mml:mfrac>
<mml:mrow>
<mml:mn mathvariant="bold">4</mml:mn>
</mml:mrow>
<mml:mrow>
<mml:msqrt>
<mml:mn mathvariant="bold">2</mml:mn>
</mml:msqrt>
</mml:mrow>
</mml:mfrac>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
<mml:msup>
<mml:mrow>
<mml:mfenced open="[" close="]" separators="|">
<mml:mrow>
<mml:mn mathvariant="bold">1</mml:mn>
<mml:mo>&#x2b;</mml:mo>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="|">
<mml:mrow>
<mml:mfrac>
<mml:mrow>
<mml:msub>
<mml:mi mathvariant="bold-italic">M</mml:mi>
<mml:mi mathvariant="bold-italic">i</mml:mi>
</mml:msub>
</mml:mrow>
<mml:mrow>
<mml:msub>
<mml:mi mathvariant="bold-italic">M</mml:mi>
<mml:mi mathvariant="bold-italic">j</mml:mi>
</mml:msub>
</mml:mrow>
</mml:mfrac>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
<mml:mfrac>
<mml:mrow>
<mml:mn mathvariant="bold">1</mml:mn>
</mml:mrow>
<mml:mrow>
<mml:mn mathvariant="bold">2</mml:mn>
</mml:mrow>
</mml:mfrac>
</mml:msup>
</mml:mrow>
</mml:mfrac>
</mml:mrow>
</mml:math>
<label>(8)</label>
</disp-formula>
</p>
<p>Both models assume that the individual thermal conductivities and viscosities of the components are known, and that they are all referred to the same temperature. A model to describe the dependence of these properties on the state variables is further required to make the corresponding compensation. A first approximation for ideal gases can be drawn from kinetic theory, whereby the thermal conductivity varies with the square root of temperature and is independent of pressure (<xref ref-type="bibr" rid="B16">Mason, 2023</xref>), similarly to the speed of sound.</p>
<p>The reader may notice that the form of <xref ref-type="disp-formula" rid="e7">Equations 7</xref>, <xref ref-type="disp-formula" rid="e8">8</xref> gives little opportunity for a closed-form solution of a system of equations. Such a system can be solved numerically with the aid of search algorithms, but it could be impractical for an implementation in a portable electronic device. Here we apply and test a second-order Taylor approximation, knowing that the definition of the problem limits the concentration of hydrogen to relatively small values and that natural gas is mostly composed of methane. We test this polynomial approximation against rigorously calculated properties calculated according to <xref ref-type="disp-formula" rid="e7">Equations 7</xref>, <xref ref-type="disp-formula" rid="e8">8</xref>. This second-order approximation has the simpler form in <xref ref-type="disp-formula" rid="e9">Equation 9</xref> for the case of a mixture of hydrogen plus three different sorts of natural gas (<inline-formula id="inf31">
<mml:math id="m42">
<mml:mrow>
<mml:mfenced open="{" close="}" separators="|">
<mml:mrow>
<mml:msub>
<mml:mi>x</mml:mi>
<mml:mn>1</mml:mn>
</mml:msub>
<mml:mo>,</mml:mo>
<mml:msub>
<mml:mi>x</mml:mi>
<mml:mn>2</mml:mn>
</mml:msub>
<mml:mo>,</mml:mo>
<mml:msub>
<mml:mi>x</mml:mi>
<mml:mn>3</mml:mn>
</mml:msub>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
</mml:math>
</inline-formula> with <inline-formula id="inf32">
<mml:math id="m43">
<mml:mrow>
<mml:msub>
<mml:mi>x</mml:mi>
<mml:mn>3</mml:mn>
</mml:msub>
<mml:mo>&#x3d;</mml:mo>
<mml:mn>1</mml:mn>
<mml:mo>&#x2212;</mml:mo>
<mml:msub>
<mml:mi>x</mml:mi>
<mml:mi>H</mml:mi>
</mml:msub>
<mml:mo>&#x2212;</mml:mo>
<mml:msub>
<mml:mi>x</mml:mi>
<mml:mn>1</mml:mn>
</mml:msub>
<mml:mo>&#x2212;</mml:mo>
<mml:msub>
<mml:mi>x</mml:mi>
<mml:mn>2</mml:mn>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula>).<disp-formula id="e9">
<mml:math display="block" id="m44">
<mml:mrow>
<mml:msub>
<mml:mi mathvariant="bold-italic">&#x3ba;</mml:mi>
<mml:mrow>
<mml:mi mathvariant="bold-italic">m</mml:mi>
<mml:mi mathvariant="bold-italic">i</mml:mi>
<mml:mi mathvariant="bold-italic">x</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mo>&#x2248;</mml:mo>
<mml:msub>
<mml:mi mathvariant="bold-italic">&#x3ba;</mml:mi>
<mml:mn mathvariant="bold">200</mml:mn>
</mml:msub>
<mml:mo>&#x2062;</mml:mo>
<mml:msubsup>
<mml:mi mathvariant="bold-italic">x</mml:mi>
<mml:mi mathvariant="bold-italic">H</mml:mi>
<mml:mn mathvariant="bold">2</mml:mn>
</mml:msubsup>
<mml:mo>&#x2b;</mml:mo>
<mml:msub>
<mml:mi mathvariant="bold-italic">&#x3ba;</mml:mi>
<mml:mn mathvariant="bold">020</mml:mn>
</mml:msub>
<mml:mo>&#x2062;</mml:mo>
<mml:msubsup>
<mml:mi mathvariant="bold-italic">x</mml:mi>
<mml:mn mathvariant="bold">1</mml:mn>
<mml:mn mathvariant="bold">2</mml:mn>
</mml:msubsup>
<mml:mo>&#x2b;</mml:mo>
<mml:msub>
<mml:mi mathvariant="bold-italic">&#x3ba;</mml:mi>
<mml:mn mathvariant="bold">002</mml:mn>
</mml:msub>
<mml:mo>&#x2062;</mml:mo>
<mml:msubsup>
<mml:mi mathvariant="bold-italic">x</mml:mi>
<mml:mn mathvariant="bold">2</mml:mn>
<mml:mn mathvariant="bold">2</mml:mn>
</mml:msubsup>
<mml:mo>&#x2b;</mml:mo>
<mml:msub>
<mml:mi mathvariant="bold-italic">&#x3ba;</mml:mi>
<mml:mn mathvariant="bold">110</mml:mn>
</mml:msub>
<mml:mo>&#x2062;</mml:mo>
<mml:msub>
<mml:mi mathvariant="bold-italic">x</mml:mi>
<mml:mi mathvariant="bold-italic">H</mml:mi>
</mml:msub>
<mml:mo>&#x2062;</mml:mo>
<mml:msub>
<mml:mi mathvariant="bold-italic">x</mml:mi>
<mml:mn mathvariant="bold">1</mml:mn>
</mml:msub>
<mml:mo>&#x2b;</mml:mo>
<mml:msub>
<mml:mi mathvariant="bold-italic">&#x3ba;</mml:mi>
<mml:mn mathvariant="bold">101</mml:mn>
</mml:msub>
<mml:mo>&#x2062;</mml:mo>
<mml:msub>
<mml:mi mathvariant="bold-italic">x</mml:mi>
<mml:mi mathvariant="bold-italic">H</mml:mi>
</mml:msub>
<mml:mo>&#x2062;</mml:mo>
<mml:msub>
<mml:mi mathvariant="bold-italic">x</mml:mi>
<mml:mn mathvariant="bold">2</mml:mn>
</mml:msub>
<mml:mo>&#x2b;</mml:mo>
<mml:msub>
<mml:mi mathvariant="bold-italic">&#x3ba;</mml:mi>
<mml:mn mathvariant="bold">011</mml:mn>
</mml:msub>
<mml:mo>&#x2062;</mml:mo>
<mml:msub>
<mml:mi mathvariant="bold-italic">x</mml:mi>
<mml:mn mathvariant="bold">1</mml:mn>
</mml:msub>
<mml:mo>&#x2062;</mml:mo>
<mml:msub>
<mml:mi mathvariant="bold-italic">x</mml:mi>
<mml:mn mathvariant="bold">2</mml:mn>
</mml:msub>
<mml:mo>&#x2b;</mml:mo>
<mml:msub>
<mml:mi mathvariant="bold-italic">&#x3ba;</mml:mi>
<mml:mn mathvariant="bold">100</mml:mn>
</mml:msub>
<mml:mo>&#x2062;</mml:mo>
<mml:msub>
<mml:mi mathvariant="bold-italic">x</mml:mi>
<mml:mi mathvariant="bold-italic">H</mml:mi>
</mml:msub>
<mml:mo>&#x2b;</mml:mo>
<mml:msub>
<mml:mi mathvariant="bold-italic">&#x3ba;</mml:mi>
<mml:mn mathvariant="bold">010</mml:mn>
</mml:msub>
<mml:mo>&#x2062;</mml:mo>
<mml:msub>
<mml:mi mathvariant="bold-italic">x</mml:mi>
<mml:mn mathvariant="bold">1</mml:mn>
</mml:msub>
<mml:mo>&#x2b;</mml:mo>
<mml:msub>
<mml:mi mathvariant="bold-italic">&#x3ba;</mml:mi>
<mml:mn mathvariant="bold">001</mml:mn>
</mml:msub>
<mml:mo>&#x2062;</mml:mo>
<mml:msub>
<mml:mi mathvariant="bold-italic">x</mml:mi>
<mml:mn mathvariant="bold">2</mml:mn>
</mml:msub>
<mml:mo>&#x2b;</mml:mo>
<mml:msub>
<mml:mi mathvariant="bold-italic">&#x3ba;</mml:mi>
<mml:mn mathvariant="bold">000</mml:mn>
</mml:msub>
</mml:mrow>
</mml:math>
<label>(9)</label>
</disp-formula>
</p>
</sec>
<sec id="s2-3">
<title>2.3 Estimation of the hydrogen content and combustion enthalpy with physical measurements</title>
<sec id="s2-3-1">
<title>2.3.1 Two-sensor case</title>
<p>For the simpler case of a mixture of three components (that is, hydrogen plus two sorts of natural gas), only two physical variables would be required to estimate the hydrogen concentration and the combustion enthalpy. Depending on the choice of sensors, either a system of one quadratic equation and a linear equation or a system of two quadratic equations would be obtained. The former case is directly solved by substitution, collapsing into a single quadratic equation. In fact, if the quadratic variable is the speed of sound, the reader can verify that the system collapses into a linear equation (<inline-formula id="inf33">
<mml:math id="m45">
<mml:mrow>
<mml:msub>
<mml:mi>A</mml:mi>
<mml:mn>2</mml:mn>
</mml:msub>
<mml:mo>&#x3d;</mml:mo>
<mml:mn>0</mml:mn>
</mml:mrow>
</mml:math>
</inline-formula>) (<xref ref-type="disp-formula" rid="e10">Equation 10</xref>).<disp-formula id="equ4">
<mml:math id="m46">
<mml:mrow>
<mml:mfenced open="{" close="" separators="|">
<mml:mrow>
<mml:mtable columnalign="left">
<mml:mtr>
<mml:mtd>
<mml:mrow>
<mml:msub>
<mml:mi mathvariant="bold-italic">&#x3b6;</mml:mi>
<mml:mn mathvariant="bold">20</mml:mn>
</mml:msub>
<mml:msubsup>
<mml:mi mathvariant="bold-italic">x</mml:mi>
<mml:mi mathvariant="bold-italic">H</mml:mi>
<mml:mn mathvariant="bold">2</mml:mn>
</mml:msubsup>
<mml:mo>&#x2b;</mml:mo>
<mml:msub>
<mml:mi mathvariant="bold-italic">&#x3b6;</mml:mi>
<mml:mn mathvariant="bold">11</mml:mn>
</mml:msub>
<mml:msub>
<mml:mi mathvariant="bold-italic">x</mml:mi>
<mml:mi mathvariant="bold-italic">H</mml:mi>
</mml:msub>
<mml:msub>
<mml:mi mathvariant="bold-italic">x</mml:mi>
<mml:mn mathvariant="bold">1</mml:mn>
</mml:msub>
<mml:mo>&#x2b;</mml:mo>
<mml:msub>
<mml:mi mathvariant="bold-italic">&#x3b6;</mml:mi>
<mml:mn mathvariant="bold">02</mml:mn>
</mml:msub>
<mml:msubsup>
<mml:mi mathvariant="bold-italic">x</mml:mi>
<mml:mn mathvariant="bold">1</mml:mn>
<mml:mn mathvariant="bold">2</mml:mn>
</mml:msubsup>
<mml:mo>&#x2b;</mml:mo>
<mml:msub>
<mml:mi mathvariant="bold-italic">&#x3b6;</mml:mi>
<mml:mn mathvariant="bold">10</mml:mn>
</mml:msub>
<mml:msub>
<mml:mi mathvariant="bold-italic">x</mml:mi>
<mml:mi mathvariant="bold-italic">H</mml:mi>
</mml:msub>
<mml:mo>&#x2b;</mml:mo>
<mml:msub>
<mml:mi mathvariant="bold-italic">&#x3b6;</mml:mi>
<mml:mn mathvariant="bold">01</mml:mn>
</mml:msub>
<mml:msub>
<mml:mi mathvariant="bold-italic">x</mml:mi>
<mml:mn mathvariant="bold">1</mml:mn>
</mml:msub>
<mml:mo>&#x2b;</mml:mo>
<mml:msub>
<mml:mi mathvariant="bold-italic">&#x3b6;</mml:mi>
<mml:mn mathvariant="bold">00</mml:mn>
</mml:msub>
<mml:mo>&#x3d;</mml:mo>
<mml:mn mathvariant="bold">0</mml:mn>
</mml:mrow>
</mml:mtd>
</mml:mtr>
<mml:mtr>
<mml:mtd>
<mml:mrow>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="|">
<mml:mrow>
<mml:msub>
<mml:mi mathvariant="bold-italic">M</mml:mi>
<mml:mi mathvariant="bold-italic">H</mml:mi>
</mml:msub>
<mml:mo>&#x2212;</mml:mo>
<mml:msub>
<mml:mi mathvariant="bold-italic">M</mml:mi>
<mml:mn mathvariant="bold">2</mml:mn>
</mml:msub>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
<mml:msub>
<mml:mi mathvariant="bold-italic">x</mml:mi>
<mml:mi mathvariant="bold-italic">H</mml:mi>
</mml:msub>
<mml:mo>&#x2b;</mml:mo>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="|">
<mml:mrow>
<mml:msub>
<mml:mi mathvariant="bold-italic">M</mml:mi>
<mml:mn mathvariant="bold">1</mml:mn>
</mml:msub>
<mml:mo>&#x2212;</mml:mo>
<mml:msub>
<mml:mi mathvariant="bold-italic">M</mml:mi>
<mml:mn mathvariant="bold">2</mml:mn>
</mml:msub>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
<mml:msub>
<mml:mi mathvariant="bold-italic">x</mml:mi>
<mml:mn mathvariant="bold">1</mml:mn>
</mml:msub>
<mml:mo>&#x3d;</mml:mo>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="|">
<mml:mrow>
<mml:mi mathvariant="bold-italic">M</mml:mi>
<mml:mo>&#x2212;</mml:mo>
<mml:msub>
<mml:mi mathvariant="bold-italic">M</mml:mi>
<mml:mn mathvariant="bold">2</mml:mn>
</mml:msub>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
</mml:mrow>
</mml:mtd>
</mml:mtr>
</mml:mtable>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
</mml:math>
</disp-formula>
<disp-formula id="e10">
<mml:math id="m47">
<mml:mrow>
<mml:msub>
<mml:mi mathvariant="bold-italic">A</mml:mi>
<mml:mn mathvariant="bold">2</mml:mn>
</mml:msub>
<mml:msubsup>
<mml:mi mathvariant="bold-italic">x</mml:mi>
<mml:mi mathvariant="bold-italic">H</mml:mi>
<mml:mn mathvariant="bold">2</mml:mn>
</mml:msubsup>
<mml:mo>&#x2b;</mml:mo>
<mml:msub>
<mml:mi mathvariant="bold-italic">A</mml:mi>
<mml:mn mathvariant="bold">1</mml:mn>
</mml:msub>
<mml:msub>
<mml:mi mathvariant="bold-italic">x</mml:mi>
<mml:mi mathvariant="bold-italic">H</mml:mi>
</mml:msub>
<mml:mo>&#x2b;</mml:mo>
<mml:msub>
<mml:mi mathvariant="bold-italic">A</mml:mi>
<mml:mn mathvariant="bold">0</mml:mn>
</mml:msub>
<mml:mo>&#x3d;</mml:mo>
<mml:mn mathvariant="bold">0</mml:mn>
</mml:mrow>
</mml:math>
<label>(10)</label>
</disp-formula>
</p>
<p>Notice that the properties of the three components are subtracted from one another, evidencing how this method would fail to discriminate them if their properties are identical.</p>
<p>If the chosen variables are the speed of sound and the thermal conductivity, the amount fractions can be obtained with the fixed-point iteration method (<xref ref-type="disp-formula" rid="e11">Equation 11</xref>), starting with the guess <inline-formula id="inf34">
<mml:math id="m48">
<mml:mrow>
<mml:msubsup>
<mml:mrow>
<mml:mfenced open="[" close="]" separators="|">
<mml:mrow>
<mml:mtable columnalign="center">
<mml:mtr>
<mml:mtd>
<mml:msub>
<mml:mi>x</mml:mi>
<mml:mi>H</mml:mi>
</mml:msub>
</mml:mtd>
<mml:mtd>
<mml:msub>
<mml:mi>x</mml:mi>
<mml:mn>1</mml:mn>
</mml:msub>
</mml:mtd>
</mml:mtr>
</mml:mtable>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
<mml:mn>0</mml:mn>
<mml:mi>T</mml:mi>
</mml:msubsup>
<mml:mo>&#x3d;</mml:mo>
<mml:mover accent="true">
<mml:mn>0</mml:mn>
<mml:mo>&#x2192;</mml:mo>
</mml:mover>
</mml:mrow>
</mml:math>
</inline-formula>:<disp-formula id="equ5">
<mml:math id="m49">
<mml:mrow>
<mml:mfenced open="{" close="" separators="|">
<mml:mrow>
<mml:mtable columnalign="left">
<mml:mtr>
<mml:mtd>
<mml:mrow>
<mml:msub>
<mml:mi mathvariant="bold-italic">&#x3b6;</mml:mi>
<mml:mn mathvariant="bold">20</mml:mn>
</mml:msub>
<mml:msubsup>
<mml:mi mathvariant="bold-italic">x</mml:mi>
<mml:mi mathvariant="bold-italic">H</mml:mi>
<mml:mn mathvariant="bold">2</mml:mn>
</mml:msubsup>
<mml:mo>&#x2b;</mml:mo>
<mml:msub>
<mml:mi mathvariant="bold-italic">&#x3b6;</mml:mi>
<mml:mn mathvariant="bold">11</mml:mn>
</mml:msub>
<mml:msub>
<mml:mi mathvariant="bold-italic">x</mml:mi>
<mml:mi mathvariant="bold-italic">H</mml:mi>
</mml:msub>
<mml:msub>
<mml:mi mathvariant="bold-italic">x</mml:mi>
<mml:mn mathvariant="bold">1</mml:mn>
</mml:msub>
<mml:mo>&#x2b;</mml:mo>
<mml:msub>
<mml:mi mathvariant="bold-italic">&#x3b6;</mml:mi>
<mml:mn mathvariant="bold">02</mml:mn>
</mml:msub>
<mml:msubsup>
<mml:mi mathvariant="bold-italic">x</mml:mi>
<mml:mn mathvariant="bold">1</mml:mn>
<mml:mn mathvariant="bold">2</mml:mn>
</mml:msubsup>
<mml:mo>&#x2b;</mml:mo>
<mml:msub>
<mml:mi mathvariant="bold-italic">&#x3b6;</mml:mi>
<mml:mn mathvariant="bold">10</mml:mn>
</mml:msub>
<mml:msub>
<mml:mi mathvariant="bold-italic">x</mml:mi>
<mml:mi mathvariant="bold-italic">H</mml:mi>
</mml:msub>
<mml:mo>&#x2b;</mml:mo>
<mml:msub>
<mml:mi mathvariant="bold-italic">&#x3b6;</mml:mi>
<mml:mn mathvariant="bold">01</mml:mn>
</mml:msub>
<mml:msub>
<mml:mi mathvariant="bold-italic">x</mml:mi>
<mml:mn mathvariant="bold">1</mml:mn>
</mml:msub>
<mml:mo>&#x2b;</mml:mo>
<mml:msub>
<mml:mi mathvariant="bold-italic">&#x3b6;</mml:mi>
<mml:mn mathvariant="bold">00</mml:mn>
</mml:msub>
<mml:mo>&#x3d;</mml:mo>
<mml:mn mathvariant="bold">0</mml:mn>
</mml:mrow>
</mml:mtd>
</mml:mtr>
<mml:mtr>
<mml:mtd>
<mml:mrow>
<mml:msub>
<mml:mi mathvariant="bold-italic">&#x3ba;</mml:mi>
<mml:mn mathvariant="bold">20</mml:mn>
</mml:msub>
<mml:msubsup>
<mml:mi mathvariant="bold-italic">x</mml:mi>
<mml:mi mathvariant="bold-italic">H</mml:mi>
<mml:mn mathvariant="bold">2</mml:mn>
</mml:msubsup>
<mml:mo>&#x2b;</mml:mo>
<mml:msub>
<mml:mi mathvariant="bold-italic">&#x3ba;</mml:mi>
<mml:mn mathvariant="bold">11</mml:mn>
</mml:msub>
<mml:msub>
<mml:mi mathvariant="bold-italic">x</mml:mi>
<mml:mi mathvariant="bold-italic">H</mml:mi>
</mml:msub>
<mml:msub>
<mml:mi mathvariant="bold-italic">x</mml:mi>
<mml:mn mathvariant="bold">1</mml:mn>
</mml:msub>
<mml:mo>&#x2b;</mml:mo>
<mml:msub>
<mml:mi mathvariant="bold-italic">&#x3ba;</mml:mi>
<mml:mn mathvariant="bold">02</mml:mn>
</mml:msub>
<mml:msubsup>
<mml:mi mathvariant="bold-italic">x</mml:mi>
<mml:mn mathvariant="bold">1</mml:mn>
<mml:mn mathvariant="bold">2</mml:mn>
</mml:msubsup>
<mml:mo>&#x2b;</mml:mo>
<mml:msub>
<mml:mi mathvariant="bold-italic">&#x3ba;</mml:mi>
<mml:mn mathvariant="bold">10</mml:mn>
</mml:msub>
<mml:msub>
<mml:mi mathvariant="bold-italic">x</mml:mi>
<mml:mi mathvariant="bold-italic">H</mml:mi>
</mml:msub>
<mml:mo>&#x2b;</mml:mo>
<mml:msub>
<mml:mi mathvariant="bold-italic">&#x3ba;</mml:mi>
<mml:mn mathvariant="bold">01</mml:mn>
</mml:msub>
<mml:msub>
<mml:mi mathvariant="bold-italic">x</mml:mi>
<mml:mn mathvariant="bold">1</mml:mn>
</mml:msub>
<mml:mo>&#x2b;</mml:mo>
<mml:msub>
<mml:mi mathvariant="bold-italic">&#x3ba;</mml:mi>
<mml:mn mathvariant="bold">00</mml:mn>
</mml:msub>
<mml:mo>&#x2212;</mml:mo>
<mml:mi mathvariant="bold-italic">&#x3ba;</mml:mi>
<mml:mo>&#x3d;</mml:mo>
<mml:mn mathvariant="bold">0</mml:mn>
</mml:mrow>
</mml:mtd>
</mml:mtr>
</mml:mtable>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
</mml:math>
</disp-formula>
<disp-formula id="e11">
<mml:math display="block" id="m50">
<mml:mrow>
<mml:mfenced close="]" open="[" separators="|">
<mml:mtable columnalign="center">
<mml:mtr>
<mml:mtd>
<mml:msub>
<mml:mi mathvariant="bold-italic">&#x3b6;</mml:mi>
<mml:mn mathvariant="bold">10</mml:mn>
</mml:msub>
</mml:mtd>
<mml:mtd>
<mml:msub>
<mml:mi mathvariant="bold-italic">&#x3b6;</mml:mi>
<mml:mn mathvariant="bold">01</mml:mn>
</mml:msub>
</mml:mtd>
</mml:mtr>
<mml:mtr>
<mml:mtd>
<mml:msub>
<mml:mi mathvariant="bold-italic">&#x3ba;</mml:mi>
<mml:mn mathvariant="bold">10</mml:mn>
</mml:msub>
</mml:mtd>
<mml:mtd>
<mml:msub>
<mml:mi mathvariant="bold-italic">&#x3ba;</mml:mi>
<mml:mn mathvariant="bold">01</mml:mn>
</mml:msub>
</mml:mtd>
</mml:mtr>
</mml:mtable>
</mml:mfenced>
<mml:mo>&#x2062;</mml:mo>
<mml:msub>
<mml:mrow>
<mml:mfenced close="]" open="[" separators="|">
<mml:mtable columnalign="center">
<mml:mtr>
<mml:mtd>
<mml:msub>
<mml:mi mathvariant="bold-italic">x</mml:mi>
<mml:mi mathvariant="bold-italic">H</mml:mi>
</mml:msub>
</mml:mtd>
</mml:mtr>
<mml:mtr>
<mml:mtd>
<mml:msub>
<mml:mi mathvariant="bold-italic">x</mml:mi>
<mml:mn mathvariant="bold">1</mml:mn>
</mml:msub>
</mml:mtd>
</mml:mtr>
</mml:mtable>
</mml:mfenced>
</mml:mrow>
<mml:mrow>
<mml:mi mathvariant="bold-italic">i</mml:mi>
<mml:mo>&#x2b;</mml:mo>
<mml:mn mathvariant="bold">1</mml:mn>
</mml:mrow>
</mml:msub>
<mml:mo>&#x3d;</mml:mo>
<mml:mfenced close="]" open="[" separators="|">
<mml:mtable columnalign="center">
<mml:mtr>
<mml:mtd>
<mml:mrow>
<mml:mo>&#x2212;</mml:mo>
<mml:msub>
<mml:mi mathvariant="bold-italic">&#x3b6;</mml:mi>
<mml:mn mathvariant="bold">00</mml:mn>
</mml:msub>
</mml:mrow>
</mml:mtd>
</mml:mtr>
<mml:mtr>
<mml:mtd>
<mml:mrow>
<mml:mi mathvariant="bold-italic">&#x3ba;</mml:mi>
<mml:mo>&#x2212;</mml:mo>
<mml:msub>
<mml:mi mathvariant="bold-italic">&#x3ba;</mml:mi>
<mml:mn mathvariant="bold">00</mml:mn>
</mml:msub>
</mml:mrow>
</mml:mtd>
</mml:mtr>
</mml:mtable>
</mml:mfenced>
<mml:mo>&#x2212;</mml:mo>
<mml:mfenced close="]" open="[" separators="|">
<mml:mtable columnalign="center">
<mml:mtr>
<mml:mtd>
<mml:mrow>
<mml:msub>
<mml:mi mathvariant="bold-italic">&#x3b6;</mml:mi>
<mml:mn mathvariant="bold">20</mml:mn>
</mml:msub>
<mml:mo>&#x2062;</mml:mo>
<mml:msub>
<mml:mi mathvariant="bold-italic">x</mml:mi>
<mml:mi mathvariant="bold-italic">H</mml:mi>
</mml:msub>
<mml:mo>&#x2b;</mml:mo>
<mml:mfrac>
<mml:mn mathvariant="bold">1</mml:mn>
<mml:mn mathvariant="bold">2</mml:mn>
</mml:mfrac>
<mml:mo>&#x2062;</mml:mo>
<mml:msub>
<mml:mi mathvariant="bold-italic">&#x3b6;</mml:mi>
<mml:mn mathvariant="bold">11</mml:mn>
</mml:msub>
<mml:mo>&#x2062;</mml:mo>
<mml:msub>
<mml:mi mathvariant="bold-italic">x</mml:mi>
<mml:mn mathvariant="bold">1</mml:mn>
</mml:msub>
</mml:mrow>
</mml:mtd>
<mml:mtd>
<mml:mrow>
<mml:msub>
<mml:mi mathvariant="bold-italic">&#x3b6;</mml:mi>
<mml:mn mathvariant="bold">02</mml:mn>
</mml:msub>
<mml:mo>&#x2062;</mml:mo>
<mml:msub>
<mml:mi mathvariant="bold-italic">x</mml:mi>
<mml:mn mathvariant="bold">1</mml:mn>
</mml:msub>
<mml:mo>&#x2b;</mml:mo>
<mml:mfrac>
<mml:mn mathvariant="bold">1</mml:mn>
<mml:mn mathvariant="bold">2</mml:mn>
</mml:mfrac>
<mml:mo>&#x2062;</mml:mo>
<mml:msub>
<mml:mi mathvariant="bold-italic">&#x3b6;</mml:mi>
<mml:mn mathvariant="bold">11</mml:mn>
</mml:msub>
<mml:mo>&#x2062;</mml:mo>
<mml:msub>
<mml:mi mathvariant="bold-italic">x</mml:mi>
<mml:mi mathvariant="bold-italic">H</mml:mi>
</mml:msub>
</mml:mrow>
</mml:mtd>
</mml:mtr>
<mml:mtr>
<mml:mtd>
<mml:mrow>
<mml:msub>
<mml:mi mathvariant="bold-italic">&#x3ba;</mml:mi>
<mml:mn mathvariant="bold">20</mml:mn>
</mml:msub>
<mml:mo>&#x2062;</mml:mo>
<mml:msub>
<mml:mi mathvariant="bold-italic">x</mml:mi>
<mml:mi mathvariant="bold-italic">H</mml:mi>
</mml:msub>
<mml:mo>&#x2b;</mml:mo>
<mml:mfrac>
<mml:mn mathvariant="bold">1</mml:mn>
<mml:mn mathvariant="bold">2</mml:mn>
</mml:mfrac>
<mml:mo>&#x2062;</mml:mo>
<mml:msub>
<mml:mi mathvariant="bold-italic">&#x3ba;</mml:mi>
<mml:mn mathvariant="bold">11</mml:mn>
</mml:msub>
<mml:mo>&#x2062;</mml:mo>
<mml:msub>
<mml:mi mathvariant="bold-italic">x</mml:mi>
<mml:mn mathvariant="bold">1</mml:mn>
</mml:msub>
</mml:mrow>
</mml:mtd>
<mml:mtd>
<mml:mrow>
<mml:msub>
<mml:mi mathvariant="bold-italic">&#x3ba;</mml:mi>
<mml:mn mathvariant="bold">02</mml:mn>
</mml:msub>
<mml:mo>&#x2062;</mml:mo>
<mml:msub>
<mml:mi mathvariant="bold-italic">x</mml:mi>
<mml:mn mathvariant="bold">1</mml:mn>
</mml:msub>
<mml:mo>&#x2b;</mml:mo>
<mml:mfrac>
<mml:mn mathvariant="bold">1</mml:mn>
<mml:mn mathvariant="bold">2</mml:mn>
</mml:mfrac>
<mml:mo>&#x2062;</mml:mo>
<mml:msub>
<mml:mi mathvariant="bold-italic">&#x3ba;</mml:mi>
<mml:mn mathvariant="bold">11</mml:mn>
</mml:msub>
<mml:mo>&#x2062;</mml:mo>
<mml:msub>
<mml:mi mathvariant="bold-italic">x</mml:mi>
<mml:mi mathvariant="bold-italic">H</mml:mi>
</mml:msub>
</mml:mrow>
</mml:mtd>
</mml:mtr>
</mml:mtable>
</mml:mfenced>
<mml:mo>&#x2062;</mml:mo>
<mml:msub>
<mml:mrow>
<mml:mfenced close="]" open="[" separators="|">
<mml:mtable columnalign="center">
<mml:mtr>
<mml:mtd>
<mml:msub>
<mml:mi mathvariant="bold-italic">x</mml:mi>
<mml:mi mathvariant="bold-italic">H</mml:mi>
</mml:msub>
</mml:mtd>
</mml:mtr>
<mml:mtr>
<mml:mtd>
<mml:msub>
<mml:mi mathvariant="bold-italic">x</mml:mi>
<mml:mn mathvariant="bold">1</mml:mn>
</mml:msub>
</mml:mtd>
</mml:mtr>
</mml:mtable>
</mml:mfenced>
</mml:mrow>
<mml:mi mathvariant="bold-italic">i</mml:mi>
</mml:msub>
</mml:mrow>
</mml:math>
<label>(11)</label>
</disp-formula>
</p>
</sec>
<sec id="s2-3-2">
<title>2.3.2 Three-sensor case</title>
<p>The more complex case of a mixture of four components (hydrogen plus three different sorts of natural gas) requires the measurement of three variables, such as density, speed of sound and thermal conductivity. The fortunate fact that substitution of the molar mass equation into the equation of the speed of sound results in a linear equation enables a solution of this system of three equations by direct substitution as well (<xref ref-type="disp-formula" rid="e12">Equation 12</xref>).<disp-formula id="e12">
<mml:math display="block" id="m51">
<mml:mfenced open="{" separators="|">
<mml:mtable columnalign="left">
<mml:mtr>
<mml:mtd>
<mml:mrow>
<mml:mfenced close=")" open="(" separators="|">
<mml:mrow>
<mml:msub>
<mml:mi mathvariant="bold-italic">M</mml:mi>
<mml:mn mathvariant="bold">1</mml:mn>
</mml:msub>
<mml:mo>&#x2212;</mml:mo>
<mml:msub>
<mml:mi mathvariant="bold-italic">M</mml:mi>
<mml:mn mathvariant="bold">3</mml:mn>
</mml:msub>
</mml:mrow>
</mml:mfenced>
<mml:mo>&#x2062;</mml:mo>
<mml:msub>
<mml:mi mathvariant="bold-italic">x</mml:mi>
<mml:mn mathvariant="bold">1</mml:mn>
</mml:msub>
<mml:mo>&#x2b;</mml:mo>
<mml:mfenced close=")" open="(" separators="|">
<mml:mrow>
<mml:msub>
<mml:mi mathvariant="bold-italic">M</mml:mi>
<mml:mi mathvariant="bold-italic">H</mml:mi>
</mml:msub>
<mml:mo>&#x2212;</mml:mo>
<mml:msub>
<mml:mi mathvariant="bold-italic">M</mml:mi>
<mml:mn mathvariant="bold">3</mml:mn>
</mml:msub>
</mml:mrow>
</mml:mfenced>
<mml:mo>&#x2062;</mml:mo>
<mml:msub>
<mml:mi mathvariant="bold-italic">x</mml:mi>
<mml:mi mathvariant="bold-italic">H</mml:mi>
</mml:msub>
<mml:mo>&#x2b;</mml:mo>
<mml:mfenced close=")" open="(" separators="|">
<mml:mrow>
<mml:msub>
<mml:mi mathvariant="bold-italic">M</mml:mi>
<mml:mn mathvariant="bold">2</mml:mn>
</mml:msub>
<mml:mo>&#x2212;</mml:mo>
<mml:msub>
<mml:mi mathvariant="bold-italic">M</mml:mi>
<mml:mn mathvariant="bold">3</mml:mn>
</mml:msub>
</mml:mrow>
</mml:mfenced>
<mml:mo>&#x2062;</mml:mo>
<mml:msub>
<mml:mi mathvariant="bold-italic">x</mml:mi>
<mml:mn mathvariant="bold">2</mml:mn>
</mml:msub>
<mml:mo>&#x3d;</mml:mo>
<mml:mfenced close=")" open="(" separators="|">
<mml:mrow>
<mml:mi mathvariant="bold-italic">M</mml:mi>
<mml:mo>&#x2212;</mml:mo>
<mml:msub>
<mml:mi mathvariant="bold-italic">M</mml:mi>
<mml:mn mathvariant="bold">3</mml:mn>
</mml:msub>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
</mml:mtd>
</mml:mtr>
<mml:mtr>
<mml:mtd>
<mml:mrow>
<mml:msub>
<mml:mi mathvariant="bold-italic">&#x3b6;</mml:mi>
<mml:mn mathvariant="bold">200</mml:mn>
</mml:msub>
<mml:mo>&#x2062;</mml:mo>
<mml:msubsup>
<mml:mi mathvariant="bold-italic">x</mml:mi>
<mml:mi mathvariant="bold-italic">H</mml:mi>
<mml:mn mathvariant="bold">2</mml:mn>
</mml:msubsup>
<mml:mo>&#x2b;</mml:mo>
<mml:msub>
<mml:mi mathvariant="bold-italic">&#x3b6;</mml:mi>
<mml:mn mathvariant="bold">020</mml:mn>
</mml:msub>
<mml:mo>&#x2062;</mml:mo>
<mml:msubsup>
<mml:mi mathvariant="bold-italic">x</mml:mi>
<mml:mn mathvariant="bold">1</mml:mn>
<mml:mn mathvariant="bold">2</mml:mn>
</mml:msubsup>
<mml:mo>&#x2b;</mml:mo>
<mml:msub>
<mml:mi mathvariant="bold-italic">&#x3b6;</mml:mi>
<mml:mn mathvariant="bold">002</mml:mn>
</mml:msub>
<mml:mo>&#x2062;</mml:mo>
<mml:msubsup>
<mml:mi mathvariant="bold-italic">x</mml:mi>
<mml:mn mathvariant="bold">2</mml:mn>
<mml:mn mathvariant="bold">2</mml:mn>
</mml:msubsup>
<mml:mo>&#x2b;</mml:mo>
<mml:msub>
<mml:mi mathvariant="bold-italic">&#x3b6;</mml:mi>
<mml:mn mathvariant="bold">110</mml:mn>
</mml:msub>
<mml:mo>&#x2062;</mml:mo>
<mml:msub>
<mml:mi mathvariant="bold-italic">x</mml:mi>
<mml:mi mathvariant="bold-italic">H</mml:mi>
</mml:msub>
<mml:mo>&#x2062;</mml:mo>
<mml:msub>
<mml:mi mathvariant="bold-italic">x</mml:mi>
<mml:mn mathvariant="bold">1</mml:mn>
</mml:msub>
<mml:mo>&#x2b;</mml:mo>
<mml:msub>
<mml:mi mathvariant="bold-italic">&#x3b6;</mml:mi>
<mml:mn mathvariant="bold">101</mml:mn>
</mml:msub>
<mml:mo>&#x2062;</mml:mo>
<mml:msub>
<mml:mi mathvariant="bold-italic">x</mml:mi>
<mml:mi mathvariant="bold-italic">H</mml:mi>
</mml:msub>
<mml:mo>&#x2062;</mml:mo>
<mml:msub>
<mml:mi mathvariant="bold-italic">x</mml:mi>
<mml:mn mathvariant="bold">2</mml:mn>
</mml:msub>
<mml:mo>&#x2b;</mml:mo>
<mml:msub>
<mml:mi mathvariant="bold-italic">&#x3b6;</mml:mi>
<mml:mn mathvariant="bold">011</mml:mn>
</mml:msub>
<mml:mo>&#x2062;</mml:mo>
<mml:msub>
<mml:mi mathvariant="bold-italic">x</mml:mi>
<mml:mn mathvariant="bold">1</mml:mn>
</mml:msub>
<mml:mo>&#x2062;</mml:mo>
<mml:msub>
<mml:mi mathvariant="bold-italic">x</mml:mi>
<mml:mn mathvariant="bold">2</mml:mn>
</mml:msub>
</mml:mrow>
</mml:mtd>
</mml:mtr>
<mml:mtr>
<mml:mtd>
<mml:mrow>
<mml:mo>&#x2b;</mml:mo>
<mml:msub>
<mml:mi mathvariant="bold-italic">&#x3b6;</mml:mi>
<mml:mn mathvariant="bold">100</mml:mn>
</mml:msub>
<mml:mo>&#x2062;</mml:mo>
<mml:msub>
<mml:mi mathvariant="bold-italic">x</mml:mi>
<mml:mi mathvariant="bold-italic">H</mml:mi>
</mml:msub>
<mml:mo>&#x2b;</mml:mo>
<mml:msub>
<mml:mi mathvariant="bold-italic">&#x3b6;</mml:mi>
<mml:mn mathvariant="bold">010</mml:mn>
</mml:msub>
<mml:mo>&#x2062;</mml:mo>
<mml:msub>
<mml:mi mathvariant="bold-italic">x</mml:mi>
<mml:mn mathvariant="bold">1</mml:mn>
</mml:msub>
<mml:mo>&#x2b;</mml:mo>
<mml:msub>
<mml:mi mathvariant="bold-italic">&#x3b6;</mml:mi>
<mml:mn mathvariant="bold">001</mml:mn>
</mml:msub>
<mml:mo>&#x2062;</mml:mo>
<mml:msub>
<mml:mi mathvariant="bold-italic">x</mml:mi>
<mml:mn mathvariant="bold">2</mml:mn>
</mml:msub>
<mml:mo>&#x2b;</mml:mo>
<mml:msub>
<mml:mi mathvariant="bold-italic">&#x3b6;</mml:mi>
<mml:mn mathvariant="bold">000</mml:mn>
</mml:msub>
<mml:mo>&#x3d;</mml:mo>
<mml:mn mathvariant="bold">0</mml:mn>
</mml:mrow>
</mml:mtd>
</mml:mtr>
<mml:mtr>
<mml:mtd>
<mml:mrow>
<mml:msub>
<mml:mi mathvariant="bold-italic">&#x3ba;</mml:mi>
<mml:mn mathvariant="bold">200</mml:mn>
</mml:msub>
<mml:mo>&#x2062;</mml:mo>
<mml:msubsup>
<mml:mi mathvariant="bold-italic">x</mml:mi>
<mml:mi mathvariant="bold-italic">H</mml:mi>
<mml:mn mathvariant="bold">2</mml:mn>
</mml:msubsup>
<mml:mo>&#x2b;</mml:mo>
<mml:msub>
<mml:mi mathvariant="bold-italic">&#x3ba;</mml:mi>
<mml:mn mathvariant="bold">020</mml:mn>
</mml:msub>
<mml:mo>&#x2062;</mml:mo>
<mml:msubsup>
<mml:mi mathvariant="bold-italic">x</mml:mi>
<mml:mn mathvariant="bold">1</mml:mn>
<mml:mn mathvariant="bold">2</mml:mn>
</mml:msubsup>
<mml:mo>&#x2b;</mml:mo>
<mml:msub>
<mml:mi mathvariant="bold-italic">&#x3ba;</mml:mi>
<mml:mn mathvariant="bold">002</mml:mn>
</mml:msub>
<mml:mo>&#x2062;</mml:mo>
<mml:msubsup>
<mml:mi mathvariant="bold-italic">x</mml:mi>
<mml:mn mathvariant="bold">2</mml:mn>
<mml:mn mathvariant="bold">2</mml:mn>
</mml:msubsup>
<mml:mo>&#x2b;</mml:mo>
<mml:msub>
<mml:mi mathvariant="bold-italic">&#x3ba;</mml:mi>
<mml:mn mathvariant="bold">110</mml:mn>
</mml:msub>
<mml:mo>&#x2062;</mml:mo>
<mml:msub>
<mml:mi mathvariant="bold-italic">x</mml:mi>
<mml:mi mathvariant="bold-italic">H</mml:mi>
</mml:msub>
<mml:mo>&#x2062;</mml:mo>
<mml:msub>
<mml:mi mathvariant="bold-italic">x</mml:mi>
<mml:mn mathvariant="bold">1</mml:mn>
</mml:msub>
<mml:mo>&#x2b;</mml:mo>
<mml:msub>
<mml:mi mathvariant="bold-italic">&#x3ba;</mml:mi>
<mml:mn mathvariant="bold">101</mml:mn>
</mml:msub>
<mml:mo>&#x2062;</mml:mo>
<mml:msub>
<mml:mi mathvariant="bold-italic">x</mml:mi>
<mml:mi mathvariant="bold-italic">H</mml:mi>
</mml:msub>
<mml:mo>&#x2062;</mml:mo>
<mml:msub>
<mml:mi mathvariant="bold-italic">x</mml:mi>
<mml:mn mathvariant="bold">2</mml:mn>
</mml:msub>
<mml:mo>&#x2b;</mml:mo>
<mml:msub>
<mml:mi mathvariant="bold-italic">&#x3ba;</mml:mi>
<mml:mn mathvariant="bold">011</mml:mn>
</mml:msub>
<mml:mo>&#x2062;</mml:mo>
<mml:msub>
<mml:mi mathvariant="bold-italic">x</mml:mi>
<mml:mn mathvariant="bold">1</mml:mn>
</mml:msub>
<mml:mo>&#x2062;</mml:mo>
<mml:msub>
<mml:mi mathvariant="bold-italic">x</mml:mi>
<mml:mn mathvariant="bold">2</mml:mn>
</mml:msub>
</mml:mrow>
</mml:mtd>
</mml:mtr>
<mml:mtr>
<mml:mtd>
<mml:mrow>
<mml:mo>&#x2b;</mml:mo>
<mml:msub>
<mml:mi mathvariant="bold-italic">&#x3ba;</mml:mi>
<mml:mn mathvariant="bold">100</mml:mn>
</mml:msub>
<mml:mo>&#x2062;</mml:mo>
<mml:msub>
<mml:mi mathvariant="bold-italic">x</mml:mi>
<mml:mi mathvariant="bold-italic">H</mml:mi>
</mml:msub>
<mml:mo>&#x2b;</mml:mo>
<mml:msub>
<mml:mi mathvariant="bold-italic">&#x3ba;</mml:mi>
<mml:mn mathvariant="bold">010</mml:mn>
</mml:msub>
<mml:mo>&#x2062;</mml:mo>
<mml:msub>
<mml:mi mathvariant="bold-italic">x</mml:mi>
<mml:mn mathvariant="bold">1</mml:mn>
</mml:msub>
<mml:mo>&#x2b;</mml:mo>
<mml:msub>
<mml:mi mathvariant="bold-italic">&#x3ba;</mml:mi>
<mml:mn mathvariant="bold">001</mml:mn>
</mml:msub>
<mml:mo>&#x2062;</mml:mo>
<mml:msub>
<mml:mi mathvariant="bold-italic">x</mml:mi>
<mml:mn mathvariant="bold">2</mml:mn>
</mml:msub>
<mml:mo>&#x2b;</mml:mo>
<mml:msub>
<mml:mi mathvariant="bold-italic">&#x3ba;</mml:mi>
<mml:mn mathvariant="bold">000</mml:mn>
</mml:msub>
<mml:mo>&#x3d;</mml:mo>
<mml:mi mathvariant="bold-italic">&#x3ba;</mml:mi>
</mml:mrow>
</mml:mtd>
</mml:mtr>
</mml:mtable>
</mml:mfenced>
</mml:math>
<label>(12)</label>
</disp-formula>
</p>
<p>Substitution of the first equation into both the second and third one leads to a system of the following sort (<xref ref-type="disp-formula" rid="e13">Equation 13</xref>):<disp-formula id="e13">
<mml:math id="m52">
<mml:mrow>
<mml:mfenced open="{" close="" separators="|">
<mml:mrow>
<mml:mtable columnalign="left">
<mml:mtr>
<mml:mtd>
<mml:mrow>
<mml:msub>
<mml:mi mathvariant="bold-italic">C</mml:mi>
<mml:mn mathvariant="bold">20</mml:mn>
</mml:msub>
<mml:msubsup>
<mml:mi mathvariant="bold-italic">x</mml:mi>
<mml:mi mathvariant="bold-italic">H</mml:mi>
<mml:mn mathvariant="bold">2</mml:mn>
</mml:msubsup>
<mml:mo>&#x2b;</mml:mo>
<mml:msub>
<mml:mi mathvariant="bold-italic">C</mml:mi>
<mml:mn mathvariant="bold">02</mml:mn>
</mml:msub>
<mml:msubsup>
<mml:mi mathvariant="bold-italic">x</mml:mi>
<mml:mn mathvariant="bold">1</mml:mn>
<mml:mn mathvariant="bold">2</mml:mn>
</mml:msubsup>
<mml:mo>&#x2b;</mml:mo>
<mml:msub>
<mml:mi mathvariant="bold-italic">C</mml:mi>
<mml:mn mathvariant="bold">11</mml:mn>
</mml:msub>
<mml:msub>
<mml:mi mathvariant="bold-italic">x</mml:mi>
<mml:mi mathvariant="bold-italic">H</mml:mi>
</mml:msub>
<mml:msub>
<mml:mi mathvariant="bold-italic">x</mml:mi>
<mml:mn mathvariant="bold">1</mml:mn>
</mml:msub>
<mml:mo>&#x2b;</mml:mo>
<mml:msub>
<mml:mi mathvariant="bold-italic">C</mml:mi>
<mml:mn mathvariant="bold">10</mml:mn>
</mml:msub>
<mml:msub>
<mml:mi mathvariant="bold-italic">x</mml:mi>
<mml:mi mathvariant="bold-italic">H</mml:mi>
</mml:msub>
<mml:mo>&#x2b;</mml:mo>
<mml:msub>
<mml:mi mathvariant="bold-italic">C</mml:mi>
<mml:mn mathvariant="bold">01</mml:mn>
</mml:msub>
<mml:msub>
<mml:mi mathvariant="bold-italic">x</mml:mi>
<mml:mn mathvariant="bold">1</mml:mn>
</mml:msub>
<mml:mo>&#x2b;</mml:mo>
<mml:msub>
<mml:mi mathvariant="bold-italic">C</mml:mi>
<mml:mn mathvariant="bold">00</mml:mn>
</mml:msub>
<mml:mo>&#x3d;</mml:mo>
<mml:mn mathvariant="bold">0</mml:mn>
</mml:mrow>
</mml:mtd>
</mml:mtr>
<mml:mtr>
<mml:mtd>
<mml:mrow>
<mml:msub>
<mml:mi mathvariant="bold-italic">K</mml:mi>
<mml:mn mathvariant="bold">20</mml:mn>
</mml:msub>
<mml:msubsup>
<mml:mi mathvariant="bold-italic">x</mml:mi>
<mml:mi mathvariant="bold-italic">H</mml:mi>
<mml:mn mathvariant="bold">2</mml:mn>
</mml:msubsup>
<mml:mo>&#x2b;</mml:mo>
<mml:msub>
<mml:mi mathvariant="bold-italic">K</mml:mi>
<mml:mn mathvariant="bold">02</mml:mn>
</mml:msub>
<mml:msubsup>
<mml:mi mathvariant="bold-italic">x</mml:mi>
<mml:mn mathvariant="bold">1</mml:mn>
<mml:mn mathvariant="bold">2</mml:mn>
</mml:msubsup>
<mml:mo>&#x2b;</mml:mo>
<mml:msub>
<mml:mi mathvariant="bold-italic">K</mml:mi>
<mml:mn mathvariant="bold">11</mml:mn>
</mml:msub>
<mml:msub>
<mml:mi mathvariant="bold-italic">x</mml:mi>
<mml:mi mathvariant="bold-italic">H</mml:mi>
</mml:msub>
<mml:msub>
<mml:mi mathvariant="bold-italic">x</mml:mi>
<mml:mn mathvariant="bold">1</mml:mn>
</mml:msub>
<mml:mo>&#x2b;</mml:mo>
<mml:msub>
<mml:mi mathvariant="bold-italic">K</mml:mi>
<mml:mn mathvariant="bold">10</mml:mn>
</mml:msub>
<mml:msub>
<mml:mi mathvariant="bold-italic">x</mml:mi>
<mml:mi mathvariant="bold-italic">H</mml:mi>
</mml:msub>
<mml:mo>&#x2b;</mml:mo>
<mml:msub>
<mml:mi mathvariant="bold-italic">K</mml:mi>
<mml:mn mathvariant="bold">01</mml:mn>
</mml:msub>
<mml:msub>
<mml:mi mathvariant="bold-italic">x</mml:mi>
<mml:mn mathvariant="bold">1</mml:mn>
</mml:msub>
<mml:mo>&#x2b;</mml:mo>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="|">
<mml:mrow>
<mml:msub>
<mml:mi mathvariant="bold-italic">K</mml:mi>
<mml:mn mathvariant="bold">00</mml:mn>
</mml:msub>
<mml:mo>&#x2212;</mml:mo>
<mml:mi mathvariant="bold-italic">&#x3ba;</mml:mi>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
<mml:mo>&#x3d;</mml:mo>
<mml:mn mathvariant="bold">0</mml:mn>
</mml:mrow>
</mml:mtd>
</mml:mtr>
</mml:mtable>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
</mml:math>
<label>(13)</label>
</disp-formula>
</p>
<p>The reader is encouraged to verify that the second-order coefficients of the first equation&#x2014;<inline-formula id="inf35">
<mml:math id="m53">
<mml:mrow>
<mml:msub>
<mml:mi>C</mml:mi>
<mml:mn>20</mml:mn>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula>, <inline-formula id="inf36">
<mml:math id="m54">
<mml:mrow>
<mml:msub>
<mml:mi>C</mml:mi>
<mml:mn>02</mml:mn>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula> and <inline-formula id="inf37">
<mml:math id="m55">
<mml:mrow>
<mml:msub>
<mml:mi>C</mml:mi>
<mml:mn>11</mml:mn>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula>&#x2014;are all zero. Hence, the amount fraction of hydrogen can be solved with a simple quadratic equation (<xref ref-type="disp-formula" rid="e14">Equation 14</xref>):<disp-formula id="e14">
<mml:math id="m56">
<mml:mrow>
<mml:msub>
<mml:mi mathvariant="bold-italic">P</mml:mi>
<mml:mn mathvariant="bold">2</mml:mn>
</mml:msub>
<mml:msubsup>
<mml:mi mathvariant="bold-italic">x</mml:mi>
<mml:mi mathvariant="bold-italic">H</mml:mi>
<mml:mn mathvariant="bold">2</mml:mn>
</mml:msubsup>
<mml:mo>&#x2b;</mml:mo>
<mml:msub>
<mml:mi mathvariant="bold-italic">P</mml:mi>
<mml:mn mathvariant="bold">1</mml:mn>
</mml:msub>
<mml:msub>
<mml:mi mathvariant="bold-italic">x</mml:mi>
<mml:mi mathvariant="bold-italic">H</mml:mi>
</mml:msub>
<mml:mo>&#x2b;</mml:mo>
<mml:msub>
<mml:mi mathvariant="bold-italic">P</mml:mi>
<mml:mn mathvariant="bold">0</mml:mn>
</mml:msub>
<mml:mo>&#x3d;</mml:mo>
<mml:mn mathvariant="bold">0</mml:mn>
</mml:mrow>
</mml:math>
<label>(14)</label>
</disp-formula>
</p>
</sec>
</sec>
<sec id="s2-4">
<title>2.4 Monte-Carlo simulation</title>
<p>In order to verify the accuracy of the proposed estimation methods, a set of randomly generated&#x2014;yet feasible&#x2014;natural gas compositions were calculated. <xref ref-type="table" rid="T2">Table 2</xref> shows the tabulated properties of the relevant molecules at 20&#xb0;C and atmospheric pressure, extracted from the NIST database (<xref ref-type="bibr" rid="B13">Lemmon et al., 2023</xref>). With this information, the thermodynamic properties of several random mixtures of natural gas and hydrogen can be computed, using the models in <xref ref-type="disp-formula" rid="e3">Equations 3</xref>, <xref ref-type="disp-formula" rid="e4">4</xref>, <xref ref-type="disp-formula" rid="e6">6</xref>, <xref ref-type="disp-formula" rid="e7">7</xref>. We &#x2018;synthesised&#x2019; thus one hundred random binary combinations of the seven natural gas sources in <xref ref-type="table" rid="T1">Table 1</xref> and then calculated their properties upon mixture with hydrogen from 0 mol% to 30 mol%. If the proposed estimators are able to compute the combustion enthalpy and the hydrogen content of such a wide spectrum of natural gas compositions, such a system can certainly be calibrated for a more regulated application case.</p>
<table-wrap id="T2" position="float">
<label>TABLE 2</label>
<caption>
<p>Thermodynamic properties of gas molecules contained in hydrogen-enriched natural gas. Source: <xref ref-type="bibr" rid="B13">Lemmon et al. (2023)</xref>. All properties are tabulated for 20&#xb0;C and atmospheric pressure, except for the standard combustion enthalpy, which corresponds to 25&#xb0;C and 100 kPa.</p>
</caption>
<table>
<thead valign="top">
<tr>
<th align="left">Molecule</th>
<th align="left">M [kg/mol]</th>
<th align="left">C<sub>p</sub> [J/mol-K]</th>
<th align="left">C<sub>v</sub> [J/mol-K]</th>
<th align="left">&#xb5; [Pa-s]</th>
<th align="left">&#x3ba; [W/m-K]</th>
<th align="left">&#x394;H<sup>&#xb0;</sup>
<sub>C</sub> [kJ/mol]</th>
</tr>
</thead>
<tbody valign="top">
<tr>
<td align="left">
<bold>H</bold>
<sub>
<bold>2</bold>
</sub>
</td>
<td align="left">2.0160E-03</td>
<td align="left">2.8802E&#x2b;01</td>
<td align="left">2.0484E&#x2b;01</td>
<td align="left">8.7968E-06</td>
<td align="left">1.8339E-01</td>
<td align="left">&#x2212;285.8</td>
</tr>
<tr>
<td align="left">
<bold>N</bold>
<sub>
<bold>2</bold>
</sub>
</td>
<td align="left">2.8020E-02</td>
<td align="left">2.9172E&#x2b;01</td>
<td align="left">2.0816E&#x2b;01</td>
<td align="left">1.7573E-05</td>
<td align="left">2.5473E-02</td>
<td align="left">0</td>
</tr>
<tr>
<td align="left">
<bold>CO</bold>
<sub>
<bold>2</bold>
</sub>
</td>
<td align="left">4.4010E-02</td>
<td align="left">3.7235E&#x2b;01</td>
<td align="left">2.8714E&#x2b;01</td>
<td align="left">1.4675E-05</td>
<td align="left">1.6251E-02</td>
<td align="left">0</td>
</tr>
<tr>
<td align="left">
<bold>O</bold>
<sub>
<bold>2</bold>
</sub>
</td>
<td align="left">3.1999E-02</td>
<td align="left">2.9405E&#x2b;01</td>
<td align="left">2.1046E&#x2b;01</td>
<td align="left">2.0273E-05</td>
<td align="left">2.5946E-02</td>
<td align="left">0</td>
</tr>
<tr>
<td align="left">
<bold>CH</bold>
<sub>
<bold>4</bold>
</sub>
</td>
<td align="left">1.6043E-02</td>
<td align="left">3.5625E&#x2b;01</td>
<td align="left">2.7229E&#x2b;01</td>
<td align="left">1.0914E-05</td>
<td align="left">3.3271E-02</td>
<td align="left">&#x2212;890.8</td>
</tr>
<tr>
<td align="left">
<bold>C</bold>
<sub>
<bold>2</bold>
</sub>
<bold>H</bold>
<sub>
<bold>6</bold>
</sub>
</td>
<td align="left">3.0070E-02</td>
<td align="left">5.2255E&#x2b;01</td>
<td align="left">4.3661E&#x2b;01</td>
<td align="left">9.0860E-06</td>
<td align="left">2.0114E-02</td>
<td align="left">&#x2212;1,560</td>
</tr>
<tr>
<td align="left">
<bold>C</bold>
<sub>
<bold>3</bold>
</sub>
<bold>H</bold>
<sub>
<bold>8</bold>
</sub>
</td>
<td align="left">4.4090E-02</td>
<td align="left">7.3374E&#x2b;01</td>
<td align="left">6.4422E&#x2b;01</td>
<td align="left">7.9877E-06</td>
<td align="left">1.7763E-02</td>
<td align="left">&#x2212;2,220</td>
</tr>
<tr>
<td align="left">
<bold>C</bold>
<sub>
<bold>4</bold>
</sub>
<bold>H</bold>
<sub>
<bold>10</bold>
</sub>
</td>
<td align="left">5.8100E-02</td>
<td align="left">9.9555E&#x2b;01</td>
<td align="left">8.9881E&#x2b;01</td>
<td align="left">7.2499E-06</td>
<td align="left">1.6073E-02</td>
<td align="left">&#x2212;2,877</td>
</tr>
</tbody>
</table>
</table-wrap>
<p>In this study, we compare four kinds of estimators with increasing complexity. The simplest estimator is based on a measurement of the thermal conductivity alone and is calibrated against one source of natural gas (&#x201c;NG type 1&#x201d; in <xref ref-type="fig" rid="F2">Figure 2</xref>). It na&#xef;vely assumes that there is no variation in the composition of natural gas, and any change in the thermal conductivity is attributed to a change in the hydrogen content alone. The combustion enthalpy is then simply calculated as the linear combination of the enthalpy of hydrogen and that of the calibration gas with the corresponding proportions. The following two estimators are based on two variables<xref ref-type="fn" rid="fn4">
<sup>4</sup>
</xref>&#x2014;speed of sound together with thermal conductivity, and density together with thermal conductivity. A two-variable estimator requires a calibration with two sources of natural gas, and it assumes that any variation in the composition of natural gas is due to a combination of these two sources. It is therefore convenient to select an &#x201c;H&#x201d; gas and an &#x201c;L&#x201d; gas for this purpose. If only these two sources (and hydrogen) are randomly blended, this method would exhibit virtually no detection error. The final estimator whose performance will be evaluated is based on the combined measurement of the three mentioned variables (thermal conductivity, speed of sound and density). This estimator was calibrated with the three types of natural gas whose thermal conductivity is shown in <xref ref-type="fig" rid="F2">Figure 2</xref> (an &#x201c;H&#x201d; gas, an &#x201c;L&#x201d; gas, and a type of biomethane). Its underlying assumption is that any variation in the constitution of natural gas is due to a ternary mixture of these three sorts. This estimator is therefore expected to be much more robust against composition variations, detecting both the concentration of hydrogen and the combustion enthalpy with a high precision&#x2014;in spite of there being seven different sources of natural gas, mixed binarily in random proportions. The accuracy of these four estimation methods was evaluated with the root-mean-square error (<xref ref-type="disp-formula" rid="e15">Equation 15</xref>) in the prediction of the variables of interest (combustion enthalpy and molar fraction of hydrogen) for all the randomly generated mixtures.<disp-formula id="e15">
<mml:math id="m57">
<mml:mrow>
<mml:msub>
<mml:mi mathvariant="bold-italic">&#x3f5;</mml:mi>
<mml:mrow>
<mml:mi mathvariant="bold-italic">R</mml:mi>
<mml:mi mathvariant="bold-italic">M</mml:mi>
<mml:mi mathvariant="bold-italic">S</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mo>&#x3d;</mml:mo>
<mml:msqrt>
<mml:mrow>
<mml:mfrac>
<mml:mrow>
<mml:mn mathvariant="bold">1</mml:mn>
</mml:mrow>
<mml:mrow>
<mml:mi mathvariant="bold-italic">N</mml:mi>
</mml:mrow>
</mml:mfrac>
<mml:mo>&#x2211;</mml:mo>
<mml:msup>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="|">
<mml:mrow>
<mml:mfrac>
<mml:mrow>
<mml:msub>
<mml:mi mathvariant="bold-italic">x</mml:mi>
<mml:mrow>
<mml:mi mathvariant="bold-italic">p</mml:mi>
<mml:mi mathvariant="bold-italic">r</mml:mi>
<mml:mi mathvariant="bold-italic">e</mml:mi>
<mml:mi mathvariant="bold-italic">d</mml:mi>
<mml:mi mathvariant="bold-italic">i</mml:mi>
<mml:mi mathvariant="bold-italic">c</mml:mi>
<mml:mi mathvariant="bold-italic">t</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mo>&#x2212;</mml:mo>
<mml:msub>
<mml:mi mathvariant="bold-italic">x</mml:mi>
<mml:mrow>
<mml:mi mathvariant="bold-italic">t</mml:mi>
<mml:mi mathvariant="bold-italic">r</mml:mi>
<mml:mi mathvariant="bold-italic">u</mml:mi>
<mml:mi mathvariant="bold-italic">e</mml:mi>
</mml:mrow>
</mml:msub>
</mml:mrow>
<mml:msub>
<mml:mi mathvariant="bold-italic">x</mml:mi>
<mml:mrow>
<mml:mi mathvariant="bold-italic">t</mml:mi>
<mml:mi mathvariant="bold-italic">r</mml:mi>
<mml:mi mathvariant="bold-italic">u</mml:mi>
<mml:mi mathvariant="bold-italic">e</mml:mi>
</mml:mrow>
</mml:msub>
</mml:mfrac>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
<mml:mn mathvariant="bold">2</mml:mn>
</mml:msup>
</mml:mrow>
</mml:msqrt>
</mml:mrow>
</mml:math>
<label>(15)</label>
</disp-formula>
</p>
<fig id="F2" position="float">
<label>FIGURE 2</label>
<caption>
<p>Test of the proposed quadratic model of <xref ref-type="disp-formula" rid="e8">Equation 8</xref> to predict the thermal conductivity of a mixture of three different sources of natural gas with hydrogen. Types &#x201c;1&#x201d;, &#x201c;2&#x201d; and &#x201c;3&#x201d; correspond to the sources &#x201c;Russia&#x201d;, &#x201c;Netherlands&#x201d; and &#x201c;Biomethane&#x201d; in <xref ref-type="table" rid="T1">Table 1</xref>, respectively. <bold>(A)</bold> Variation of the thermal conductivity with the amount fraction of hydrogen. <bold>(B)</bold> Error of the quadratic model.</p>
</caption>
<graphic xlink:href="fenrg-13-1339598-g002.tif"/>
</fig>
<p>The previous comparison assumes that the measurement of the physical variables is free from experimental error, which is unrealistic. For this reason, a second study was performed, in which the outcome of each physical measurement is distorted by a Gaussian distribution with varying degrees of standard deviation (0.5%, 1.0% and 2.0% of the mean). Therefore, for every randomly generated gas mixture, a series of 30 &#x201c;measurements&#x201d; of the physical variables under the influence of said cases of experimental error were performed, in order to assess the robustness of the proposed detection methods in a realistic scenario. It is expected that the three-variable estimator will suffer a higher loss of accuracy under the effect of experimental uncertainty than the two- or one-variable ones.</p>
</sec>
</sec>
<sec sec-type="results" id="s3">
<title>3 Results</title>
<sec id="s3-1">
<title>3.1 Regression model for the thermal conductivity</title>
<p>We proposed in <xref ref-type="sec" rid="s2-2">Section 2.2</xref> to simplify the calculation of the thermal conductivity of a mixture (<xref ref-type="disp-formula" rid="e7">Equation 7</xref>) as a quadratic polynomial (<xref ref-type="disp-formula" rid="e9">Equation 9</xref>). It can be seen in <xref ref-type="fig" rid="F2">Figure 2</xref> that the coefficients of such a polynomial can be fitted with a least-squares procedure to predict the thermal conductivity with high precision. These coefficients were fitted using the simulated curves of thermal conductivity vs amount fraction of hydrogen for three selected sources of natural gas (one &#x2018;H&#x2019;-type, one &#x2018;L&#x2019;-type and a type of biomethane). Such a polynomial fit could be obtained with experimental data by measuring the thermal conductivity of each independent natural gas source upon hydrogen addition in the concentration range of interest. This quadratic model facilitates the solution of a system of equations to a great extent. Some have proposed to use a linear fit for the thermal conductivity (<xref ref-type="bibr" rid="B12">Huber et al., 2018</xref>), but this would result in a loss of precision.</p>
<p>In order to find an appropriate fit of the constants in <xref ref-type="disp-formula" rid="e9">Equation 9</xref>, we suggest using an optimisation routine with a first guess based on the separate regressions of the conductivity-concentration curves of the three independent natural gas sources used for calibration. The substitution for each separate combination of natural gas and hydrogen leads in each case to a simplification of the complete polynomial, as shown in <xref ref-type="disp-formula" rid="e16">Equation 16</xref>. The first case corresponds to <inline-formula id="inf38">
<mml:math id="m58">
<mml:mrow>
<mml:mfenced open="{" close="}" separators="|">
<mml:mrow>
<mml:msub>
<mml:mi>x</mml:mi>
<mml:mn>2</mml:mn>
</mml:msub>
<mml:mo>&#x3d;</mml:mo>
<mml:mn>0</mml:mn>
<mml:mo>;</mml:mo>
<mml:msub>
<mml:mi>x</mml:mi>
<mml:mn>1</mml:mn>
</mml:msub>
<mml:mo>&#x3d;</mml:mo>
<mml:mn>1</mml:mn>
<mml:mo>&#x2212;</mml:mo>
<mml:msub>
<mml:mi>x</mml:mi>
<mml:mi>H</mml:mi>
</mml:msub>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
</mml:math>
</inline-formula>; the second case corresponds to <inline-formula id="inf39">
<mml:math id="m59">
<mml:mrow>
<mml:mfenced open="{" close="}" separators="|">
<mml:mrow>
<mml:msub>
<mml:mi>x</mml:mi>
<mml:mn>1</mml:mn>
</mml:msub>
<mml:mo>&#x3d;</mml:mo>
<mml:mn>0</mml:mn>
<mml:mo>;</mml:mo>
<mml:msub>
<mml:mi>x</mml:mi>
<mml:mn>2</mml:mn>
</mml:msub>
<mml:mo>&#x3d;</mml:mo>
<mml:mn>1</mml:mn>
<mml:mo>&#x2212;</mml:mo>
<mml:msub>
<mml:mi>x</mml:mi>
<mml:mi>H</mml:mi>
</mml:msub>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
</mml:math>
</inline-formula>; and the third case to <inline-formula id="inf40">
<mml:math id="m60">
<mml:mrow>
<mml:mfenced open="{" close="" separators="|">
<mml:mrow>
<mml:msub>
<mml:mi>x</mml:mi>
<mml:mn>1</mml:mn>
</mml:msub>
<mml:mo>&#x3d;</mml:mo>
<mml:mn>0</mml:mn>
<mml:mo>;</mml:mo>
<mml:msub>
<mml:mi>x</mml:mi>
<mml:mn>2</mml:mn>
</mml:msub>
<mml:mrow>
<mml:mfenced open="" close="}" separators="|">
<mml:mrow>
<mml:mrow>
<mml:mo>&#x3d;</mml:mo>
<mml:mn>0</mml:mn>
</mml:mrow>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
</mml:math>
</inline-formula>. From each case, a set of three constants can be directly obtained by a standard polynomial regression; however, the <italic>nine</italic> constants that are obtained cannot be used directly to calculate the <italic>ten</italic> constants required by <xref ref-type="disp-formula" rid="e9">Equation 9</xref>. Our suggestion is to set all cross-coefficients <inline-formula id="inf41">
<mml:math id="m61">
<mml:mrow>
<mml:mfenced open="{" close="}" separators="|">
<mml:mrow>
<mml:msub>
<mml:mi>&#x3ba;</mml:mi>
<mml:mn>110</mml:mn>
</mml:msub>
<mml:mo>,</mml:mo>
<mml:msub>
<mml:mi>&#x3ba;</mml:mi>
<mml:mn>101</mml:mn>
</mml:msub>
<mml:mo>,</mml:mo>
<mml:msub>
<mml:mi>&#x3ba;</mml:mi>
<mml:mn>011</mml:mn>
</mml:msub>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
</mml:math>
</inline-formula> to zero, which enables obtaining the initial guess of the rest of the constants by direct substitution. The actual coefficients can be then obtained by a minimisation of the sum of the root-mean square error of all three curves against the complete polynomial.<disp-formula id="e16">
<mml:math display="block" id="m62">
<mml:mfenced open="{" separators="|">
<mml:mtable columnalign="left">
<mml:mtr>
<mml:mtd>
<mml:mrow>
<mml:mfenced close=")" open="(" separators="|">
<mml:mrow>
<mml:msub>
<mml:mi>&#x3ba;</mml:mi>
<mml:mn>200</mml:mn>
</mml:msub>
<mml:mo>&#x2b;</mml:mo>
<mml:msub>
<mml:mi>&#x3ba;</mml:mi>
<mml:mn>020</mml:mn>
</mml:msub>
<mml:mo>&#x2212;</mml:mo>
<mml:msub>
<mml:mi>&#x3ba;</mml:mi>
<mml:mn>110</mml:mn>
</mml:msub>
</mml:mrow>
</mml:mfenced>
<mml:mo>&#x2062;</mml:mo>
<mml:msubsup>
<mml:mi>x</mml:mi>
<mml:mi>H</mml:mi>
<mml:mn>2</mml:mn>
</mml:msubsup>
<mml:mo>&#x2b;</mml:mo>
<mml:mfenced close=")" open="(" separators="|">
<mml:mrow>
<mml:msub>
<mml:mi>&#x3ba;</mml:mi>
<mml:mn>100</mml:mn>
</mml:msub>
<mml:mo>&#x2212;</mml:mo>
<mml:mn>2</mml:mn>
<mml:msub>
<mml:mi>&#x3ba;</mml:mi>
<mml:mn>020</mml:mn>
</mml:msub>
<mml:mo>&#x2b;</mml:mo>
<mml:msub>
<mml:mi>&#x3ba;</mml:mi>
<mml:mn>110</mml:mn>
</mml:msub>
<mml:mo>&#x2212;</mml:mo>
<mml:msub>
<mml:mi>&#x3ba;</mml:mi>
<mml:mn>010</mml:mn>
</mml:msub>
</mml:mrow>
</mml:mfenced>
<mml:mo>&#x2062;</mml:mo>
<mml:msub>
<mml:mi>x</mml:mi>
<mml:mi>H</mml:mi>
</mml:msub>
<mml:mo>&#x2b;</mml:mo>
<mml:mfenced close=")" open="(" separators="|">
<mml:mrow>
<mml:msub>
<mml:mi>&#x3ba;</mml:mi>
<mml:mn>020</mml:mn>
</mml:msub>
<mml:mo>&#x2b;</mml:mo>
<mml:msub>
<mml:mi>&#x3ba;</mml:mi>
<mml:mn>010</mml:mn>
</mml:msub>
<mml:mo>&#x2b;</mml:mo>
<mml:msub>
<mml:mi>&#x3ba;</mml:mi>
<mml:mn>000</mml:mn>
</mml:msub>
</mml:mrow>
</mml:mfenced>
<mml:mo>&#x3d;</mml:mo>
<mml:mi>&#x3ba;</mml:mi>
</mml:mrow>
</mml:mtd>
</mml:mtr>
<mml:mtr>
<mml:mtd>
<mml:mrow>
<mml:mfenced close=")" open="(" separators="|">
<mml:mrow>
<mml:msub>
<mml:mi>&#x3ba;</mml:mi>
<mml:mn>200</mml:mn>
</mml:msub>
<mml:mo>&#x2b;</mml:mo>
<mml:msub>
<mml:mi>&#x3ba;</mml:mi>
<mml:mn>002</mml:mn>
</mml:msub>
<mml:mo>&#x2212;</mml:mo>
<mml:msub>
<mml:mi>&#x3ba;</mml:mi>
<mml:mn>101</mml:mn>
</mml:msub>
</mml:mrow>
</mml:mfenced>
<mml:mo>&#x2062;</mml:mo>
<mml:msubsup>
<mml:mi>x</mml:mi>
<mml:mi>H</mml:mi>
<mml:mn>2</mml:mn>
</mml:msubsup>
<mml:mo>&#x2b;</mml:mo>
<mml:mfenced close=")" open="(" separators="|">
<mml:mrow>
<mml:msub>
<mml:mi>&#x3ba;</mml:mi>
<mml:mn>100</mml:mn>
</mml:msub>
<mml:mo>&#x2212;</mml:mo>
<mml:mn>2</mml:mn>
<mml:msub>
<mml:mi>&#x3ba;</mml:mi>
<mml:mn>002</mml:mn>
</mml:msub>
<mml:mo>&#x2b;</mml:mo>
<mml:msub>
<mml:mi>&#x3ba;</mml:mi>
<mml:mn>101</mml:mn>
</mml:msub>
<mml:mo>&#x2212;</mml:mo>
<mml:msub>
<mml:mi>&#x3ba;</mml:mi>
<mml:mn>001</mml:mn>
</mml:msub>
</mml:mrow>
</mml:mfenced>
<mml:mo>&#x2062;</mml:mo>
<mml:msub>
<mml:mi>x</mml:mi>
<mml:mi>H</mml:mi>
</mml:msub>
<mml:mo>&#x2b;</mml:mo>
<mml:mfenced close=")" open="(" separators="|">
<mml:mrow>
<mml:msub>
<mml:mi>&#x3ba;</mml:mi>
<mml:mn>002</mml:mn>
</mml:msub>
<mml:mo>&#x2b;</mml:mo>
<mml:msub>
<mml:mi>&#x3ba;</mml:mi>
<mml:mn>001</mml:mn>
</mml:msub>
<mml:mo>&#x2b;</mml:mo>
<mml:msub>
<mml:mi>&#x3ba;</mml:mi>
<mml:mn>000</mml:mn>
</mml:msub>
</mml:mrow>
</mml:mfenced>
<mml:mo>&#x3d;</mml:mo>
<mml:mi>&#x3ba;</mml:mi>
</mml:mrow>
</mml:mtd>
</mml:mtr>
<mml:mtr>
<mml:mtd>
<mml:mrow>
<mml:msub>
<mml:mi>&#x3ba;</mml:mi>
<mml:mn>200</mml:mn>
</mml:msub>
<mml:mo>&#x2062;</mml:mo>
<mml:msubsup>
<mml:mi>x</mml:mi>
<mml:mi>H</mml:mi>
<mml:mn>2</mml:mn>
</mml:msubsup>
<mml:mo>&#x2b;</mml:mo>
<mml:msub>
<mml:mi>&#x3ba;</mml:mi>
<mml:mn>100</mml:mn>
</mml:msub>
<mml:mo>&#x2062;</mml:mo>
<mml:msub>
<mml:mi>x</mml:mi>
<mml:mi>H</mml:mi>
</mml:msub>
<mml:mo>&#x2b;</mml:mo>
<mml:msub>
<mml:mi>&#x3ba;</mml:mi>
<mml:mn>000</mml:mn>
</mml:msub>
<mml:mo>&#x3d;</mml:mo>
<mml:mi>&#x3ba;</mml:mi>
</mml:mrow>
</mml:mtd>
</mml:mtr>
</mml:mtable>
</mml:mfenced>
</mml:math>
<label>(16)</label>
</disp-formula>
</p>
</sec>
<sec id="s3-2">
<title>3.2 Variation of the thermodynamic properties of natural gas</title>
<p>The variation in the speed of sound, density, thermal conductivity and viscosity of all the randomly generated natural gas compositions can be observed in <xref ref-type="fig" rid="F3">Figure 3</xref>. One can appreciate how the variation in the composition of natural gas has a non-negligible impact in the speed of sound and density, a mild effect in the thermal conductivity, and a dominant role in the viscosity. It is noticeable that, for instance, a reading of 460 m/s in the speed of sound corresponds to 10 mol% <inline-formula id="inf42">
<mml:math id="m63">
<mml:mrow>
<mml:msub>
<mml:mi>H</mml:mi>
<mml:mn>2</mml:mn>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula> in one end and to 20 mol% <inline-formula id="inf43">
<mml:math id="m64">
<mml:mrow>
<mml:msub>
<mml:mi>H</mml:mi>
<mml:mn>2</mml:mn>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula> in the opposite end of the spectrum of natural gas composition. If such a variation in the constitution of natural gas is present in a real application, the measurement of just the speed of sound or density would be inadequate to predict the amount fraction of hydrogen. On the other hand, the high sensitivity of the thermal conductivity to the presence of hydrogen, combined with a relative insensitivity to the variation in the composition of natural gas, makes this variable very appealing for estimating the hydrogen content. The opposite case is observed in the viscosity, whose variation with the amount fraction of hydrogen (at least in the range until 30 mol%) is rather negligible, whereas its sensitivity to the composition of natural gas is very high.</p>
<fig id="F3" position="float">
<label>FIGURE 3</label>
<caption>
<p>Calculation of four thermodynamic properties&#x2014;<bold>(A)</bold> speed of sound, <bold>(B)</bold> density, <bold>(C)</bold> thermal conductivity and <bold>(D)</bold> viscosity&#x2014;for several random compositions of natural gas blended with hydrogen.</p>
</caption>
<graphic xlink:href="fenrg-13-1339598-g003.tif"/>
</fig>
</sec>
<sec id="s3-3">
<title>3.3 Performance of the proposed estimators</title>
<p>Having calculated the thermodynamic properties of several random gas mixtures, the accuracy of the methods proposed in <xref ref-type="sec" rid="s2-3">Section 2.3</xref>. Can be evaluated. In spite of ignoring the variations in the composition of natural gas, the one-variable estimator based on the thermal conductivity predicts the hydrogen content relatively well, with an expected deviation around &#xb1;2 mol%. Such a deviation would be inadequate for low <inline-formula id="inf44">
<mml:math id="m65">
<mml:mrow>
<mml:msub>
<mml:mi>H</mml:mi>
<mml:mn>2</mml:mn>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula> concentrations (e.g., 5 mol%) but uncritical for higher concentrations (e.g., 30 mol%). <xref ref-type="fig" rid="F4">Figure 4</xref> shows the root mean square error of the estimator as a function of the hydrogen concentration. The expected error in the estimation of the combustion enthalpy is close to 5%, which could be tolerable for household billing applications. By measuring an additional variable to the thermal conductivity (whether density or the speed of sound), the two-variable estimator was able to reduce the error in the prediction of the amount fraction of hydrogen significantly. Nevertheless, there seems to be no improvement in the estimation of the combustion enthalpy. The three-variable estimator, whilst retaining a comparable error in the prediction of the amount fraction of hydrogen in comparison to the two-variable cases, was able to further improve the accuracy of the prediction of the combustion enthalpy.</p>
<fig id="F4" position="float">
<label>FIGURE 4</label>
<caption>
<p>Root-mean square error in the estimation of the hydrogen concentration and the enthalpy of combustion of several random blends of natural gas and hydrogen. <bold>(A)</bold> Estimation using thermal conductivity alone. <bold>(B)</bold> Estimation with thermal conductivity and speed of sound. <bold>(C)</bold> Estimation with thermal conductivity and density. <bold>(D)</bold> Estimation with all three variables.</p>
</caption>
<graphic xlink:href="fenrg-13-1339598-g004.tif"/>
</fig>
<p>If the effect of a random measurement uncertainty is considered, the simultaneous measurement of more variables does not automatically lead to a more robust estimation. As <xref ref-type="fig" rid="F5">Figure 5</xref> shows, the impact of the simulated noise levels is negligible for the estimator based on only one variable (thermal conductivity). A different situation is observed for the estimators based on two variables, as shown in <xref ref-type="fig" rid="F6">Figures 6</xref>, <xref ref-type="fig" rid="F7">7</xref>. The estimation of the hydrogen content was increasingly distorted with the introduced noise, whereas the estimation of the combustion enthalpy remained unaffected. With a measurement error of 2% in both variables, the estimator based on speed of sound and thermal conductivity performed no better than the one based on thermal conductivity alone, and the one based on thermal conductivity and density performed only slightly better. The final case of a three-variable estimator showed, as expected, a very high sensitivity to the introduced noise (<xref ref-type="fig" rid="F8">Figures 8</xref>). Only if the noise in all three variables is kept below 1% does it show an advantage compared to the one-variable estimator.</p>
<fig id="F5" position="float">
<label>FIGURE 5</label>
<caption>
<p>Root-mean square error in the estimation of <bold>(A)</bold> hydrogen concentration and <bold>(B)</bold> enthalpy of combustion by the estimator based on thermal conductivity alone, assuming a total measurement error of 0.5%, 1% and 2%.</p>
</caption>
<graphic xlink:href="fenrg-13-1339598-g005.tif"/>
</fig>
<fig id="F6" position="float">
<label>FIGURE 6</label>
<caption>
<p>Root-mean square error in the estimation of <bold>(A)</bold> hydrogen concentration and <bold>(B)</bold> enthalpy of combustion by the estimator based on thermal conductivity and speed of sound, assuming a total measurement error of 0.5%, 1% and 2%.</p>
</caption>
<graphic xlink:href="fenrg-13-1339598-g006.tif"/>
</fig>
<fig id="F7" position="float">
<label>FIGURE 7</label>
<caption>
<p>Root-mean square error in the estimation of <bold>(A)</bold> hydrogen concentration and <bold>(B)</bold> enthalpy of combustion by the estimator based on thermal conductivity and density, assuming a total measurement error of 0.5%, 1% and 2%.</p>
</caption>
<graphic xlink:href="fenrg-13-1339598-g007.tif"/>
</fig>
<fig id="F8" position="float">
<label>FIGURE 8</label>
<caption>
<p>Root-mean square error in the estimation of <bold>(A)</bold> hydrogen concentration and <bold>(B)</bold> enthalpy of combustion by the estimator based on thermal conductivity, speed of sound and density, assuming a total measurement error of 0.5%, 1% and 2%.</p>
</caption>
<graphic xlink:href="fenrg-13-1339598-g008.tif"/>
</fig>
<p>Considering all these effects, the combination of thermal conductivity and either density or speed of sound seem to offer a good trade-off between robustness against random variations and robustness against noise. These two estimators outperform the measurement of thermal conductivity alone, as long as the total measurement uncertainty of both variables is kept around or below 1%. Although the measurement of thermal conductivity and density seems to be less sensitive to measurement noise with respect to the case with the speed of sound, the measurement of density is affected by the propagated error proceeding from the temperature and pressure compensation that it requires (whereas the speed of sound only requires a temperature compensation). A further advantage of measuring the speed of sound is that, if it is determined by an ultrasonic system, such a device will naturally also provide the measurement of the flow velocity, which is necessary for computing the energy consumption (<xref ref-type="disp-formula" rid="e3">Equation 3</xref>).</p>
</sec>
<sec id="s3-4">
<title>3.4 Performance of correlation methods</title>
<p>It has been suggested that the heating value of natural gas (without blending hydrogen into it) can be correlated to some thermodynamic properties (<xref ref-type="bibr" rid="B12">Huber et al., 2018</xref>). In particular, the higher heating value (<inline-formula id="inf45">
<mml:math id="m66">
<mml:mrow>
<mml:mi>H</mml:mi>
<mml:mi>H</mml:mi>
<mml:mi>V</mml:mi>
<mml:mo>&#x3d;</mml:mo>
<mml:mo>&#x2212;</mml:mo>
<mml:mfrac>
<mml:mrow>
<mml:mi>&#x3c1;</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>M</mml:mi>
</mml:mrow>
</mml:mfrac>
<mml:mo>&#x394;</mml:mo>
<mml:mo>&#xb0;</mml:mo>
<mml:msub>
<mml:mi>H</mml:mi>
<mml:mi>c</mml:mi>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula>) is said to correlate with density, whereas the Wobbe index (<inline-formula id="inf46">
<mml:math id="m67">
<mml:mrow>
<mml:mi>W</mml:mi>
<mml:mi>o</mml:mi>
<mml:mo>&#x3d;</mml:mo>
<mml:mi>H</mml:mi>
<mml:mi>H</mml:mi>
<mml:mi>V</mml:mi>
<mml:mo>/</mml:mo>
<mml:msqrt>
<mml:mrow>
<mml:mi>&#x3c1;</mml:mi>
<mml:mo>/</mml:mo>
<mml:msub>
<mml:mi>&#x3c1;</mml:mi>
<mml:mrow>
<mml:mi>a</mml:mi>
<mml:mi>i</mml:mi>
<mml:mi>r</mml:mi>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:msqrt>
</mml:mrow>
</mml:math>
</inline-formula>) with viscosity. With the randomly calculated mixtures in our Monte-Carlo simulation, we do not observe a clear tendency between these variables, as <xref ref-type="fig" rid="F9">Figure 9</xref> shows. However, we cannot discard the possibility of a correlation based on a more sophisticated combination of these variables and perhaps some additional ones.</p>
<fig id="F9" position="float">
<label>FIGURE 9</label>
<caption>
<p>Evaluation of possible correlations of the heating value of random mixtures of natural gas (not blended with hydrogen) against some thermodynamic variables: <bold>(A)</bold> Wobbe index vs viscosity, <bold>(B)</bold> Higher heating value vs. density.</p>
</caption>
<graphic xlink:href="fenrg-13-1339598-g009.tif"/>
</fig>
</sec>
</sec>
<sec sec-type="conclusion" id="s4">
<title>4 Conclusion</title>
<p>A combination of physical sensors can be used to monitor blends of natural gas and hydrogen, estimating both the amount fraction of hydrogen and the combustion enthalpy of the mixture. A methodology for this purpose was laid out in this work, based on the assumption of ideal-gas behaviour, which allows conceiving natural gas as a &#x201c;mixture of mixtures&#x201d; instead of a &#x201c;mixture of molecules&#x201d;. Under this paradigm, variations in the composition of natural gas can be understood as the mixture of different &#x2018;types&#x2019; of natural gas with a fixed composition, and a system of up to three equations and three unknowns can be formulated in order to determine the amount fraction of each &#x201c;type&#x201d; of natural gas that is believed to compose the total blend. Therefore, the combustion enthalpy of the blend and its amount fraction of hydrogen can be estimated by measuring up to three physical variables simultaneously (thermal conductivity, speed of sound, and density), with varying degrees of robustness against variations in the source of natural gas and sensitivity to the uncertainty of the measurements. Our Monte-Carlo simulation reveals that an estimator based on the measurement of thermal conductivity together with either speed of sound or density is capable of correcting the deviations caused by the variability of natural gas, as long as the total measurement error is kept within 1% in both variables. For applications where the previous assumptions are not met, a more robust, real-time monitoring technique can be developed by combining the measurement of these thermodynamic properties with infrared spectroscopy.</p>
</sec>
</body>
<back>
<sec sec-type="data-availability" id="s5">
<title>Data availability statement</title>
<p>The raw data supporting the conclusions of this article will be made available by the authors, without undue reservation.</p>
</sec>
<sec sec-type="author-contributions" id="s6">
<title>Author contributions</title>
<p>JM: Conceptualization, Formal Analysis, Investigation, Methodology, Software, Validation, Writing&#x2013;original draft, Writing&#x2013;review and editing.</p>
</sec>
<sec sec-type="funding-information" id="s7">
<title>Funding</title>
<p>The author(s) declare that financial support was received for the research, authorship, and/or publication of this article. This work was supported by the Fraunhofer Internal Programmes under Grant No. SME 685 400.</p>
</sec>
<sec sec-type="COI-statement" id="s8">
<title>Conflict of interest</title>
<p>The author declares 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="s9">
<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>For a review on the development of this technique, see <xref ref-type="bibr" rid="B2">Bartle and Myers, 2002</xref>.</p>
</fn>
<fn id="fn2">
<label>2</label>
<p>Micro Electro Mechanical Systems</p>
</fn>
<fn id="fn3">
<label>3</label>
<p>The ratio of the individual viscosities instead of individual thermal conductivities in the calculation of <inline-formula id="inf47">
<mml:math id="m68">
<mml:mrow>
<mml:msub>
<mml:mi>G</mml:mi>
<mml:mrow>
<mml:mi>i</mml:mi>
<mml:mi>j</mml:mi>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula> is not an error but a result of kinetic theory.</p>
</fn>
<fn id="fn4">
<label>4</label>
<p>The combination of density and speed of sound is also a possibility; however, the response of an estimator based on the density and speed of sound is not robust enough against the inclusion of a third source of natural gas.</p>
</fn>
</fn-group>
<ref-list>
<title>References</title>
<ref id="B1">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Ajanovic</surname>
<given-names>A.</given-names>
</name>
<name>
<surname>Haas</surname>
<given-names>R.</given-names>
</name>
</person-group> (<year>2018</year>). <article-title>On the long-term prospects of power-to-gas technologies</article-title>. <source>Wiley Interdiscip. Rev. Energy Environ.</source> <volume>8</volume>, <fpage>1</fpage>. <pub-id pub-id-type="doi">10.1002/wene.318</pub-id>
</citation>
</ref>
<ref id="B2">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Bartle</surname>
<given-names>K. D.</given-names>
</name>
<name>
<surname>Myers</surname>
<given-names>P.</given-names>
</name>
</person-group> (<year>2002</year>). <article-title>History of gas chromatography</article-title>. <source>TrAC.</source> <volume>21</volume> (<issue>9&#x2b;10</issue>), <fpage>547</fpage>&#x2013;<lpage>557</lpage>. <pub-id pub-id-type="doi">10.1016/S0165-9936(02)00806-3</pub-id>
</citation>
</ref>
<ref id="B3">
<citation citation-type="book">
<person-group person-group-type="author">
<name>
<surname>Benkendorf</surname>
<given-names>M.</given-names>
</name>
</person-group> (<year>2023</year>). <source>Compact thermal conductivity detector</source>. <publisher-name>Whitepaper</publisher-name>. <comment>Available online at: <ext-link ext-link-type="uri" xlink:href="https://www.ipm.fraunhofer.de/content/dam/ipm/en/PDFs/product-information/GP/TMS/Thermal-conductivity-sensor-hydrogen.pdf">https://www.ipm.fraunhofer.de/content/dam/ipm/en/PDFs/product-information/GP/TMS/Thermal-conductivity-sensor-hydrogen.pdf</ext-link>.</comment>
</citation>
</ref>
<ref id="B4">
<citation citation-type="book">
<person-group person-group-type="author">
<name>
<surname>Bolwien</surname>
<given-names>C.</given-names>
</name>
</person-group> (<year>2022</year>). <source>Quantifying gas mixtures - hydrogen and gaseous fuels</source>. <publisher-name>Whitepaper</publisher-name>. <comment>Available online at: <ext-link ext-link-type="uri" xlink:href="https://www.ipm.fraunhofer.de/content/dam/ipm/en/PDFs/product-information/GP/SPA/Quantifying-gas-mixtures-IR-spectroscopy.pdf">https://www.ipm.fraunhofer.de/content/dam/ipm/en/PDFs/product-information/GP/SPA/Quantifying-gas-mixtures-IR-spectroscopy.pdf</ext-link>.</comment>
</citation>
</ref>
<ref id="B5">
<citation citation-type="book">
<person-group person-group-type="author">
<name>
<surname>Cerbe</surname>
<given-names>G.</given-names>
</name>
<name>
<surname>Lendt</surname>
<given-names>B.</given-names>
</name>
</person-group> (<year>2017</year>). <source>Grundlagen der Gastechnik</source>. <publisher-loc>Munich</publisher-loc>: <publisher-name>Carl Hanser Verlag</publisher-name>.</citation>
</ref>
<ref id="B6">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>C&#xe9;zar de Almeida</surname>
<given-names>J.</given-names>
</name>
<name>
<surname>Vel&#xe1;squez</surname>
<given-names>J. A.</given-names>
</name>
<name>
<surname>Barbieri</surname>
<given-names>R.</given-names>
</name>
</person-group> (<year>2014</year>). <article-title>A methodology for calculating the natural gas compressibility factor for a distribution network</article-title>. <source>Pet. Sci. Technol.</source> <volume>32</volume>, <fpage>2616</fpage>&#x2013;<lpage>2624</lpage>. <pub-id pub-id-type="doi">10.1080/10916466.2012.755194</pub-id>
</citation>
</ref>
<ref id="B7">
<citation citation-type="web">
<collab>Deutscher Verein des Gas- und Wasserfaches</collab> (<year>2021</year>). <article-title>Tech. Regel &#x2013; Arbeitsblatt DVGW G. 260 (A) Gasbeschaffenheit</article-title>.</citation>
</ref>
<ref id="B8">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Dixon</surname>
<given-names>H. B.</given-names>
</name>
<name>
<surname>Greenwood</surname>
<given-names>G.</given-names>
</name>
</person-group> (<year>1925</year>). <article-title>On the velocity of sound in mixtures of gases</article-title>. <source>Proc. R. Soc. A Math. Phys. Eng. Sci.</source> <volume>109</volume> (<issue>752</issue>), <fpage>561</fpage>&#x2013;<lpage>569</lpage>.</citation>
</ref>
<ref id="B9">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>D&#xf6;rr</surname>
<given-names>H.</given-names>
</name>
<name>
<surname>Kr&#xf6;ger</surname>
<given-names>K.</given-names>
</name>
<name>
<surname>Graf</surname>
<given-names>F.</given-names>
</name>
<name>
<surname>K&#xf6;ppel</surname>
<given-names>W.</given-names>
</name>
<name>
<surname>Burmeister</surname>
<given-names>F.</given-names>
</name>
<name>
<surname>Senner</surname>
<given-names>J.</given-names>
</name>
<etal/>
</person-group> (<year>2016</year>). <article-title>Untersuchungen zur Einspeisung von Wasserstoff in ein Erdgasnetz</article-title>. <source>DVGW Energ. &#x7c; Wasser Prax.</source> <volume>11</volume>, <fpage>50</fpage>&#x2013;<lpage>59</lpage>. <pub-id pub-id-type="doi">10.1098/rspa.1925.0145</pub-id>
</citation>
</ref>
<ref id="B10">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Fodor</surname>
<given-names>G. E.</given-names>
</name>
</person-group> (<year>1996</year>). <article-title>Analysis of natural gas by Fourier transform infrared spectroscopy</article-title>. <source>U. S. Army TARDEC Fuels Lubr. Res. Facil. (SwRI)</source>. <comment>TFLRF No. 319</comment>.</citation>
</ref>
<ref id="B11">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Franco</surname>
<given-names>A.</given-names>
</name>
<name>
<surname>Rocca</surname>
<given-names>M.</given-names>
</name>
</person-group> (<year>2024</year>). <article-title>Industrial decarbonization through blended combustion of natural gas and hydrogen</article-title>. <source>Hydrogen</source> <volume>5</volume>, <fpage>519</fpage>&#x2013;<lpage>539</lpage>. <pub-id pub-id-type="doi">10.3390/hydrogen5030029</pub-id>
</citation>
</ref>
<ref id="B12">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Huber</surname>
<given-names>C.</given-names>
</name>
<name>
<surname>Reith</surname>
<given-names>P.</given-names>
</name>
<name>
<surname>Badarlis</surname>
<given-names>A.</given-names>
</name>
</person-group> (<year>2018</year>). <article-title>Verfahren zum Bestimmen von Eigenschaften eines kohlenwasserstoffhaltigen Gasgemisches und Vorrichtung daf&#xfc;r</article-title>. <comment>Published German patent application DE 10 2016 121 226 A1</comment>
</citation>
</ref>
<ref id="B13">
<citation citation-type="book">
<person-group person-group-type="author">
<name>
<surname>Lemmon</surname>
<given-names>E. W.</given-names>
</name>
<name>
<surname>Bell</surname>
<given-names>I. H.</given-names>
</name>
<name>
<surname>Huber</surname>
<given-names>M. L.</given-names>
</name>
<name>
<surname>McLinden</surname>
<given-names>M. O.</given-names>
</name>
</person-group> (<year>2023</year>). &#x201c;<article-title>Thermophysical properties of fluid systems</article-title>,&#x201d; in <source>NIST chemistry WebBook, NIST standard reference database number 69</source>. Editors <person-group person-group-type="editor">
<name>
<surname>Linstrom</surname>
<given-names>P. J.</given-names>
</name>
<name>
<surname>Mallard</surname>
<given-names>W. G.</given-names>
</name>
</person-group> (<publisher-loc>Gaithersburg MD, 20899</publisher-loc>: <publisher-name>National Institute of Standards and Technology</publisher-name>). <pub-id pub-id-type="doi">10.18434/T4D303</pub-id>
</citation>
</ref>
<ref id="B14">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Liu</surname>
<given-names>W.</given-names>
</name>
<name>
<surname>Wen</surname>
<given-names>F.</given-names>
</name>
<name>
<surname>Xue</surname>
<given-names>Y.</given-names>
</name>
</person-group> (<year>2017</year>). <article-title>Power-to-gas technology in energy systems: current status and prospects of potential operation strategies</article-title>. <source>J. Mod. Power Syst. Clean. Energy.</source> <volume>5</volume>, <fpage>439</fpage>&#x2013;<lpage>450</lpage>. <pub-id pub-id-type="doi">10.1007/s40565-017-0285-0</pub-id>
</citation>
</ref>
<ref id="B15">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Makaryan</surname>
<given-names>I. A.</given-names>
</name>
<name>
<surname>Sedov</surname>
<given-names>I. V.</given-names>
</name>
<name>
<surname>Salgansky</surname>
<given-names>E. A.</given-names>
</name>
<name>
<surname>Arutyunov</surname>
<given-names>A. V.</given-names>
</name>
<name>
<surname>Arutyunov</surname>
<given-names>V. A.</given-names>
</name>
</person-group> (<year>2022</year>). <article-title>A comprehensive review on the prospects of using hydrogen-methane blends: challenges and opportunities</article-title>. <source>Energies</source> <volume>15</volume>, <fpage>2265</fpage>. <pub-id pub-id-type="doi">10.3390/en15062265</pub-id>
</citation>
</ref>
<ref id="B16">
<citation citation-type="book">
<person-group person-group-type="author">
<name>
<surname>Mason</surname>
<given-names>E. A.</given-names>
</name>
</person-group> (<year>2023</year>). &#x201c;<article-title>Gas</article-title>,&#x201d; in <source>Encyclopedia britannica</source>. <comment>Available online at: <ext-link ext-link-type="uri" xlink:href="https://www.britannica.com/science/gas-state-of-matter">https://www.britannica.com/science/gas-state-of-matter</ext-link>.</comment>
</citation>
</ref>
<ref id="B17">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Mason</surname>
<given-names>E. A.</given-names>
</name>
<name>
<surname>Saxena</surname>
<given-names>S. C.</given-names>
</name>
</person-group> (<year>1958</year>). <article-title>Approximate formula for the thermal conductivity of gas mixtures</article-title>. <source>Phys. Fluids.</source> <volume>1</volume> (<issue>5</issue>), <fpage>361</fpage>&#x2013;<lpage>369</lpage>. <pub-id pub-id-type="doi">10.1063/1.1724352</pub-id>
</citation>
</ref>
<ref id="B18">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Melaina</surname>
<given-names>M. W.</given-names>
</name>
<name>
<surname>Antonia</surname>
<given-names>O.</given-names>
</name>
<name>
<surname>Penev</surname>
<given-names>M.</given-names>
</name>
</person-group> (<year>2013</year>). <article-title>Blending hydrogen into natural gas pipeline networks: a review of key issues</article-title>. <source>National Renewable Energy Laboratory</source>. <comment>NREL/TP-5600-51995</comment>.</citation>
</ref>
<ref id="B19">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Monsalve</surname>
<given-names>J. M.</given-names>
</name>
<name>
<surname>V&#xf6;lz</surname>
<given-names>U.</given-names>
</name>
<name>
<surname>Jongmanns</surname>
<given-names>M.</given-names>
</name>
<name>
<surname>Betz</surname>
<given-names>B.</given-names>
</name>
<name>
<surname>Langa</surname>
<given-names>S.</given-names>
</name>
<name>
<surname>Ruffert</surname>
<given-names>C.</given-names>
</name>
<etal/>
</person-group> (<year>2022</year>). <article-title>Rapid characterisation of mixtures of hydrogen and natural gas by means of ultrasonic time-delay estimation</article-title>. <source>J. Sens. Sens. Syst.</source> <volume>13</volume>, <fpage>179</fpage>&#x2013;<lpage>185</lpage>. <pub-id pub-id-type="doi">10.5194/jsss-13-179-2024</pub-id>
</citation>
</ref>
<ref id="B20">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>M&#xfc;ller-Syring</surname>
<given-names>G.</given-names>
</name>
<name>
<surname>Henel</surname>
<given-names>M.</given-names>
</name>
</person-group> (<year>2014</year>). <article-title>Wasserstofftoleranz der Erdgasinfrastruktur inklusive aller assoziierten Anlagen</article-title>. <source>Dtsch. Ver. Gas- Wasserfaches e.V. Abschlussbericht 1-02-12</source>. <comment>Available online at: <ext-link ext-link-type="uri" xlink:href="https://www.dvgw.de/medien/dvgw/forschung/berichte/g1_02_12.pdf">https://www.dvgw.de/medien/dvgw/forschung/berichte/g1_02_12.pdf</ext-link>.</comment>
</citation>
</ref>
<ref id="B21">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>T&#xe9;lessy</surname>
<given-names>K.</given-names>
</name>
<name>
<surname>Barner</surname>
<given-names>L.</given-names>
</name>
<name>
<surname>Holz</surname>
<given-names>F.</given-names>
</name>
</person-group> (<year>2024</year>). <article-title>Repurposing natural gas pipelines for hydrogen: limits and options from a case study in Germany</article-title>. <source>Int. J. Hydrog. Energy.</source> <volume>80</volume>, <fpage>821</fpage>&#x2013;<lpage>831</lpage>. <pub-id pub-id-type="doi">10.1016/j.ijhydene.2024.07.110</pub-id>
</citation>
</ref>
<ref id="B22">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Wilke</surname>
<given-names>C. R.</given-names>
</name>
</person-group> (<year>1950</year>). <article-title>A viscosity equation for gas mixtures</article-title>. <source>J. Chem. Phys.</source> <volume>18</volume> (<issue>4</issue>), <fpage>517</fpage>&#x2013;<lpage>519</lpage>. <pub-id pub-id-type="doi">10.1063/1.1747673</pub-id>
</citation>
</ref>
</ref-list>
</back>
</article>