1 Introduction

Aspergillus fumigatus is an opportunistic fungus that can infect the lungs of immunocompromised hosts, including, among others, patients undergoing chemotherapy or receiving an organ transplant, and patients affected by chronic granulomatous disease (Latge 1999; Pappas 2010). Neutrophils are essential to fighting the pathogen, and impaired neutrophil responses are a common predisposing factor to the infection. More recently, patients with severe SARS-CoV2 infection have reportedly been affected by COVID-19 Associated Pulmonary aspergillosis (CAPA). However, Lai and Yu (2021) found that the conventional risk factors for aspergillosis were not present in CAPA patients.

Mitaka et al. (2021) found that around 10% of COVID-19 patients in ICUs develop invasive aspergillosis, and the mortality rate for these patients is 54% compared with 24% of those without CAPA (Ergun et al. 2021). According to Lai and Yu (2021), patients with CAPA are predominantly male, with an average age of 73±13 years, and 88% had diabetes, high blood pressure, kidney disease, chronic obstructive pulmonary disease (COPD), or heart disease. The fact that CAPA is associated with these comorbidities but not with the conventional risk factors for invasive aspergillosis requires the generation of new hypotheses to explain the susceptibility of these hosts to the infection.

Computational models have been used extensively in immunology to create and test hypotheses. In particular, agent-based models have proven effective for studying respiratory diseases. They are intuitive, rule-based models that make it easy to represent heterogeneous spatial environments and individual entities, such as immune cells or pathogens, and their generation does not require extensive modeling expertise. We published an agent-based model of the innate immune response to Aspergillus fumigatus within an alveolar duct that established that one of the critical parameters determining infection outcome is the distance within which macrophages can detect fungal spores (Oremland et al. 2016).

In Ribeiro et al. (2022), we published an agent-based model of the immune response to Aspergillus fumigatus. The model focuses on the role of iron sequestration by the host as part of the innate immune response. It was parametrized entirely with information from the literature rather than data fitting, and was extensively validated with both data from the literature and our own time course data from experiments using a mouse model of the infection. We also showed that variation of parametrizations from this reference model could account for the variability across experiments. A first result we obtained using the model demonstrates that fungal strains engage different parts of the innate immune response depending on their level of virulence. This computational model is the main tool for the results reported here.

We hypothesize that in patients with severe COVID-19, the destruction of the lung epithelium facilitates colonization by opportunistic pathogens. At the same time, the exhaustion of the immune system characterized by cytokine storms, apoptosis, and depletion of leukocytes hinders its ability to kill the fungus, explaining the susceptibility of otherwise immunocompetent patients to aspergillosis. We use the computational model to test this hypothesis and to ask what set of parameters and conditions explain CAPA. To test our hypothesis, we created a virtual patient population by sampling the model parameter space, characterizing patients with dual infection and analyzing disease outcomes, with each choice of parameters representing one virtual patient.

2 Material and methods

2.1 Modeling

The simulation study in this paper uses a computational model of the co-infection that is a modification of our previously published model (Ribeiro et al. 2022) capturing key features of the innate immune response to a respiratory Aspergillus fumigatus infection in immunocompetent hosts, including the role of iron regulation, an important virulence factor. The model spans the intracellular, tissue-level, and organism scales. At the tissue level, an agent-based model simulates the immune response in a spatially homogeneous representation of a volume of lung tissue. The domain simulated (\(6.4 \times 10^{-2} \mu L\)) is enough to represent a piece of lung infected with a few conidia. Its components are depicted in Fig. 1. The original model of immune response to Aspergillus fumigatus had 76 parameters; here, we use a reduced version of that model with 27 parameters (Table 4) by eliminating the iron regulation component and aggregating some of the cytokines represented explicitly. We describe the model in detail below.

The 3-dimensional space is homogeneous with periodic boundary conditions; that is, a 3-dimensional torus. If a molecule or agent leaves the simulation space by crossing one boundary, it re-enters from another, similar to previous modeling in this context (e.g., Castiglione et al. 2007; Ribeiro et al. 2017). The rationale for periodic boundary conditions is that the simulation covers a small volume amid a large infected volume. Therefore, the concentration of molecules across all boundaries should be similar.

