<?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. Physiol.</journal-id>
<journal-title>Frontiers in Physiology</journal-title>
<abbrev-journal-title abbrev-type="pubmed">Front. Physiol.</abbrev-journal-title>
<issn pub-type="epub">1664-042X</issn>
<publisher>
<publisher-name>Frontiers Media S.A.</publisher-name>
</publisher>
</journal-meta>
<article-meta>
<article-id pub-id-type="publisher-id">1612501</article-id>
<article-id pub-id-type="doi">10.3389/fphys.2025.1612501</article-id>
<article-categories>
<subj-group subj-group-type="heading">
<subject>Physiology</subject>
<subj-group>
<subject>Original Research</subject>
</subj-group>
</subj-group>
</article-categories>
<title-group>
<article-title>A feedback-driven ventilation model for assessing airway secretions in mechanically ventilated patients</article-title>
<alt-title alt-title-type="left-running-head">Anand et al.</alt-title>
<alt-title alt-title-type="right-running-head">
<ext-link ext-link-type="uri" xlink:href="https://doi.org/10.3389/fphys.2025.1612501">10.3389/fphys.2025.1612501</ext-link>
</alt-title>
</title-group>
<contrib-group>
<contrib contrib-type="author">
<name>
<surname>Anand</surname>
<given-names>D. Vijay</given-names>
</name>
<xref ref-type="aff" rid="aff1">
<sup>1</sup>
</xref>
<uri xlink:href="https://loop.frontiersin.org/people/3081661/overview"/>
<role content-type="https://credit.niso.org/contributor-roles/Writing - review &#x26; editing/"/>
<role content-type="https://credit.niso.org/contributor-roles/formal-analysis/"/>
<role content-type="https://credit.niso.org/contributor-roles/methodology/"/>
<role content-type="https://credit.niso.org/contributor-roles/writing-original-draft/"/>
<role content-type="https://credit.niso.org/contributor-roles/conceptualization/"/>
<role content-type="https://credit.niso.org/contributor-roles/visualization/"/>
<role content-type="https://credit.niso.org/contributor-roles/investigation/"/>
<role content-type="https://credit.niso.org/contributor-roles/software/"/>
</contrib>
<contrib contrib-type="author">
<name>
<surname>Teixeira Cabeleira</surname>
<given-names>Manuel</given-names>
</name>
<xref ref-type="aff" rid="aff2">
<sup>2</sup>
</xref>
<role content-type="https://credit.niso.org/contributor-roles/software/"/>
<role content-type="https://credit.niso.org/contributor-roles/Writing - review &#x26; editing/"/>
</contrib>
<contrib contrib-type="author">
<name>
<surname>Black</surname>
<given-names>Claire</given-names>
</name>
<xref ref-type="aff" rid="aff3">
<sup>3</sup>
</xref>
<uri xlink:href="https://loop.frontiersin.org/people/3076366/overview"/>
<role content-type="https://credit.niso.org/contributor-roles/data-curation/"/>
<role content-type="https://credit.niso.org/contributor-roles/Writing - review &#x26; editing/"/>
</contrib>
<contrib contrib-type="author">
<name>
<surname>Diaz-Zuccarini</surname>
<given-names>Vanessa</given-names>
</name>
<xref ref-type="aff" rid="aff2">
<sup>2</sup>
</xref>
<uri xlink:href="https://loop.frontiersin.org/people/59864/overview"/>
<role content-type="https://credit.niso.org/contributor-roles/Writing - review &#x26; editing/"/>
<role content-type="https://credit.niso.org/contributor-roles/supervision/"/>
<role content-type="https://credit.niso.org/contributor-roles/funding-acquisition/"/>
<role content-type="https://credit.niso.org/contributor-roles/project-administration/"/>
<role content-type="https://credit.niso.org/contributor-roles/conceptualization/"/>
</contrib>
<contrib contrib-type="author" corresp="yes">
<name>
<surname>Ovenden</surname>
<given-names>Nicholas C.</given-names>
</name>
<xref ref-type="aff" rid="aff1">
<sup>1</sup>
</xref>
<xref ref-type="corresp" rid="c001">&#x2a;</xref>
<uri xlink:href="https://loop.frontiersin.org/people/326745/overview"/>
<role content-type="https://credit.niso.org/contributor-roles/funding-acquisition/"/>
<role content-type="https://credit.niso.org/contributor-roles/project-administration/"/>
<role content-type="https://credit.niso.org/contributor-roles/Writing - review &#x26; editing/"/>
<role content-type="https://credit.niso.org/contributor-roles/conceptualization/"/>
<role content-type="https://credit.niso.org/contributor-roles/supervision/"/>
</contrib>
</contrib-group>
<aff id="aff1">
<sup>1</sup>
<institution>Department of Mathematics</institution>, <institution>University College London</institution>, <addr-line>London</addr-line>, <country>United Kingdom</country>
</aff>
<aff id="aff2">
<sup>2</sup>
<institution>Department of Mechanical Engineering</institution>, <institution>University College London</institution>, <addr-line>London</addr-line>, <country>United Kingdom</country>
</aff>
<aff id="aff3">
<sup>3</sup>
<institution>Therapies and Rehabilitation</institution>, <institution>University College London Hospitals NHS Foundation Trust (UCLH)</institution>, <addr-line>London</addr-line>, <country>United Kingdom</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/2798022/overview">Aranyak Chakravarty</ext-link>, Jadavpur University, India</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/2994092/overview">Karthiga Devi S. G.</ext-link>, Sri Ramachandra Institute of Higher Education and Research, India</p>
<p>
<ext-link ext-link-type="uri" xlink:href="https://loop.frontiersin.org/people/3046529/overview">Kadambari Vijaykumar</ext-link>, University of Alabama at Birmingham, United States</p>
</fn>
<corresp id="c001">&#x2a;Correspondence: Nicholas C. Ovenden, <email>n.ovenden@ucl.ac.uk</email>
</corresp>
</author-notes>
<pub-date pub-type="epub">
<day>13</day>
<month>06</month>
<year>2025</year>
</pub-date>
<pub-date pub-type="ecorrected">
<day>20</day>
<month>06</month>
<year>2025</year>
</pub-date>
<pub-date pub-type="collection">
<year>2025</year>
</pub-date>
<volume>16</volume>
<elocation-id>1612501</elocation-id>
<history>
<date date-type="received">
<day>15</day>
<month>04</month>
<year>2025</year>
</date>
<date date-type="accepted">
<day>23</day>
<month>05</month>
<year>2025</year>
</date>
</history>
<permissions>
<copyright-statement>Copyright &#xa9; 2025 Anand, Teixeira Cabeleira, Black, Diaz-Zuccarini and Ovenden.</copyright-statement>
<copyright-year>2025</copyright-year>
<copyright-holder>Anand, Teixeira Cabeleira, Black, Diaz-Zuccarini and Ovenden</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>
<sec>
<title>Introduction</title>
<p>A mechanistic compartmental model with a feedback-driven simulation framework was developed to investigate the impact of airway secretion accumulation and its removal on the respiratory dynamics of mechanically ventilated patients. Understanding these dynamics is essential for secretion management and improving respiratory care in the intensive care unit (ICU).</p>
</sec>
<sec>
<title>Methods</title>
<p>The model simulates pressure support ventilation by incorporating airway resistances, lung and chest wall compliances, and patient effort via a dynamic respiratory muscle pressure term, enabling realistic modelling of patient-ventilator interaction. To validate the model, simulated waveforms were compared against clinical waveform recordings. Waveform features sensitive to secretion-related changes, as indicated by the model, were then extracted from the patient waveform recordings. The Wasserstein distance metric was used to quantify shifts in pre- and post-suction feature distributions, and unsupervised clustering was applied to identify distinct patient groups corresponding to low, medium, and high secretion levels.</p>
</sec>
<sec>
<title>Results</title>
<p>The simulations revealed characteristic changes in ventilator waveforms associated with secretion accumulation, including reduced inspiratory flow and prolonged expiration. Analysis of patient data using clustering methods identified distinct groups corresponding to low, medium, and high levels of secretion. Further, we introduce a model-informed secretion index derived from the simulations and patient data, enabling non-invasive and continuous monitoring of secretion accumulation at the bedside.</p>
</sec>
<sec>
<title>Conclusions</title>
<p>This study demonstrates the potential of physiology-informed, model-based approaches for real-time assessment of secretion accumulation in mechanically ventilated patients. The proposed framework supports personalized respiratory care by providing clinicians with data-driven insights into secretion accumulation, paving the way for more precise secretion management strategies in the ICU.</p>
</sec>
</abstract>
<kwd-group>
<kwd>mechanical ventilation</kwd>
<kwd>airway clearance</kwd>
<kwd>secretion management</kwd>
<kwd>compartmental model</kwd>
<kwd>ventilator waveforms</kwd>
</kwd-group>
<contract-num rid="cn001">EP/T017791/1</contract-num>
<contract-sponsor id="cn001">Engineering and Physical Sciences Research Council<named-content content-type="fundref-id">10.13039/501100000266</named-content>
</contract-sponsor>
<custom-meta-wrap>
<custom-meta>
<meta-name>section-at-acceptance</meta-name>
<meta-value>Respiratory Physiology and Pathophysiology</meta-value>
</custom-meta>
</custom-meta-wrap>
</article-meta>
</front>
<body>
<sec id="s1">
<title>1 Introduction</title>
<p>Mechanical ventilation is initiated to support or take over a patient&#x2019;s breathing when they are unable to independently sustain adequate ventilation. However, the introduction of an artificial airway in order to deliver mechanical ventilation results in impairment of the normal mechanisms underpinning airway clearance; airway humidification, mucocilliary escalator and cough. Retention of airway secretions is a common and serious problem in ventilated patients. Retained mucus narrows or occludes the airways (<xref ref-type="bibr" rid="B28">Roe et al., 2025</xref>; <xref ref-type="bibr" rid="B21">Mietto et al., 2014</xref>), causes respiratory distress, provides a growth medium for bacteria, and if extensive, leads to atelectasis, gas exchange impairment, and ventilator-acquired pneumonia (VAP). VAP is the most common nosocomial infection affecting patients in critical care and is associated with increased mortality and antibiotic use (<xref ref-type="bibr" rid="B17">Howroyd et al., 2024</xref>). Excess secretions increase the effort to breathe, making it harder for patients to transition to spontaneous breathing, complicating the weaning process and increasing the risk of extubation failure (<xref ref-type="bibr" rid="B5">Branson, 2007</xref>; <xref ref-type="bibr" rid="B34">Volpe et al., 2020</xref>; <xref ref-type="bibr" rid="B12">Goetz et al., 2022</xref>). Typically, these sequelae prolong the duration of mechanical ventilation and, consequently, the patient&#x2019;s stay in the ICU. Therefore, developing effective secretion clearance strategies, including automated detection and appropriately timed secretion removal, is critical for mechanically ventilated patients.</p>
<p>The effectiveness of mechanical ventilation is primarily determined by the interplay of airway resistance, lung compliance and patient-ventilator synchrony, which together regulate ventilation dynamics, airflow distribution, and the driving pressure required for adequate gas exchange. Several studies have demonstrated a significant increase in airway resistance when secretions accumulate in the airways, particularly in the trachea and smaller bronchioles (<xref ref-type="bibr" rid="B16">Hess, 2014</xref>; <xref ref-type="bibr" rid="B18">Jubran and Tobin, 1994</xref>; <xref ref-type="bibr" rid="B13">Guglielminotti et al., 2000</xref>). This increased resistance necessitates higher ventilator pressures, including elevated peak inspiratory pressure (PIP), and increases the work of breathing to achieve adequate tidal volumes (<xref ref-type="bibr" rid="B16">Hess, 2014</xref>). In addition, positive end-expiratory pressure (PEEP) may require adjustment to prevent airway collapse and maintain alveolar recruitment, leading to higher inflation pressures that elevate the risk of ventilator-induced lung injury (VILI), as noted in <xref ref-type="bibr" rid="B18">Jubran and Tobin (1994)</xref>; <xref ref-type="bibr" rid="B13">Guglielminotti et al. (2000)</xref>; <xref ref-type="bibr" rid="B37">Zamanian and Marini (2006)</xref>. When secretions obstruct the airways, gas exchange efficiency declines, resulting in a ventilation-perfusion mismatch as oxygenated air fails to reach certain lung regions due to mucus plugging. This can result in hypoxemia (low blood oxygen) and hypercapnia (elevated CO<sub>2</sub>), both of which are detrimental to critically-ill patients (<xref ref-type="bibr" rid="B15">Hess, 2007</xref>). Airway mucus also alters the lung tissue&#x2019;s elastic properties, making it stiffer and less compliant, thereby necessitating higher ventilator pressures to maintain adequate oxygenation (<xref ref-type="bibr" rid="B16">Hess, 2014</xref>). Hence, early detection of secretion accumulation and its clearance through methods such as suctioning, humidification, and airway clearance techniques (e.g., respiratory physiotherapy) are essential for successful weaning (<xref ref-type="bibr" rid="B12">Goetz et al., 2022</xref>). Conventional indicators of secretion accumulation, such as coughing and audible respiratory sounds, are often unreliable in mechanically ventilated patients, particularly those who are sedated or have impaired cough reflexes. Consequently, clinicians turn to ventilator waveforms (VWFs), which are time series of pressure, flow, and volume signals, along with their loops, for secretion detection (<xref ref-type="bibr" rid="B18">Jubran and Tobin, 1994</xref>; <xref ref-type="bibr" rid="B13">Guglielminotti et al., 2000</xref>; <xref ref-type="bibr" rid="B37">Zamanian and Marini, 2006</xref>; <xref ref-type="bibr" rid="B3">Albani et al., 2021b</xref>; <xref ref-type="bibr" rid="B2">a</xref>; <xref ref-type="bibr" rid="B14">Harris, 2005</xref>). Visual interpretation of these waveforms remains challenging, however, due to factors like lung co-morbidities and patient-ventilator asynchronies (<xref ref-type="bibr" rid="B36">Younes et al., 2007</xref>; <xref ref-type="bibr" rid="B9">De Wit, 2011</xref>), which can obscure secretion-related changes (<xref ref-type="bibr" rid="B25">Paratz and Ntoumenopoulos, 2014</xref>). These issues underscore the need for non-invasive secretion quantification techniques based on bedside measurements to improve timely detection and management of airway secretions. To address this, we adopt a structured approach that begins by characterising the impact of secretion accumulation on respiratory dynamics and identifying corresponding signatures in ventilator waveforms. Our methodology is organized into three main stages:<list list-type="simple">
<list-item>
<p>
<inline-formula id="inf1">
<mml:math id="m1">
<mml:mrow>
<mml:mo>&#x2022;</mml:mo>
</mml:mrow>
</mml:math>
</inline-formula> Model development and Validation: A computational model of pressure support ventilation is developed to simulate the effects of secretion accumulation on respiratory dynamics. The model incorporates non-linear airway resistance, lung compliance, and patient effort, and is validated against clinical ventilator waveform data.</p>
</list-item>
<list-item>
<p>
<inline-formula id="inf2">
<mml:math id="m2">
<mml:mrow>
<mml:mo>&#x2022;</mml:mo>
</mml:mrow>
</mml:math>
</inline-formula> Feature Identification from Waveforms: The model is used to generate synthetic ventilator waveforms across varying secretion levels, enabling the extraction of key features that show consistent and quantifiable changes with secretion presence and clearance.</p>
</list-item>
<list-item>
<p>
<inline-formula id="inf3">
<mml:math id="m3">
<mml:mrow>
<mml:mo>&#x2022;</mml:mo>
</mml:mrow>
</mml:math>
</inline-formula> Clinical Application and Evaluation: The extracted features are applied to patient ventilator data, and a secretion index is introduced as a composite metric for quantifying secretion accumulation and assessing its clinical relevance for non-invasive detection.</p>
</list-item>
</list>
</p>
<p>The remainder of this paper is organised as follows: <xref ref-type="sec" rid="s2">Section 2</xref> presents the development of a pressure support ventilator model incorporating non-linear resistance, compliance, and patient respiratory effort, along with details of its simulation, validation, and optimisation using clinical waveform data. <xref ref-type="sec" rid="s3">Section 3</xref> focuses on the application of this model for quantifying airway secretions, including analysis on both synthetic and real patient data, and introduces the secretion index as a novel metric for tracking secretion accumulation. <xref ref-type="sec" rid="s4">Section 4</xref> summarizes the key findings and discusses the translational potential of the proposed framework for real-time, non-invasive monitoring of secretion accumulation.</p>
</sec>
<sec id="s2">
<title>2 Mechanistic modelling for interpretability of ventilator waveforms</title>
<p>Mechanistic modelling of patient-ventilator dynamics plays a crucial role in understanding airway secretion clearance by capturing the interplay between airway resistance, lung compliance, and mode of ventilation. In addition, it provides information on VWF alterations associated with secretion accumulation. When calibrated with bedside data such as airway pressures, including peak inspiratory pressure (PIP) and plateau pressure (Pplat); tidal volume <inline-formula id="inf4">
<mml:math id="m4">
<mml:mrow>
<mml:mo stretchy="false">(</mml:mo>
<mml:mrow>
<mml:msub>
<mml:mrow>
<mml:mi>V</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mtext>T</mml:mtext>
</mml:mrow>
</mml:msub>
</mml:mrow>
<mml:mo stretchy="false">)</mml:mo>
</mml:mrow>
</mml:math>
</inline-formula>; respiratory rate (RR); inspiratory and expiratory times; oxygenation and blood gas levels; patient-specific parameters such as height, weight, and lung pathology; secretion-related observations like suctioning frequency and secretion volume; respiratory effort metrics, including esophageal pressure (Pes); and ventilator settings such as, positive end-expiratory pressure (PEEP), and fraction of inspired oxygen (FiO<sub>2</sub>), the model can closely reflect patient-specific physiology and enhance its clinical applicability.</p>
<p>Early attempts at ventilator modelling relied primarily on simple equation-based approaches, such as linear resistance-compliance (RC) models, described in <xref ref-type="bibr" rid="B4">Bates (2009)</xref>, which model the airflow using basic relationships between pressure, flow, and volume. In these models, the respiratory system is often represented by the equation<disp-formula id="e1">
<mml:math id="m5">
<mml:mrow>
<mml:mi mathvariant="normal">&#x394;</mml:mi>
<mml:msub>
<mml:mrow>
<mml:mi>P</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>a</mml:mi>
<mml:mi>w</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mo>&#x3d;</mml:mo>
<mml:msub>
<mml:mrow>
<mml:mi>R</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>r</mml:mi>
<mml:mi>s</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mo>&#x22c5;</mml:mo>
<mml:msub>
<mml:mrow>
<mml:mi>Q</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>a</mml:mi>
<mml:mi>w</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mo>&#x2b;</mml:mo>
<mml:mi>V</mml:mi>
<mml:mo>/</mml:mo>
<mml:msub>
<mml:mrow>
<mml:mi>C</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>r</mml:mi>
<mml:mi>s</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mo>,</mml:mo>
</mml:mrow>
</mml:math>
<label>(1)</label>
</disp-formula>where <inline-formula id="inf5">
<mml:math id="m6">
<mml:mrow>
<mml:mi mathvariant="normal">&#x394;</mml:mi>
<mml:msub>
<mml:mrow>
<mml:mi>P</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>a</mml:mi>
<mml:mi>w</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mo>&#x3d;</mml:mo>
<mml:msub>
<mml:mrow>
<mml:mi>P</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>a</mml:mi>
<mml:mi>w</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mo>&#x2212;</mml:mo>
<mml:mtext>PEEP</mml:mtext>
</mml:mrow>
</mml:math>
</inline-formula> denotes airway pressure difference across the system, <inline-formula id="inf6">
<mml:math id="m7">
<mml:mrow>
<mml:msub>
<mml:mrow>
<mml:mi>Q</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>a</mml:mi>
<mml:mi>w</mml:mi>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula> is the flow rate, <inline-formula id="inf7">
<mml:math id="m8">
<mml:mrow>
<mml:mi>V</mml:mi>
</mml:mrow>
</mml:math>
</inline-formula> is the system volume obtained by integrating <inline-formula id="inf8">
<mml:math id="m9">
<mml:mrow>
<mml:msub>
<mml:mrow>
<mml:mi>Q</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>a</mml:mi>
<mml:mi>w</mml:mi>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula> over time. <inline-formula id="inf9">
<mml:math id="m10">
<mml:mrow>
<mml:msub>
<mml:mrow>
<mml:mi>R</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>r</mml:mi>
<mml:mi>s</mml:mi>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula> and <inline-formula id="inf10">
<mml:math id="m11">
<mml:mrow>
<mml:msub>
<mml:mrow>
<mml:mi>C</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>r</mml:mi>
<mml:mi>s</mml:mi>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula> represents the airway resistance and total respiratory compliance respectively. This equation illustrates how changes in pressure are influenced by airway resistance and lung compliance, providing a foundational understanding of respiratory mechanics. While useful for approximating ventilator mechanics of sedated patients, these simple equations fail to capture the complex, non-linear, and time-dependent dynamics of patient-ventilator interactions (<xref ref-type="bibr" rid="B7">Chen et al., 2024</xref>). Overcoming these limitations requires more complex models and feedback mechanisms to dynamically model changes in airway resistance, compliance, and pressures, ensuring better alignment with clinical data (<xref ref-type="bibr" rid="B1">Albanese et al., 2016</xref>; <xref ref-type="bibr" rid="B23">Ngo et al., 2018</xref>). Compartmental models based on ordinary differential equations (ODEs) remain the most widely used approach, simplifying the complexity of the respiratory system by dividing it into compartments representing the lungs, airways, and surrounding anatomical structures. These models capture key dynamics through non-linear variations in parameters such as lung compliance and airway resistance (<xref ref-type="bibr" rid="B19">Liu et al., 1998</xref>; <xref ref-type="bibr" rid="B31">Sundaresan et al., 2009</xref>; <xref ref-type="bibr" rid="B38">Zhou et al., 2021</xref>). Due to their computational efficiency, they are widely employed to simulate basic ventilator modes, such as volume-controlled and pressure-controlled ventilation. More complex ventilator models build upon compartmental approaches by incorporating detailed anatomical and physiological features, including multi-compartment lung structures, complex airway branching with non-linear resistances, and dynamic interactions with the heart and surrounding blood vessels (<xref ref-type="bibr" rid="B22">Mistry et al., 2022</xref>; <xref ref-type="bibr" rid="B6">Cabeleira et al., 2024</xref>). While these models can replicate conditions such as acute respiratory distress syndrome (ARDS) and chronic obstructive pulmonary disease (COPD), they require patient-specific parameters and detailed representations of lung morphology to yield physiologically meaningful simulations.</p>
<p>Despite their utility, existing ventilator models struggle to accurately simulate advanced ventilator modes such as proportional assist ventilation (PAV) (<xref ref-type="bibr" rid="B35">Younes, 2002</xref>), continuous positive airway pressure with pressure support (CPAP-PS), and neurally adjusted ventilatory assist (NAVA), which depend on real-time patient feedback (<xref ref-type="bibr" rid="B30">Sinderby et al., 1999</xref>). Further, they often assume ideal synchronisation between the ventilator and the patient, overlooking asynchronies such as delayed triggering or breath stacking. Therefore, to better reflect real patient-ventilator interactions, it is essential to design models that incorporate dynamic feedback across various ventilator modes. Such physiology-informed models will also be crucial for enabling future advancements, including the integration of artificial intelligence for personalized ventilation, real-time secretion detection, patient effort monitoring, and prediction of ventilator asynchronies. These improvements necessitate models that continuously adapt to patient-ventilator interactions, enabling the simulation of diverse ventilator modes and accommodating a wide range of patient conditions.</p>
<p>In this study, we present a comprehensive ventilator model that incorporates airway resistance, lung compliance, chest wall mechanics, and patient-driven breath cycles to simulate pressure support ventilation. An event-based simulation strategy using callback functions enables real-time adjustment of ventilator pressure by tracking physiological transitions, such as peak inspiratory flow and its decline, allowing for realistic simulation of pressure support mode with dynamic feedback. Our model aims to uncover changes in VWFs in relation to underlying physiological parameters, particularly those influenced by secretion accumulation. Using the simulated waveforms, we extract key respiratory features such as peak inspiratory flow <inline-formula id="inf11">
<mml:math id="m12">
<mml:mrow>
<mml:mo stretchy="false">(</mml:mo>
<mml:mrow>
<mml:msub>
<mml:mrow>
<mml:mi>Q</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mtext>max</mml:mtext>
</mml:mrow>
</mml:msub>
</mml:mrow>
<mml:mo stretchy="false">)</mml:mo>
</mml:mrow>
</mml:math>
</inline-formula>, which represents the maximum airflow achieved during inspiration and reflects the combined effect of patient effort and airway resistance; tidal volume <inline-formula id="inf12">
<mml:math id="m13">
<mml:mrow>
<mml:mo stretchy="false">(</mml:mo>
<mml:mrow>
<mml:msub>
<mml:mrow>
<mml:mi>V</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mtext>T</mml:mtext>
</mml:mrow>
</mml:msub>
</mml:mrow>
<mml:mo stretchy="false">)</mml:mo>
</mml:mrow>
</mml:math>
</inline-formula>, the total volume of air delivered to the lungs during a single breath and an indicator of overall ventilation effectiveness; and the expiratory time constant <inline-formula id="inf13">
<mml:math id="m14">
<mml:mrow>
<mml:mo stretchy="false">(</mml:mo>
<mml:mrow>
<mml:mi>&#x3c4;</mml:mi>
</mml:mrow>
<mml:mo stretchy="false">)</mml:mo>
</mml:mrow>
</mml:math>
</inline-formula>, which characterizes how quickly the lungs empty during exhalation and is sensitive to both airway resistance and lung compliance. In a simplified single-compartment model, <inline-formula id="inf14">
<mml:math id="m15">
<mml:mrow>
<mml:mi>&#x3c4;</mml:mi>
<mml:mo>&#x3d;</mml:mo>
<mml:msub>
<mml:mrow>
<mml:mi>R</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>r</mml:mi>
<mml:mi>s</mml:mi>
</mml:mrow>
</mml:msub>
<mml:msub>
<mml:mrow>
<mml:mi>C</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>r</mml:mi>
<mml:mi>s</mml:mi>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula>, where <inline-formula id="inf15">
<mml:math id="m16">
<mml:mrow>
<mml:msub>
<mml:mrow>
<mml:mi>R</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>r</mml:mi>
<mml:mi>s</mml:mi>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula> and <inline-formula id="inf16">
<mml:math id="m17">
<mml:mrow>
<mml:msub>
<mml:mrow>
<mml:mi>C</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>r</mml:mi>
<mml:mi>s</mml:mi>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula> denote the airway resistance and respiratory system compliance, respectively. These features are then used to assess the potential of waveform-based analysis for real-time, non-invasive secretion monitoring and personalized respiratory care.</p>
<sec id="s2-1">
<title>2.1 Model formulation</title>
<p>The mechanistic model developed in this study is designed to generate ventilator waveforms that reflect both clear and secretion-accumulated airways by modulating airway resistance, lung compliance, and patient effort parameters. Our model employs a compartmental modelling approach, where the mechanical ventilation system is represented as a series of interconnected compartments, each corresponding to specific components such as the ventilator, endotracheal tube, upper airways (trachea and bronchi), and smaller airways (alveoli). The bronchi and alveoli compartments are enclosed within a larger compartment referred to as the chest cavity that undergoes pressure changes due to the motion of the diaphragm. (See <xref ref-type="fig" rid="F1">Figure 1</xref>). In this approach, each compartment is assigned parameters, such as resistance and compliance, to account for pressure changes and air storage capacity, respectively, as air moves in and out of the lungs.</p>
<fig id="F1" position="float">
<label>FIGURE 1</label>
<caption>
<p>Left: The compartment model of pressure support mechanical ventilation. The model includes a feedback element that monitors inspiratory flow to guide the ventilator pressure profile. Right: A short recording of VWFs for 30 s and superimposition of individual breaths.</p>
</caption>
<graphic xlink:href="fphys-16-1612501-g001.tif"/>
</fig>
<p>A typical compartment is composed of a capacitor connected to inflow and outflow resistances to simulate the inflow and outflow of air from a compartment. The underlying governing equations used to compute the compartment&#x2019;s internal pressure <inline-formula id="inf17">
<mml:math id="m18">
<mml:mrow>
<mml:mo stretchy="false">(</mml:mo>
<mml:mrow>
<mml:mi>P</mml:mi>
</mml:mrow>
<mml:mo stretchy="false">)</mml:mo>
</mml:mrow>
</mml:math>
</inline-formula>, the flow in <inline-formula id="inf18">
<mml:math id="m19">
<mml:mrow>
<mml:mo stretchy="false">(</mml:mo>
<mml:mrow>
<mml:msup>
<mml:mrow>
<mml:mi>Q</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mtext>in</mml:mtext>
</mml:mrow>
</mml:msup>
</mml:mrow>
<mml:mo stretchy="false">)</mml:mo>
</mml:mrow>
</mml:math>
</inline-formula>, the flow out <inline-formula id="inf19">
<mml:math id="m20">
<mml:mrow>
<mml:mo stretchy="false">(</mml:mo>
<mml:mrow>
<mml:msup>
<mml:mrow>
<mml:mi>Q</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mtext>out</mml:mtext>
</mml:mrow>
</mml:msup>
</mml:mrow>
<mml:mo stretchy="false">)</mml:mo>
</mml:mrow>
</mml:math>
</inline-formula> and the volume change from some reference value <inline-formula id="inf20">
<mml:math id="m21">
<mml:mrow>
<mml:mo stretchy="false">(</mml:mo>
<mml:mrow>
<mml:mi>V</mml:mi>
<mml:mo>&#x2212;</mml:mo>
<mml:msub>
<mml:mrow>
<mml:mi>V</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mn>0</mml:mn>
</mml:mrow>
</mml:msub>
</mml:mrow>
<mml:mo stretchy="false">)</mml:mo>
</mml:mrow>
</mml:math>
</inline-formula> are:<disp-formula id="e2">
<mml:math id="m22">
<mml:mrow>
<mml:mfrac>
<mml:mrow>
<mml:mi>d</mml:mi>
<mml:mi>V</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>d</mml:mi>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:mfrac>
<mml:mo>&#x3d;</mml:mo>
<mml:msup>
<mml:mrow>
<mml:mi>Q</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mtext>in&#x2009;</mml:mtext>
</mml:mrow>
</mml:msup>
<mml:mo>&#x2212;</mml:mo>
<mml:msup>
<mml:mrow>
<mml:mi>Q</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mtext>out&#x2009;</mml:mtext>
</mml:mrow>
</mml:msup>
<mml:mo>.</mml:mo>
</mml:mrow>
</mml:math>
<label>(2)</label>
</disp-formula>
<disp-formula id="e3">
<mml:math id="m23">
<mml:mrow>
<mml:msup>
<mml:mrow>
<mml:mi>Q</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mtext>in&#x2009;</mml:mtext>
</mml:mrow>
</mml:msup>
<mml:mo>&#x3d;</mml:mo>
<mml:mfrac>
<mml:mrow>
<mml:msup>
<mml:mrow>
<mml:mi>P</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mtext>in&#x2009;</mml:mtext>
</mml:mrow>
</mml:msup>
<mml:mo>&#x2212;</mml:mo>
<mml:mi>P</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:msup>
<mml:mrow>
<mml:mi>R</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mtext>in&#x2009;</mml:mtext>
</mml:mrow>
</mml:msup>
</mml:mrow>
</mml:mfrac>
<mml:mo>,</mml:mo>
<mml:mspace width="1em"/>
<mml:msup>
<mml:mrow>
<mml:mi>Q</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mtext>out&#x2009;</mml:mtext>
</mml:mrow>
</mml:msup>
<mml:mo>&#x3d;</mml:mo>
<mml:mfrac>
<mml:mrow>
<mml:mi>P</mml:mi>
<mml:mo>&#x2212;</mml:mo>
<mml:msup>
<mml:mrow>
<mml:mi>P</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mtext>out&#x2009;</mml:mtext>
</mml:mrow>
</mml:msup>
</mml:mrow>
<mml:mrow>
<mml:msup>
<mml:mrow>
<mml:mi>R</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mtext>out&#x2009;</mml:mtext>
</mml:mrow>
</mml:msup>
</mml:mrow>
</mml:mfrac>
<mml:mo>,</mml:mo>
</mml:mrow>
</mml:math>
<label>(3)</label>
</disp-formula>
<disp-formula id="e4">
<mml:math id="m24">
<mml:mrow>
<mml:mi>P</mml:mi>
<mml:mo>&#x3d;</mml:mo>
<mml:mfrac>
<mml:mrow>
<mml:mfenced open="(" close=")">
<mml:mrow>
<mml:mi>V</mml:mi>
<mml:mo>&#x2212;</mml:mo>
<mml:msub>
<mml:mrow>
<mml:mi>V</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mn>0</mml:mn>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
<mml:mrow>
<mml:mi>C</mml:mi>
</mml:mrow>
</mml:mfrac>
<mml:mo>&#x2b;</mml:mo>
<mml:msub>
<mml:mrow>
<mml:mi>P</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mtext>ext</mml:mtext>
</mml:mrow>
</mml:msub>
<mml:mo>,</mml:mo>
</mml:mrow>
</mml:math>
<label>(4)</label>
</disp-formula>
</p>
<p>These equations are formulated based upon principles of conservation laws, constitutive equations, and phenomenological relations. <xref ref-type="disp-formula" rid="e2">Equation 2</xref> is the conservation equation that describes the dynamics of air inflow, outflow, and accumulation within the system, maintaining the integrity of volume conservation. The flow in and out of a compartment is then calculated using <xref ref-type="disp-formula" rid="e3">Equation 3</xref>, which depends on the pressure difference between connected compartments and the associated resistances. <xref ref-type="disp-formula" rid="e4">Equation 4</xref> is the constitutive equation that computes the pressure in a compartment, with reference to an external pressure <inline-formula id="inf21">
<mml:math id="m25">
<mml:mrow>
<mml:msub>
<mml:mrow>
<mml:mi>P</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mtext>ext</mml:mtext>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula>, based on its compliance and the volume it occupies at that instant of time. The model consists of five interconnected compartments representing different regions of the respiratory system: the endotracheal (ET) tube, trachea (Lt), bronchi (Lb), alveoli (La), and thoracic (Thx) cavity. Each compartment exhibits specific compliance behaviour, denoted as <inline-formula id="inf22">
<mml:math id="m26">
<mml:mrow>
<mml:msub>
<mml:mrow>
<mml:mi>C</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mtext>ET</mml:mtext>
</mml:mrow>
</mml:msub>
<mml:mo>,</mml:mo>
<mml:msub>
<mml:mrow>
<mml:mi>C</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mtext>Lt</mml:mtext>
</mml:mrow>
</mml:msub>
<mml:mo>,</mml:mo>
<mml:msub>
<mml:mrow>
<mml:mi>C</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mtext>Lb</mml:mtext>
</mml:mrow>
</mml:msub>
<mml:mo>,</mml:mo>
<mml:msub>
<mml:mrow>
<mml:mi>C</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mtext>La</mml:mtext>
</mml:mrow>
</mml:msub>
<mml:mo>,</mml:mo>
<mml:msub>
<mml:mrow>
<mml:mi>C</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mtext>Thx</mml:mtext>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula>, which represent the elastic properties of the airway and lung structures. The airflow between these compartments is regulated by four resistances, <inline-formula id="inf23">
<mml:math id="m27">
<mml:mrow>
<mml:msub>
<mml:mrow>
<mml:mi>R</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mtext>VenET</mml:mtext>
</mml:mrow>
</mml:msub>
<mml:mo>,</mml:mo>
<mml:msub>
<mml:mrow>
<mml:mi>R</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mtext>ETLt</mml:mtext>
</mml:mrow>
</mml:msub>
<mml:mo>,</mml:mo>
<mml:msub>
<mml:mrow>
<mml:mi>R</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mtext>LtLb</mml:mtext>
</mml:mrow>
</mml:msub>
<mml:mo>,</mml:mo>
<mml:msub>
<mml:mrow>
<mml:mi>R</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mtext>LbLa</mml:mtext>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula>, corresponding to different airway segments, from the ventilator to the alveoli. Additionally, each compartment has an associated unstressed volume <inline-formula id="inf24">
<mml:math id="m28">
<mml:mrow>
<mml:msub>
<mml:mrow>
<mml:mi>V</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mn>0</mml:mn>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula>, representing its equilibrium volume in the absence of external forces. The actual volume <inline-formula id="inf25">
<mml:math id="m29">
<mml:mrow>
<mml:mi>V</mml:mi>
</mml:mrow>
</mml:math>
</inline-formula> at any given time deviates from this baseline, leading to a dynamic pressure evolution over time within the system. For the endotracheal tube and trachea compartments, the external pressure term, <inline-formula id="inf26">
<mml:math id="m30">
<mml:mrow>
<mml:msub>
<mml:mrow>
<mml:mi>P</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mtext>ext</mml:mtext>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula>, is set to <inline-formula id="inf27">
<mml:math id="m31">
<mml:mrow>
<mml:msub>
<mml:mrow>
<mml:mi>P</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mtext>atm</mml:mtext>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula>, which is the atmospheric pressure. Conversely, the thorax pressure <inline-formula id="inf28">
<mml:math id="m32">
<mml:mrow>
<mml:msub>
<mml:mrow>
<mml:mi>P</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mtext>Thx</mml:mtext>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula> is the external pressure for the bronchi and alveoli compartments within the chest cavity. The thoracic pressure, <inline-formula id="inf29">
<mml:math id="m33">
<mml:mrow>
<mml:msub>
<mml:mrow>
<mml:mi>P</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mtext>Thx</mml:mtext>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula>, is computed as:<disp-formula id="e5">
<mml:math id="m34">
<mml:mrow>
<mml:msub>
<mml:mrow>
<mml:mi>P</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mtext>Thx</mml:mtext>
</mml:mrow>
</mml:msub>
<mml:mo>&#x3d;</mml:mo>
<mml:mfrac>
<mml:mrow>
<mml:msub>
<mml:mrow>
<mml:mi>V</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mtext>Lb</mml:mtext>
</mml:mrow>
</mml:msub>
<mml:mo>&#x2b;</mml:mo>
<mml:msub>
<mml:mrow>
<mml:mi>V</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mtext>La</mml:mtext>
</mml:mrow>
</mml:msub>
<mml:mo>&#x2212;</mml:mo>
<mml:msub>
<mml:mrow>
<mml:mi>V</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mn>0</mml:mn>
<mml:mtext>Thx</mml:mtext>
</mml:mrow>
</mml:msub>
</mml:mrow>
<mml:mrow>
<mml:msub>
<mml:mrow>
<mml:mi>C</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mtext>Thx</mml:mtext>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:mfrac>
<mml:mo>&#x2b;</mml:mo>
<mml:msub>
<mml:mrow>
<mml:mi>P</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mtext>Mus</mml:mtext>
</mml:mrow>
</mml:msub>
<mml:mo>,</mml:mo>
</mml:mrow>
</mml:math>
<label>(5)</label>
</disp-formula>where <inline-formula id="inf30">
<mml:math id="m35">
<mml:mrow>
<mml:msub>
<mml:mrow>
<mml:mi>V</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mtext>Lb</mml:mtext>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula> and <inline-formula id="inf31">
<mml:math id="m36">
<mml:mrow>
<mml:msub>
<mml:mrow>
<mml:mi>V</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mtext>La</mml:mtext>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula> are the volumes of the bronchi and alveoli compartments, <inline-formula id="inf32">
<mml:math id="m37">
<mml:mrow>
<mml:msub>
<mml:mrow>
<mml:mi>C</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mtext>Thx</mml:mtext>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula> is the thoracic compliance, and <inline-formula id="inf33">
<mml:math id="m38">
<mml:mrow>
<mml:msub>
<mml:mrow>
<mml:mi>P</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mtext>Mus</mml:mtext>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula> is negative pressure generated by the respiratory muscles. Whilst the temporal dynamics of each compartment are described using ODEs, the spatial dependencies between different compartments are approximated through the implementation of lumped properties and the interconnections between the compartments. It is clear from the equations (<xref ref-type="disp-formula" rid="e1">Equations 1</xref>&#x2013;<xref ref-type="disp-formula" rid="e5">5</xref>) that the compliance and resistances dictate the temporal evolution of the pressure and volume in each compartment. The compliances and resistances can be either constant or variable, with the potential for non-linear relationships to physiological variables depending on the specific compartment and its interactions with others, resulting in phenomenological equations that describe these dynamics. These phenomenological equations introduce non-linearity into the model by representing airway resistance and compliance as functions of flow and pressure, respectively, as proposed in <xref ref-type="bibr" rid="B4">Bates (2009)</xref>. Specifically, the nonlinearity in airway resistance is modelled using the Rohrer&#x2019;s equation (<xref ref-type="bibr" rid="B10">Flevari et al., 2011</xref>), which is applied to the two resistance segments between endotracheal tube to trachea and trachea to bronchi expressing the pressure-flow relationship as<disp-formula id="e6">
<mml:math id="m39">
<mml:mrow>
<mml:mi>R</mml:mi>
<mml:mfenced open="(" close=")">
<mml:mrow>
<mml:mi>Q</mml:mi>
</mml:mrow>
</mml:mfenced>
<mml:mo>&#x3d;</mml:mo>
<mml:msub>
<mml:mrow>
<mml:mi>K</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mn>1</mml:mn>
</mml:mrow>
</mml:msub>
<mml:mo>&#x2b;</mml:mo>
<mml:msub>
<mml:mrow>
<mml:mi>K</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mn>2</mml:mn>
</mml:mrow>
</mml:msub>
<mml:mo>&#x22c5;</mml:mo>
<mml:mo stretchy="false">&#x7c;</mml:mo>
<mml:mi>Q</mml:mi>
<mml:mo stretchy="false">&#x7c;</mml:mo>
<mml:mo>.</mml:mo>
</mml:mrow>
</mml:math>
<label>(6)</label>
</disp-formula>
</p>
<p>Here, <inline-formula id="inf34">
<mml:math id="m40">
<mml:mrow>
<mml:msub>
<mml:mrow>
<mml:mi>K</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mn>1</mml:mn>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula> and <inline-formula id="inf35">
<mml:math id="m41">
<mml:mrow>
<mml:msub>
<mml:mrow>
<mml:mi>K</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mn>2</mml:mn>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula> represent laminar and turbulent flow contributions to resistance. This introduces flow-dependent resistance, where resistance increases with higher airflow due to turbulent effects in the airway, making the ventilator mechanics highly non-linear. Specifically, in the context of secretion accumulation, we focus on modulating the laminar component <inline-formula id="inf36">
<mml:math id="m42">
<mml:mrow>
<mml:mo stretchy="false">(</mml:mo>
<mml:mrow>
<mml:msub>
<mml:mrow>
<mml:mi>K</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mn>1</mml:mn>
</mml:mrow>
</mml:msub>
</mml:mrow>
<mml:mo stretchy="false">)</mml:mo>
</mml:mrow>
</mml:math>
</inline-formula> of airway resistance, as mucus accumulation is assumed to primarily increase frictional resistance within the airways, particularly in the lower flow regimes typical of mechanically ventilated patients. The <inline-formula id="inf37">
<mml:math id="m43">
<mml:mrow>
<mml:msub>
<mml:mrow>
<mml:mi>K</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mn>2</mml:mn>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula> parameter, representing turbulent contributions, is kept constant, as the effects of turbulence are considered secondary under these conditions. While Rohrer&#x2019;s equation captures flow-dependent resistance, this approach simplifies secretion effects to changes in resistance and does not explicitly account for mucus rheology. The lung compliance follows a modified version of Salazar-Knowles sigmoidal model (<xref ref-type="bibr" rid="B29">Salazar and Knowles, 1964</xref>), given by<disp-formula id="e7">
<mml:math id="m44">
<mml:mrow>
<mml:msub>
<mml:mrow>
<mml:mi>C</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>L</mml:mi>
<mml:mi>a</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mo>&#x3d;</mml:mo>
<mml:msub>
<mml:mrow>
<mml:mi>C</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mtext>base</mml:mtext>
</mml:mrow>
</mml:msub>
<mml:mfenced open="(" close=")">
<mml:mrow>
<mml:mn>1</mml:mn>
<mml:mo>&#x2212;</mml:mo>
<mml:mi>&#x3b1;</mml:mi>
<mml:msup>
<mml:mrow>
<mml:mi>e</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mo>&#x2212;</mml:mo>
<mml:mi>&#x3b2;</mml:mi>
<mml:msub>
<mml:mrow>
<mml:mi>P</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>L</mml:mi>
<mml:mi>a</mml:mi>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:msup>
</mml:mrow>
</mml:mfenced>
<mml:mo>,</mml:mo>
</mml:mrow>
</mml:math>
<label>(7)</label>
</disp-formula>where compliance varies dynamically with alveolar pressure <inline-formula id="inf38">
<mml:math id="m45">
<mml:mrow>
<mml:msub>
<mml:mrow>
<mml:mi>P</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>L</mml:mi>
<mml:mi>a</mml:mi>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula>, capturing the gradual stiffening of the lungs at higher pressures. The parameters <inline-formula id="inf39">
<mml:math id="m46">
<mml:mrow>
<mml:mi>&#x3b1;</mml:mi>
</mml:mrow>
</mml:math>
</inline-formula> and <inline-formula id="inf40">
<mml:math id="m47">
<mml:mrow>
<mml:mi>&#x3b2;</mml:mi>
</mml:mrow>
</mml:math>
</inline-formula> in the model regulate the compliance adaptation. In this case, <inline-formula id="inf41">
<mml:math id="m48">
<mml:mrow>
<mml:mi>&#x3b1;</mml:mi>
</mml:mrow>
</mml:math>
</inline-formula> determines the magnitude of compliance reduction, while <inline-formula id="inf42">
<mml:math id="m49">
<mml:mrow>
<mml:mi>&#x3b2;</mml:mi>
</mml:mrow>
</mml:math>
</inline-formula> controls the rate at which compliance decreases as <inline-formula id="inf43">
<mml:math id="m50">
<mml:mrow>
<mml:msub>
<mml:mrow>
<mml:mi>P</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>L</mml:mi>
<mml:mi>a</mml:mi>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula> increases, effectively capturing the progressive stiffening of lung tissue at higher pressures (<xref ref-type="bibr" rid="B6">Cabeleira et al., 2024</xref>). This non-linear compliance response ensures the model accurately represents pressure-volume dynamics observed in real lungs, particularly during mechanical ventilation (<xref ref-type="bibr" rid="B19">Liu et al., 1998</xref>; <xref ref-type="bibr" rid="B26">Polak and Mroczka, 2006</xref>). The non-linear resistances and compliances as described in <xref ref-type="disp-formula" rid="e6">Equations 6</xref>, <xref ref-type="disp-formula" rid="e7">7</xref> are specific to the patient or scenario and need to be fitted accordingly for accurate physiological representation. In a typical pressure support mode, the ventilator pressure <inline-formula id="inf44">
<mml:math id="m51">
<mml:mrow>
<mml:mo stretchy="false">(</mml:mo>
<mml:mrow>
<mml:msub>
<mml:mrow>
<mml:mi>P</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mtext>Ven</mml:mtext>
</mml:mrow>
</mml:msub>
</mml:mrow>
<mml:mo stretchy="false">)</mml:mo>
</mml:mrow>
</mml:math>
</inline-formula> serves as the driving pressure, controlling airflow into the lung compartments by cycling between inspiratory and expiratory pressures. This pressure is generated according to the ventilator&#x2019;s settings, including PEEP, PS above PEEP, and the timing parameters of the breathing cycle, creating a waveform that induces mechanical ventilation. The ventilator pressure waveform <inline-formula id="inf45">
<mml:math id="m52">
<mml:mrow>
<mml:msub>
<mml:mrow>
<mml:mi>P</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mtext>Ven</mml:mtext>
</mml:mrow>
</mml:msub>
<mml:mrow>
<mml:mo stretchy="false">(</mml:mo>
<mml:mrow>
<mml:mi>t</mml:mi>
</mml:mrow>
<mml:mo stretchy="false">)</mml:mo>
</mml:mrow>
</mml:mrow>
</mml:math>
</inline-formula> is assumed here to take the following form:<disp-formula id="e8">
<mml:math id="m53">
<mml:mrow>
<mml:msub>
<mml:mrow>
<mml:mi>P</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mtext>Ven</mml:mtext>
</mml:mrow>
</mml:msub>
<mml:mfenced open="(" close=")">
<mml:mrow>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:mfenced>
<mml:mo>&#x3d;</mml:mo>
<mml:mfenced open="{" close="">
<mml:mrow>
<mml:mtable class="cases">
<mml:mtr>
<mml:mtd columnalign="left">
<mml:mtext>PEEP</mml:mtext>
<mml:mo>&#x2b;</mml:mo>
<mml:msubsup>
<mml:mrow>
<mml:mi>P</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mtext>Insp</mml:mtext>
</mml:mrow>
<mml:mrow>
<mml:mtext>Ven</mml:mtext>
</mml:mrow>
</mml:msubsup>
<mml:mfenced open="(" close=")">
<mml:mrow>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:mfenced>
<mml:mo>,</mml:mo>
<mml:mspace width="1em"/>
</mml:mtd>
<mml:mtd columnalign="left">
<mml:mtext>if&#x2009;</mml:mtext>
<mml:mn>0</mml:mn>
<mml:mo>&#x2264;</mml:mo>
<mml:mi>t</mml:mi>
<mml:mo>&#x3c;</mml:mo>
<mml:msub>
<mml:mrow>
<mml:mi>t</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mtext>RiseVT</mml:mtext>
</mml:mrow>
</mml:msub>
</mml:mtd>
</mml:mtr>
<mml:mtr>
<mml:mtd columnalign="left">
<mml:mtext>PS&#x2009;above&#x2009;PEEP</mml:mtext>
<mml:mo>,</mml:mo>
<mml:mspace width="1em"/>
</mml:mtd>
<mml:mtd columnalign="left">
<mml:mtext>if&#x2009;</mml:mtext>
<mml:msub>
<mml:mrow>
<mml:mi>t</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mtext>RiseVT</mml:mtext>
</mml:mrow>
</mml:msub>
<mml:mo>&#x2264;</mml:mo>
<mml:mi>t</mml:mi>
<mml:mo>&#x3c;</mml:mo>
<mml:msub>
<mml:mrow>
<mml:mi>t</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mtext>InspVT</mml:mtext>
</mml:mrow>
</mml:msub>
</mml:mtd>
</mml:mtr>
<mml:mtr>
<mml:mtd columnalign="left">
<mml:mtext>PS&#x2009;above&#x2009;PEEP</mml:mtext>
<mml:mo>&#x2212;</mml:mo>
<mml:msubsup>
<mml:mrow>
<mml:mi>P</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mtext>Exp</mml:mtext>
</mml:mrow>
<mml:mrow>
<mml:mtext>Ven</mml:mtext>
</mml:mrow>
</mml:msubsup>
<mml:mfenced open="(" close=")">
<mml:mrow>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:mfenced>
<mml:mo>,</mml:mo>
<mml:mspace width="1em"/>
</mml:mtd>
<mml:mtd columnalign="left">
<mml:mtext>if&#x2009;</mml:mtext>
<mml:msub>
<mml:mrow>
<mml:mi>t</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mtext>InspVT</mml:mtext>
</mml:mrow>
</mml:msub>
<mml:mo>&#x2264;</mml:mo>
<mml:mi>t</mml:mi>
<mml:mo>&#x3c;</mml:mo>
<mml:msub>
<mml:mrow>
<mml:mi>t</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mtext>InspVT</mml:mtext>
</mml:mrow>
</mml:msub>
<mml:mo>&#x2b;</mml:mo>
<mml:msub>
<mml:mrow>
<mml:mi>t</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mtext>Valve</mml:mtext>
</mml:mrow>
</mml:msub>
</mml:mtd>
</mml:mtr>
<mml:mtr>
<mml:mtd columnalign="left">
<mml:mtext>PEEP</mml:mtext>
<mml:mo>,</mml:mo>
<mml:mspace width="1em"/>
</mml:mtd>
<mml:mtd columnalign="left">
<mml:mtext>otherwise,</mml:mtext>
</mml:mtd>
</mml:mtr>
</mml:mtable>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
</mml:math>
<label>(8)</label>
</disp-formula>where the time variable <inline-formula id="inf46">
<mml:math id="m54">
<mml:mrow>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:math>
</inline-formula> is measured relative to the start of each ventilator cycle of duration <inline-formula id="inf47">
<mml:math id="m55">
<mml:mrow>
<mml:msub>
<mml:mrow>
<mml:mi>t</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mtext>cycleVT</mml:mtext>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula> (i.e., <inline-formula id="inf48">
<mml:math id="m56">
<mml:mrow>
<mml:mi>t</mml:mi>
<mml:mo>&#x2208;</mml:mo>
<mml:mrow>
<mml:mo stretchy="false">[</mml:mo>
<mml:mrow>
<mml:mn>0</mml:mn>
<mml:mo>,</mml:mo>
<mml:msub>
<mml:mrow>
<mml:mi>t</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mtext>cycleVT</mml:mtext>
</mml:mrow>
</mml:msub>
</mml:mrow>
<mml:mo stretchy="false">)</mml:mo>
</mml:mrow>
</mml:mrow>
</mml:math>
</inline-formula> within each cycle), <inline-formula id="inf49">
<mml:math id="m57">
<mml:mrow>
<mml:mtext>PEEP</mml:mtext>
</mml:mrow>
</mml:math>
</inline-formula> is the positive end-expiratory pressure, <inline-formula id="inf50">
<mml:math id="m58">
<mml:mrow>
<mml:mtext>PS&#x2009;above&#x2009;PEEP</mml:mtext>
</mml:mrow>
</mml:math>
</inline-formula> is the pressure support above PEEP, <inline-formula id="inf51">
<mml:math id="m59">
<mml:mrow>
<mml:msub>
<mml:mrow>
<mml:mi>t</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mtext>RiseVT</mml:mtext>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula> is the time taken to reach peak pressure, <inline-formula id="inf52">
<mml:math id="m60">
<mml:mrow>
<mml:msub>
<mml:mrow>
<mml:mi>t</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mtext>InspVT</mml:mtext>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula> is the duration of inspiration, and <inline-formula id="inf53">
<mml:math id="m61">
<mml:mrow>
<mml:msub>
<mml:mrow>
<mml:mi>t</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mtext>Valve</mml:mtext>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula> is the valve closing time during the transition to expiration. Specifically, the distinct shape of this pressure waveform is given here by the functions:<disp-formula id="equ1">
<mml:math id="m62">
<mml:mrow>
<mml:mtable class="align-star" columnalign="left">
<mml:mtr>
<mml:mtd columnalign="right">
<mml:msubsup>
<mml:mrow>
<mml:mi>P</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mtext>Insp</mml:mtext>
</mml:mrow>
<mml:mrow>
<mml:mtext>Ven</mml:mtext>
</mml:mrow>
</mml:msubsup>
<mml:mfenced open="(" close=")">
<mml:mrow>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:mfenced>
</mml:mtd>
<mml:mtd columnalign="left">
<mml:mo>&#x3d;</mml:mo>
<mml:mfenced open="(" close=")">
<mml:mrow>
<mml:mtext>PS&#x2009;above&#x2009;PEEP</mml:mtext>
<mml:mo>&#x2212;</mml:mo>
<mml:mtext>PEEP</mml:mtext>
</mml:mrow>
</mml:mfenced>
<mml:mi>sin</mml:mi>
<mml:mfenced open="(" close=")">
<mml:mrow>
<mml:mfrac>
<mml:mrow>
<mml:mi>&#x3c0;</mml:mi>
<mml:mo>&#x22c5;</mml:mo>
<mml:mi>t</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mn>2</mml:mn>
<mml:mo>&#x22c5;</mml:mo>
<mml:msub>
<mml:mrow>
<mml:mi>t</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mtext>RiseVT</mml:mtext>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:mfrac>
</mml:mrow>
</mml:mfenced>
<mml:mtext>and</mml:mtext>
</mml:mtd>
</mml:mtr>
<mml:mtr>
<mml:mtd columnalign="right">
<mml:msubsup>
<mml:mrow>
<mml:mi>P</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mtext>Exp</mml:mtext>
</mml:mrow>
<mml:mrow>
<mml:mtext>Ven</mml:mtext>
</mml:mrow>
</mml:msubsup>
<mml:mfenced open="(" close=")">
<mml:mrow>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:mfenced>
</mml:mtd>
<mml:mtd columnalign="left">
<mml:mo>&#x3d;</mml:mo>
<mml:mfenced open="(" close=")">
<mml:mrow>
<mml:mtext>PS&#x2009;above&#x2009;PEEP</mml:mtext>
<mml:mo>&#x2212;</mml:mo>
<mml:mtext>PEEP</mml:mtext>
</mml:mrow>
</mml:mfenced>
<mml:mfrac>
<mml:mrow>
<mml:mi>t</mml:mi>
<mml:mo>&#x2212;</mml:mo>
<mml:msub>
<mml:mrow>
<mml:mi>t</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mtext>InspVT</mml:mtext>
</mml:mrow>
</mml:msub>
</mml:mrow>
<mml:mrow>
<mml:msub>
<mml:mrow>
<mml:mi>t</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mtext>Valve</mml:mtext>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:mfrac>
<mml:mo>.</mml:mo>
</mml:mtd>
</mml:mtr>
</mml:mtable>
</mml:mrow>
</mml:math>
</disp-formula>The respiratory muscle pressure <inline-formula id="inf54">
<mml:math id="m63">
<mml:mrow>
<mml:msub>
<mml:mrow>
<mml:mi>P</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mtext>Mus</mml:mtext>
</mml:mrow>
</mml:msub>
<mml:mrow>
<mml:mo stretchy="false">(</mml:mo>
<mml:mrow>
<mml:mi>t</mml:mi>
</mml:mrow>
<mml:mo stretchy="false">)</mml:mo>
</mml:mrow>
</mml:mrow>
</mml:math>
</inline-formula> is modeled using a piecewise function to simulate the inspiratory and expiratory phases of spontaneous breathing. The pressure waveform is governed by the patient&#x2019;s respiratory effort and defined in terms of baseline and peak effort parameters:<disp-formula id="e9">
<mml:math id="m64">
<mml:mrow>
<mml:msub>
<mml:mrow>
<mml:mi>P</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mtext>Mus</mml:mtext>
</mml:mrow>
</mml:msub>
<mml:mfenced open="(" close=")">
<mml:mrow>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:mfenced>
<mml:mo>&#x3d;</mml:mo>
<mml:mfenced open="{" close="">
<mml:mrow>
<mml:mtable class="cases">
<mml:mtr>
<mml:mtd columnalign="left">
<mml:msub>
<mml:mrow>
<mml:mi>P</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mtext>base</mml:mtext>
</mml:mrow>
</mml:msub>
<mml:mo>&#x2b;</mml:mo>
<mml:mfrac>
<mml:mrow>
<mml:mn>1</mml:mn>
</mml:mrow>
<mml:mrow>
<mml:mn>2</mml:mn>
</mml:mrow>
</mml:mfrac>
<mml:mfenced open="(" close=")">
<mml:mrow>
<mml:msub>
<mml:mrow>
<mml:mi>P</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mtext>peak</mml:mtext>
</mml:mrow>
</mml:msub>
<mml:mo>&#x2212;</mml:mo>
<mml:msub>
<mml:mrow>
<mml:mi>P</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mtext>base</mml:mtext>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:mfenced>
<mml:mfenced open="[" close="]">
<mml:mrow>
<mml:mn>1</mml:mn>
<mml:mo>&#x2212;</mml:mo>
<mml:mi>cos</mml:mi>
<mml:mfenced open="(" close=")">
<mml:mrow>
<mml:mfrac>
<mml:mrow>
<mml:mi>&#x3c0;</mml:mi>
<mml:mi>t</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:msub>
<mml:mrow>
<mml:mi>t</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mtext>RisePT</mml:mtext>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:mfrac>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
</mml:mfenced>
<mml:mo>,</mml:mo>
<mml:mspace width="1em"/>
</mml:mtd>
<mml:mtd columnalign="left">
<mml:mtext>if&#x2009;</mml:mtext>
<mml:mn>0</mml:mn>
<mml:mo>&#x2264;</mml:mo>
<mml:mi>t</mml:mi>
<mml:mo>&#x3c;</mml:mo>
<mml:msub>
<mml:mrow>
<mml:mi>t</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mtext>RisePT</mml:mtext>
</mml:mrow>
</mml:msub>
</mml:mtd>
</mml:mtr>
<mml:mtr>
<mml:mtd columnalign="left">
<mml:msub>
<mml:mrow>
<mml:mi>P</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mtext>peak</mml:mtext>
</mml:mrow>
</mml:msub>
<mml:mo>,</mml:mo>
<mml:mspace width="1em"/>
</mml:mtd>
<mml:mtd columnalign="left">
<mml:mtext>if&#x2009;</mml:mtext>
<mml:msub>
<mml:mrow>
<mml:mi>t</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mtext>RisePT</mml:mtext>
</mml:mrow>
</mml:msub>
<mml:mo>&#x2264;</mml:mo>
<mml:mi>t</mml:mi>
<mml:mo>&#x3c;</mml:mo>
<mml:msub>
<mml:mrow>
<mml:mi>t</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mtext>InspPT</mml:mtext>
</mml:mrow>
</mml:msub>
</mml:mtd>
</mml:mtr>
<mml:mtr>
<mml:mtd columnalign="left">
<mml:msub>
<mml:mrow>
<mml:mi>P</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mtext>base</mml:mtext>
</mml:mrow>
</mml:msub>
<mml:mo>&#x2b;</mml:mo>
<mml:mfrac>
<mml:mrow>
<mml:mn>1</mml:mn>
</mml:mrow>
<mml:mrow>
<mml:mn>2</mml:mn>
</mml:mrow>
</mml:mfrac>
<mml:mfenced open="(" close=")">
<mml:mrow>
<mml:msub>
<mml:mrow>
<mml:mi>P</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mtext>peak</mml:mtext>
</mml:mrow>
</mml:msub>
<mml:mo>&#x2212;</mml:mo>
<mml:msub>
<mml:mrow>
<mml:mi>P</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mtext>base</mml:mtext>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:mfenced>
<mml:mfenced open="[" close="]">
<mml:mrow>
<mml:mn>1</mml:mn>
<mml:mo>&#x2b;</mml:mo>
<mml:mi>cos</mml:mi>
<mml:mfenced open="(" close=")">
<mml:mrow>
<mml:mfrac>
<mml:mrow>
<mml:mi>&#x3c0;</mml:mi>
<mml:mfenced open="(" close=")">
<mml:mrow>
<mml:mi>t</mml:mi>
<mml:mo>&#x2212;</mml:mo>
<mml:msub>
<mml:mrow>
<mml:mi>t</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mtext>InspPT</mml:mtext>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
<mml:mrow>
<mml:msub>
<mml:mrow>
<mml:mi>t</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mtext>ExpPT</mml:mtext>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:mfrac>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
</mml:mfenced>
<mml:mo>,</mml:mo>
<mml:mspace width="1em"/>
</mml:mtd>
<mml:mtd columnalign="left">
<mml:mtext>if&#x2009;</mml:mtext>
<mml:msub>
<mml:mrow>
<mml:mi>t</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mtext>InspPT</mml:mtext>
</mml:mrow>
</mml:msub>
<mml:mo>&#x2264;</mml:mo>
<mml:mi>t</mml:mi>
<mml:mo>&#x3c;</mml:mo>
<mml:msub>
<mml:mrow>
<mml:mi>t</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mtext>InspPT</mml:mtext>
</mml:mrow>
</mml:msub>
<mml:mo>&#x2b;</mml:mo>
<mml:msub>
<mml:mrow>
<mml:mi>t</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mtext>ExpPT</mml:mtext>
</mml:mrow>
</mml:msub>
</mml:mtd>
</mml:mtr>
<mml:mtr>
<mml:mtd columnalign="left">
<mml:msub>
<mml:mrow>
<mml:mi>P</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mtext>base</mml:mtext>
</mml:mrow>
</mml:msub>
<mml:mo>,</mml:mo>
<mml:mspace width="1em"/>
</mml:mtd>
<mml:mtd columnalign="left">
<mml:mtext>otherwise</mml:mtext>
</mml:mtd>
</mml:mtr>
</mml:mtable>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
</mml:math>
<label>(9)</label>
</disp-formula>
</p>
<p>This formulation simulates a smooth pressure profile for a spontaneous breath. During the inspiratory rise phase <inline-formula id="inf55">
<mml:math id="m65">
<mml:mrow>
<mml:mo stretchy="false">(</mml:mo>
<mml:mrow>
<mml:mn>0</mml:mn>
<mml:mo>&#x2264;</mml:mo>
<mml:mi>t</mml:mi>
<mml:mo>&#x3c;</mml:mo>
<mml:msub>
<mml:mrow>
<mml:mi>t</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mtext>RisePT</mml:mtext>
</mml:mrow>
</mml:msub>
</mml:mrow>
<mml:mo stretchy="false">)</mml:mo>
</mml:mrow>
</mml:math>
</inline-formula>, the muscle pressure decreases from the baseline value <inline-formula id="inf56">
<mml:math id="m66">
<mml:mrow>
<mml:msub>
<mml:mrow>
<mml:mi>P</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mtext>base</mml:mtext>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula> to a more negative peak <inline-formula id="inf57">
<mml:math id="m67">
<mml:mrow>
<mml:msub>
<mml:mrow>
<mml:mi>P</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mtext>peak</mml:mtext>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula>, reflecting the onset of active inspiratory effort. This is followed by a sustained inspiratory phase <inline-formula id="inf58">
<mml:math id="m68">
<mml:mrow>
<mml:mo stretchy="false">(</mml:mo>
<mml:mrow>
<mml:msub>
<mml:mrow>
<mml:mi>t</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mtext>RisePT</mml:mtext>
</mml:mrow>
</mml:msub>
<mml:mo>&#x2264;</mml:mo>
<mml:mi>t</mml:mi>
<mml:mo>&#x3c;</mml:mo>
<mml:msub>
<mml:mrow>
<mml:mi>t</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mtext>InspPT</mml:mtext>
</mml:mrow>
</mml:msub>
</mml:mrow>
<mml:mo stretchy="false">)</mml:mo>
</mml:mrow>
</mml:math>
</inline-formula> where pressure remains at <inline-formula id="inf59">
<mml:math id="m69">
<mml:mrow>
<mml:msub>
<mml:mrow>
<mml:mi>P</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mtext>peak</mml:mtext>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula>. During the early expiration phase <inline-formula id="inf60">
<mml:math id="m70">
<mml:mrow>
<mml:mo stretchy="false">(</mml:mo>
<mml:mrow>
<mml:msub>
<mml:mrow>
<mml:mi>t</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mtext>InspPT</mml:mtext>
</mml:mrow>
</mml:msub>
<mml:mo>&#x2264;</mml:mo>
<mml:mi>t</mml:mi>
<mml:mo>&#x3c;</mml:mo>
<mml:msub>
<mml:mrow>
<mml:mi>t</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mtext>InspPT</mml:mtext>
</mml:mrow>
</mml:msub>
<mml:mo>&#x2b;</mml:mo>
<mml:msub>
<mml:mrow>
<mml:mi>t</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mtext>ExpPT</mml:mtext>
</mml:mrow>
</mml:msub>
</mml:mrow>
<mml:mo stretchy="false">)</mml:mo>
</mml:mrow>
</mml:math>
</inline-formula>, the pressure gradually returns to baseline, modelling passive muscle relaxation. For the remainder of the respiratory cycle, the pressure stays constant at <inline-formula id="inf61">
<mml:math id="m71">
<mml:mrow>
<mml:msub>
<mml:mrow>
<mml:mi>P</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mtext>base</mml:mtext>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula> until the onset of the next breath. This expression allows for physiologically realistic transitions and control of breath phase timing and effort. In order to incorporate patient&#x2013;ventilator interaction nature of CPAP-PS mode, the model includes a feedback component (described in the next section) that detects key phases of spontaneous breathing, such as peak inspiratory flow and end-inspiratory timing. This feedback informs the timing and duration of pressure support, allowing for optimal airflow delivery into the lungs. Although this study focuses on the CPAP-PS ventilation mode, the model architecture is readily adaptable to other commonly used modes. By modifying the ventilator pressure waveform <inline-formula id="inf62">
<mml:math id="m72">
<mml:mrow>
<mml:msub>
<mml:mrow>
<mml:mi>P</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mtext>Ven</mml:mtext>
</mml:mrow>
</mml:msub>
<mml:mrow>
<mml:mo stretchy="false">(</mml:mo>
<mml:mrow>
<mml:mi>t</mml:mi>
</mml:mrow>
<mml:mo stretchy="false">)</mml:mo>
</mml:mrow>
</mml:mrow>
</mml:math>
</inline-formula> in <xref ref-type="disp-formula" rid="e8">Equation 8</xref>, the model can simulate pressure control ventilation (PCV) or mandatory breaths in synchronized intermittent mandatory ventilation (SIMV). In such cases, the patient feedback component can be disabled, and <inline-formula id="inf63">
<mml:math id="m73">
<mml:mrow>
<mml:msub>
<mml:mrow>
<mml:mi>P</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mtext>Ven</mml:mtext>
</mml:mrow>
</mml:msub>
<mml:mrow>
<mml:mo stretchy="false">(</mml:mo>
<mml:mrow>
<mml:mi>t</mml:mi>
</mml:mrow>
<mml:mo stretchy="false">)</mml:mo>
</mml:mrow>
</mml:mrow>
</mml:math>
</inline-formula> can be predefined as a square waveform, where the PS above PEEP functions as the peak inspiratory pressure (PIP) applied over a fixed inspiratory period. This flexibility supports potential extensions of the framework for broader ICU scenarios, including controlled ventilation phases or spontaneous breathing trials.</p>
</sec>
<sec id="s2-2">
<title>2.2 Model simulation including feedback</title>
<p>Forward simulations were performed to generate VWFs for CPAP-PS ventilation. In this mode, the ventilator provides pressure support (PS) above positive end-expiratory pressure (PEEP) until the inspiratory flow in the airway decreases to a predefined threshold, typically set at <inline-formula id="inf64">
<mml:math id="m74">
<mml:mrow>
<mml:mn>20</mml:mn>
<mml:mi>%</mml:mi>
</mml:mrow>
</mml:math>
</inline-formula> or <inline-formula id="inf65">
<mml:math id="m75">
<mml:mrow>
<mml:mn>30</mml:mn>
<mml:mi>%</mml:mi>
</mml:mrow>
</mml:math>
</inline-formula> of the peak inspiratory flow rate. The simulation incorporates a predefined patient spontaneous breathing profile, <inline-formula id="inf66">
<mml:math id="m76">
<mml:mrow>
<mml:msub>
<mml:mrow>
<mml:mi>P</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mtext>Mus</mml:mtext>
</mml:mrow>
</mml:msub>
<mml:mrow>
<mml:mo stretchy="false">(</mml:mo>
<mml:mrow>
<mml:mi>t</mml:mi>
</mml:mrow>
<mml:mo stretchy="false">)</mml:mo>
</mml:mrow>
</mml:mrow>
</mml:math>
</inline-formula>, along with ventilator settings such as rise time, PEEP, PS above PEEP, and end-inspiration flow timing to generate a feedback-dependent ventilator pressure, <inline-formula id="inf67">
<mml:math id="m77">
<mml:mrow>
<mml:msub>
<mml:mrow>
<mml:mi>P</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mtext>Ven</mml:mtext>
</mml:mrow>
</mml:msub>
<mml:mrow>
<mml:mo stretchy="false">(</mml:mo>
<mml:mrow>
<mml:mi>t</mml:mi>
</mml:mrow>
<mml:mo stretchy="false">)</mml:mo>
</mml:mrow>
</mml:mrow>
</mml:math>
</inline-formula>. <xref ref-type="table" rid="T1">Table 1</xref> provides an overview of the model input parameters used to configure the simulation and the resulting outputs, including ventilator waveforms and derived quantities. The model parameters such as resistances and compliances were based on data from the literature, specifically <xref ref-type="bibr" rid="B6">Cabeleira et al. (2024)</xref>, and listed in <xref ref-type="table" rid="T2">Table 2</xref>. In CPAP-PS mode, the ventilator assists patient-initiated breaths by maintaining a continuous positive airway pressure throughout the respiratory cycle while providing additional pressure during inspiration to support the patient&#x2019;s spontaneous breathing effort. To realistically simulate the ventilator dynamics, we use an event-based simulation approach, which is well-suited for modelling CPAP-PS, by providing feedback to dynamically control subsequent ventilator pressures in response to patient respiratory muscle pressures generated by <inline-formula id="inf68">
<mml:math id="m78">
<mml:mrow>
<mml:msub>
<mml:mrow>
<mml:mi>P</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mtext>Mus</mml:mtext>
</mml:mrow>
</mml:msub>
<mml:mrow>
<mml:mo stretchy="false">(</mml:mo>
<mml:mrow>
<mml:mi>t</mml:mi>
</mml:mrow>
<mml:mo stretchy="false">)</mml:mo>
</mml:mrow>
</mml:mrow>
</mml:math>
</inline-formula> using <xref ref-type="disp-formula" rid="e9">Equation 9</xref>. The function <inline-formula id="inf69">
<mml:math id="m79">
<mml:mrow>
<mml:msub>
<mml:mrow>
<mml:mi>P</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mtext>Ven</mml:mtext>
</mml:mrow>
</mml:msub>
<mml:mrow>
<mml:mo stretchy="false">(</mml:mo>
<mml:mrow>
<mml:mi>t</mml:mi>
</mml:mrow>
<mml:mo stretchy="false">)</mml:mo>
</mml:mrow>
</mml:mrow>
</mml:math>
</inline-formula> represents both the timing and magnitude of CPAP-PS support, dynamically adjusting ventilator pressures based on patient effort and using event-based triggers to capture critical transition points.</p>
<table-wrap id="T1" position="float">
<label>TABLE 1</label>
<caption>
<p>Summary of model input parameters and output.</p>
</caption>
<table>
<thead valign="top">
<tr>
<th colspan="2" align="center">Input parameters</th>
</tr>
</thead>
<tbody valign="top">
<tr>
<td align="left">PEEP, PS above PEEP</td>
<td align="center">Ventilator settings: Positive End-Expiratory Pressure and Pressure Support above PEEP</td>
</tr>
<tr>
<td align="left">
<inline-formula id="inf70">
<mml:math id="m80">
<mml:mrow>
<mml:msub>
<mml:mrow>
<mml:mi>R</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mtext>VenET</mml:mtext>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula>, <inline-formula id="inf71">
<mml:math id="m81">
<mml:mrow>
<mml:msub>
<mml:mrow>
<mml:mi>R</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mtext>LbLa</mml:mtext>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula>, <inline-formula id="inf72">
<mml:math id="m82">
<mml:mrow>
<mml:msubsup>
<mml:mrow>
<mml:mi>K</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mn>1</mml:mn>
</mml:mrow>
<mml:mrow>
<mml:mtext>ETLt</mml:mtext>
</mml:mrow>
</mml:msubsup>
<mml:mo>,</mml:mo>
<mml:msubsup>
<mml:mrow>
<mml:mi>K</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mn>1</mml:mn>
</mml:mrow>
<mml:mrow>
<mml:mtext>LtLb</mml:mtext>
</mml:mrow>
</mml:msubsup>
</mml:mrow>
</mml:math>
</inline-formula>, <inline-formula id="inf73">
<mml:math id="m83">
<mml:mrow>
<mml:msubsup>
<mml:mrow>
<mml:mi>K</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mn>2</mml:mn>
</mml:mrow>
<mml:mrow>
<mml:mtext>ETLt</mml:mtext>
</mml:mrow>
</mml:msubsup>
<mml:mo>,</mml:mo>
<mml:msubsup>
<mml:mrow>
<mml:mi>K</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mn>2</mml:mn>
</mml:mrow>
<mml:mrow>
<mml:mtext>LtLb</mml:mtext>
</mml:mrow>
</mml:msubsup>
</mml:mrow>
</mml:math>
</inline-formula>
</td>
<td align="center">Airway resistance parameters, including laminar <inline-formula id="inf74">
<mml:math id="m84">
<mml:mrow>
<mml:mo stretchy="false">(</mml:mo>
<mml:mrow>
<mml:msub>
<mml:mrow>
<mml:mi>K</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mn>1</mml:mn>
</mml:mrow>
</mml:msub>
</mml:mrow>
<mml:mo stretchy="false">)</mml:mo>
</mml:mrow>
</mml:math>
</inline-formula> and turbulent <inline-formula id="inf75">
<mml:math id="m85">
<mml:mrow>
<mml:mo stretchy="false">(</mml:mo>
<mml:mrow>
<mml:msub>
<mml:mrow>
<mml:mi>K</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mn>2</mml:mn>
</mml:mrow>
</mml:msub>
</mml:mrow>
<mml:mo stretchy="false">)</mml:mo>
</mml:mrow>
</mml:math>
</inline-formula> flow resistance components</td>
</tr>
<tr>
<td align="left">
<inline-formula id="inf76">
<mml:math id="m86">
<mml:mrow>
<mml:msub>
<mml:mrow>
<mml:mi>C</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mtext>ET</mml:mtext>
</mml:mrow>
</mml:msub>
<mml:mo>,</mml:mo>
<mml:msub>
<mml:mrow>
<mml:mi>C</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mtext>Lt</mml:mtext>
</mml:mrow>
</mml:msub>
<mml:mo>,</mml:mo>
<mml:msub>
<mml:mrow>
<mml:mi>C</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mtext>Lb</mml:mtext>
</mml:mrow>
</mml:msub>
<mml:mo>,</mml:mo>
<mml:msub>
<mml:mrow>
<mml:mi>C</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mtext>base</mml:mtext>
</mml:mrow>
</mml:msub>
<mml:mo>,</mml:mo>
<mml:msub>
<mml:mrow>
<mml:mi>C</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mtext>Thx</mml:mtext>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula>, <inline-formula id="inf77">
<mml:math id="m87">
<mml:mrow>
<mml:mi>&#x3b1;</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>&#x3b2;</mml:mi>
</mml:mrow>
</mml:math>
</inline-formula>
</td>
<td align="center">Compliance parameters of compartments and compliance shaping terms from the Salazar-Knowles model</td>
</tr>
<tr>
<td align="left">
<inline-formula id="inf78">
<mml:math id="m88">
<mml:mrow>
<mml:msub>
<mml:mrow>
<mml:mi>P</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mtext>peak</mml:mtext>
</mml:mrow>
</mml:msub>
<mml:mo>,</mml:mo>
<mml:msub>
<mml:mrow>
<mml:mi>t</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mtext>RisePT</mml:mtext>
</mml:mrow>
</mml:msub>
<mml:mo>,</mml:mo>
<mml:msub>
<mml:mrow>
<mml:mi>t</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mtext>InspPT</mml:mtext>
</mml:mrow>
</mml:msub>
<mml:mo>,</mml:mo>
<mml:msub>
<mml:mrow>
<mml:mi>t</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mtext>ExpPT</mml:mtext>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula>
</td>
<td align="center">Patient respiratory muscle pressure parameters</td>
</tr>
<tr>
<td align="left">
<inline-formula id="inf79">
<mml:math id="m89">
<mml:mrow>
<mml:msub>
<mml:mrow>
<mml:mi>t</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mtext>cycleVT</mml:mtext>
</mml:mrow>
</mml:msub>
<mml:mo>,</mml:mo>
<mml:msub>
<mml:mrow>
<mml:mi>t</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mtext>RiseVT</mml:mtext>
</mml:mrow>
</mml:msub>
<mml:mo>,</mml:mo>
<mml:msub>
<mml:mrow>
<mml:mi>t</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mtext>Valve</mml:mtext>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula>
</td>
<td align="center">Ventilator cycle timing parameters</td>
</tr>
<tr>
<td align="left">End Inspiration <inline-formula id="inf80">
<mml:math id="m90">
<mml:mrow>
<mml:mi>%</mml:mi>
</mml:mrow>
</mml:math>
</inline-formula>
</td>
<td align="center">End-inspiration flow threshold: defines the percentage of peak inspiratory flow at which the ventilator switches from inspiration to expiration</td>
</tr>
</tbody>
</table>
<table>
<thead valign="bottom">
<tr>
<th colspan="2" align="center">Model Outputs</th>
</tr>
</thead>
<tbody valign="bottom">
<tr>
<td align="left">
<inline-formula id="inf81">
<mml:math id="m91">
<mml:mrow>
<mml:msub>
<mml:mrow>
<mml:mi>P</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mtext>aw</mml:mtext>
</mml:mrow>
</mml:msub>
<mml:mrow>
<mml:mo stretchy="false">(</mml:mo>
<mml:mrow>
<mml:mi>t</mml:mi>
</mml:mrow>
<mml:mo stretchy="false">)</mml:mo>
</mml:mrow>
</mml:mrow>
</mml:math>
</inline-formula>, <inline-formula id="inf82">
<mml:math id="m92">
<mml:mrow>
<mml:msub>
<mml:mrow>
<mml:mi>Q</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mtext>aw</mml:mtext>
</mml:mrow>
</mml:msub>
<mml:mrow>
<mml:mo stretchy="false">(</mml:mo>
<mml:mrow>
<mml:mi>t</mml:mi>
</mml:mrow>
<mml:mo stretchy="false">)</mml:mo>
</mml:mrow>
</mml:mrow>
</mml:math>
</inline-formula>, <inline-formula id="inf83">
<mml:math id="m93">
<mml:mrow>
<mml:mi>V</mml:mi>
<mml:mrow>
<mml:mo stretchy="false">(</mml:mo>
<mml:mrow>
<mml:mi>t</mml:mi>
</mml:mrow>
<mml:mo stretchy="false">)</mml:mo>
</mml:mrow>
</mml:mrow>
</mml:math>
</inline-formula>
</td>
<td align="center">Ventilator waveforms: airway pressure, airway flow, and lung volume</td>
</tr>
<tr>
<td align="left">
<inline-formula id="inf84">
<mml:math id="m94">
<mml:mrow>
<mml:msub>
<mml:mrow>
<mml:mi>Q</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mtext>max</mml:mtext>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula>, <inline-formula id="inf85">
<mml:math id="m95">
<mml:mrow>
<mml:msub>
<mml:mrow>
<mml:mi>V</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>T</mml:mi>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula>, <inline-formula id="inf86">
<mml:math id="m96">
<mml:mrow>
<mml:mi>&#x3c4;</mml:mi>
</mml:mrow>
</mml:math>
</inline-formula>
</td>
<td align="center">Extracted features: peak inspiratory flow, tidal volume, and expiratory time constant</td>
</tr>
</tbody>
</table>
</table-wrap>
<table-wrap id="T2" position="float">
<label>TABLE 2</label>
<caption>
<p>Model parameters and their ranges used for simulating CPAP-PS mechanical ventilation. &#x2a;Indicates parameters included in the 14-dimensional optimization vector.</p>
</caption>
<table>
<thead valign="top">
<tr>
<th align="left">Parameter</th>
<th align="left">Value/Range</th>
</tr>
</thead>
<tbody valign="top">
<tr>
<td colspan="2" align="center">
<bold>Cycle Timing Parameters</bold>
</td>
</tr>
<tr>
<td align="left">
<inline-formula id="inf87">
<mml:math id="m97">
<mml:mrow>
<mml:msub>
<mml:mrow>
<mml:mi>t</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mtext>cycle,PT</mml:mtext>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula>
</td>
<td align="left">2.0&#x2013;3.0 s</td>
</tr>
<tr>
<td align="left">
<inline-formula id="inf88">
<mml:math id="m98">
<mml:mrow>
<mml:msub>
<mml:mrow>
<mml:mi>t</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mtext>cycle,VT</mml:mtext>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula>
</td>
<td align="left">2.0&#x2013;3.0 s</td>
</tr>
<tr>
<td align="left">
<inline-formula id="inf89">
<mml:math id="m99">
<mml:mrow>
<mml:msubsup>
<mml:mrow>
<mml:mi>t</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mtext>RisePT</mml:mtext>
</mml:mrow>
<mml:mrow>
<mml:mo>&#x2217;</mml:mo>
</mml:mrow>
</mml:msubsup>
</mml:mrow>
</mml:math>
</inline-formula>
</td>
<td align="left">0.15&#x2013;0.25 s</td>
</tr>
<tr>
<td align="left">
<inline-formula id="inf90">
<mml:math id="m100">
<mml:mrow>
<mml:msubsup>
<mml:mrow>
<mml:mi>t</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mtext>InspPT</mml:mtext>
</mml:mrow>
<mml:mrow>
<mml:mo>&#x2217;</mml:mo>
</mml:mrow>
</mml:msubsup>
</mml:mrow>
</mml:math>
</inline-formula>
</td>
<td align="left">0.75&#x2013;1.00 s</td>
</tr>
<tr>
<td align="left">
<inline-formula id="inf91">
<mml:math id="m101">
<mml:mrow>
<mml:msubsup>
<mml:mrow>
<mml:mi>t</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mtext>ExpPT</mml:mtext>
</mml:mrow>
<mml:mrow>
<mml:mo>&#x2217;</mml:mo>
</mml:mrow>
</mml:msubsup>
</mml:mrow>
</mml:math>
</inline-formula>
</td>
<td align="left">0.3&#x2013;0.5 s</td>
</tr>
<tr>
<td colspan="2" align="center">
<bold>Pressure Parameters</bold>
</td>
</tr>
<tr>
<td align="left">
<inline-formula id="inf92">
<mml:math id="m102">
<mml:mrow>
<mml:msubsup>
<mml:mrow>
<mml:mi>P</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mtext>peak</mml:mtext>
</mml:mrow>
<mml:mrow>
<mml:mo>&#x2217;</mml:mo>
</mml:mrow>
</mml:msubsup>
</mml:mrow>
</mml:math>
</inline-formula>
</td>
<td align="left">&#x2212;5.0 to &#x2212;1.0 mmHg</td>
</tr>
<tr>
<td align="left">PEEP</td>
<td align="left">5.0 mmHg</td>
</tr>
<tr>
<td align="left">PS above PEEP</td>
<td align="left">10.0 mmHg</td>
</tr>
<tr>
<td colspan="2" align="center">
<bold>Lung Compliance Parameters</bold>
</td>
</tr>
<tr>
<td align="left">
<inline-formula id="inf93">
<mml:math id="m103">
<mml:mrow>
<mml:msubsup>
<mml:mrow>
<mml:mi>C</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mtext>base</mml:mtext>
</mml:mrow>
<mml:mrow>
<mml:mo>&#x2217;</mml:mo>
</mml:mrow>
</mml:msubsup>
</mml:mrow>
</mml:math>
</inline-formula>
</td>
<td align="left">10.0&#x2013;100.0 mL/mmHg</td>
</tr>
<tr>
<td align="left">
<inline-formula id="inf94">
<mml:math id="m104">
<mml:mrow>
<mml:msubsup>
<mml:mrow>
<mml:mi>C</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mtext>Lb</mml:mtext>
</mml:mrow>
<mml:mrow>
<mml:mo>&#x2217;</mml:mo>
</mml:mrow>
</mml:msubsup>
</mml:mrow>
</mml:math>
</inline-formula>
</td>
<td align="left">1.0&#x2013;10.0 mL/mmHg</td>
</tr>
<tr>
<td align="left">
<inline-formula id="inf95">
<mml:math id="m105">
<mml:mrow>
<mml:msubsup>
<mml:mrow>
<mml:mi>C</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mtext>Lt</mml:mtext>
</mml:mrow>
<mml:mrow>
<mml:mo>&#x2217;</mml:mo>
</mml:mrow>
</mml:msubsup>
</mml:mrow>
</mml:math>
</inline-formula>
</td>
<td align="left">1.0&#x2013;10.0 mL/mmHg</td>
</tr>
<tr>
<td align="left">
<inline-formula id="inf96">
<mml:math id="m106">
<mml:mrow>
<mml:msubsup>
<mml:mrow>
<mml:mi>C</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mtext>ET</mml:mtext>
</mml:mrow>
<mml:mrow>
<mml:mo>&#x2217;</mml:mo>
</mml:mrow>
</mml:msubsup>
</mml:mrow>
</mml:math>
</inline-formula>
</td>
<td align="left">1.0&#x2013;10.0 mL/mmHg</td>
</tr>
<tr>
<td align="left">
<inline-formula id="inf97">
<mml:math id="m107">
<mml:mrow>
<mml:msubsup>
<mml:mrow>
<mml:mi>C</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mtext>Thx</mml:mtext>
</mml:mrow>
<mml:mrow>
<mml:mo>&#x2217;</mml:mo>
</mml:mrow>
</mml:msubsup>
</mml:mrow>
</mml:math>
</inline-formula>
</td>
<td align="left">300.0&#x2013;500.0 mL/mmHg</td>
</tr>
<tr>
<td align="left">
<inline-formula id="inf98">
<mml:math id="m108">
<mml:mrow>
<mml:mi>&#x3b1;</mml:mi>
</mml:mrow>
</mml:math>
</inline-formula>
</td>
<td align="left">0.05</td>
</tr>
<tr>
<td align="left">
<inline-formula id="inf99">
<mml:math id="m109">
<mml:mrow>
<mml:msup>
<mml:mrow>
<mml:mi>&#x3b2;</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mo>&#x2217;</mml:mo>
</mml:mrow>
</mml:msup>
</mml:mrow>
</mml:math>
</inline-formula>
</td>
<td align="left">0.03&#x2013;0.05 <inline-formula id="inf100">
<mml:math id="m110">
<mml:mrow>
<mml:msup>
<mml:mrow>
<mml:mtext>mmHg</mml:mtext>
</mml:mrow>
<mml:mrow>
<mml:mo>&#x2212;</mml:mo>
<mml:mn>1</mml:mn>
</mml:mrow>
</mml:msup>
</mml:mrow>
</mml:math>
</inline-formula>
</td>
</tr>
<tr>
<td colspan="2" align="center">
<bold>Airway Resistance Parameters</bold>
</td>
</tr>
<tr>
<td align="left">
<inline-formula id="inf101">
<mml:math id="m111">
<mml:mrow>
<mml:msubsup>
<mml:mrow>
<mml:mi>R</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mtext>VenET</mml:mtext>
</mml:mrow>
<mml:mrow>
<mml:mo>&#x2217;</mml:mo>
</mml:mrow>
</mml:msubsup>
</mml:mrow>
</mml:math>
</inline-formula>
</td>
<td align="left">0.0005&#x2013;0.005 mmHg<inline-formula id="inf102">
<mml:math id="m112">
<mml:mrow>
<mml:mo>&#x22c5;</mml:mo>
</mml:mrow>
</mml:math>
</inline-formula> s/mL</td>
</tr>
<tr>
<td align="left">
<inline-formula id="inf103">
<mml:math id="m113">
<mml:mrow>
<mml:msubsup>
<mml:mrow>
<mml:mi>K</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mn>1</mml:mn>
<mml:mo>,</mml:mo>
<mml:mtext>ETLt</mml:mtext>
</mml:mrow>
<mml:mrow>
<mml:mo>&#x2217;</mml:mo>
</mml:mrow>
</mml:msubsup>
</mml:mrow>
</mml:math>
</inline-formula>
</td>
<td align="left">0.0005&#x2013;0.005 mmHg<inline-formula id="inf104">
<mml:math id="m114">
<mml:mrow>
<mml:mo>&#x22c5;</mml:mo>
</mml:mrow>
</mml:math>
</inline-formula> s/mL</td>
</tr>
<tr>
<td align="left">
<inline-formula id="inf105">
<mml:math id="m115">
<mml:mrow>
<mml:msubsup>
<mml:mrow>
<mml:mi>K</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mn>1</mml:mn>
<mml:mo>,</mml:mo>
<mml:mtext>LtLb</mml:mtext>
</mml:mrow>
<mml:mrow>
<mml:mo>&#x2217;</mml:mo>
</mml:mrow>
</mml:msubsup>
</mml:mrow>
</mml:math>
</inline-formula>
</td>
<td align="left">0.0005&#x2013;0.005 mmHg<inline-formula id="inf106">
<mml:math id="m116">
<mml:mrow>
<mml:mo>&#x22c5;</mml:mo>
</mml:mrow>
</mml:math>
</inline-formula> s/mL</td>
</tr>
<tr>
<td align="left">
<inline-formula id="inf107">
<mml:math id="m117">
<mml:mrow>
<mml:msub>
<mml:mrow>
<mml:mi>K</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mn>2</mml:mn>
<mml:mo>,</mml:mo>
<mml:mtext>ETLt</mml:mtext>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula>
</td>
<td align="left">
<inline-formula id="inf108">
<mml:math id="m118">
<mml:mrow>
<mml:mn>1</mml:mn>
<mml:mo>&#xd7;</mml:mo>
<mml:mn>1</mml:mn>
<mml:msup>
<mml:mrow>
<mml:mn>0</mml:mn>
</mml:mrow>
<mml:mrow>
<mml:mo>&#x2212;</mml:mo>
<mml:mn>6</mml:mn>
</mml:mrow>
</mml:msup>
</mml:mrow>
</mml:math>
</inline-formula> mmHg<inline-formula id="inf109">
<mml:math id="m119">
<mml:mrow>
<mml:mo>&#x22c5;</mml:mo>
<mml:msup>
<mml:mrow>
<mml:mtext>s</mml:mtext>
</mml:mrow>
<mml:mrow>
<mml:mn>2</mml:mn>
</mml:mrow>
</mml:msup>
</mml:mrow>
</mml:math>
</inline-formula>/<inline-formula id="inf110">
<mml:math id="m120">
<mml:mrow>
<mml:msup>
<mml:mrow>
<mml:mi mathvariant="normal">m</mml:mi>
<mml:mi mathvariant="normal">l</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mn>2</mml:mn>
</mml:mrow>
</mml:msup>
</mml:mrow>
</mml:math>
</inline-formula>
</td>
</tr>
<tr>
<td align="left">
<inline-formula id="inf111">
<mml:math id="m121">
<mml:mrow>
<mml:msub>
<mml:mrow>
<mml:mi>K</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mn>2</mml:mn>
<mml:mo>,</mml:mo>
<mml:mtext>LtLb</mml:mtext>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula>
</td>
<td align="left">
<inline-formula id="inf112">
<mml:math id="m122">
<mml:mrow>
<mml:mn>1</mml:mn>
<mml:mo>&#xd7;</mml:mo>
<mml:mn>1</mml:mn>
<mml:msup>
<mml:mrow>
<mml:mn>0</mml:mn>
</mml:mrow>
<mml:mrow>
<mml:mo>&#x2212;</mml:mo>
<mml:mn>6</mml:mn>
</mml:mrow>
</mml:msup>
</mml:mrow>
</mml:math>
</inline-formula> mmHg<inline-formula id="inf113">
<mml:math id="m123">
<mml:mrow>
<mml:mo>&#x22c5;</mml:mo>
<mml:msup>
<mml:mrow>
<mml:mtext>s</mml:mtext>
</mml:mrow>
<mml:mrow>
<mml:mn>2</mml:mn>
</mml:mrow>
</mml:msup>
</mml:mrow>
</mml:math>
</inline-formula>/<inline-formula id="inf114">
<mml:math id="m124">
<mml:mrow>
<mml:msup>
<mml:mrow>
<mml:mi mathvariant="normal">m</mml:mi>
<mml:mi mathvariant="normal">l</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mn>2</mml:mn>
</mml:mrow>
</mml:msup>
</mml:mrow>
</mml:math>
</inline-formula>
</td>
</tr>
<tr>
<td align="left">
<inline-formula id="inf115">
<mml:math id="m125">
<mml:mrow>
<mml:msubsup>
<mml:mrow>
<mml:mi>R</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mtext>LbLa</mml:mtext>
</mml:mrow>
<mml:mrow>
<mml:mo>&#x2217;</mml:mo>
</mml:mrow>
</mml:msubsup>
</mml:mrow>
</mml:math>
</inline-formula>
</td>
<td align="left">0.0005&#x2013;0.005 mmHg<inline-formula id="inf116">
<mml:math id="m126">
<mml:mrow>
<mml:mo>&#x22c5;</mml:mo>
</mml:mrow>
</mml:math>
</inline-formula> s/mL</td>
</tr>
<tr>
<td colspan="2" align="center">
<bold>Lung Volume Parameters</bold>
</td>
</tr>
<tr>
<td align="left">
<inline-formula id="inf117">
<mml:math id="m127">
<mml:mrow>
<mml:msub>
<mml:mrow>
<mml:mi>V</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mn>0</mml:mn>
<mml:mtext>La</mml:mtext>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula>
</td>
<td align="left">2000.0 mL</td>
</tr>
<tr>
<td align="left">
<inline-formula id="inf118">
<mml:math id="m128">
<mml:mrow>
<mml:msub>
<mml:mrow>
<mml:mi>V</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mn>0</mml:mn>
<mml:mtext>Lb</mml:mtext>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula>
</td>
<td align="left">70.0 mL</td>
</tr>
<tr>
<td align="left">
<inline-formula id="inf119">
<mml:math id="m129">
<mml:mrow>
<mml:msub>
<mml:mrow>
<mml:mi>V</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mn>0</mml:mn>
<mml:mtext>Lt</mml:mtext>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula>
</td>
<td align="left">70.0 mL</td>
</tr>
<tr>
<td align="left">
<inline-formula id="inf120">
<mml:math id="m130">
<mml:mrow>
<mml:msub>
<mml:mrow>
<mml:mi>V</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mn>0</mml:mn>
<mml:mtext>ET</mml:mtext>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula>
</td>
<td align="left">70.0 mL</td>
</tr>
<tr>
<td align="left">
<inline-formula id="inf121">
<mml:math id="m131">
<mml:mrow>
<mml:msub>
<mml:mrow>
<mml:mi>V</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mn>0</mml:mn>
<mml:mtext>Thx</mml:mtext>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula>
</td>
<td align="left">3,500.0 mL</td>
</tr>
</tbody>
</table>
</table-wrap>
<p>The governing ODEs described in the model formulation section are implemented and solved using the Julia programming language, leveraging the efficiency and flexibility of Julia&#x2019;s scientific computing ecosystem. The DifferentialEquations.jl package is used for numerical integration of the governing equations, ensuring robust time-dependent simulations (<xref ref-type="bibr" rid="B27">Rackauckas and Nie, 2017</xref>). Additionally, as in <xref ref-type="bibr" rid="B24">Pal et al. (2024)</xref>, NLsolve.jl and Roots. jl are employed to solve the non-linear equations for resistance and compliance, allowing for a physiologically accurate representation of airway dynamics. We employ a fourth-order Runge&#x2013;Kutta (RK4) method for time integration of the ventilator model, supplemented with event-driven callbacks to detect specific physiological transitions during the respiratory cycle. These callbacks are used to identify key features such as the peak inspiratory flow rate <inline-formula id="inf122">
<mml:math id="m132">
<mml:mrow>
<mml:mo stretchy="false">(</mml:mo>
<mml:mrow>
<mml:msub>
<mml:mrow>
<mml:mi>Q</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mtext>max</mml:mtext>
</mml:mrow>
</mml:msub>
</mml:mrow>
<mml:mo stretchy="false">)</mml:mo>
</mml:mrow>
</mml:math>
</inline-formula> and to track when the flow decays to a defined fraction of this peak, capturing critical phase transitions in the ventilator waveform. In our model, the variables <inline-formula id="inf123">
<mml:math id="m133">
<mml:mrow>
<mml:msub>
<mml:mrow>
<mml:mi>P</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mtext>ET</mml:mtext>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula> and <inline-formula id="inf124">
<mml:math id="m134">
<mml:mrow>
<mml:msub>
<mml:mrow>
<mml:mi>Q</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mtext>VenET</mml:mtext>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula> correspond to the airway pressure <inline-formula id="inf125">
<mml:math id="m135">
<mml:mrow>
<mml:mo stretchy="false">(</mml:mo>
<mml:mrow>
<mml:msub>
<mml:mrow>
<mml:mi>P</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>a</mml:mi>
<mml:mi>w</mml:mi>
</mml:mrow>
</mml:msub>
</mml:mrow>
<mml:mo stretchy="false">)</mml:mo>
</mml:mrow>
</mml:math>
</inline-formula> and airway flow <inline-formula id="inf126">
<mml:math id="m136">
<mml:mrow>
<mml:mo stretchy="false">(</mml:mo>
<mml:mrow>
<mml:msub>
<mml:mrow>
<mml:mi>Q</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>a</mml:mi>
<mml:mi>w</mml:mi>
</mml:mrow>
</mml:msub>
</mml:mrow>
<mml:mo stretchy="false">)</mml:mo>
</mml:mrow>
</mml:math>
</inline-formula>, respectively. The first callback detects the maximum flow rate, identifying the time point near <inline-formula id="inf127">
<mml:math id="m137">
<mml:mrow>
<mml:msub>
<mml:mrow>
<mml:mi>t</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mtext>RiseVT</mml:mtext>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula> that marks the rise in ventilator pressure. Upon reaching this peak flow, the simulation records <inline-formula id="inf128">
<mml:math id="m138">
<mml:mrow>
<mml:msub>
<mml:mrow>
<mml:mi>Q</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mtext>max</mml:mtext>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula> and continues with the computation of subsequent phases. The second callback identifies when flow in the airway declines to <inline-formula id="inf129">
<mml:math id="m139">
<mml:mrow>
<mml:mn>20</mml:mn>
<mml:mi>%</mml:mi>
</mml:mrow>
</mml:math>
</inline-formula> or <inline-formula id="inf130">
<mml:math id="m140">
<mml:mrow>
<mml:mn>30</mml:mn>
<mml:mi>%</mml:mi>
</mml:mrow>
</mml:math>
</inline-formula> of its peak, signalling the end of inspiration and transition to expiration. This event-based approach ensures that each phase of the ventilator cycle is aligned with the physiological timing, accurately reflecting the interaction between the ventilator-applied pressure and the patient&#x2019;s respiratory mechanics. In particular, the <inline-formula id="inf131">
<mml:math id="m141">
<mml:mrow>
<mml:msub>
<mml:mrow>
<mml:mi>P</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mtext>Ven</mml:mtext>
</mml:mrow>
</mml:msub>
<mml:mrow>
<mml:mo stretchy="false">(</mml:mo>
<mml:mrow>
<mml:mi>t</mml:mi>
</mml:mrow>
<mml:mo stretchy="false">)</mml:mo>
</mml:mrow>
</mml:mrow>
</mml:math>
</inline-formula> and <inline-formula id="inf132">
<mml:math id="m142">
<mml:mrow>
<mml:msub>
<mml:mrow>
<mml:mi>P</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mtext>Mus</mml:mtext>
</mml:mrow>
</mml:msub>
<mml:mrow>
<mml:mo stretchy="false">(</mml:mo>
<mml:mrow>
<mml:mi>t</mml:mi>
</mml:mrow>
<mml:mo stretchy="false">)</mml:mo>
</mml:mrow>
</mml:mrow>
</mml:math>
</inline-formula> together drive the dynamic response of the respiratory system in the model, influencing the compartmental pressures and airflow rates, thus providing insights into the combined effect of mechanically- and physiologically-induced pressure changes on the airway pressure distribution and ventilation dynamics.</p>
</sec>
<sec id="s2-3">
<title>2.3 Model validation and optimisation</title>
<p>To validate the CPAP-PS ventilator model, clinical VWF data was used to compare simulated and recorded patient waveforms. VWF data was obtained from the Getinge Servo-U ventilator (G&#xf6;teborg, Sweden), which provides real-time monitoring and recording of flow, volume, and pressure waveforms. During routine airway clearance procedures, pre-suction waveform data was recorded using the ventilator&#x2019;s built-in data acquisition system before performing an airway clearance procedure to remove excess secretions. The post suction waveform data was obtained at least 2 minutes post procedure to allow for resumption of the baseline respiratory rate under identical ventilator settings to ensure comparability. Both pre- and post-suction waveform datasets were exported and the data parsed and stored in a structured, human-readable format for further analysis. This structured data acquisition process ensured consistency in ventilator measurements, enabling reliable comparison of waveform changes associated with secretion removal. The secretion levels were assessed by an expert physiotherapist using standard clinical criteria during suctioning. These were initially recorded as five categories: none, small, moderate, large, and copious. For the purposes of analysis, these were aggregated into three broader categories by grouping none and small as low, moderate as medium, and large and copious as high secretion levels. Unfortunately, direct quantitative secretion volume measurements were not routinely available for all patients, but the categorization based on clinical judgement was consistent with routine ICU practice.</p>
<p>The ventilator model simulations were compared with clinical ventilator waveform data by running forward simulations and manually adjusting the model parameters to improve alignment with observed pressure, flow, and volume waveforms over time. <xref ref-type="fig" rid="F2">Figure 2</xref> presents ventilator waveforms from clinical cases, demonstrating the model&#x2019;s ability to capture physiological changes and provide meaningful interpretations of patient-specific ventilator dynamics. In <xref ref-type="fig" rid="F2">Figure 2</xref> (top), a linear decrease in the flow curve is observed during the interval between peak flow and the end of inspiration, indicating a passive decay of inspiratory flow as pressure support is maintained constant. In contrast, <xref ref-type="fig" rid="F2">Figure 2</xref> (bottom) shows a sharp increase near the latter part of inspiration, suggesting that the patient&#x2019;s breathing effort is dominating ventilator support. This is further evident in the concave shape of the flow curve during the transition from rise time to end of inspiration. To further illustrate the clinical relevance of the model, we present another example that reflects distinct patient&#x2013;ventilator interaction patterns observed in clinical data. <xref ref-type="fig" rid="F3">Figure 3</xref> shows model-based simulations for two different patient effort scenarios. In the first case (top panel), the patient initiates a spontaneous breath which is promptly supported by the ventilator, demonstrating synchrony between patient effort and ventilator support. In the second case (bottom panel), a spontaneous breath is initiated by the patient before the mandatory ventilator breath could complete, resulting in patient&#x2013;ventilator desynchrony and double triggering, which is clearly evident in the flow and pressure waveforms. The model demonstrates a strong capability in capturing patient-ventilator dynamics, effectively reflecting changes in airway resistance, compliance, and patient effort within ventilator waveforms. Despite its minimal formulation, which simplifies the spatial structure of the lung by representing key anatomical regions, such as the trachea, bronchi, and alveoli, using lumped resistance <inline-formula id="inf133">
<mml:math id="m143">
<mml:mrow>
<mml:mo stretchy="false">(</mml:mo>
<mml:mrow>
<mml:msub>
<mml:mrow>
<mml:mi>R</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mtext>LtLb</mml:mtext>
</mml:mrow>
</mml:msub>
<mml:mo>,</mml:mo>
<mml:msub>
<mml:mrow>
<mml:mi>R</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mtext>LbLa</mml:mtext>
</mml:mrow>
</mml:msub>
</mml:mrow>
<mml:mo stretchy="false">)</mml:mo>
</mml:mrow>
</mml:math>
</inline-formula> and compliance <inline-formula id="inf134">
<mml:math id="m144">
<mml:mrow>
<mml:mo stretchy="false">(</mml:mo>
<mml:mrow>
<mml:msub>
<mml:mrow>
<mml:mi>C</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mtext>Lt</mml:mtext>
</mml:mrow>
</mml:msub>
<mml:mo>,</mml:mo>
<mml:msub>
<mml:mrow>
<mml:mi>C</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mtext>Lb</mml:mtext>
</mml:mrow>
</mml:msub>
<mml:mo>,</mml:mo>
<mml:msub>
<mml:mrow>
<mml:mi>C</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mtext>La</mml:mtext>
</mml:mrow>
</mml:msub>
</mml:mrow>
<mml:mo stretchy="false">)</mml:mo>
</mml:mrow>
</mml:math>
</inline-formula> parameters, the model maintains spatial simplicity while providing sufficient temporal accuracy to capture subtle VWF variations arising from patient&#x2013;ventilator interactions, all with minimal computational complexity. The choice of model parameters and operating range helps to ensure that the solutions accurately reflect the VWFs. In practical implementations, incorporating physiological constraints, such as those based on expected muscle pressure dynamics, into the parameter identification process can ensure that the model adheres to realistic physiological limits (<xref ref-type="bibr" rid="B33">Vicario et al., 2015</xref>).</p>
<fig id="F2" position="float">
<label>FIGURE 2</label>
<caption>
<p>Model validation of CPAP-PS simulation using real ventilator waveforms: airway pressure, airway flow, volume, and pressure&#x2013;volume loop for two patients. Note the differences in airway pressure and flow patterns between the top and bottom plots, particularly during the inspiratory phase (highlighted in the shaded region of the flow curves).</p>
</caption>
<graphic xlink:href="fphys-16-1612501-g002.tif"/>
</fig>
<fig id="F3" position="float">
<label>FIGURE 3</label>
<caption>
<p>Model simulation of CPAP-PS mode using patient-specific parameters: airway pressure <inline-formula id="inf135">
<mml:math id="m145">
<mml:mrow>
<mml:mo stretchy="false">(</mml:mo>
<mml:mrow>
<mml:msub>
<mml:mrow>
<mml:mi>P</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>a</mml:mi>
<mml:mi>w</mml:mi>
</mml:mrow>
</mml:msub>
</mml:mrow>
<mml:mo stretchy="false">)</mml:mo>
</mml:mrow>
</mml:math>
</inline-formula>, airway flow <inline-formula id="inf136">
<mml:math id="m146">
<mml:mrow>
<mml:mo stretchy="false">(</mml:mo>
<mml:mrow>
<mml:msub>
<mml:mrow>
<mml:mi>Q</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>a</mml:mi>
<mml:mi>w</mml:mi>
</mml:mrow>
</mml:msub>
</mml:mrow>
<mml:mo stretchy="false">)</mml:mo>
</mml:mrow>
</mml:math>
</inline-formula>, lung volume <inline-formula id="inf137">
<mml:math id="m147">
<mml:mrow>
<mml:mo stretchy="false">(</mml:mo>
<mml:mrow>
<mml:mi>V</mml:mi>
</mml:mrow>
<mml:mo stretchy="false">)</mml:mo>
</mml:mrow>
</mml:math>
</inline-formula>, and muscle pressure <inline-formula id="inf138">
<mml:math id="m148">
<mml:mrow>
<mml:mo stretchy="false">(</mml:mo>
<mml:mrow>
<mml:msub>
<mml:mrow>
<mml:mi>P</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mtext>Mus</mml:mtext>
</mml:mrow>
</mml:msub>
</mml:mrow>
<mml:mo stretchy="false">)</mml:mo>
</mml:mrow>
</mml:math>
</inline-formula> for two different patient effort scenarios. Note the differences in airway pressure and flow profiles between the simulations, especially during the inspiratory phase (highlighted in the shaded region), which reflect variations in spontaneous breathing effort and patient&#x2013;ventilator interaction.</p>
</caption>
<graphic xlink:href="fphys-16-1612501-g003.tif"/>
</fig>
<p>In our study, we calibrated the ventilator model and estimated optimal parameter values using an evolutionary optimization approach. Specifically, we employed a non-gradient-based optimization method, Exponential Natural Evolution Strategy (xNES), developed initially by <xref ref-type="bibr" rid="B11">Glasmachers et al. (2010)</xref> and implemented using the BlackBoxOptim package in Julia. xNES is a derivative-free evolutionary optimization method designed for high-dimensional, non-linear objective functions. Its suitability for physiological model calibration arises from its ability to efficiently explore complex, noisy parameter spaces where solutions are often non-unique and interdependent. In ventilator simulations, where patient-specific variations introduce significant heterogeneity in the resulting lung mechanics, xNES enables robust parameter estimation without relying on gradient information, making it more effective than traditional optimization methods. The xNES optimization minimizes the discrepancy between simulated and observed patient data (pressure, flow, and volume waveforms) by refining model parameters within physiological constraints. It iteratively explores the parameter space, adapting its search distribution and covariance matrix to converge on an optimal solution that minimizes the fitness score. The process terminates when a target fitness or iteration limit is reached, yielding a calibrated parameter set that closely aligns the ventilator model with patient data. Mathematically, this involves minimizing the difference between simulated data <inline-formula id="inf139">
<mml:math id="m149">
<mml:mrow>
<mml:msub>
<mml:mrow>
<mml:mi>X</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mtext>sim</mml:mtext>
</mml:mrow>
</mml:msub>
<mml:mrow>
<mml:mo stretchy="false">(</mml:mo>
<mml:mrow>
<mml:mi>t</mml:mi>
</mml:mrow>
<mml:mo stretchy="false">)</mml:mo>
</mml:mrow>
</mml:mrow>
</mml:math>
</inline-formula> and observed patient data <inline-formula id="inf140">
<mml:math id="m150">
<mml:mrow>
<mml:msub>
<mml:mrow>
<mml:mi>X</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mtext>obs</mml:mtext>
</mml:mrow>
</mml:msub>
<mml:mrow>
<mml:mo stretchy="false">(</mml:mo>
<mml:mrow>
<mml:mi>t</mml:mi>
</mml:mrow>
<mml:mo stretchy="false">)</mml:mo>
</mml:mrow>
</mml:mrow>
</mml:math>
</inline-formula> across ventilator signals such as pressure <inline-formula id="inf141">
<mml:math id="m151">
<mml:mrow>
<mml:msub>
<mml:mrow>
<mml:mi>P</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>a</mml:mi>
<mml:mi>w</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mrow>
<mml:mo stretchy="false">(</mml:mo>
<mml:mrow>
<mml:mi>t</mml:mi>
</mml:mrow>
<mml:mo stretchy="false">)</mml:mo>
</mml:mrow>
</mml:mrow>
</mml:math>
</inline-formula>, flow <inline-formula id="inf142">
<mml:math id="m152">
<mml:mrow>
<mml:msub>
<mml:mrow>
<mml:mi>Q</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>a</mml:mi>
<mml:mi>w</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mrow>
<mml:mo stretchy="false">(</mml:mo>
<mml:mrow>
<mml:mi>t</mml:mi>
</mml:mrow>
<mml:mo stretchy="false">)</mml:mo>
</mml:mrow>
</mml:mrow>
</mml:math>
</inline-formula>, and volume <inline-formula id="inf143">
<mml:math id="m153">
<mml:mrow>
<mml:mi>V</mml:mi>
<mml:mrow>
<mml:mo stretchy="false">(</mml:mo>
<mml:mrow>
<mml:mi>t</mml:mi>
</mml:mrow>
<mml:mo stretchy="false">)</mml:mo>
</mml:mrow>
</mml:mrow>
</mml:math>
</inline-formula>. Dynamic Time Warping (DTW), a measure that accounts for both the amplitude and temporal alignment, is used to evaluate the fit. The objective function is defined as:<disp-formula id="equ2">
<mml:math id="m154">
<mml:mrow>
<mml:mi>f</mml:mi>
<mml:mfenced open="(" close=")">
<mml:mrow>
<mml:mi>&#x3b8;</mml:mi>
</mml:mrow>
</mml:mfenced>
<mml:mo>&#x3d;</mml:mo>
<mml:mstyle displaystyle="true">
<mml:munder>
<mml:mrow>
<mml:mo>&#x2211;</mml:mo>
</mml:mrow>
<mml:mrow>
<mml:mi>i</mml:mi>
<mml:mo>&#x2208;</mml:mo>
<mml:mfenced open="{" close="}">
<mml:mrow>
<mml:mi>P</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>Q</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>V</mml:mi>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
</mml:munder>
</mml:mstyle>
<mml:msub>
<mml:mrow>
<mml:mi>w</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>i</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mtext>&#x2003;</mml:mtext>
<mml:mtext>DTW</mml:mtext>
<mml:mfenced open="(" close=")">
<mml:mrow>
<mml:msub>
<mml:mrow>
<mml:mi>X</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mtext>sim</mml:mtext>
<mml:mo>,</mml:mo>
<mml:mi>i</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mfenced open="(" close=")">
<mml:mrow>
<mml:mi>&#x3b8;</mml:mi>
</mml:mrow>
</mml:mfenced>
<mml:mo>,</mml:mo>
<mml:msub>
<mml:mrow>
<mml:mi>X</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mtext>obs</mml:mtext>
<mml:mo>,</mml:mo>
<mml:mi>i</mml:mi>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:mfenced>
<mml:mo>,</mml:mo>
</mml:mrow>
</mml:math>
</disp-formula>where <inline-formula id="inf144">
<mml:math id="m155">
<mml:mrow>
<mml:mi>&#x3b8;</mml:mi>
</mml:mrow>
</mml:math>
</inline-formula> represents the model parameters to be optimized, <inline-formula id="inf145">
<mml:math id="m156">
<mml:mrow>
<mml:msub>
<mml:mrow>
<mml:mi>X</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mtext>sim</mml:mtext>
<mml:mo>,</mml:mo>
<mml:mi>i</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mrow>
<mml:mo stretchy="false">(</mml:mo>
<mml:mrow>
<mml:mi>&#x3b8;</mml:mi>
</mml:mrow>
<mml:mo stretchy="false">)</mml:mo>
</mml:mrow>
</mml:mrow>
</mml:math>
</inline-formula> is the simulated time-series data for variable <inline-formula id="inf146">
<mml:math id="m157">
<mml:mrow>
<mml:mi>i</mml:mi>
</mml:mrow>
</mml:math>
</inline-formula> (e.g., pressure, flow, volume) given parameters <inline-formula id="inf147">
<mml:math id="m158">
<mml:mrow>
<mml:mi>&#x3b8;</mml:mi>
</mml:mrow>
</mml:math>
</inline-formula>, <inline-formula id="inf148">
<mml:math id="m159">
<mml:mrow>
<mml:msub>
<mml:mrow>
<mml:mi>X</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mtext>obs</mml:mtext>
<mml:mo>,</mml:mo>
<mml:mi>i</mml:mi>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula> is the observed time-series data for variable <inline-formula id="inf149">
<mml:math id="m160">
<mml:mrow>
<mml:mi>i</mml:mi>
</mml:mrow>
</mml:math>
</inline-formula>, <inline-formula id="inf150">
<mml:math id="m161">
<mml:mrow>
<mml:mtext>DTW</mml:mtext>
<mml:mrow>
<mml:mo stretchy="false">(</mml:mo>
<mml:mrow>
<mml:msub>
<mml:mrow>
<mml:mi>X</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mtext>sim</mml:mtext>
<mml:mo>,</mml:mo>
<mml:mi>i</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mrow>
<mml:mo stretchy="false">(</mml:mo>
<mml:mrow>
<mml:mi>&#x3b8;</mml:mi>
</mml:mrow>
<mml:mo stretchy="false">)</mml:mo>
</mml:mrow>
<mml:mo>,</mml:mo>
<mml:msub>
<mml:mrow>
<mml:mi>X</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mtext>obs</mml:mtext>
<mml:mo>,</mml:mo>
<mml:mi>i</mml:mi>
</mml:mrow>
</mml:msub>
</mml:mrow>
<mml:mo stretchy="false">)</mml:mo>
</mml:mrow>
</mml:mrow>
</mml:math>
</inline-formula> computes the DTW distance between the simulated and observed data for variable <inline-formula id="inf151">
<mml:math id="m162">
<mml:mrow>
<mml:mi>i</mml:mi>
</mml:mrow>
</mml:math>
</inline-formula>, and <inline-formula id="inf152">
<mml:math id="m163">
<mml:mrow>
<mml:msub>
<mml:mrow>
<mml:mi>w</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>i</mml:mi>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula> is a weighting factor for each variable <inline-formula id="inf153">
<mml:math id="m164">
<mml:mrow>
<mml:mi>i</mml:mi>
</mml:mrow>
</mml:math>
</inline-formula>. The DTW measures the similarity between two time-series, particularly focusing on the temporal alignment of the maxima and minima. This approach enables the optimization to achieve a close fit between the simulated and observed ventilator waveforms. xNES is used to explore the parameter space by adjusting the search distribution, where parameter samples <inline-formula id="inf154">
<mml:math id="m165">
<mml:mrow>
<mml:mi>&#x3b8;</mml:mi>
</mml:mrow>
</mml:math>
</inline-formula> are drawn from a multivariate normal distribution <inline-formula id="inf155">
<mml:math id="m166">
<mml:mrow>
<mml:mi>&#x3b8;</mml:mi>
<mml:mo>&#x223c;</mml:mo>
<mml:mi mathvariant="script">N</mml:mi>
<mml:mrow>
<mml:mo stretchy="false">(</mml:mo>
<mml:mrow>
<mml:mi>&#x3bc;</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi mathvariant="bold">C</mml:mi>
</mml:mrow>
<mml:mo stretchy="false">)</mml:mo>
</mml:mrow>
</mml:mrow>
</mml:math>
</inline-formula>, where <inline-formula id="inf156">
<mml:math id="m167">
<mml:mrow>
<mml:mi>&#x3bc;</mml:mi>
</mml:mrow>
</mml:math>
</inline-formula> is the mean vector of the parameter distribution, and <inline-formula id="inf157">
<mml:math id="m168">
<mml:mrow>
<mml:mi mathvariant="bold">C</mml:mi>
</mml:mrow>
</mml:math>
</inline-formula> is the covariance matrix. At each iteration, xNES updates <inline-formula id="inf158">
<mml:math id="m169">
<mml:mrow>
<mml:mi>&#x3bc;</mml:mi>
</mml:mrow>
</mml:math>
</inline-formula> and <inline-formula id="inf159">
<mml:math id="m170">
<mml:mrow>
<mml:mi mathvariant="bold">C</mml:mi>
</mml:mrow>
</mml:math>
</inline-formula> based on sampled parameters <inline-formula id="inf160">
<mml:math id="m171">
<mml:mrow>
<mml:mi>&#x3b8;</mml:mi>
</mml:mrow>
</mml:math>
</inline-formula> and their fitness scores. More details on the method can be found in <xref ref-type="bibr" rid="B11">Glasmachers et al. (2010)</xref>. The optimization terminates when either the fitness score <inline-formula id="inf161">
<mml:math id="m172">
<mml:mrow>
<mml:mi>f</mml:mi>
<mml:mrow>
<mml:mo stretchy="false">(</mml:mo>
<mml:mrow>
<mml:mi>&#x3b8;</mml:mi>
</mml:mrow>
<mml:mo stretchy="false">)</mml:mo>
</mml:mrow>
</mml:mrow>
</mml:math>
</inline-formula> meets a predefined threshold <inline-formula id="inf162">
<mml:math id="m173">
<mml:mrow>
<mml:msub>
<mml:mrow>
<mml:mi>f</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mtext>target</mml:mtext>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula> or the iteration count <inline-formula id="inf163">
<mml:math id="m174">
<mml:mrow>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:math>
</inline-formula> exceeds the maximum limit <inline-formula id="inf164">
<mml:math id="m175">
<mml:mrow>
<mml:msub>
<mml:mrow>
<mml:mi>T</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>max</mml:mi>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula>, <italic>i.e.,</italic>
<disp-formula id="equ3">
<mml:math id="m176">
<mml:mrow>
<mml:mtext>Stop&#x2009;if&#x2009;</mml:mtext>
<mml:mi>f</mml:mi>
<mml:mfenced open="(" close=")">
<mml:mrow>
<mml:mi>&#x3b8;</mml:mi>
</mml:mrow>
</mml:mfenced>
<mml:mo>&#x2264;</mml:mo>
<mml:msub>
<mml:mrow>
<mml:mi>f</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mtext>target</mml:mtext>
</mml:mrow>
</mml:msub>
<mml:mtext>&#x2009;or&#x2009;</mml:mtext>
<mml:mi>t</mml:mi>
<mml:mo>&#x2265;</mml:mo>
<mml:msub>
<mml:mrow>
<mml:mi>T</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>max</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mo>.</mml:mo>
</mml:mrow>
</mml:math>
</disp-formula>
</p>
<p>The optimization is performed over a 14-dimensional parameter vector, denoted as <inline-formula id="inf165">
<mml:math id="m177">
<mml:mrow>
<mml:mi>&#x3b8;</mml:mi>
</mml:mrow>
</mml:math>
</inline-formula>, consisting of compliance, resistance, and spontaneous breathing parameters within the model. Specifically, the compliance components include <inline-formula id="inf166">
<mml:math id="m178">
<mml:mrow>
<mml:msub>
<mml:mrow>
<mml:mi>C</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mtext>ET</mml:mtext>
</mml:mrow>
</mml:msub>
<mml:mo>,</mml:mo>
<mml:msub>
<mml:mrow>
<mml:mi>C</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mtext>Lt</mml:mtext>
</mml:mrow>
</mml:msub>
<mml:mo>,</mml:mo>
<mml:msub>
<mml:mrow>
<mml:mi>C</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mtext>Lb</mml:mtext>
</mml:mrow>
</mml:msub>
<mml:mo>,</mml:mo>
<mml:msub>
<mml:mrow>
<mml:mi>C</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi mathvariant="italic">base</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mo>,</mml:mo>
<mml:mi>&#x3b2;</mml:mi>
<mml:mo>,</mml:mo>
<mml:msub>
<mml:mrow>
<mml:mi>C</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mtext>Thx</mml:mtext>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula>, representing the elastic properties of different respiratory compartments. The four resistance parameters, <inline-formula id="inf167">
<mml:math id="m179">
<mml:mrow>
<mml:msub>
<mml:mrow>
<mml:mi>R</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mtext>VenET</mml:mtext>
</mml:mrow>
</mml:msub>
<mml:mo>,</mml:mo>
<mml:msub>
<mml:mrow>
<mml:mi>K</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mn>1</mml:mn>
<mml:mtext>ETLt</mml:mtext>
</mml:mrow>
</mml:msub>
<mml:mo>,</mml:mo>
<mml:msub>
<mml:mrow>
<mml:mi>K</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mn>1</mml:mn>
<mml:mtext>LtLb</mml:mtext>
</mml:mrow>
</mml:msub>
<mml:mo>,</mml:mo>
<mml:msub>
<mml:mrow>
<mml:mi>R</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mtext>LbLa</mml:mtext>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula>, that define airflow resistance across various airway segments. Finally, four spontaneous breathing parameters, <inline-formula id="inf168">
<mml:math id="m180">
<mml:mrow>
<mml:msub>
<mml:mrow>
<mml:mi>P</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mtext>peak</mml:mtext>
</mml:mrow>
</mml:msub>
<mml:mo>,</mml:mo>
<mml:msub>
<mml:mrow>
<mml:mi>t</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mtext>RisePT</mml:mtext>
</mml:mrow>
</mml:msub>
<mml:mo>,</mml:mo>
<mml:msub>
<mml:mrow>
<mml:mi>t</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mtext>InspPT</mml:mtext>
</mml:mrow>
</mml:msub>
<mml:mo>,</mml:mo>
<mml:msub>
<mml:mrow>
<mml:mi>t</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mtext>ExpPT</mml:mtext>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula>, characterize the peak inspiratory effort, and the timing of different phases in the breathing cycle. The list of optimized parameters and their physiological bounds is provided in <xref ref-type="table" rid="T2">Table 2</xref>; these bounds serve as physiologically informed guidelines and can be adjusted to achieve the best fit for individual breaths. These parameters collectively form the search space explored by xNES to minimize the discrepancy between simulated and observed ventilator waveforms. To analyse the effect of suctioning on the VWFs, we optimized individual breaths before and after the suctioning procedure using the xNES algorithm. Due to the stochastic nature of xNES, we performed 10 optimization runs per breath to capture the range of possible solutions. This approach accounts for variability in the optimization process and enables a robust statistical comparison of parameter distributions before and after secretion removal by evaluating multiple plausible solutions per breath. <xref ref-type="fig" rid="F4">Figure 4</xref> compares pre-suction (top) and post-suction (bottom) ventilator waveforms for pressure, flow, and volume, illustrating that the optimization process generates multiple plausible parameter sets per breath, each capable of closely reproducing the observed VWFs. This non-uniqueness reflects a fundamental challenge in physiological modelling, as parameters related to respiratory muscle pressure cannot be uniquely estimated from ventilator waveforms alone. Addressing this limitation may require integrating oesophageal pressure measurements or applying stronger priors and Bayesian techniques to constrain the parameter space within physiologically plausible bounds (<xref ref-type="bibr" rid="B32">Tsaneva-Atanasova et al., 2025</xref>; <xref ref-type="bibr" rid="B8">Cheng et al., 2025</xref>). While formal confidence intervals were not calculated in this study, parameter ambiguity was mitigated by imposing physiological bounds during the xNES optimization (<xref ref-type="table" rid="T2">Table 2</xref>). To evaluate the model fit, we computed the Root Mean Square Error (RMSE) and the coefficient of determination <inline-formula id="inf169">
<mml:math id="m181">
<mml:mrow>
<mml:mo stretchy="false">(</mml:mo>
<mml:mrow>
<mml:msup>
<mml:mrow>
<mml:mi>R</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mn>2</mml:mn>
</mml:mrow>
</mml:msup>
</mml:mrow>
<mml:mo stretchy="false">)</mml:mo>
</mml:mrow>
</mml:math>
</inline-formula> for airway pressure <inline-formula id="inf170">
<mml:math id="m182">
<mml:mrow>
<mml:mo stretchy="false">(</mml:mo>
<mml:mrow>
<mml:msub>
<mml:mrow>
<mml:mi>P</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mtext>aw</mml:mtext>
</mml:mrow>
</mml:msub>
</mml:mrow>
<mml:mo stretchy="false">)</mml:mo>
</mml:mrow>
</mml:math>
</inline-formula>, flow <inline-formula id="inf171">
<mml:math id="m183">
<mml:mrow>
<mml:mo stretchy="false">(</mml:mo>
<mml:mrow>
<mml:msub>
<mml:mrow>
<mml:mi>Q</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mtext>aw</mml:mtext>
</mml:mrow>
</mml:msub>
</mml:mrow>
<mml:mo stretchy="false">)</mml:mo>
</mml:mrow>
</mml:math>
</inline-formula>, and volume <inline-formula id="inf172">
<mml:math id="m184">
<mml:mrow>
<mml:mo stretchy="false">(</mml:mo>
<mml:mrow>
<mml:mi>V</mml:mi>
</mml:mrow>
<mml:mo stretchy="false">)</mml:mo>
</mml:mrow>
</mml:math>
</inline-formula> waveforms across the analysed breaths. The RMSE and <inline-formula id="inf173">
<mml:math id="m185">
<mml:mrow>
<mml:msup>
<mml:mrow>
<mml:mi>R</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mn>2</mml:mn>
</mml:mrow>
</mml:msup>
</mml:mrow>
</mml:math>
</inline-formula> values in <xref ref-type="table" rid="TA1">Table A1</xref> indicate good agreement between the model and experimental data across both pre- and post-suction breaths. RMSE values for airway pressure remained below 2.2 mmHg, and flow and volume errors were within physiologically reasonable ranges. The <inline-formula id="inf174">
<mml:math id="m186">
<mml:mrow>
<mml:msup>
<mml:mrow>
<mml:mi>R</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mn>2</mml:mn>
</mml:mrow>
</mml:msup>
</mml:mrow>
</mml:math>
</inline-formula> values were consistently above 0.75 for all signals, with most exceeding 0.85, confirming that the model accurately captures key features of patient-specific respiratory dynamics.</p>
<fig id="F4" position="float">
<label>FIGURE 4</label>
<caption>
<p>Comparison of optimisation results for pressure, flow, and volume waveforms: pre-suction (top) and post-suction (bottom). The recorded VWF data (red) is overlaid with five optimized VWF profiles (grey), demonstrating consistent alignment between the recorded data and optimised solutions before and after secretion clearance.</p>
</caption>
<graphic xlink:href="fphys-16-1612501-g004.tif"/>
</fig>
</sec>
</sec>
<sec id="s3">
<title>3 Secretion quantification using ventilator waveforms</title>
<p>The ability to detect and quantify airway secretion accumulation remains a critical yet unresolved challenge in mechanical ventilation. Traditional methods for assessing secretion accumulation have notable limitations. One common approach is auscultation, which involves listening to lung sounds with a stethoscope. This method is inherently subjective and often unreliable in sedated or intubated patients. Another common practice is secretion volume estimation, typically performed after suctioning, which provides only retrospective insight and relies on visual assessment and clinical judgment rather than standardized or predictive metrics. Although ventilator waveforms are routinely monitored at the bedside, their potential for secretion monitoring remains underutilized due to the absence of structured methods for quantifying secretion load and its impact on respiratory dynamics. To address this gap, we use our CPAP-PS model to simulate secretion-related waveform alterations, providing a controlled framework for understanding the impact of secretion accumulation on ventilation patterns and enabling the development of quantitative metrics for secretion detection. To quantify secretion accumulation, various features derived from ventilator waveform data were considered, including peak inspiratory flow <inline-formula id="inf186">
<mml:math id="m198">
<mml:mrow>
<mml:mo stretchy="false">(</mml:mo>
<mml:mrow>
<mml:msub>
<mml:mrow>
<mml:mi>Q</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mtext>max</mml:mtext>
</mml:mrow>
</mml:msub>
</mml:mrow>
<mml:mo stretchy="false">)</mml:mo>
</mml:mrow>
</mml:math>
</inline-formula>, tidal volume <inline-formula id="inf187">
<mml:math id="m199">
<mml:mrow>
<mml:mo stretchy="false">(</mml:mo>
<mml:mrow>
<mml:msub>
<mml:mrow>
<mml:mi>V</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mtext>T</mml:mtext>
</mml:mrow>
</mml:msub>
</mml:mrow>
<mml:mo stretchy="false">)</mml:mo>
</mml:mrow>
</mml:math>
</inline-formula>, and the expiratory time constant <inline-formula id="inf188">
<mml:math id="m200">
<mml:mrow>
<mml:mo stretchy="false">(</mml:mo>
<mml:mrow>
<mml:mi>&#x3c4;</mml:mi>
</mml:mrow>
<mml:mo stretchy="false">)</mml:mo>
</mml:mrow>
</mml:math>
</inline-formula>. The peak inspiratory flow was computed as the maximum value of the flow waveform during the inspiratory phase. Tidal volume was obtained from the peak of the volume waveform, corresponding to the maximum lung inflation in a breath cycle. The expiratory time constant <inline-formula id="inf189">
<mml:math id="m201">
<mml:mrow>
<mml:mo stretchy="false">(</mml:mo>
<mml:mrow>
<mml:mi>&#x3c4;</mml:mi>
</mml:mrow>
<mml:mo stretchy="false">)</mml:mo>
</mml:mrow>
</mml:math>
</inline-formula> was estimated by fitting an exponential decay model to the expiratory portion of the volume waveform and extracting the decay constant from the fitted curve. These waveform features capture both inspiratory and expiratory airflow characteristics, thus providing a basis for assessing secretion-induced changes in respiratory dynamics.</p>
<sec id="s3-1">
<title>3.1 Secretion analysis on VWF synthetic data</title>
<p>To evaluate the impact of secretion accumulation on ventilator waveforms, we generated a synthetic dataset using the CPAP-PS ventilator model developed in this study. Secretion levels were assumed here to be proportional to increased airway resistance, with specific parameter variations introduced to simulate different secretion accumulations. In this exploratory analysis, we selected resistance distributions to systematically probe how varying resistance levels affect ventilator waveforms. We defined a baseline resistance mean of 0.001 mmHg<inline-formula id="inf190">
<mml:math id="m202">
<mml:mrow>
<mml:mo>&#x22c5;</mml:mo>
</mml:mrow>
</mml:math>
</inline-formula> s/mL with a standard deviation of 0.0003 mmHg<inline-formula id="inf191">
<mml:math id="m203">
<mml:mrow>
<mml:mo>&#x22c5;</mml:mo>
</mml:mrow>
</mml:math>
</inline-formula> s/mL to capture variability in breaths. To examine moderate and high secretion scenarios, we shifted the mean to two- and threefold the baseline, respectively. This pragmatic approach allows us to identify waveform features that are indicative of changes in airway resistance. While this analysis focuses solely on airway resistance, confounding factors such as lung compliance and patient effort also influence these waveform features. In the model, the airway resistance parameters <inline-formula id="inf192">
<mml:math id="m204">
<mml:mrow>
<mml:msub>
<mml:mrow>
<mml:mi>K</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mn>1</mml:mn>
<mml:mtext>ETLt</mml:mtext>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula> and <inline-formula id="inf193">
<mml:math id="m205">
<mml:mrow>
<mml:msub>
<mml:mrow>
<mml:mi>K</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mn>1</mml:mn>
<mml:mtext>LtLb</mml:mtext>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula> were assumed to follow a normal distribution, with mean values of <inline-formula id="inf194">
<mml:math id="m206">
<mml:mrow>
<mml:mi mathvariant="script">N</mml:mi>
<mml:mrow>
<mml:mo stretchy="false">(</mml:mo>
<mml:mrow>
<mml:mn>0.001</mml:mn>
<mml:mo>,</mml:mo>
<mml:mn>0.0003</mml:mn>
</mml:mrow>
<mml:mo stretchy="false">)</mml:mo>
</mml:mrow>
</mml:mrow>
</mml:math>
</inline-formula> for low resistance, <inline-formula id="inf195">
<mml:math id="m207">
<mml:mrow>
<mml:mi mathvariant="script">N</mml:mi>
<mml:mrow>
<mml:mo stretchy="false">(</mml:mo>
<mml:mrow>
<mml:mn>0.002</mml:mn>
<mml:mo>,</mml:mo>
<mml:mn>0.0003</mml:mn>
</mml:mrow>
<mml:mo stretchy="false">)</mml:mo>
</mml:mrow>
</mml:mrow>
</mml:math>
</inline-formula> for medium resistance, and <inline-formula id="inf196">
<mml:math id="m208">
<mml:mrow>
<mml:mi mathvariant="script">N</mml:mi>
<mml:mrow>
<mml:mo stretchy="false">(</mml:mo>
<mml:mrow>
<mml:mn>0.003</mml:mn>
<mml:mo>,</mml:mo>
<mml:mn>0.0003</mml:mn>
</mml:mrow>
<mml:mo stretchy="false">)</mml:mo>
</mml:mrow>
</mml:mrow>
</mml:math>
</inline-formula> for high resistance. <xref ref-type="fig" rid="F5">Figure 5</xref> (left) shows the typical airway resistance distributions corresponding to different secretion levels. The resistance increase was chosen to be twice and thrice the baseline value to represent medium and high secretion levels, respectively. To introduce breath-to-breath variability, the muscle pressure signal was varied for each simulated breath by randomly sampling parameters of <inline-formula id="inf197">
<mml:math id="m209">
<mml:mrow>
<mml:msub>
<mml:mrow>
<mml:mi>P</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi mathvariant="italic">Mus</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mrow>
<mml:mo stretchy="false">(</mml:mo>
<mml:mrow>
<mml:mi>t</mml:mi>
</mml:mrow>
<mml:mo stretchy="false">)</mml:mo>
</mml:mrow>
</mml:mrow>
</mml:math>
</inline-formula>, including <inline-formula id="inf198">
<mml:math id="m210">
<mml:mrow>
<mml:msub>
<mml:mrow>
<mml:mi>P</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mtext>peak</mml:mtext>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula>, <inline-formula id="inf199">
<mml:math id="m211">
<mml:mrow>
<mml:msub>
<mml:mrow>
<mml:mi>t</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mtext>RisePT</mml:mtext>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula>, <inline-formula id="inf200">
<mml:math id="m212">
<mml:mrow>
<mml:msub>
<mml:mrow>
<mml:mi>t</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mtext>ExpPT</mml:mtext>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula>, and the total cycle duration <inline-formula id="inf201">
<mml:math id="m213">
<mml:mrow>
<mml:mo stretchy="false">(</mml:mo>
<mml:mrow>
<mml:msub>
<mml:mrow>
<mml:mi>t</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mtext>cyclePT</mml:mtext>
</mml:mrow>
</mml:msub>
</mml:mrow>
<mml:mo stretchy="false">)</mml:mo>
</mml:mrow>
</mml:math>
</inline-formula>. For each simulated breath, the muscle pressure signal <inline-formula id="inf202">
<mml:math id="m214">
<mml:mrow>
<mml:mo stretchy="false">(</mml:mo>
<mml:mrow>
<mml:msub>
<mml:mrow>
<mml:mi>P</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi mathvariant="italic">Mus</mml:mi>
</mml:mrow>
</mml:msub>
</mml:mrow>
<mml:mo stretchy="false">)</mml:mo>
</mml:mrow>
</mml:math>
</inline-formula> was generated by sampling key parameters from uniform distributions: the total cycle time <inline-formula id="inf203">
<mml:math id="m215">
<mml:mrow>
<mml:msub>
<mml:mrow>
<mml:mi>t</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mtext>cycle</mml:mtext>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula> was drawn from <inline-formula id="inf204">
<mml:math id="m216">
<mml:mrow>
<mml:mi mathvariant="script">U</mml:mi>
<mml:mrow>
<mml:mo stretchy="false">(</mml:mo>
<mml:mrow>
<mml:mn>4.0</mml:mn>
<mml:mo>,</mml:mo>
<mml:mn>5.0</mml:mn>
</mml:mrow>
<mml:mo stretchy="false">)</mml:mo>
</mml:mrow>
</mml:mrow>
</mml:math>
</inline-formula>, peak inspiratory pressure <inline-formula id="inf205">
<mml:math id="m217">
<mml:mrow>
<mml:msub>
<mml:mrow>
<mml:mi>P</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mtext>peak</mml:mtext>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula> from <inline-formula id="inf206">
<mml:math id="m218">
<mml:mrow>
<mml:mi mathvariant="script">U</mml:mi>
<mml:mrow>
<mml:mo stretchy="false">(</mml:mo>
<mml:mrow>
<mml:mo>&#x2212;</mml:mo>
<mml:mn>5.0</mml:mn>
<mml:mo>,</mml:mo>
<mml:mo>&#x2212;</mml:mo>
<mml:mn>4.0</mml:mn>
</mml:mrow>
<mml:mo stretchy="false">)</mml:mo>
</mml:mrow>
</mml:mrow>
</mml:math>
</inline-formula>, inspiratory rise time <inline-formula id="inf207">
<mml:math id="m219">
<mml:mrow>
<mml:msub>
<mml:mrow>
<mml:mi>t</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mtext>RisePT</mml:mtext>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula> from <inline-formula id="inf208">
<mml:math id="m220">
<mml:mrow>
<mml:mi mathvariant="script">U</mml:mi>
<mml:mrow>
<mml:mo stretchy="false">(</mml:mo>
<mml:mrow>
<mml:mn>0.5</mml:mn>
<mml:mo>,</mml:mo>
<mml:mn>1.0</mml:mn>
</mml:mrow>
<mml:mo stretchy="false">)</mml:mo>
</mml:mrow>
</mml:mrow>
</mml:math>
</inline-formula>, and expiratory time <inline-formula id="inf209">
<mml:math id="m221">
<mml:mrow>
<mml:msub>
<mml:mrow>
<mml:mi>t</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mtext>ExpPT</mml:mtext>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula> from <inline-formula id="inf210">
<mml:math id="m222">
<mml:mrow>
<mml:mi mathvariant="script">U</mml:mi>
<mml:mrow>
<mml:mo stretchy="false">(</mml:mo>
<mml:mrow>
<mml:mn>0.1</mml:mn>
<mml:mo>,</mml:mo>
<mml:mn>1.0</mml:mn>
</mml:mrow>
<mml:mo stretchy="false">)</mml:mo>
</mml:mrow>
</mml:mrow>
</mml:math>
</inline-formula>. A total of 30 synthetic patients were simulated, equally distributed across three secretion levels (10 per category). Each patient underwent 12 simulated breaths pre-suction and 12 post-suction, resulting in 24 breaths per patient. Patients were categorized based on their pre- and post-suction resistance distributions. High secretion patients had a pre-suction resistance distribution of <inline-formula id="inf211">
<mml:math id="m223">
<mml:mrow>
<mml:mi mathvariant="script">N</mml:mi>
<mml:mrow>
<mml:mo stretchy="false">(</mml:mo>
<mml:mrow>
<mml:mn>0.003</mml:mn>
<mml:mo>,</mml:mo>
<mml:mn>0.0003</mml:mn>
</mml:mrow>
<mml:mo stretchy="false">)</mml:mo>
</mml:mrow>
</mml:mrow>
</mml:math>
</inline-formula> and post-suction <inline-formula id="inf212">
<mml:math id="m224">
<mml:mrow>
<mml:mi mathvariant="script">N</mml:mi>
<mml:mrow>
<mml:mo stretchy="false">(</mml:mo>
<mml:mrow>
<mml:mn>0.001</mml:mn>
<mml:mo>,</mml:mo>
<mml:mn>0.0003</mml:mn>
</mml:mrow>
<mml:mo stretchy="false">)</mml:mo>
</mml:mrow>
</mml:mrow>
</mml:math>
</inline-formula>, medium secretion patients had a pre-suction resistance of <inline-formula id="inf213">
<mml:math id="m225">
<mml:mrow>
<mml:mi mathvariant="script">N</mml:mi>
<mml:mrow>
<mml:mo stretchy="false">(</mml:mo>
<mml:mrow>
<mml:mn>0.002</mml:mn>
<mml:mo>,</mml:mo>
<mml:mn>0.0003</mml:mn>
</mml:mrow>
<mml:mo stretchy="false">)</mml:mo>
</mml:mrow>
</mml:mrow>
</mml:math>
</inline-formula> and post-suction <inline-formula id="inf214">
<mml:math id="m226">
<mml:mrow>
<mml:mi mathvariant="script">N</mml:mi>
<mml:mrow>
<mml:mo stretchy="false">(</mml:mo>
<mml:mrow>
<mml:mn>0.001</mml:mn>
<mml:mo>,</mml:mo>
<mml:mn>0.0003</mml:mn>
</mml:mrow>
<mml:mo stretchy="false">)</mml:mo>
</mml:mrow>
</mml:mrow>
</mml:math>
</inline-formula>, while low secretion patients maintained a resistance distribution of <inline-formula id="inf215">
<mml:math id="m227">
<mml:mrow>
<mml:mi mathvariant="script">N</mml:mi>
<mml:mrow>
<mml:mo stretchy="false">(</mml:mo>
<mml:mrow>
<mml:mn>0.001</mml:mn>
<mml:mo>,</mml:mo>
<mml:mn>0.0003</mml:mn>
</mml:mrow>
<mml:mo stretchy="false">)</mml:mo>
</mml:mrow>
</mml:mrow>
</mml:math>
</inline-formula> before and after the suctioning procedure. The synthetic ventilator waveform data was then used to analyse the effects of secretion accumulation and removal on the ventilator waveforms.</p>
<fig id="F5" position="float">
<label>FIGURE 5</label>
<caption>
<p>Distribution of airway resistance parameters and clustering based on ventilator waveform features. Left: Histograms of resistance values across three secretion levels. Middle: Box plots showing separation in WSD<inline-formula id="inf216">
<mml:math id="m228">
<mml:mrow>
<mml:mo stretchy="false">(</mml:mo>
<mml:mrow>
<mml:msub>
<mml:mrow>
<mml:mi>Q</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi mathvariant="italic">max</mml:mi>
</mml:mrow>
</mml:msub>
</mml:mrow>
<mml:mo stretchy="false">)</mml:mo>
</mml:mrow>
</mml:math>
</inline-formula> across secretion levels. Right: UMAP projection of patient clusters, with Low (blue), Medium (green), and High (red) secretion levels.</p>
</caption>
<graphic xlink:href="fphys-16-1612501-g005.tif"/>
</fig>
<p>A quantitative analysis was conducted to evaluate secretion-related changes in ventilator waveforms using the synthetic dataset. For each of the 30 synthetic patients, peak inspiratory flow <inline-formula id="inf217">
<mml:math id="m229">
<mml:mrow>
<mml:mo stretchy="false">(</mml:mo>
<mml:mrow>
<mml:msub>
<mml:mrow>
<mml:mi>Q</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mtext>max</mml:mtext>
</mml:mrow>
</mml:msub>
</mml:mrow>
<mml:mo stretchy="false">)</mml:mo>
</mml:mrow>
</mml:math>
</inline-formula>, tidal volume <inline-formula id="inf218">
<mml:math id="m230">
<mml:mrow>
<mml:mo stretchy="false">(</mml:mo>
<mml:mrow>
<mml:msub>
<mml:mrow>
<mml:mi>V</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mtext>T</mml:mtext>
</mml:mrow>
</mml:msub>
</mml:mrow>
<mml:mo stretchy="false">)</mml:mo>
</mml:mrow>
</mml:math>
</inline-formula>, and the expiratory time constant <inline-formula id="inf219">
<mml:math id="m231">
<mml:mrow>
<mml:mo stretchy="false">(</mml:mo>
<mml:mrow>
<mml:mi>&#x3c4;</mml:mi>
</mml:mrow>
<mml:mo stretchy="false">)</mml:mo>
</mml:mrow>
</mml:math>
</inline-formula> were computed over 12 simulated breaths before and after suctioning. The Wasserstein distance (WSD) was used to quantify the change in distribution of each feature across the pre- and post-suction states, resulting in three WSD scores per patient. <xref ref-type="fig" rid="F5">Figure 5</xref> (middle) shows a clear separation in the distributions of the peak inspiratory flows with different secretion levels. These WSD-derived metrics were then used as input to a Uniform Manifold Approximation and Projection (UMAP) algorithm, which clustered patients based on secretion accumulation. UMAP is a non-linear dimensionality reduction technique that preserves both local and global data structure, making it well-suited for clustering tasks in high-dimensional datasets (<xref ref-type="bibr" rid="B20">McInnes et al., 2018</xref>). It is particularly effective for visualizing complex data by projecting it into lower dimensions (e.g., 2D or 3D) while maintaining meaningful relationships between observations (patients, in this case). In this analysis, UMAP was applied as an unsupervised clustering method, and the resulting embeddings revealed distinct patient clusters corresponding to low, medium, and high secretion levels. These results suggest that waveform-derived features can provide sufficient information to categorize patients by secretion accumulation, highlighting the potential of ventilator waveform analysis as a non-invasive tool for secretion assessment.</p>
</sec>
<sec id="s3-2">
<title>3.2 Secretion analysis on VWF patient data</title>
<p>To extend the insights gained from synthetic VWF data analysis, we applied the same feature extraction methodology to real patient VWF data, where secretion levels were clinically assessed. The real-world VWF signals, recorded over short time intervals before and after airway clearance procedures, were inherently more variable and susceptible to noise. We analysed data from 35 patients, of whom four had copious secretions, seven had large, nine had moderate, 13 had small, and two had no detectable secretions. The analysis of individual breaths revealed noticeable shifts in the distributions of peak inspiratory flow rate following suctioning. However, changes in tidal volume and expiratory time constant were less discernible, likely due to signal variability and the subtle nature of secretion-related effects on these features. To provide a more detailed representation of the inspiratory phase, we introduced two slope-based metrics, namely, the flow slope and the volume slope. The flow slope <inline-formula id="inf220">
<mml:math id="m232">
<mml:mrow>
<mml:mo stretchy="false">(</mml:mo>
<mml:mrow>
<mml:msub>
<mml:mrow>
<mml:mi>Q</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mtext>slope</mml:mtext>
</mml:mrow>
</mml:msub>
</mml:mrow>
<mml:mo stretchy="false">)</mml:mo>
</mml:mrow>
</mml:math>
</inline-formula> quantifies the rate of decline in inspiratory flow from the point of maximum flow to the point of maximum volume, computed as <inline-formula id="inf221">
<mml:math id="m233">
<mml:mrow>
<mml:mo stretchy="false">(</mml:mo>
<mml:mrow>
<mml:msub>
<mml:mrow>
<mml:mi>Q</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mtext>Qmax</mml:mtext>
</mml:mrow>
</mml:msub>
<mml:mo>&#x2212;</mml:mo>
<mml:msub>
<mml:mrow>
<mml:mi>Q</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mtext>Vmax</mml:mtext>
</mml:mrow>
</mml:msub>
</mml:mrow>
<mml:mo stretchy="false">)</mml:mo>
</mml:mrow>
<mml:mo>/</mml:mo>
<mml:mrow>
<mml:mo stretchy="false">(</mml:mo>
<mml:mrow>
<mml:msub>
<mml:mrow>
<mml:mi>t</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mtext>Vmax</mml:mtext>
</mml:mrow>
</mml:msub>
<mml:mo>&#x2212;</mml:mo>
<mml:msub>
<mml:mrow>
<mml:mi>t</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mtext>Qmax</mml:mtext>
</mml:mrow>
</mml:msub>
</mml:mrow>
<mml:mo stretchy="false">)</mml:mo>
</mml:mrow>
</mml:math>
</inline-formula>. The volume slope <inline-formula id="inf222">
<mml:math id="m234">
<mml:mrow>
<mml:mo stretchy="false">(</mml:mo>
<mml:mrow>
<mml:msub>
<mml:mrow>
<mml:mi>V</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mtext>slope</mml:mtext>
</mml:mrow>
</mml:msub>
</mml:mrow>
<mml:mo stretchy="false">)</mml:mo>
</mml:mrow>
</mml:math>
</inline-formula> represents the rate of volume increase over this same interval, defined as <inline-formula id="inf223">
<mml:math id="m235">
<mml:mrow>
<mml:mo stretchy="false">(</mml:mo>
<mml:mrow>
<mml:msub>
<mml:mrow>
<mml:mi>V</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mtext>Vmax</mml:mtext>
</mml:mrow>
</mml:msub>
<mml:mo>&#x2212;</mml:mo>
<mml:msub>
<mml:mrow>
<mml:mi>V</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mtext>Qmax</mml:mtext>
</mml:mrow>
</mml:msub>
</mml:mrow>
<mml:mo stretchy="false">)</mml:mo>
</mml:mrow>
<mml:mo>/</mml:mo>
<mml:mrow>
<mml:mo stretchy="false">(</mml:mo>
<mml:mrow>
<mml:msub>
<mml:mrow>
<mml:mi>t</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mtext>Vmax</mml:mtext>
</mml:mrow>
</mml:msub>
<mml:mo>&#x2212;</mml:mo>
<mml:msub>
<mml:mrow>
<mml:mi>t</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mtext>Qmax</mml:mtext>
</mml:mrow>
</mml:msub>
</mml:mrow>
<mml:mo stretchy="false">)</mml:mo>
</mml:mrow>
</mml:math>
</inline-formula>. Here, <inline-formula id="inf224">
<mml:math id="m236">
<mml:mrow>
<mml:msub>
<mml:mrow>
<mml:mi>Q</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mtext>Qmax</mml:mtext>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula> denotes the peak inspiratory flow, while <inline-formula id="inf225">
<mml:math id="m237">
<mml:mrow>
<mml:msub>
<mml:mrow>
<mml:mi>V</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mtext>Qmax</mml:mtext>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula> is the lung volume at the time of this peak. Conversely, <inline-formula id="inf226">
<mml:math id="m238">
<mml:mrow>
<mml:msub>
<mml:mrow>
<mml:mi>V</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mtext>Vmax</mml:mtext>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula> corresponds to the maximum lung volume, and <inline-formula id="inf227">
<mml:math id="m239">
<mml:mrow>
<mml:msub>
<mml:mrow>
<mml:mi>Q</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mtext>Vmax</mml:mtext>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula> is the flow at that time. The interval between <inline-formula id="inf228">
<mml:math id="m240">
<mml:mrow>
<mml:msub>
<mml:mrow>
<mml:mi>t</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mtext>Qmax</mml:mtext>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula> and <inline-formula id="inf229">
<mml:math id="m241">
<mml:mrow>
<mml:msub>
<mml:mrow>
<mml:mi>t</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mtext>Vmax</mml:mtext>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula> captures the late-inspiratory segment, during which flow rate typically falls as the lungs approach peak inflation. This segment is particularly sensitive to airway resistance, lung compliance, and patient&#x2013;ventilator interaction. The slope-based metrics introduced here characterize the temporal evolution of the inspiratory waveform, offering a quantitative description of breath mechanics. A reduced <inline-formula id="inf230">
<mml:math id="m242">
<mml:mrow>
<mml:msub>
<mml:mrow>
<mml:mi>Q</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mtext>slope</mml:mtext>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula> may indicate increased airway resistance or partial obstruction, potentially due to secretion accumulation. In contrast, deviations in <inline-formula id="inf231">
<mml:math id="m243">
<mml:mrow>
<mml:msub>
<mml:mrow>
<mml:mi>V</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mtext>slope</mml:mtext>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula> may be associated with changes in lung compliance or altered volume recruitment during inspiration. Together, these measures serve as physiologically meaningful indicators that support the detection and interpretation of secretion-related changes in the VWFs. To quantify the relationship between secretion levels and ventilator waveform features, we computed WSDs using <inline-formula id="inf232">
<mml:math id="m244">
<mml:mrow>
<mml:msub>
<mml:mrow>
<mml:mi>Q</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mtext>max</mml:mtext>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula>, <inline-formula id="inf233">
<mml:math id="m245">
<mml:mrow>
<mml:msub>
<mml:mrow>
<mml:mi>Q</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mtext>slope</mml:mtext>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula>, and <inline-formula id="inf234">
<mml:math id="m246">
<mml:mrow>
<mml:msub>
<mml:mrow>
<mml:mi>V</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mtext>slope</mml:mtext>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula>, thereby integrating both conventional and slope-based descriptors of VWFs.</p>
<p>
<xref ref-type="fig" rid="F6">Figure 6</xref> presents a box plots comparing WSD scores across different secretion levels, showing that WSD derived from peak inspiratory flow rates effectively distinguishes between varying levels of secretion. Features such as <inline-formula id="inf235">
<mml:math id="m247">
<mml:mrow>
<mml:msub>
<mml:mrow>
<mml:mi>Q</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mtext>slope</mml:mtext>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula>, and <inline-formula id="inf236">
<mml:math id="m248">
<mml:mrow>
<mml:msub>
<mml:mrow>
<mml:mi>V</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mtext>slope</mml:mtext>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula> across different secretion categories reveals meaningful trends. Patients in the high secretion group exhibit significantly higher WSD values compared to those in the low group, indicating greater variability in their VWFs. This suggests that it is feasible to distinguish between low and high secretion accumulations using WSD-based metrics. However, the overlap in WSD values between the medium and high groups, as evidenced by non-significant statistical differences in several features, highlights the difficulty in clearly separating these two categories. These findings imply that while WSD is effective in capturing waveform dissimilarity at the extremes of secretion accumulation, it may require further enhancement or combination with additional features to reliably discriminate intermediate secretion levels. To investigate whether patients could be classified based on ventilator waveform changes associated with secretion levels, we applied UMAP, to cluster patients using the features extracted from the VWFs. <xref ref-type="fig" rid="F7">Figure 7</xref> illustrates the resulting patient clusters, showing clear separation between low and high secretion levels as determined by WSD scores, while medium level exhibits overlap between the two groups. These findings highlight the potential of ventilator waveform analysis for secretion detection and show that the quantified waveform features can be effectively leveraged by machine learning algorithms to enable automated detection and subsequent clustering of patients with similar secretion levels.</p>
<fig id="F6" position="float">
<label>FIGURE 6</label>
<caption>
<p>Box plots showing WSD-based considering three features (<inline-formula id="inf237">
<mml:math id="m249">
<mml:mrow>
<mml:msub>
<mml:mrow>
<mml:mi>Q</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi mathvariant="italic">max</mml:mi>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula>, <inline-formula id="inf238">
<mml:math id="m250">
<mml:mrow>
<mml:msub>
<mml:mrow>
<mml:mi>Q</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi mathvariant="italic">slope</mml:mi>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula>, and <inline-formula id="inf239">
<mml:math id="m251">
<mml:mrow>
<mml:msub>
<mml:mrow>
<mml:mi>V</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi mathvariant="italic">slope</mml:mi>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula>) across secretion categories: Low, Medium, and High. Asterisks indicate statistically significant differences between groups based on the Mann&#x2013;Whitney U test: <sup>&#x2a;</sup> <inline-formula id="inf240">
<mml:math id="m252">
<mml:mrow>
<mml:mi>p</mml:mi>
<mml:mo>&#x3c;</mml:mo>
<mml:mn>0.05</mml:mn>
</mml:mrow>
</mml:math>
</inline-formula>, <sup>&#x2a;&#x2a;</sup>
<inline-formula id="inf241">
<mml:math id="m253">
<mml:mrow>
<mml:mi>p</mml:mi>
<mml:mo>&#x3c;</mml:mo>
<mml:mn>0.01</mml:mn>
</mml:mrow>
</mml:math>
</inline-formula>, <sup>&#x2a;&#x2a;&#x2a;</sup>
<inline-formula id="inf242">
<mml:math id="m254">
<mml:mrow>
<mml:mi>p</mml:mi>
<mml:mo>&#x3c;</mml:mo>
<mml:mn>0.001</mml:mn>
</mml:mrow>
</mml:math>
</inline-formula>; <italic>ns</italic> denotes not significant.</p>
</caption>
<graphic xlink:href="fphys-16-1612501-g006.tif"/>
</fig>
<fig id="F7" position="float">
<label>FIGURE 7</label>
<caption>
<p>UMAP plot showing patient clustering based on secretion levels using WSD-based measures. Left: Patients categorized into five clinical secretion levels: none, small, moderate, large, and copious. Right: Patients grouped into three aggregated secretion levels: low, medium, and high.</p>
</caption>
<graphic xlink:href="fphys-16-1612501-g007.tif"/>
</fig>
</sec>
<sec id="s3-3">
<title>3.3 Secretion index: A novel metric for airway secretion quantification</title>
<p>A comprehensive assessment of secretion accumulation requires a method that captures its gradual progression and impact on ventilation dynamics. To address this, we have developed a metric that quantifies secretion accumulation by tracking continuous changes in ventilator waveforms over time. Our proposed metric is the Secretion Index (SI) defined as<disp-formula id="e10">
<mml:math id="m255">
<mml:mrow>
<mml:mi>S</mml:mi>
<mml:mi>I</mml:mi>
<mml:mo>&#x3d;</mml:mo>
<mml:mfrac>
<mml:mrow>
<mml:mfenced open="[" close="]">
<mml:mrow>
<mml:msub>
<mml:mrow>
<mml:mi>Q</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mtext>max</mml:mtext>
</mml:mrow>
</mml:msub>
<mml:mo>&#x2b;</mml:mo>
<mml:mfrac>
<mml:mrow>
<mml:msub>
<mml:mrow>
<mml:mi>V</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mtext>T</mml:mtext>
</mml:mrow>
</mml:msub>
</mml:mrow>
<mml:mrow>
<mml:mi>&#x3c4;</mml:mi>
</mml:mrow>
</mml:mfrac>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
<mml:mrow>
<mml:mfenced open="[" close="]">
<mml:mrow>
<mml:msub>
<mml:mrow>
<mml:mi>Q</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mtext>max0</mml:mtext>
</mml:mrow>
</mml:msub>
<mml:mo>&#x2b;</mml:mo>
<mml:mfrac>
<mml:mrow>
<mml:msub>
<mml:mrow>
<mml:mi>V</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mtext>T0</mml:mtext>
</mml:mrow>
</mml:msub>
</mml:mrow>
<mml:mrow>
<mml:msub>
<mml:mrow>
<mml:mi>&#x3c4;</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mn>0</mml:mn>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:mfrac>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
</mml:mfrac>
<mml:mo>,</mml:mo>
</mml:mrow>
</mml:math>
</disp-formula>where <inline-formula id="inf243">
<mml:math id="m256">
<mml:mrow>
<mml:msub>
<mml:mrow>
<mml:mi>Q</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mtext>max</mml:mtext>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula> represents the peak inspiratory flow, <inline-formula id="inf244">
<mml:math id="m257">
<mml:mrow>
<mml:msub>
<mml:mrow>
<mml:mi>V</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mtext>T</mml:mtext>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula> denotes the tidal volume, and <inline-formula id="inf245">
<mml:math id="m258">
<mml:mrow>
<mml:mi>&#x3c4;</mml:mi>
</mml:mrow>
</mml:math>
</inline-formula> is the expiratory time constant. The denominator serves as the baseline reference, which can either be taken as values from a typical healthy adult or from an earlier set of patient measurements. In this study, the baseline is computed from the first recorded breath in the observation window, with <inline-formula id="inf246">
<mml:math id="m259">
<mml:mrow>
<mml:msub>
<mml:mrow>
<mml:mi>Q</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mtext>max0</mml:mtext>
</mml:mrow>
</mml:msub>
<mml:mo>,</mml:mo>
<mml:msub>
<mml:mrow>
<mml:mi>V</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mtext>T0</mml:mtext>
</mml:mrow>
</mml:msub>
<mml:mo>,</mml:mo>
<mml:msub>
<mml:mrow>
<mml:mi>&#x3c4;</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mn>0</mml:mn>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula> representing the corresponding peak inspiratory flow, tidal volume, and expiratory time constant at that initial time point. The SI represents a scalar metric that integrates airflow dynamics and lung emptying efficiency, offering a comprehensive measure of secretion-related changes in ventilation. The first term, <inline-formula id="inf247">
<mml:math id="m260">
<mml:mrow>
<mml:msub>
<mml:mrow>
<mml:mi>Q</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mtext>max</mml:mtext>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula>, serves as an indirect indicator of secretion accumulation, as increased airway secretions are expected to increase airflow resistance, potentially reducing peak inspiratory flow. The second term, <inline-formula id="inf248">
<mml:math id="m261">
<mml:mrow>
<mml:msub>
<mml:mrow>
<mml:mi>V</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mtext>T</mml:mtext>
</mml:mrow>
</mml:msub>
<mml:mo>/</mml:mo>
<mml:mi>&#x3c4;</mml:mi>
</mml:mrow>
</mml:math>
</inline-formula>, quantifies how efficiently the tidal volume is expelled relative to airway mechanics, making it sensitive to secretion-induced changes in expiratory flow resistance. Since the expiratory time constant is influenced by both resistance and compliance, this term indirectly captures the impact of secretion-induced airway narrowing and obstruction. A higher SI may indicate efficient secretion clearance, as it suggests robust expiratory flow and effective lung emptying, while a lower SI may signify secretion retention.</p>
<p>To evaluate the effectiveness of the proposed secretion index, a controlled simulation was designed to generate ventilator waveform data over a 1-h period, corresponding to approximately 720 simulated breaths. The simulation assumed an initially clear airway, setting the resistance parameters <inline-formula id="inf249">
<mml:math id="m262">
<mml:mrow>
<mml:msub>
<mml:mrow>
<mml:mi>K</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mn>1</mml:mn>
<mml:mtext>ETLt</mml:mtext>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula> and <inline-formula id="inf250">
<mml:math id="m263">
<mml:mrow>
<mml:msub>
<mml:mrow>
<mml:mi>K</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mn>1</mml:mn>
<mml:mtext>LtLb</mml:mtext>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula> to 0.001. Secretion accumulation was then introduced by progressively increasing airway resistance, mimicking secretion accumulation over time. This approach allowed us to examine how the SI evolves as secretion accumulation progressively increases, providing a more comprehensive assessment of secretion-induced changes in ventilation dynamics. Four different resistance evolution patterns were implemented: constant, linear, quadratic, and exponential. In the constant case, resistance remained fixed at the baseline value throughout the simulation, serving as a control. In the linear case, resistance increased gradually from 0.001 to 0.003 across the simulation duration. The quadratic variation simulated a slow initial increase in resistance that accelerated progressively, reflecting a more non-linear accumulation pattern. In the exponential case, resistance remained close to the baseline value for the majority of the simulation, followed by a rapid rise toward the end, reaching a maximum of 0.003. This pattern mimics a sudden obstruction event, with a late-stage, sharp transition to a high-resistance state. The resistance evolution functions were implemented using smooth interpolation schemes, ensuring physiologically plausible transitions between secretion states. <xref ref-type="fig" rid="F8">Figure 8</xref> (Left) shows a systematic variation in resistance trajectories in this simulation study corresponding to different secretion accumulation scenarios. The SI was computed for each breath and its statistics was analysed across 12 time segments, with each segment representing 60 breaths. Prior to tracking its progression, SI values were normalized by setting the SI of the first breath (clear-airway condition) as the baseline. Correspondingly, the SI exhibited variations following the same trend as airway resistance across different progression profiles (see <xref ref-type="fig" rid="F8">Figure 8</xref> (Right)). This analysis provides a dynamic perspective on secretion accumulation, complementing the discrete classification approach. This single metric holds potential as a real-time indicator for assessing secretion load and guiding airway clearance strategies, including respiratory physiotherapy, bronchodilator therapy, or suction procedures. Additionally, SI may serve as a valuable parameter for tracking disease progression or assessing treatment response in patients with chronic mucus-related airway diseases.</p>
<fig id="F8" position="float">
<label>FIGURE 8</label>
<caption>
<p>Comparison of resistance conditions and secretion index across segment numbers. Left: Resistance verses time plot shows the resistance progression for different models: Linear (cyan), Quadratic (orange), Exponential (green), and Constant (black). The exponential model shows the fastest growth, while the constant condition remains unchanged. Right: Secretion Index plot shows the median secretion index across 12 segments with standard deviation error bars. The linear model shows the steepest decline, while the constant condition remains stable.</p>
</caption>
<graphic xlink:href="fphys-16-1612501-g008.tif"/>
</fig>
</sec>
</sec>
<sec id="s4">
<title>4 Summary and conclusion</title>
<p>This study examined the impact of airway secretions on ventilator dynamics using a mechanistic model combined with patient ventilator waveform data. Simulations were performed to evaluate how secretion accumulation alters respiratory dynamics, demonstrating that increased airway resistance makes it more difficult to mechanically maintain desired ventilation. In particular, increased resistance affects patient-ventilator interactions by reducing peak inspiratory flow and prolonging expiratory time. These effects were reflected in VWF alterations, highlighting the potential for waveform-based analysis to detect secretion accumulation.</p>
<p>To systematically investigate this, we first employed our ventilator model to generate synthetic VWF data under varying airway resistance conditions, corresponding to different secretion levels. The parameters governing airway resistance were selected from different distributions to establish controlled pre- and post-secretion conditions, providing a systematic basis for extracting key waveform features and analysing the impact of secretion removal on ventilator dynamics. Features such as peak inspiratory flow <inline-formula id="inf251">
<mml:math id="m264">
<mml:mrow>
<mml:mo stretchy="false">(</mml:mo>
<mml:mrow>
<mml:msub>
<mml:mrow>
<mml:mi>Q</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mtext>max</mml:mtext>
</mml:mrow>
</mml:msub>
</mml:mrow>
<mml:mo stretchy="false">)</mml:mo>
</mml:mrow>
</mml:math>
</inline-formula>, tidal volume <inline-formula id="inf252">
<mml:math id="m265">
<mml:mrow>
<mml:mo stretchy="false">(</mml:mo>
<mml:mrow>
<mml:msub>
<mml:mrow>
<mml:mi>V</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mtext>T</mml:mtext>
</mml:mrow>
</mml:msub>
</mml:mrow>
<mml:mo stretchy="false">)</mml:mo>
</mml:mrow>
</mml:math>
</inline-formula>, and the expiratory time constant <inline-formula id="inf253">
<mml:math id="m266">
<mml:mrow>
<mml:mo stretchy="false">(</mml:mo>
<mml:mrow>
<mml:mi>&#x3c4;</mml:mi>
</mml:mrow>
<mml:mo stretchy="false">)</mml:mo>
</mml:mrow>
</mml:math>
</inline-formula>, which were particularly indicative of secretion levels, were identified from this synthetic dataset. To quantify the differences in feature distributions before and after secretion removal, the Wasserstein distance was computed, capturing the degree of change associated with secretion clearance. Building on these insights, we applied the same feature extraction methodology to real patient VWF data, where secretion levels were clinically assessed. Using an unsupervised UMAP clustering algorithm, we observed distinct separation between low and high secretion levels, further demonstrating the potential of VWF-derived markers for non-invasive secretion detection.</p>
<p>Beyond discrete pre/post secretion analysis, we further investigated the continuous progression of airway resistance over time. A 60-min simulation was conducted, where airway resistance gradually increased from a baseline clear-airway state to a high-secretion condition, modelling the dynamic accumulation of secretions. Four different progression profiles were considered: constant, linear, quadratic, and exponential resistance increase. The secretion index, a composite metric derived from ventilator waveform features, consistently tracked the progression of airway resistance in all four cases, demonstrating its potential as a quantitative indicator of secretion accumulation. These findings highlight the potential critical interplay between airway resistance and secretion accumulation, emphasizing the need for timely intervention in response to secretion-induced changes in the ventilator waveform features. Although our model delineates waveform signatures of secretion accumulation, it has certain limitations. It approximates secretion effects solely through resistance changes and does not account for mucus rheology or spatial heterogeneity. The parameter estimation is limited by the lack of additional physiological data (e.g., oesophageal pressure, imaging), which would constrain model parameters and mitigate ill-posedness. While our approach shows promising initial validation on both simulated and clinical data, formal uncertainty quantification (e.g., Bayesian methods) and evaluation in larger patient cohorts are essential to confirm its generalizability and clinical utility. The current model&#x2019;s translation to diverse patient populations is limited by its simplified representation of airway resistance, without explicitly accounting for condition-specific respiratory mechanics such as compliance variations, lung heterogeneity, or dynamic hyperinflation, as observed in COPD, ARDS, and paediatric cases. Extending the model to such conditions would require incorporation of disease or condition-specific parameters, alongside access to well-labelled ventilator waveform datasets, which remain scarce and present challenges for comprehensive validation. Further studies in these areas will enhance the interpretability and applicability of the framework.</p>
<sec id="s4-1">
<title>4.1 Potential clinical applications and implementation challenges</title>
<p>The proposed mechanistic model and secretion quantification framework holds several practical applications in critical care. Firstly, the secretion index and ventilator waveform features can be used for early detection of airway secretion accumulation, allowing clinicians to initiate suctioning or respiratory physiotherapy before clinical deterioration occurs. Secondly, the model enables real-time monitoring of secretion-related resistance changes, offering the potential for integration into ICU dashboards or ventilator interfaces as a non-invasive indicator of airway patency. This would support timely interventions, particularly in sedated or neurologically-impaired patients. Thirdly, the model-derived metrics could be incorporated into weaning-readiness scores by quantifying secretion accumulation trends, thus improving the prediction of extubation success. Furthermore, personalised adjustment of ventilator settings such as PEEP or pressure support based on inferred resistance and patient effort may reduce ventilator-induced lung injury and improve synchrony. These applications highlight the translational potential of this modelling approach in guiding secretion management, optimizing ventilator strategies, and ultimately enhancing patient outcomes.</p>
<p>Despite its clinical utility, translating this framework into routine ICU practice faces several practical challenges. These include interoperability with existing ICU infrastructure, particularly with ventilator platforms and patient monitoring systems that use diverse data standards and proprietary protocols. Ensuring low-latency data acquisition, secure transmission, and real-time processing will be critical for timely clinical decision support. Robust data storage and management solutions must also be in place to handle the continuous high-frequency waveform data while maintaining patient privacy and compliance with healthcare regulations, such as the European Union General Data Protection Regulation (GDPR) and the U.S. Health Insurance Portability and Accountability Act (HIPAA). Moreover, clinician trust in model-derived indices will depend on transparent validation using real ICU datasets in prospective clinical trials, rigorous performance benchmarking against standard secretion assessment methods, and user-friendly visualization integrated into familiar electronic health record (EHR) interfaces. Comprehensive training and change-management programs will be needed to overcome resistance to adopting novel decision-support tools and to minimize the risk of alarm fatigue (i.e., desensitization caused by excessive non-actionable alarms). Successfully navigating these challenges will pave the way for seamless bedside integration, transforming secretion management and improving patient outcomes in critical care environments.</p>
</sec>
</sec>
</body>
<back>
<sec sec-type="data-availability" id="s5">
<title>Data availability statement</title>
<p>The data analyzed in this study is subject to the following licenses/restrictions: The datasets analysed in this study are stored in a secure research environment used for managing sensitive health data. Access to the data can be granted upon reasonable request to the corresponding author. Requests to access these datasets should be directed to <email>n.ovenden@ucl.ac.uk</email>.</p>
</sec>
<sec sec-type="ethics-statement" id="s6">
<title>Ethics statement</title>
<p>Ethical approval for this study was provided by East Midlands - Derby Research Ethics Committee (21/EM/0134, IRAS 288423 - CHIMERA Research Database). The studies were conducted in accordance with the local legislation and institutional requirements. Written informed consent for participation was not required from the participants or the participants&#x2019; legal guardians/next of kin in accordance with the national legislation and institutional requirements.</p>
</sec>
<sec sec-type="author-contributions" id="s7">
<title>Author contributions</title>
<p>DA: Writing &#x2013; review and editing, Formal Analysis, Methodology, Writing &#x2013; original draft, Conceptualization, Visualization, Investigation, Software. MT: Software, Writing &#x2013; review and editing. CB: Data curation, Writing &#x2013; review and editing. VD-Z: Writing &#x2013; review and editing, Supervision, Funding acquisition, Project administration, Conceptualization. NO: Funding acquisition, Project administration, Writing &#x2013; review and editing, Conceptualization, Supervision.</p>
</sec>
<sec sec-type="funding-information" id="s8">
<title>Funding</title>
<p>The author(s) declare that financial support was received for the research and/or publication of this article. The authors are grateful for the funding and support of the EPSRC-funded CHIMERA Maths in Healthcare Hub (EP/T017791/1) and Department of Mathematics at UCL.</p>
</sec>
<ack>
<p>The authors would like to thank Dr. Mark Peters and Dr. Samiran Ray from Great Ormond Street Hospital and Dr. Steve Harris from University College London Hospitals for discussion and support of the project. We would also like to thank the UCL CHIMERA group, and in particular Professor Rebecca Shipley and Professor Christina Pagel for their invaluable comments and feedback. We would also like to thank Dr. Kyle Wedgwood from the University of Exeter for his helpful discussions and insights.</p>
</ack>
<sec sec-type="COI-statement" id="s9">
<title>Conflict of interest</title>
<p>The authors declare that the research was conducted in the absence of any commercial or financial relationships that could be construed as a potential conflict of interest.</p>
</sec>
<sec id="s10">
<title>Correction note</title>
<p>This article has been corrected with minor changes. These changes do not impact the scientific content of the article.</p>
</sec>
<sec sec-type="ai-statement" id="s11">
<title>Generative AI statement</title>
<p>The author(s) declare that no Generative AI was used in the creation of this manuscript.</p>
</sec>
<sec sec-type="disclaimer" id="s12">
<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>
<ref-list>
<title>References</title>
<ref id="B1">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Albanese</surname>
<given-names>A.</given-names>
</name>
<name>
<surname>Cheng</surname>
<given-names>L.</given-names>
</name>
<name>
<surname>Ursino</surname>
<given-names>M.</given-names>
</name>
<name>
<surname>Chbat</surname>
<given-names>N. W.</given-names>
</name>
</person-group> (<year>2016</year>). <article-title>An integrated mathematical model of the human cardiopulmonary system: model development</article-title>. <source>Am. J. Physiology-Heart Circulatory Physiology</source> <volume>310</volume>, <fpage>H899</fpage>&#x2013;<lpage>H921</lpage>. <pub-id pub-id-type="doi">10.1152/ajpheart.00230.2014</pub-id>
</citation>
</ref>
<ref id="B2">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Albani</surname>
<given-names>F.</given-names>
</name>
<name>
<surname>Fusina</surname>
<given-names>F.</given-names>
</name>
<name>
<surname>Ciabatti</surname>
<given-names>G.</given-names>
</name>
<name>
<surname>Pisani</surname>
<given-names>L.</given-names>
</name>
<name>
<surname>Lippolis</surname>
<given-names>V.</given-names>
</name>
<name>
<surname>Franceschetti</surname>
<given-names>M. E.</given-names>
</name>
<etal/>
</person-group> (<year>2021a</year>). <article-title>Flow index accurately identifies breaths with low or high inspiratory effort during pressure support ventilation</article-title>. <source>Crit. Care</source> <volume>25</volume>, <fpage>427</fpage>. <pub-id pub-id-type="doi">10.1186/s13054-021-03855-4</pub-id>
</citation>
</ref>
<ref id="B3">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Albani</surname>
<given-names>F.</given-names>
</name>
<name>
<surname>Pisani</surname>
<given-names>L.</given-names>
</name>
<name>
<surname>Ciabatti</surname>
<given-names>G.</given-names>
</name>
<name>
<surname>Fusina</surname>
<given-names>F.</given-names>
</name>
<name>
<surname>Buizza</surname>
<given-names>B.</given-names>
</name>
<name>
<surname>Granato</surname>
<given-names>A.</given-names>
</name>
<etal/>
</person-group> (<year>2021b</year>). <article-title>Flow index: a novel, non-invasive, continuous, quantitative method to evaluate patient inspiratory effort during pressure support ventilation</article-title>. <source>Crit. Care</source> <volume>25</volume>, <fpage>196</fpage>. <pub-id pub-id-type="doi">10.1186/s13054-021-03624-3</pub-id>
</citation>
</ref>
<ref id="B4">
<citation citation-type="book">
<person-group person-group-type="author">
<name>
<surname>Bates</surname>
<given-names>J. H.</given-names>
</name>
</person-group> (<year>2009</year>). <source>Lung mechanics: an inverse modeling approach</source>. <publisher-name>Cambridge University Press</publisher-name>.</citation>
</ref>
<ref id="B5">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Branson</surname>
<given-names>R. D.</given-names>
</name>
</person-group> (<year>2007</year>). <article-title>Secretion management in the mechanically ventilated patient</article-title>. <source>Respir. Care</source> <volume>52</volume> (<issue>10</issue>), <fpage>1328</fpage>&#x2013;<lpage>1347</lpage>. <pub-id pub-id-type="doi">10.4187/respcare.07521328</pub-id>
</citation>
</ref>
<ref id="B6">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Cabeleira</surname>
<given-names>M. T.</given-names>
</name>
<name>
<surname>Anand</surname>
<given-names>D. V.</given-names>
</name>
<name>
<surname>Ray</surname>
<given-names>S.</given-names>
</name>
<name>
<surname>Black</surname>
<given-names>C.</given-names>
</name>
<name>
<surname>Ovenden</surname>
<given-names>N. C.</given-names>
</name>
<name>
<surname>D&#xed;az-Zuccarini</surname>
<given-names>V.</given-names>
</name>
</person-group> (<year>2024</year>). <article-title>Comparing physiological impacts of positive pressure ventilation versus self-breathing via a versatile cardiopulmonary model incorporating a novel alveoli opening mechanism</article-title>. <source>Comput. Biol. Med.</source> <volume>180</volume>, <fpage>108960</fpage>. <pub-id pub-id-type="doi">10.1016/j.compbiomed.2024.108960</pub-id>
</citation>
</ref>
<ref id="B7">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Chen</surname>
<given-names>Z.-L.</given-names>
</name>
<name>
<surname>Yan</surname>
<given-names>Y.-Z.</given-names>
</name>
<name>
<surname>Yu</surname>
<given-names>H.-Y.</given-names>
</name>
<name>
<surname>Wang</surname>
<given-names>Q.-B.</given-names>
</name>
<name>
<surname>Wang</surname>
<given-names>W.</given-names>
</name>
<name>
<surname>Zhong</surname>
<given-names>M.</given-names>
</name>
</person-group> (<year>2024</year>). <article-title>Influence of compliance and resistance of the test lung on the accuracy of the tidal volume delivered by the ventilator</article-title>. <source>BMC Pulm. Med.</source> <volume>24</volume>, <fpage>498</fpage>. <pub-id pub-id-type="doi">10.1186/s12890-024-03294-1</pub-id>
</citation>
</ref>
<ref id="B8">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Cheng</surname>
<given-names>J.</given-names>
</name>
<name>
<surname>Diaz De La O</surname>
<given-names>F.</given-names>
</name>
<name>
<surname>Hristov</surname>
<given-names>P.</given-names>
</name>
</person-group> (<year>2025</year>). <article-title>Dynamic model updating through reliability-based sequential history matching</article-title>. <source>Mech. Syst. Signal Process.</source> <volume>232</volume>, <fpage>112689</fpage>. <pub-id pub-id-type="doi">10.1016/j.ymssp.2025.112689</pub-id>
</citation>
</ref>
<ref id="B9">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>De Wit</surname>
<given-names>M.</given-names>
</name>
</person-group> (<year>2011</year>). <article-title>Monitoring of patient-ventilator interaction at the bedside</article-title>. <source>Respir. Care</source> <volume>56</volume>, <fpage>61</fpage>&#x2013;<lpage>72</lpage>. <pub-id pub-id-type="doi">10.4187/respcare.01077</pub-id>
</citation>
</ref>
<ref id="B10">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Flevari</surname>
<given-names>A. G.</given-names>
</name>
<name>
<surname>Maniatis</surname>
<given-names>N.</given-names>
</name>
<name>
<surname>Kremiotis</surname>
<given-names>T. E.</given-names>
</name>
<name>
<surname>Siempos</surname>
<given-names>I.</given-names>
</name>
<name>
<surname>Betrosian</surname>
<given-names>A. P.</given-names>
</name>
<name>
<surname>Roussos</surname>
<given-names>C.</given-names>
</name>
<etal/>
</person-group> (<year>2011</year>). <article-title>Rohrer&#x2019;s constant, k2, as a factor of determining inspiratory resistance of common adult endotracheal tubes</article-title>. <source>Anaesth. Intensive Care</source> <volume>39</volume>, <fpage>410</fpage>&#x2013;<lpage>417</lpage>. <pub-id pub-id-type="doi">10.1177/0310057X1103900311</pub-id>
</citation>
</ref>
<ref id="B11">
<citation citation-type="book">
<person-group person-group-type="author">
<name>
<surname>Glasmachers</surname>
<given-names>T.</given-names>
</name>
<name>
<surname>Schaul</surname>
<given-names>T.</given-names>
</name>
<name>
<surname>Yi</surname>
<given-names>S.</given-names>
</name>
<name>
<surname>Wierstra</surname>
<given-names>D.</given-names>
</name>
<name>
<surname>Schmidhuber</surname>
<given-names>J.</given-names>
</name>
</person-group> (<year>2010</year>). &#x201c;<article-title>Exponential natural evolution strategies</article-title>,&#x201d; in <source>Proceedings of the 12th annual conference on genetic and evolutionary computation</source>, <fpage>393</fpage>&#x2013;<lpage>400</lpage>.</citation>
</ref>
<ref id="B12">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Goetz</surname>
<given-names>R. L.</given-names>
</name>
<name>
<surname>Vijaykumar</surname>
<given-names>K.</given-names>
</name>
<name>
<surname>Solomon</surname>
<given-names>G. M.</given-names>
</name>
</person-group> (<year>2022</year>). <article-title>Mucus clearance strategies in mechanically ventilated patients</article-title>. <source>Front. Physiology</source> <volume>13</volume>, <fpage>834716</fpage>. <pub-id pub-id-type="doi">10.3389/fphys.2022.834716</pub-id>
</citation>
</ref>
<ref id="B13">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Guglielminotti</surname>
<given-names>J.</given-names>
</name>
<name>
<surname>Alzieu</surname>
<given-names>M.</given-names>
</name>
<name>
<surname>Maury</surname>
<given-names>E.</given-names>
</name>
<name>
<surname>Guidet</surname>
<given-names>B.</given-names>
</name>
<name>
<surname>Offenstadt</surname>
<given-names>G.</given-names>
</name>
</person-group> (<year>2000</year>). <article-title>Bedside detection of retained tracheobronchial secretions in patients receiving mechanical ventilation: is it time for tracheal suctioning?</article-title> <source>Chest</source> <volume>118</volume>, <fpage>1095</fpage>&#x2013;<lpage>1099</lpage>. <pub-id pub-id-type="doi">10.1378/chest.118.4.1095</pub-id>
</citation>
</ref>
<ref id="B14">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Harris</surname>
<given-names>R. S.</given-names>
</name>
</person-group> (<year>2005</year>). <article-title>Pressure-volume curves of the respiratory system</article-title>. <source>Respir. Care</source> <volume>50</volume> (<issue>1</issue>), <fpage>78</fpage>&#x2013;<lpage>99</lpage>. <pub-id pub-id-type="doi">10.4187/respcare.05500078</pub-id>
</citation>
</ref>
<ref id="B15">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Hess</surname>
<given-names>D. R.</given-names>
</name>
</person-group> (<year>2007</year>). <article-title>Airway clearance: physiology, pharmacology, techniques, and practice</article-title>. <source>Respir. Care</source> <volume>52</volume> (<issue>10</issue>), <fpage>1392</fpage>&#x2013;<lpage>1396</lpage>. <pub-id pub-id-type="doi">10.4187/respcare.07521392</pub-id>
</citation>
</ref>
<ref id="B16">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Hess</surname>
<given-names>D. R.</given-names>
</name>
</person-group> (<year>2014</year>). <article-title>Respiratory mechanics in mechanically ventilated patients</article-title>. <source>Respir. Care</source> <volume>59</volume>, <fpage>1773</fpage>&#x2013;<lpage>1794</lpage>. <pub-id pub-id-type="doi">10.4187/respcare.03410</pub-id>
</citation>
</ref>
<ref id="B17">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Howroyd</surname>
<given-names>F.</given-names>
</name>
<name>
<surname>Chacko</surname>
<given-names>C.</given-names>
</name>
<name>
<surname>MacDuff</surname>
<given-names>A.</given-names>
</name>
<name>
<surname>Gautam</surname>
<given-names>N.</given-names>
</name>
<name>
<surname>Pouchet</surname>
<given-names>B.</given-names>
</name>
<name>
<surname>Tunnicliffe</surname>
<given-names>B.</given-names>
</name>
<etal/>
</person-group> (<year>2024</year>). <article-title>Ventilator-associated pneumonia: pathobiological heterogeneity and diagnostic challenges</article-title>. <source>Nat. Commun.</source> <volume>15</volume>, <fpage>6447</fpage>. <pub-id pub-id-type="doi">10.1038/s41467-024-50805-z</pub-id>
</citation>
</ref>
<ref id="B18">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Jubran</surname>
<given-names>A.</given-names>
</name>
<name>
<surname>Tobin</surname>
<given-names>M. J.</given-names>
</name>
</person-group> (<year>1994</year>). <article-title>Use of flow-volume curves in detecting secretions in ventilator-dependent patients</article-title>. <source>Am. J. Respir. Crit. Care Med.</source> <volume>150</volume>, <fpage>766</fpage>&#x2013;<lpage>769</lpage>. <pub-id pub-id-type="doi">10.1164/ajrccm.150.3.8087350</pub-id>
</citation>
</ref>
<ref id="B19">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Liu</surname>
<given-names>C. H.</given-names>
</name>
<name>
<surname>Niranjan</surname>
<given-names>S. C.</given-names>
</name>
<name>
<surname>Clark</surname>
<given-names>J. W. J.</given-names>
</name>
<name>
<surname>San</surname>
<given-names>K. Y.</given-names>
</name>
<name>
<surname>Zwischenberger</surname>
<given-names>J. B.</given-names>
</name>
<name>
<surname>Bidani</surname>
<given-names>A.</given-names>
</name>
</person-group> (<year>1998</year>). <article-title>Airway mechanics, gas exchange, and blood flow in a nonlinear model of the normal human lung</article-title>. <source>J. Appl. Physiology</source> <volume>84</volume>, <fpage>1447</fpage>&#x2013;<lpage>1469</lpage>. <pub-id pub-id-type="doi">10.1152/jappl.1998.84.4.1447</pub-id>
</citation>
</ref>
<ref id="B20">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>McInnes</surname>
<given-names>L.</given-names>
</name>
<name>
<surname>Healy</surname>
<given-names>J.</given-names>
</name>
<name>
<surname>Melville</surname>
<given-names>J.</given-names>
</name>
</person-group> (<year>2018</year>). <article-title>Umap: uniform manifold approximation and projection for dimension reduction</article-title>. <source>arXiv Prepr. arXiv:1802.03426</source>. <pub-id pub-id-type="doi">10.48550/arXiv.1802.03426</pub-id>
</citation>
</ref>
<ref id="B21">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Mietto</surname>
<given-names>C.</given-names>
</name>
<name>
<surname>Pinciroli</surname>
<given-names>R.</given-names>
</name>
<name>
<surname>Piriyapatsom</surname>
<given-names>A.</given-names>
</name>
<name>
<surname>Thomas</surname>
<given-names>J. G.</given-names>
</name>
<name>
<surname>Bry</surname>
<given-names>L.</given-names>
</name>
<name>
<surname>Delaney</surname>
<given-names>M. L.</given-names>
</name>
<etal/>
</person-group> (<year>2014</year>). <article-title>Tracheal tube obstruction in mechanically ventilated patients assessed by high-resolution computed tomography</article-title>. <source>Anesthesiology</source> <volume>121</volume>, <fpage>1226</fpage>&#x2013;<lpage>1235</lpage>. <pub-id pub-id-type="doi">10.1097/ALN.0000000000000455</pub-id>
</citation>
</ref>
<ref id="B22">
<citation citation-type="book">
<person-group person-group-type="author">
<name>
<surname>Mistry</surname>
<given-names>S.</given-names>
</name>
<name>
<surname>Brook</surname>
<given-names>B. S.</given-names>
</name>
<name>
<surname>Saffaran</surname>
<given-names>S.</given-names>
</name>
<name>
<surname>Chikhani</surname>
<given-names>M.</given-names>
</name>
<name>
<surname>Hannon</surname>
<given-names>D. M.</given-names>
</name>
<name>
<surname>Laffey</surname>
<given-names>J. G.</given-names>
</name>
<etal/>
</person-group> (<year>2022</year>). &#x201c;<article-title>A computational cardiopulmonary physiology simulator accurately predicts individual patient responses to changes in mechanical ventilator settings</article-title>,&#x201d; in <source>2022 44th annual international conference of the IEEE engineering in medicine and biology society (EMBC)</source> (<publisher-name>IEEE</publisher-name>), <fpage>3261</fpage>&#x2013;<lpage>3264</lpage>.</citation>
</ref>
<ref id="B23">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Ngo</surname>
<given-names>C.</given-names>
</name>
<name>
<surname>Dahlmanns</surname>
<given-names>S.</given-names>
</name>
<name>
<surname>Vollmer</surname>
<given-names>T.</given-names>
</name>
<name>
<surname>Misgeld</surname>
<given-names>B.</given-names>
</name>
<name>
<surname>Leonhardt</surname>
<given-names>S.</given-names>
</name>
</person-group> (<year>2018</year>). <article-title>An object-oriented computational model to study cardiopulmonary hemodynamic interactions in humans</article-title>. <source>Comput. methods programs Biomed.</source> <volume>159</volume>, <fpage>167</fpage>&#x2013;<lpage>183</lpage>. <pub-id pub-id-type="doi">10.1016/j.cmpb.2018.03.008</pub-id>
</citation>
</ref>
<ref id="B24">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Pal</surname>
<given-names>A.</given-names>
</name>
<name>
<surname>Holtorf</surname>
<given-names>F.</given-names>
</name>
<name>
<surname>Larsson</surname>
<given-names>A.</given-names>
</name>
<name>
<surname>Loman</surname>
<given-names>T.</given-names>
</name>
<name>
<surname>Sch&#xe4;efer</surname>
<given-names>F.</given-names>
</name>
<name>
<surname>Qu</surname>
<given-names>Q.</given-names>
</name>
<etal/>
</person-group> (<year>2024</year>). <article-title>Nonlinearsolve.jl: high-performance and robust solvers for systems of nonlinear equations in julia</article-title>. <source>arXiv Prepr. arXiv:2403.16341</source>. <pub-id pub-id-type="doi">10.48550/arXiv.2403.16341</pub-id>
</citation>
</ref>
<ref id="B25">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Paratz</surname>
<given-names>J.</given-names>
</name>
<name>
<surname>Ntoumenopoulos</surname>
<given-names>G.</given-names>
</name>
</person-group> (<year>2014</year>). <article-title>Detection of secretion retention in the ventilated patient</article-title>. <source>Curr. Respir. Med. Rev.</source> <volume>10</volume>, <fpage>151</fpage>&#x2013;<lpage>157</lpage>. <pub-id pub-id-type="doi">10.2174/1573398x11666141229230526</pub-id>
</citation>
</ref>
<ref id="B26">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Polak</surname>
<given-names>A. G.</given-names>
</name>
<name>
<surname>Mroczka</surname>
<given-names>J.</given-names>
</name>
</person-group> (<year>2006</year>). <article-title>Nonlinear model for mechanical ventilation of human lungs</article-title>. <source>Comput. Biol. Med.</source> <volume>36</volume>, <fpage>41</fpage>&#x2013;<lpage>58</lpage>. <pub-id pub-id-type="doi">10.1016/j.compbiomed.2004.08.001</pub-id>
</citation>
</ref>
<ref id="B27">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Rackauckas</surname>
<given-names>C.</given-names>
</name>
<name>
<surname>Nie</surname>
<given-names>Q.</given-names>
</name>
</person-group> (<year>2017</year>). <article-title>Differentialequations.jl&#x2013;a performant and feature-rich ecosystem for solving differential equations in julia</article-title>. <source>J. Open Res. Softw.</source> <volume>5</volume>, <fpage>15</fpage>. <pub-id pub-id-type="doi">10.5334/jors.151</pub-id>
</citation>
</ref>
<ref id="B28">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Roe</surname>
<given-names>T.</given-names>
</name>
<name>
<surname>Talbot</surname>
<given-names>T.</given-names>
</name>
<name>
<surname>Terrington</surname>
<given-names>I.</given-names>
</name>
<name>
<surname>Johal</surname>
<given-names>J.</given-names>
</name>
<name>
<surname>Kemp</surname>
<given-names>I.</given-names>
</name>
<name>
<surname>Saeed</surname>
<given-names>K.</given-names>
</name>
<etal/>
</person-group> (<year>2025</year>). <article-title>Physiology and pathophysiology of mucus and mucolytic use in critically ill patients</article-title>. <source>Crit. Care</source> <volume>29</volume>, <fpage>68</fpage>. <pub-id pub-id-type="doi">10.1186/s13054-025-05286-x</pub-id>
</citation>
</ref>
<ref id="B29">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Salazar</surname>
<given-names>E.</given-names>
</name>
<name>
<surname>Knowles</surname>
<given-names>J. H.</given-names>
</name>
</person-group> (<year>1964</year>). <article-title>An analysis of pressure-volume characteristics of the lungs</article-title>. <source>J. Appl. Physiology</source> <volume>19</volume>, <fpage>97</fpage>&#x2013;<lpage>104</lpage>. <pub-id pub-id-type="doi">10.1152/jappl.1964.19.1.97</pub-id>
</citation>
</ref>
<ref id="B30">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Sinderby</surname>
<given-names>C.</given-names>
</name>
<name>
<surname>Navalesi</surname>
<given-names>P.</given-names>
</name>
<name>
<surname>Beck</surname>
<given-names>J.</given-names>
</name>
<name>
<surname>Skrobik</surname>
<given-names>Y.</given-names>
</name>
<name>
<surname>Comtois</surname>
<given-names>N.</given-names>
</name>
<name>
<surname>Friberg</surname>
<given-names>S.</given-names>
</name>
<etal/>
</person-group> (<year>1999</year>). <article-title>Neural control of mechanical ventilation in respiratory failure</article-title>. <source>Nat. Med.</source> <volume>5</volume>, <fpage>1433</fpage>&#x2013;<lpage>1436</lpage>. <pub-id pub-id-type="doi">10.1038/71012</pub-id>
</citation>
</ref>
<ref id="B31">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Sundaresan</surname>
<given-names>A.</given-names>
</name>
<name>
<surname>Yuta</surname>
<given-names>T.</given-names>
</name>
<name>
<surname>Hann</surname>
<given-names>C. E.</given-names>
</name>
<name>
<surname>Chase</surname>
<given-names>J. G.</given-names>
</name>
<name>
<surname>Shaw</surname>
<given-names>G. M.</given-names>
</name>
</person-group> (<year>2009</year>). <article-title>A minimal model of lung mechanics and model-based markers for optimizing ventilator treatment in ARDS patients</article-title>. <source>Comput. Methods Programs Biomed.</source> <volume>95</volume>, <fpage>166</fpage>&#x2013;<lpage>180</lpage>. <pub-id pub-id-type="doi">10.1016/j.cmpb.2009.02.008</pub-id>
</citation>
</ref>
<ref id="B32">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Tsaneva-Atanasova</surname>
<given-names>K.</given-names>
</name>
<name>
<surname>Pederzanil</surname>
<given-names>G.</given-names>
</name>
<name>
<surname>Laviola</surname>
<given-names>M.</given-names>
</name>
</person-group> (<year>2025</year>). <article-title>Decoding uncertainty for clinical decision-making</article-title>. <source>Philos. Trans. A</source> <volume>383</volume>, <fpage>20240207</fpage>. <pub-id pub-id-type="doi">10.1098/rsta.2024.0207</pub-id>
</citation>
</ref>
<ref id="B33">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Vicario</surname>
<given-names>F.</given-names>
</name>
<name>
<surname>Albanese</surname>
<given-names>A.</given-names>
</name>
<name>
<surname>Karamolegkos</surname>
<given-names>N.</given-names>
</name>
<name>
<surname>Wang</surname>
<given-names>D.</given-names>
</name>
<name>
<surname>Seiver</surname>
<given-names>A.</given-names>
</name>
<name>
<surname>Chbat</surname>
<given-names>N. W.</given-names>
</name>
</person-group> (<year>2015</year>). <article-title>Noninvasive estimation of respiratory mechanics in spontaneously breathing ventilated patients: a constrained optimization approach</article-title>. <source>IEEE Trans. Biomed. Eng.</source> <volume>63</volume>, <fpage>775</fpage>&#x2013;<lpage>787</lpage>. <pub-id pub-id-type="doi">10.1109/TBME.2015.2470641</pub-id>
</citation>
</ref>
<ref id="B34">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Volpe</surname>
<given-names>M. S.</given-names>
</name>
<name>
<surname>Guimar&#xe3;es</surname>
<given-names>F. S.</given-names>
</name>
<name>
<surname>Morais</surname>
<given-names>C. C. A.</given-names>
</name>
</person-group> (<year>2020</year>). <article-title>Airway clearance techniques for mechanically ventilated patients: insights for optimization</article-title>. <source>Respir. Care</source> <volume>65</volume>, <fpage>1174</fpage>&#x2013;<lpage>1188</lpage>. <pub-id pub-id-type="doi">10.4187/respcare.07904</pub-id>
</citation>
</ref>
<ref id="B35">
<citation citation-type="book">
<person-group person-group-type="author">
<name>
<surname>Younes</surname>
<given-names>M.</given-names>
</name>
</person-group> (<year>2002</year>). &#x201c;<article-title>Proportional assist ventilation</article-title>,&#x201d; in <source>Mechanical ventilation and weaning</source> (<publisher-name>Springer</publisher-name>), <fpage>39</fpage>&#x2013;<lpage>73</lpage>.</citation>
</ref>
<ref id="B36">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Younes</surname>
<given-names>M.</given-names>
</name>
<name>
<surname>Brochard</surname>
<given-names>L.</given-names>
</name>
<name>
<surname>Grasso</surname>
<given-names>S.</given-names>
</name>
<name>
<surname>Kun</surname>
<given-names>J.</given-names>
</name>
<name>
<surname>Mancebo</surname>
<given-names>J.</given-names>
</name>
<name>
<surname>Ranieri</surname>
<given-names>M.</given-names>
</name>
<etal/>
</person-group> (<year>2007</year>). <article-title>A method for monitoring and improving patient-ventilator interaction</article-title>. <source>Intensive Care Med.</source> <volume>33</volume>, <fpage>1337</fpage>&#x2013;<lpage>1346</lpage>. <pub-id pub-id-type="doi">10.1007/s00134-007-0681-4</pub-id>
</citation>
</ref>
<ref id="B37">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Zamanian</surname>
<given-names>M.</given-names>
</name>
<name>
<surname>Marini</surname>
<given-names>J. J.</given-names>
</name>
</person-group> (<year>2006</year>). <article-title>Pressure-flow signatures of central-airway mucus plugging</article-title>. <source>Crit. Care Med.</source> <volume>34</volume>, <fpage>223</fpage>&#x2013;<lpage>226</lpage>. <pub-id pub-id-type="doi">10.1097/01.ccm.0000196216.49407.ee</pub-id>
</citation>
</ref>
<ref id="B38">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Zhou</surname>
<given-names>C.</given-names>
</name>
<name>
<surname>Chase</surname>
<given-names>J. G.</given-names>
</name>
<name>
<surname>Knopp</surname>
<given-names>J.</given-names>
</name>
<name>
<surname>Sun</surname>
<given-names>Q.</given-names>
</name>
<name>
<surname>Tawhai</surname>
<given-names>M.</given-names>
</name>
<name>
<surname>M&#xf6;ller</surname>
<given-names>K.</given-names>
</name>
<etal/>
</person-group> (<year>2021</year>). <article-title>Virtual patients for mechanical ventilation in the intensive care unit</article-title>. <source>Comput. Methods Programs Biomed.</source> <volume>199</volume>, <fpage>105912</fpage>. <pub-id pub-id-type="doi">10.1016/j.cmpb.2020.105912</pub-id>
</citation>
</ref>
</ref-list>
<app-group>
<app id="app1">
<title>Appendix A</title>
<table-wrap id="TA1" position="float">
<label>TABLE A1</label>
<caption>
<p>Comparison of model performance for pre- and post-suction breaths across five cases (B1&#x2013;B5). Metrics include RMSE and <inline-formula id="inf175">
<mml:math id="m187">
<mml:mrow>
<mml:msup>
<mml:mrow>
<mml:mi>R</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mn>2</mml:mn>
</mml:mrow>
</mml:msup>
</mml:mrow>
</mml:math>
</inline-formula>for airway pressure <inline-formula id="inf176">
<mml:math id="m188">
<mml:mrow>
<mml:mo stretchy="false">(</mml:mo>
<mml:mrow>
<mml:msub>
<mml:mrow>
<mml:mi>P</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>a</mml:mi>
<mml:mi>w</mml:mi>
</mml:mrow>
</mml:msub>
</mml:mrow>
<mml:mo stretchy="false">)</mml:mo>
</mml:mrow>
</mml:math>
</inline-formula>, airway flow <inline-formula id="inf177">
<mml:math id="m189">
<mml:mrow>
<mml:mo stretchy="false">(</mml:mo>
<mml:mrow>
<mml:msub>
<mml:mrow>
<mml:mi>Q</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>a</mml:mi>
<mml:mi>w</mml:mi>
</mml:mrow>
</mml:msub>
</mml:mrow>
<mml:mo stretchy="false">)</mml:mo>
</mml:mrow>
</mml:math>
</inline-formula>, and volume <inline-formula id="inf178">
<mml:math id="m190">
<mml:mrow>
<mml:mo stretchy="false">(</mml:mo>
<mml:mrow>
<mml:mi>V</mml:mi>
</mml:mrow>
<mml:mo stretchy="false">)</mml:mo>
</mml:mrow>
</mml:math>
</inline-formula>.</p>
</caption>
<table>
<thead valign="top">
<tr>
<th rowspan="2" align="left">Breath</th>
<th colspan="3" align="center">RMSE</th>
<th colspan="3" align="center">
<inline-formula id="inf179">
<mml:math id="m191">
<mml:mrow>
<mml:msup>
<mml:mrow>
<mml:mi mathvariant="bold">R</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi mathvariant="bold">2</mml:mi>
</mml:mrow>
</mml:msup>
</mml:mrow>
</mml:math>
</inline-formula>
</th>
</tr>
<tr>
<th align="center">
<inline-formula id="inf180">
<mml:math id="m192">
<mml:mrow>
<mml:msub>
<mml:mrow>
<mml:mi>P</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>a</mml:mi>
<mml:mi>w</mml:mi>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula>
</th>
<th align="center">
<inline-formula id="inf181">
<mml:math id="m193">
<mml:mrow>
<mml:msub>
<mml:mrow>
<mml:mi>Q</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>a</mml:mi>
<mml:mi>w</mml:mi>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula>
</th>
<th align="center">
<inline-formula id="inf182">
<mml:math id="m194">
<mml:mrow>
<mml:mi>V</mml:mi>
</mml:mrow>
</mml:math>
</inline-formula>
</th>
<th align="center">
<inline-formula id="inf183">
<mml:math id="m195">
<mml:mrow>
<mml:msub>
<mml:mrow>
<mml:mi>P</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>a</mml:mi>
<mml:mi>w</mml:mi>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula>
</th>
<th align="center">
<inline-formula id="inf184">
<mml:math id="m196">
<mml:mrow>
<mml:msub>
<mml:mrow>
<mml:mi>Q</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>a</mml:mi>
<mml:mi>w</mml:mi>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula>
</th>
<th align="center">
<inline-formula id="inf185">
<mml:math id="m197">
<mml:mrow>
<mml:mi>V</mml:mi>
</mml:mrow>
</mml:math>
</inline-formula>
</th>
</tr>
</thead>
<tbody valign="top">
<tr>
<td colspan="7" align="center">Pre-suction</td>
</tr>
<tr>
<td align="left">B1</td>
<td align="center">0.95</td>
<td align="center">147.78</td>
<td align="center">33.50</td>
<td align="center">0.95</td>
<td align="center">0.94</td>
<td align="center">0.95</td>
</tr>
<tr>
<td align="left">B2</td>
<td align="center">1.51</td>
<td align="center">77.70</td>
<td align="center">26.43</td>
<td align="center">0.88</td>
<td align="center">0.98</td>
<td align="center">0.97</td>
</tr>
<tr>
<td align="left">B3</td>
<td align="center">1.06</td>
<td align="center">152.62</td>
<td align="center">46.31</td>
<td align="center">0.94</td>
<td align="center">0.94</td>
<td align="center">0.91</td>
</tr>
<tr>
<td align="left">B4</td>
<td align="center">1.14</td>
<td align="center">177.44</td>
<td align="center">41.81</td>
<td align="center">0.93</td>
<td align="center">0.92</td>
<td align="center">0.93</td>
</tr>
<tr>
<td align="left">B5</td>
<td align="center">1.32</td>
<td align="center">85.64</td>
<td align="center">26.85</td>
<td align="center">0.90</td>
<td align="center">0.98</td>
<td align="center">0.97</td>
</tr>
<tr>
<td colspan="7" align="center">Post-suction</td>
</tr>
<tr>
<td align="left">B1</td>
<td align="center">1.02</td>
<td align="center">110.20</td>
<td align="center">25.37</td>
<td align="center">0.92</td>
<td align="center">0.96</td>
<td align="center">0.97</td>
</tr>
<tr>
<td align="left">B2</td>
<td align="center">1.75</td>
<td align="center">264.60</td>
<td align="center">34.50</td>
<td align="center">0.78</td>
<td align="center">0.74</td>
<td align="center">0.95</td>
</tr>
<tr>
<td align="left">B3</td>
<td align="center">1.08</td>
<td align="center">133.57</td>
<td align="center">34.75</td>
<td align="center">0.92</td>
<td align="center">0.93</td>
<td align="center">0.95</td>
</tr>
<tr>
<td align="left">B4</td>
<td align="center">1.09</td>
<td align="center">93.02</td>
<td align="center">22.09</td>
<td align="center">0.91</td>
<td align="center">0.97</td>
<td align="center">0.98</td>
</tr>
<tr>
<td align="left">B5</td>
<td align="center">2.04</td>
<td align="center">284.33</td>
<td align="center">51.00</td>
<td align="center">0.70</td>
<td align="center">0.70</td>
<td align="center">0.89</td>
</tr>
</tbody>
</table>
</table-wrap>
</app>
</app-group>
</back>
</article>