Fig. 1
figure 1

Model description. Aspergillus fumigatus hyphae activate host cells (pneumocytes, monocytes, and neutrophils). Pneumocytes and monocytes secrete cytokines (TNF and IL-10) and chemokines (CXCL2 and CCL4). The chemokines chemoattract other leukocytes (neutrophils and monocytes) to the infection site, and the cytokines (TNF), together with the fungus itself, activate the leukocytes. Leukocytes kill A. fumigatus. This simplified figure does not show inactivation by IL-10/TGF-\(\beta \)/apoptotic cells and the secretion of TGF-\(\beta \) by inactivated cells

As in our published model, we have three types of host cells: type II epithelial cells, macrophages, and neutrophils. These cells are equipped with a simple intracellular model (Fig. 2) that determines their state at any given time. They receive signals in the form of cytokines or contact with A. fumigatus and move to one of three final states: Active (macrophages, epithelial cells, and neutrophils), TNF primed (macrophages and epithelial cells), or Inactive (macrophages only). Each state allows the cell to engage in certain activities, such as secreting specific cytokines. Table 3 shows the interactions between agents and molecules and the outcomes of these interactions. It is worth noting that only active macrophages can kill hyphae, while neutrophils in any state can kill. That was an assumption in our previous model, based on evidence that macrophages need pre-activation to kill hyphae (Roilides et al. 1995, 1994).

Fig. 2
figure 2

Diagram showing host cell state changes. In response to TNF or hyphae, resting host cells move to the activating state, and after 60 iterations activating cells become active. Active cells extra primed with TNF become chemokine secreting. Macrophages primed with TGF-\(\beta \), IL-10, or apoptotic cells become "inactivating" and then inactive (TGF-\(\beta \) secreting). After 180 iterations, inactive, active, or TNF-primed cells return to the resting state without extra signaling. The times to move from one state to another are approximations using the times for gene activation and inactivation measured in in-vitro experiments (Ribeiro et al. 2022)

Figure 2 and Table 3 summarize most features of the model dynamics. As mentioned, in this model we do not include iron metabolism explicitly, thereby significantly reducing the number of parameters. We also assumed that there were no significant changes in cell counts over time, due to the fact that we only simulate a 24 h period, based on the observation in Gago et al. (2018) that the number of monocytes and neutrophils is approximately constant from day two to three, which makes our assumption reasonable. We used two minute time steps in order to correctly capture the dynamics of diffusion, since a longer time step would lead to near equilibrium in the diffused molecules.

Besides cells, the model also contains five molecules: IL10, TNF, TGF-\(\beta \), CCL4, and CXCL2. These molecules diffuse through the space according to a partial differential equation (Chang et al. 1991) and interact with cells with probability given by Eq. 1:

$$\begin{aligned} p = 1 - e^{-x/k_d}, \end{aligned}$$
(1)

where p is the probability that the receptor will be activated, x is the cytokine concentration, and \(k_d\) is its dissociation constant. This equation is also used for the reaction between granules and hyphae. In this case, x is the granule concentration in arbitrary units, \(k_d\) is \(k_d\)_GRANULE, and p is the probability that the hyphal septae will die. In the case of hyphae killing by granules this equation is a phenomenological approximation. Moreover, a given molecule’s concentration decays with a half-life of one hour and a continuous exchange with the serum (Eq. 2):

$$\begin{aligned} y = x*e^{-K_{turn}*t}, \end{aligned}$$
(2)

where \(K_{turn}\) is the turnover rate, and t is the time-step size (2 min).

The two mechanisms not covered so far are leukocyte movement and A. fumigatus growth. Like in our published model, in the absence of chemokines, cells move randomly, while in their presence, they tend to move to the voxels with higher chemokine concentrations. The rate of movement is constant, and the cells will, on average, traverse a fixed number of voxels per time step. In the presence of chemokines, each voxel receives a weight according to Eq. 3, where CCL4 guides macrophages and CXCL2 guides neutrophils (Ribeiro et al. 2022):

$$\begin{aligned} w_i = 1 - e^{-y_i/k_d}, \end{aligned}$$
(3)

where \(w_i\) is the weight of the i-th neighbor voxel, \(y_i\) is the chemokine concentration in the i-th voxel, and \(k_d\) is the dissociation constant.

In nature, hyphal growth is of course a continuous process composed of elongation and branching (chiefly sub-apical branching). In the model we represent hyphal growth and branching as a discrete approximation. Every 40 \(\mu m\) of septae was considered a unit (we called it a cell in the simulator). A tip cell can produce another tip cell (elongation), while a sub-tip cell can form a 45\(^\circ \) branch (subapical branch) (Maheshwari 2005; Riquelme and Bartnicki-Garcia 2004) with a 25% probability. Other cells cannot originate new cells unless their neighbors are killed and they become tip or sub-tip cells again. In this paper, we did not change the branching probability, and to vary the growth rate, we changed the time it takes for a tip cell to generate a new unit.

2.2 Modeling coinfection

We model the COVID-19 A. fumigatus coinfection implicitly by changing specific parameters as well as the number of leukocytes in the lung space (Table 1). In the model, neutrophils kill hyphae by direct contact. However, to accommodate alternative mechanisms of neutrophil anti-microbial function, we introduced a second scenario in which leukocytes secrete granules that diffuse and kill the fungus. In our published model, we considered neutrophils killing A. fumigatus via ROS secretion only. The ROS concentration to kill hyphae is high enough only in the synapsis between the neutrophil and hyphae. However, other granule molecules may also be able to kill hyphae, hence the second scenario to account for uncertainty in the mechanism.

The results for the second scenario are presented in the supplementary material. For the second scenario, we introduced the parameters (\(k_d\)_GRANULE and GRANULE_HALF_LIFE—Table 5). Upon interaction with A. fumigatus, neutrophils are activated and then secrete one arbitrary unit of granule (an abstraction for the molecules contained in neutrophil granules). This granule kills hyphae with a probability given by Eq. 1. The granule contents, like all molecules, decay with a given half-life (GRANULE_HALF_LIFE). The rationale for using arbitrary units is that all that is needed is a pair of values, GRANULE_QTTY and \(k_d\)_GRANULE, that fits the data in Ribeiro et al. (2022). This pair of parameters is not identifiable, so we fixed GRANULE_QTTY to one arbitrary unity and fit the \(k_d\) to reproduce the simulation data in our previous work.

In Ribeiro et al. (2022), iron sequestration acted to inhibit Aspergillus fumigatus growth. Here we do not consider the role of iron explicitly. Instead, we tested a wide range of hyphal growth rates (Table 1) to represent more or less permissive lung environments, partly as the result of variable availability of nutrients such as iron across the space (see below). Another contributing factor is the damage done to the epithelium by the ongoing viral infection.

In this study, we focus on five parameters, with values listed in Table 1. The first parameter is the intrinsic growth rate of the fungus. The second and third parameters are proxies for the strength of the immune response, and the fourth and fifth parameters reflect an increased number of immune cells as part of the response to the viral infection. The intrinsic growth rate of the hyphae encapsulates the permissivity of the environment, such as the nutrient availability. However, the collective effects of the intrinsic growth rate, together with the counteracting effects of the immune response, we call the observed growth rate.

Table 1 Model parameter ranges

We performed Latin-Hypercube Sampling (LHS) on the parameters in Table 1. We varied the number of leukocytes, the monocyte killing probability (the probability with which monocytes kill hyphae upon direct contact), the intrinsic growth rate, and the neutrophil killing probability (the probability with which neutrophils kill hyphae upon direct contact). The intrinsic growth rate varies between 2.75 and 80 \(\upmu \)m/h. The rationale for these values is that the host limits access of the fungus to nutrients, thereby decreasing its growth rate. Therefore, at the lowest restriction, the fungus will grow to its full potential. The literature measure A. fumigatus growth in vitro of 40 \(\upmu \)m/h (see our previous work Ribeiro et al. (2022)) and 60 \(\mu m/h\) Gago et al. (2018). Because there is uncertainty in these numbers and in-vitro growth may be conservative, we set the maximum to 80 \(\upmu \)m/h.

The probability of neutrophils and macrophages killing hyphae had a similar rationale. We had the default from our previous work of 23% and 9.9%, respectively. Because we are considering the negative effect of SARS-CoV-2 in these cells (See Results and Discussion), these numbers can only decrease. Meanwhile, the number of leukocytes reflects the uncertainty and natural variability in these cells. We use the ranges given by Gago et al. (2018) (5–15 million) as an educated guess. Note that at the peak, on day one, we have  15 million neutrophils, and on day three,  15 million monocytes. Therefore, these ranges are reasonable for both cell types.

Using LHS sampling we generated 24,000 parameter sets, representing 24,000 virtual hosts of the dual infection. (We also created an additional 36,000 virtual hosts using the alternative neutrophil mechanism; see supplementary material). We measured the observed growth rate as the slope of the log of the A. fumigatus curve across the 24 h of simulation (Eq. 4). Note that we shifted the A. fumigatus curve by 1 to avoid negative infinity when the number of A. fumigatus cells tends to zero. The observed growth rate is a value given by Eq. 4, while the intrinsic growth rate is a model parameter (Table 1). In Eq. 4 we are counting the number of hyphal septae:

$$\begin{aligned} Log_{10}(hyphae + 1) = a + b \times t, \end{aligned}$$
(4)

where b is the observed growth rate, and t is time in hours.

2.3 Partial rank correlation coefficient

A partial rank correlation coefficient is a common way to assess local model sensitivity to parameters. In this paper, we performed a sensitivity analysis (SA) of the five (Scenario 1) and six (Scenario 2) parameters against A. fumigatus observed growth rate. We used the method “pcc" from the R package “verification" (Johnson and Lebreton 2004). To do the SA we used our virtual patient population.

Moreover, we also measured how the parameters’ partial correlation changed as the intrinsic growth rate changed. That is, we divided the virtual patient population into ten bins of similar intrinsic growth rates (GROWTH_RATE). Then we computed the partial rank correlation coefficient of the other four parameters (PR_N_KILL, PR_MA_KILL, NUM_MA, and NUM_N).

2.4 Code

The simulator was written in Java (JavaSE\(-\)1.8) and needs only the JRE System Libraries. A typical execution takes about 4-5 s to simulate 24 h in an OSX 2.6 GHz 6-Core Intel Core i7. Code is available at: https://github.com/deassisinfo/CAPA/.

3 Results

Our goal is to test the hypothesis that a respiratory viral infection such as severe COVID-19 can make the lung environment more permissive to A. fumigatus growth and, at the same time, exhaust the immune system, allowing the fungal infection to progress in an otherwise immunocompetent host. In the simulator, these conditions translate into a higher intrinsic growth rate and lower ability of leukocytes to kill hyphae. Concomitantly, when the A. fumigatus infection starts, the number of leukocytes in the lung is high because the host is already fighting another infection. These conditions are encoded by the model parameters in Table 1. Each parameter sample can be thought of as a virtual patient for whom we simulate infection outcome. We started each simulation with 640 type-II pneumocytes, 20 germinated conidia, and 360–960 monocytes and neutrophils. Each simulation represented 24 h (720 iterations), and we used a time-step of 2 min. The results are shown in Fig. 3.

Fig. 3
figure 3

Distribution of observed growth rate. The observed growth rate of A. fumigatus was measured during the 24 h of simulation in the virtual patient population. The graph shows a bimodal distribution of the growth rate. We divided the virtual patients into two clusters according to their observed growth rate: the prominent peak on the negative side (Cluster 1) and the secondary peak (Cluster 2). We then subdivided Cluster 2 into three subclusters: 2A is the negative part, 2B is the positive part excluding outliers, and 2C is the long tail of outliers

In order to correctly interpret Fig. 3, one needs to keep in mind the distinction between intrinsic growth rate and observed growth rate. The first is a parameter (Table 1) that controls the time it takes for new A. fumigatus cells to be generated. The second results from the number of cells generated (intrinsic growth rate) minus the number of cells killed by leukocytes. The intrinsic growth rate is always positive, while the observed growth rate may be negative if the infection is declining, as observed in the vast majority of cases in Fig. 3.

Observe that the distinction between intrinsic and observed growth rates is exclusively a model property. The intrinsic growth rate is a model parameter, whereas the observed rate is a model output. However, from the point of view of nature or a more complex model, what we call intrinsic may still be considered observed. For example, a simple model may have a growth rate with a value of 3 \(\upmu \)m/h. Therefore, for this model, 3 \(\upmu \)m/h is its intrinsic growth rate. However, a more complex model may have two parameters: growth rate and iron acquisition, none of which are 3 \(\upmu \)m/h. But they interact to produce an observed growth rate of 3 \(\upmu \)m/h.

The data in Fig. 3 show a prominent peak in negative observed growth rate, indicating resolution of the infection, and a second smaller peak with a long tail of positive observed growth rate. We can therefore cluster patients into two groups, with Cluster 1 containing only patients that clear the infection. Cluster 2 can be further subdivided into three subclusters representing progressively worsening fungal infection. Cluster 2A is the portion of Cluster 2 with negative observed growth rate, representing patients whose infection clears, while Cluster 2B is the portion of Cluster 2 with positive observed growth rate (excluding the outliers), and Cluster 2C is the long tail of outliers (Fig. 3), both together representing patients that develop CAPA. We found a similar distribution in Scenario 2 (Fig. 8). This bimodal distribution is consistent with what is known for this disease: patients with an intact neutrophil response resolve the fungal infection, whereas the cluster with positive observed growth rate corresponds to the observation that COVID-19 patients in the ICU can develop CAPA (Mitaka et al. 2021). Figure  7 shows that the percentage of patients with CAPA in our simulation (clusters 2B and 2C) is similar to the one measured in epidemiological studies.

Clusters 2B and 2C in Fig. 3 and Table 6 suggest that a combination of higher intrinsic fungal growth rate and lower fungal killing by the immune response can explain the onset of CAPA in otherwise immunocompetent hosts. Figure 10 confirms that patients with CAPA have decreased ROS production by neutrophils, one of the key tools used by leukocytes to kill hyphae. This reduction is qualitatively similar to the reduction in neutrophil-killing ability between CAPA and non-CAPA patients (Fig. 10B). Meanwhile, Fig. 11 shows that hemorrhage and the availability of heme is a factor that favors A. fumigatus growth, similar to the increase in the observed growth rate observed in our CAPA virtual patients (Fig. 11C). Interestingly in Scenario 2, the intrinsic growth rate seems to play a secondary role (Table 2). To further explore this hypothesis, we constructed classification trees to see which combinations of parameters are necessary for CAPA (Fig. 4).

Fig. 4
figure 4

Classification tree. The classification tree found the parameter values that best parse the virtual patients into the four clusters defined in Fig. 3. The percentage value range is 0–1. The sets of four numbers beneath each branch are the relative frequencies of each cluster in that branch

One can see in Fig. 4 that the dominant parameters are the neutrophil killing rate, intrinsic growth rate, and to a lesser degree, the monocyte killing rate. Classification trees can indicate which parameters are the most important by measuring how much each parameter contributes to node purity. We confirmed that these three parameters (neutrophil killing rate, intrinsic growth rate, and monocyte killing rate) are indeed the dominant ones. Similarly, in Scenario 2, granule half-life, \(k_d\), and to a lesser degree, intrinsic growth rate are the dominant parameters (not shown, Fig. 9).

Since we have only three dominant parameters, we can plot the virtual patients in a 3D space. That will allow us to see how the four clusters are distributed. In Fig. 5A, each point represents a virtual patient. The x-axis is the log of that patient’s intrinsic growth rate, the y-axis is the log of that patient’s monocyte killing probability, and the z-axis is the log of that patient’s neutrophil killing probability. We colored each patient according to their cluster (1, 2A, 2B, or 2C). We used log base ten because different patients have parameter value differences of up to two orders of magnitude.

Fig. 5
figure 5

Distribution of clusters of patients and CAPA probability in the 3D and 2D spaces formed by the most important parameters according to the classification tree (Fig. 4). A virtual patients plotted in 3D space and colored according to their cluster. The x-axis is the log of patients’ intrinsic growth rate, the y-axis is the log of their monocyte killing probability, and the z-axis is the log of the neutrophil killing probability. B shows the CAPA probability as the intrinsic growth rate and neutrophil killing probability

As shown in Fig. 5A, Clusters 1 and 2A are interspersed. This is to be expected because both these clusters represent patients for whom the infection cleared (Cluster 2A is the negative part of peak 2). Cluster 2C is segregated in the high intrinsic growth rate region. However, it is noteworthy that some patients in Cluster 2B are very similar to patients in Cluster 2A, in that they have similar sets of parameters that characterize their infection.

To better explore this transition between patients that clear the infection (Clusters 1 and 2A) and those that do not (Clusters 2B and 2C), we computed how the probability of developing CAPA changes as parameters vary (Fig. 5B). We restrict ourselves to plotting the CAPA probability across the two most influential parameters. We plot how a virtual patient’s probability of developing CAPA changes as the intrinsic growth rate and the neutrophil killing rate change (Fig. 5B). As shown in Fig. 5B, the dividing line along which a patient may either clear the infection or develop CAPA cuts the graph across the diagonal. Both parameters (intrinsic growth rate and neutrophil killing probability) are essential in determining the patient’s outcome: a high intrinsic growth rate can be compensated for, in part, by a high killing rate and vice versa. In Scenario 2, we found a similar transition between patients that develop CAPA and those that do not when we vary the parameters of intrinsic growth rate and granule \(k_d\) (Fig. 9B). This shows that our conclusions are similar in both scenarios.

Table 2 The predictive power of parameters

An essential question in Fig. 5, especially 5B, is whether using only two parameters is meaningful. To answer that question, we divided the virtual patients into two subsets. The first subset of 20,000 was used to train classification trees, while the second subset of 4000 was used to test its predictive power. We also used ten-fold cross-validation and measured the F1 score, as in Table 2. The F1 score combines the precision and recall into a single metric, and it is primarily used to compare the performance of a classifier. We found that the reduction from all five parameters to the top three (GROW_RATE, PR_N_KILL, and PR_MA_KILL) does not affect the predictive power of the classification trees, while the reduction to the top two (GROW_RATE and PR_N_KILL) has only a minor effect.

Results from previous figures have shown that the observed growth rate is highly dependent on the intrinsic growth rate. We divided the virtual population into ten bins of similar intrinsic growth rates and computed the square of the partial rank correlation of the parameters and observed growth rate (Fig. 6). Figure 6A shows the variation of the square of the correlation between neutrophil killing probability and observed growth rate. At the same time, Fig. 6B shows the variation of the square of the correlation between monocyte killing probability and observed growth rate. The partial correlation between the other parameters and the observed growth rate was not substantial (results not shown).

Fig. 6
figure 6

Variation of the square of the correlation \(r^2\) between the critical model parameters and the observed growth rate, with the variation of the intrinsic growth rate. We started with a dataset of 24,000 virtual patients generated with LHS and then partitioned this dataset by intrinsic growth rate. The x-axis shows the range of the intrinsic growth rate in each partition. We then calculate the correlation between parameters and the observed growth rate in each partition. A Variation of \(r^2\) between the neutrophil killing rate and observed growth rate. B Variation of \(r^2\) between monocyte killing rate and observed growth rate. Error bars are standard deviations calculated with bootstrap

4 Discussion

Aspergillus fumigatus is an opportunistic mold that infects immunocompromised hosts, chiefly those with impaired neutrophil response, but also patients with normal neutrophils but impaired cell-mediated immunity (Mackel and Steele 2019). However, Lai and Yu (2021) found that in patients with CAPA the conventional risk factors for invasive aspergillosis are not present. They found that CAPA patients were mostly older men suffering from diabetes, obesity, hypertension, or cardiovascular disease. These conditions may help explain the onset of CAPA, but are likely not sufficient by themselves. We hypothesized that COVID-19 infection may exhaust the immune system, and at the same time the destruction of lung epithelium overloads the fungus with nutrients. Therefore we propose a model where the coinfection negatively affects the default parameters we inherited from Ribeiro et al. (2022). We tested this hypothesis using a simulated virtual patient population generated by our computational model.

Before we can draw conclusions from the model, it is critical to discuss the parameters. Like our previous one, this model was parameterized with literature data. Therefore it does not fit any particular dataset exactly. However, it reproduces biological data within the limit of biological variance itself. That was the case with the several datasets with which we compared our model in our previous paper (Ribeiro et al. 2022). We note that it is possible, to fit this model to particular data sets.

Another point that is worth discussing is identifiability. Because of the way parameters were obtained from the literature (see Ribeiro et al. 2022), identifiability is not an issue here. As an example, take cytokines \(k_d\), secretion rate, and half-life. If one tries to fit these parameters from a time series of cytokines in BAL or lung homogenate in an infection, likely, they will not be identifiable. However, we got these parameters from experiments designed to measure each one individually.

Concerning the experiments we conducted, our simulations show that 31% of the virtual patients in Scenario 1 and 17% in Scenario 2, who were exposed to A. fumigatus, developed CAPA. That is qualitatively consistent with data from Mitaka et al. (2021) that show 10% of patients in the ICU developed CAPA and with data from Kariyawasam et al. (2021) that show that 15% of patients in the ICU developed CAPA (Fig. 7). Moreover, Figs. 10 and 11 suggest that the kinds of parameter variations proposed in this model (i.e., change in A. fumigatus virulence and neutrophil activity) exist in the general population. On the other hand, the discrepancy, chiefly in Scenario 1, can be explained by the fact that most patients hospitalized with COVID-19 infection are presumably not exposed to A. fumigatus.

Results from Fig. 7 show that Scenario 2 seems to agree more with epidemiological data, but it also shows a discrepancy between the two scenarios. This highlights the fundamentally different dynamics of neutrophils killing by direct contact or secreting granules that kill hyphae in the neighborhood. Both scenarios were made to fit the simulations in Ribeiro et al. (2022). However, the two scenarios diverged when we varied the conditions, albeit still behaving in similar ways.

Our model suggests that both reducing neutrophil activity and increasing fungal intrinsic growth rate might be necessary for CAPA to emerge (Figs. 4 and 5). Tappe et al. (2022) found that neutrophils of COVID-19 patients had reduced ROS production qualitatively similar to the reduction in neutrophils’ killing ability in simulated CAPA patients in our model (Fig. 10). At the same time, Grunwell et al. (2019) found that neutrophils treated with airway supernatant of patients with acute respiratory failure due to lower respiratory tract viral infection had altered surface markers. Moreover, when the neutrophils were treated with airway supernatant in patients with bacterial and viral coinfection, they had decreased respiratory burst and bactericidal response. The mechanism is not well understood. However, Verweij et al. (2020) reported that influenza might suppress neutrophil oxidative burst, causing temporary disease status resembling chronic granulomatous disease. Arastehfar et al. (2020) indicate that collateral effects of antiviral immunity may, paradoxically, contribute to an inflammatory environment that favors secondary infections such as CAPA. On the other hand, the drugs used to treat serious COVID-19 infection, such as Tocilizumab and dexamethasone, can also hinder the immune response against A. fumigatus (Segrelles-Calvo et al. 2021). These findings support the hypothesis that the immune response against A. fumigatus may be hampered in patients with serious COVID-19 infection.

Concomitantly, Escobar et al. (2015) showed that pneumocytes cocultured with A. fumigatus inhibited fungal germination and growth. In contrast, Rodrigues et al. (2005) found that exposing A. fumigatus to albumin increases its germination and growth rate. Hsu et al. (2018) gives a persuasive argument for hemorrhaging increasing the rate of A. fumigatus invasion. Likewise, Michels et al. (2022) found that heme increases fungal growth (Fig. 11). While Fig. 11B shows only the effect of heme in-vivo Michels’s paper (Michels et al. 2022) gives compelling evidence that heme iron and perhaps heme ring favors A. fumigatus growth in-vitro and in-vivo.

In our previous model, iron concentration was a bottleneck reducing the observed growth rate (Ribeiro et al. 2022). Hemorrhage caused by previous COVID-19 infection may help to overcome this bottleneck, according to the evidence provided by (Hsu et al. 2018; Michels et al. 2022). Furthermore, the iron concentration (non-heme) may be higher in serum than in the alveolar space (Stites et al. 1995). Arastehfar et al. (2020) argue that the leading risk factor for CAPA includes severe lung damage during the course of COVID-19 and the presence of comorbidities such as structural lung defects. These findings support our hypothesis that lung epithelium destruction and hemorrhage favor A. fumigatus growth: once the pneumocytes are killed, A. fumigatus is exposed to a nutrient-rich environment and can grow faster.

Figure 5 suggests that the onset of CAPA is regulated chiefly by the intrinsic fungal growth and neutrophil killing rates. The CAPA probability increases as the intrinsic growth rate increases or as the neutrophil killing probability decreases. In the alternative neutrophil action scenario (Fig. 9), we can make a similar observation with the granule \(K_d\) and intrinsic growth rate (Fig. 9B). A moderate increase in the intrinsic growth rate and decrease in neutrophil activity can also lead to CAPA. Alternatively, a high increase in intrinsic growth rate or a steep decrease in neutrophil activity could also lead to the same outcome. Both scenarios we tested (i.e., neutrophils killing by direct contact or by secreting granules) support this conclusion. We found the first hypothesis to be more plausible (i.e., moderate change). However, Grunwell, JR et al. 2018 Grunwell et al. (2019) found a substantial reduction in neutrophil killing ability that could support the second hypothesis (i.e., high change in neutrophil killing probability). Whether their result generalizes to fungal coinfection remains open.

Figure 6 shows that neutrophils are more efficient in controlling the infection in the case of a moderate intrinsic growth rate. This corroborates the previous results. It may also reflect how identifiable these two parameters are. Figure 6 can be divided into two: the center and the tails. In the tails, the leukocytes always win or lose the battle independent of the value of the intrinsic growth rate. But that means that the observed growth rate in these regions is not strongly correlated with leukocyte activity. The center is where there is an exchange: as the intrinsic growth rate increases, the neutrophil and monocyte activity has to increase to keep the fungus in check. That means that these two parameters are not identifiable from the point of view of the observed growth rate. That reinforces the previous conclusion that CAPA may be caused by decreased leukocyte activity, increased Aspergillus fumigatus growth, or both.

Figures 5B and 9B, however, suggests that CAPA might be caused by both instead of only one of the causes. The tails and the center in Fig. 6 roughly relate to the plateaus and the dividing line in Figs. 5B and 9B. Note that there are only narrow areas of intrinsic growth rate that are entirely independent of neutrophil activity. That is, the dividing line in graphs 5B and 9B cuts the plot along the diagonal.

Interestingly, the work of Dellière et al. (2021) analyzed several clinical factors in COVID-19 patients with and without CAPA. Treatment of COVID-19 patients with the antibiotic azithromycin was associated with an increased risk of CAPA. In prior literature, azithromycin has been shown to attenuate neutrophil oxidative burst (Čulić et al. 2002). In our model, this would translate into a decreased neutrophil-killing probability. This fits with our finding that this parameter is paramount for CAPA establishment.

On the other hand, Dellière et al. (2021) found similar percentages of neutrophils and macrophages in CAPA and non-CAPA patients. Likewise, Xu et al. (2021) found that patients with fewer than \(1.5 \times 10^9\) neutrophils/L had no increased risk of developing CAPA. That resonates with our finding that the number of neutrophils and monocytes had a low correlation with the observed growth rate (Table 6) and was a poor predictor of CAPA (Figure trees) (Fig. 4).

The work we present here is primarily theoretical, validated with supporting evidence from the literature. While it would be very difficult to validate our predictions using actual patient data, one could instead use data from experiments with mouse models of aspergillosis and COVID-19. Such an experiment would involve three groups of mice: non-neutropenic ACE2 transgenic mice challenged with Aspergillus, ACE2 mice challenged with SARS-CoV2, and SARS-COV2 followed by Aspergillus. One could then use data on fungal load and cytokine measurements after 3 days.

We conclude that an increase in the favorability of the lung environment, likely due to an increased supply of nutrients and decreased effectivity of neutrophils to kill hyphae, is the most likely explanation for CAPA. To make our findings more robust, we tested two possible scenarios of how neutrophils kill hyphae (Supplementary Material). We found that the conclusions are the same, independent of the scenario.