1 Introduction

Although microorganisms have been traditionally investigated as single-cell, planktonic entities, analyses of bacterial communities in diverse environments have led to the conclusion that planktonic growth rarely exists for microorganisms in nature (Hall-Stoodley et al. 2004). Instead, bacteria preferentially form self-organized assemblages—termed biofilms—composed of surface-adherent cells embedded in a protective matrix comprised of extracellular polymeric substances (EPS) (Hall-Stoodley et al. 2004; Ma et al. 2010). Encased in this matrix of biopolymers, microbial communities develop physically diverse structures containing cell clusters, interstices, water channels (Stoodley et al. 1994), and large mushroom-shaped assemblies (Hunter and Beveridge 2005; Jefferson et al. 2005; Lawrence et al. 1991; Yang et al. 2000; Costerton et al. 1987; Stoodley et al. 2002). The transition from planktonic to biofilm mode of growth, and biofilm architecture are influenced by a range of local and macroscopic signals and stimuli, such as nutrient concentrations, intercellular communication, and environmental stresses (Bassler et al. 1993; Matz et al. 2004; McDougald et al. 2012; Stoodley et al. 2012).

Bacterial biofilms forming on damaged tissues (Potera 1999; Deretic et al. 1994; Rayner et al. 1998) or on biomimetic devices (Blaser et al. 1995; Darouiche et al. 1994; Stickler et al. 1998; Ward et al. 1992) are a leading cause of chronic infections, since the cells within the biofilm are extremely resistant to antibiotics and are adept at evading host immune responses. Interestingly, whereas biofilm-associated bacteria are more tolerant to antibiotics than their planktonic counterparts, it is only subpopulations within the biofilms—termed persister cells—that exhibit enhanced antibiotic tolerance (Gefen and Balaban 2009; Gefen et al. 2008; Keren et al. 2004a, b; Kussell et al. 2005; Mulcahy et al. 2010). This spatially nonuniform response to antibiotic treatment suggests that biofilms are comprised of structurally and functionally heterogeneous microcolonies that may differ from their surroundings with respect to metabolic activity, growth phase, and gene expression patterns (Stewart and Franklin 2008; Queck et al. 2008). For instance, in P. aeruginosa biofilms, it has been shown that dormant cells were more tolerant to tobramycin and silver ions. In addition, active cells had bigger cell size and higher intracellular density compared to dormant cells (Kim et al. 2009). It is possible that cells in these metabolically inactive microniches exhibit reduced antibiotic uptake rates. In addition, drug tolerance in dormant bacterial cells has been attributed to lower cytoplasmic drug accumulation as a result of enhanced efflux activity (Pu et al. 2016). Furthermore, these bacteria may be sheltered within a reaction–diffusion barrier presented by surrounding, faster-growing cells and EPS, thereby reducing local antibiotic penetration (De Beer et al. 1994; Grobe et al. 2002).

Quorum sensing (QS) is a mechanism of intercellular communication used to collectively coordinate group behaviors based on population density (Ng and Bassler 2009; Rutherford and Bassler 2012; Fuqua and Greenberg 2002; Davies et al. 1998). This process relies on the production, release, and group-wise detection of signal molecules called autoinducers (e.g., acyl-homoserine lactones in Gram-negative bacteria) which rapidly diffuse in the liquid phase and across cell populations, and accumulate in the biofilm over time. Experimental work suggests that there is a positive correlation between QS and EPS production (Quinones et al. 2005; Koutsoudis et al. 2006; von Bodman et al. 1998; Tan et al. 2014). For instance, in Pantoea stewartii biofilms, approximately ten-fold increase in EPS production upon QS induction was observed (von Bodman et al. 1998). Cells exhibiting enhanced EPS production in the presence of autoinducer molecules are said to be up-regulated. QS-induced EPS production allows a biofilm to switch from a colonization mode to a protection mode (Frederick et al. 2011). The EPS matrix confers structural integrity to the biofilm by providing mechanical strength and reducing the extent of cell detachment (Boyd and Chakrabarty 1994; Janissen et al. 2015). In addition, the effect of QS-regulated EPS production on biofilm architecture has been shown to be a function of the growth stages during biofilm formation (Ma et al. 2009; Tseng et al. 2013).

The mechanisms of emergence of protected microcolonies in growing biofilms remain poorly understood. One possible explanation is nutrient limitation. When suspended in a solution of nutrients, microorganisms disrupt the uniform distribution of dissolved nutrients by locally depleting them and generating nutrient concentration gradients. The spatial distribution of accumulated biomass within the biofilm is, therefore, intimately interconnected with local nutrient concentration gradients. In addition, concentration gradients may also be set up for signaling molecules such as autoinducers resulting in spatially nonuniform production and distribution of EPS. Consequently, the biofilm may comprise of numerous microenvironments where local chemistries are distinctly different from the surroundings with respect to biomass density, nutritional availability, and concentrations of EPS and signaling molecules. Another possibility is that quorum-sensing signals allow the bacteria to trigger expression of protective genes, resulting in the formation of persister cells (Lewis 2007; Jayaraman and Wood 2008).

A key challenge in modeling the structural development of a biofilm arises from the complex interaction between many processes. Current biofilm models can be broadly classified into two categories: continuum models (Alpkvist and Klapper 2007; Duddu et al. 2009) and individual-based models (Kreft et al. 2001). In continuum models, the biofilm is considered to be a continuous medium, with porosity, surface shape, and density as input parameters. In contrast, individual-based models treat bacterial cells as individual units with their own states, thereby allowing for variability between individual behaviors with respect to their growth rates, nutrient uptake rates, local nutrient concentration, signaling molecule production, up-regulation and down-regulation states, and EPS production. The discrete, 3D nature of individual-based models, combined with physical dynamics, allows for the calculation of concentration profiles of soluble entities, as well as the spatial distribution of biomass, and distribution in clusters. Consequently, chemical and structural heterogeneities within the biofilm emerge as a result of the actions and interactions of the cells with each other, and with the surrounding environment, rather than being a model input (Kreft et al. 2001).

Several models have investigated quorum sensing in biofilms (Emerenini et al. 2015; Fozard et al. 2012; Langebrakea et al. 2014). Most quorum sensing models focus on up-regulation, with only a few including the effect of quorum sensing on biofilm architecture, and growth dynamics (Frederick et al. 2011; Anguige et al. 2005). In many models, the cell density is assumed to be constant (Wanner and Gujer 1986; Klapper and Dockery 2002), thereby neglecting biofilm expansion that results from the production of new cells, and shrinkage caused by cell death and detachment. Recently, attempts have been made to use deterministic continuum models of quorum sensing in biofilms (Emerenini et al. 2015). Such models neglect the stochastic nature of the up- and down-regulation processes and are unable to account for local heterogeneities in microbial subpopulations. In the past, mechanistic computational models have successfully described the autonomous formation of tertiary macrostructures in bacterial biofilms (Alpkvist et al. 2006; Chambless et al. 2006; Picioreanu et al. 2004), including the effects of EPS on biofilm structure (Kreft and Wimpenny 2001). However, a systematic analysis of the local structural and chemical heterogeneities in the biofilm interior has not been performed. An analysis of the spatial heterogeneity in bacterial growth rates could shed light on mechanisms of the emergence of dormant microcolonies containing cells that are potentially antibiotic-insensitive. Here, we present a prototype individual-based 3D computational cellular automata model to simulate biofilm growth and quantify heterogeneity as a function of growth phase, space, and time. The goal is to answer the following questions: (1) can physical processes like nutrient starvation and localized cell death account for the formation of metabolically inactive microcolonies in biofilms, in the absence of genetic triggers? (2) How does quorum sensing—and the associated EPS production—influence the structural heterogeneity of the biofilm? Specifically, we investigate the roles of (1) carbon source concentration, (2) localized cell division, death, and dispersal, (3) QS, and (4) EPS production on the structural and chemical heterogeneity of mono-microbial biofilms. The model incorporates the following processes: nutrient diffusion, reaction, and convection; biomass growth kinetics, cell division, death, and dispersal; autoinducer production, and transport; and EPS production. The simulation represents a 400-h duration of biofilm growth, in which cells are tracked individually, allowing us to quantify spatiotemporal variations of heterogeneities of the biomass, EPS, nutrients, and signaling molecules.

Our results from causal modeling suggest that biofilms are comprised of at least three structurally distinct strata with respect to metabolic activity, growth phase, nutrient availability, and porosity: a high-biomass, low-heterogeneity section in the middle of the biofilm, sandwiched between two highly heterogeneous low-biomass regions on the top and the bottom. In QS-positive (\(\hbox {QS}^+\)) biofilms, an additional layer comprising of EPS, and devoid of cells, exists in close proximity to the substratum. The simulations show that nutrient limitation, in the absence of genetic triggers, can account for the formation of microenvironments containing dormant, low-activity cells surrounded by high-activity ones. Cell death occurs preferentially in the bottom section of the biofilm, leading to increase in heterogeneity in the biomass distribution in this region, and ultimately to sloughing. A clear understanding of heterogeneities at the local scale may be vital to solving the riddle of the resistance of biofilms to external stresses such as antibiotics.

2 Methods

2.1 Domain Geometry

The domain geometry used in this model is a 3D adaptation of the 2D domain described elsewhere (Fagerlind et al. 2012). Briefly, biofilm growth is simulated within the confines of a rectangular box. The bottom surface (square with side \(120\,\upmu \hbox {m}\)) represents the stationary substratum upon which the biofilm develops. Periodic boundary conditions are applied in the horizontal directions, thereby eliminating edge effects and ensuring continuity of biomass (Picioreanu et al. 2004; Chang et al. 2003). A continuously replenished nutrient reservoir is placed at the top at a constant distance from the substratum. The interface between the nutrient reservoir and the biofilm domain is termed the diffusion boundary layer (DBL). It is assumed that the DBL has a constant thickness of \(18\,\upmu \hbox {m}\) and remains parallel to the substratum in the low-flow regime considered in this work. For the flow regime considered in this work, the nutrient concentration at a vertical distance of \(18\,\upmu \hbox {m}\) from the highest cell in the biofilm was greater than 95% of the bulk nutrient concentration, even at time points corresponding to the highest cell numbers. It is worth noting that at high velocities, the diffusion boundary could follow the surface of the biofilm and may not be necessarily stratified as is assumed here (Picioreanu et al. 2000). The space between the DBL and the substratum is discretized into cubical elements of volume \(27\,\upmu \hbox {m}^3\) each. During the simulation, each element may be occupied by one or more of the following entities: (1) bacterial cell, (2) EPS, (3) nutrient, and (4) autoinducer. These entities are assumed to be capable of coexisting with each other in the same cubical element.

The simulation represents a time march in which the occupancy status of each element is updated at every time step. At time \(t= 0\), six cells, termed colonizers, are placed into random elements atop the substratum. Simultaneously, nutrient diffuses across the DBL. Cells consume nutrient, and subsequently grow and divide, resulting in the formation of a contiguous multicellular population. At the end of each time step, the nutrient reservoir is shifted vertically upwards such that a predetermined distance from the topmost cell in the biofilm is always maintained. It is assumed here that the biofilm does not pose an obstacle to flow and that it is subjected to a constant linear velocity gradient of 10 s\(^{-1}\) with zero velocity at the substratum and maximum velocity at the highest point. This latter is updated every time the height of the biofilm changes, so as to maintain a shear rate of 10 s\(^{-1}\). It has been shown that giving up the conservation principles for fluid flow in the biofilm domain leads to increased deviations with respect to concentration fields and fluxes (Eberl et al. 2006). The magnitude of deviation is in some is cases small (<2%, at slow bulk flow velocities of \(\sim \)0.0001 m/s) and considerable in other (>20%, at fast bulk flow velocities of \(\sim \)0.01 m/s). The results presented in this work correspond to the low bulk flow regime (maximum velocity of \(\sim \)0.0006 m/s). Consequently, deviations in concentration fields and fluxes have been neglected. Such low fluid shear rates (10–50 s\(^{-1}\)), experienced within the intestine, and veins, have been shown to be effective in simulating S. aureus biofilm colonization and development (Castro et al. 2011; Guo et al. 2000).

Using this domain geometry, we were able to simulate biofilms containing up to 23368 ± 218 bacterial cells; recent individual-based models of biofilm formation and growth have shown that simulations involving up to 10,000 bacteria are sufficient to demonstrate that all steps of biofilm formation observed in experiments can be reproduced (Ardré et al. 2015).

Each bacterial cell in the grid is modeled and tracked as an independent unit, with its own set of parameters (Table 1) and behaviors. To simulate behavioral variability, parameter values for individual bacterial cells were obtained by random draws from a uniform distribution around the values listed in Table 1 while discarding all negative values, and those outside ±10% of the mean; these precautions are necessary with distributions ranging from \(-\infty \) to \(+\infty \) (Kreft et al. 1998). The resulting aggregate behavior of the biofilm is therefore emergent from the local interactions between the individual bacteria and their surroundings, thereby allowing us to simulate the self-organized process of biofilm formation.

A detailed description of the different behaviors of the entities is presented below.

Table 1 Model parameters

2.2 Nutrient Reaction and Transport

The spatial distribution of nutrient concentration within the biofilm influences biomass growth rate. In turn, bacterial behavior (growth, division, spreading, death, and detachment) affects nutrient concentration fields. The temporal and spatial distribution of nutrient concentration (\({C}_\mathrm{N}\)) is, therefore, intimately dependent on the local biomass concentration (\({C}_\mathrm{B}\)). \({C}_\mathrm{N} = {C}_\mathrm{N} (x,y,z,t)\) represents the nutrient concentration value at each element (xyz) of the spatial domain at time t. The nutrient uptake rate is described by the Herbert–Pirt model (Eq. 1) (Kreft et al. 1998; Picioreanu et al. 1998a, b).

$$\begin{aligned} r_{N}(C_\mathrm{N}, C_\mathrm{B}) = \left( \frac{\mu _\mathrm{max}}{Y_\mathrm{NB}} + m\right) C_\mathrm{B}\left( \frac{C_\mathrm{N}}{C_\mathrm{N}+ K_{N}}\right) \end{aligned}$$
(1)

where \(\mu _\mathrm{max}, {Y}_\mathrm{NB}\), and m represent the maximum specific growth rate, yield coefficient, and maintenance coefficient of the bacteria, respectively, and \({K}_N\) is the half-saturation coefficient.

The nutrient concentration within each element of the domain changes because of consumption, diffusion, and convection and is given by

$$\begin{aligned} \frac{\partial C_\mathrm{N}}{\partial t} = -r_{N}(C_\mathrm{N},C_\mathrm{B})+ D_\mathrm{N} \sum ^{3}_{i = 1}\frac{\partial ^2 C_\mathrm{N}}{\partial x^2_{i}}- {\bigtriangledown }.({\nu }C_\mathrm{N}) \end{aligned}$$
(2)

Here, \({D}_\mathrm{N}\) is the nutrient diffusivity, and v is the local fluid velocity. Diffusion coefficients within bulk flow (region with no biomass) and the biofilm domain (region with biomass) are assumed to be identical, i.e., solutes diffuse through liquid-filled and biomass-filled regions at the same rates. The 3D reaction–diffusion–convection equation is solved numerically with the following boundary conditions:

  1. (a)

    A Dirichlet boundary condition is imposed at the DBL, i.e., the nutrient concentration remains constant at the interface between boundary layer and bulk liquid.

  2. (b)

    Neumann boundary condition is imposed at the substratum, where the nutrient flux is zero.

  3. (c)

    Periodic boundary conditions are applied at the lateral boundaries.

A portion of the consumed nutrient is utilized by the bacterium toward endogenous metabolism. The leftover nutrient is assumed to be converted to biomass with an efficiency called the yield coefficient, \({Y}_\mathrm{NB}\) (Fagerlind et al. 2012). The net accumulation of biomass is, therefore, given by:

$$\begin{aligned} \frac{\partial C_\mathrm{B}}{\partial t} = Y_\mathrm{NB}\left[ r_{N} (C_\mathrm{N},C_\mathrm{B}) - mC_\mathrm{B}\right] \end{aligned}$$
(3)

Real biomass growth is governed by the specific growth rate, \(\mu _\mathrm{max}\), and decay of biomass is included by incorporating the maintenance coefficient, m, and yield coefficient, \({Y}_\mathrm{NB}\). This allows for negative net biomass growth under low nutrient conditions.

2.3 Cell Division, Death, and Detachment

2.3.1 Cell Division

When the biomass of a bacterium reaches twice its native value, it divides into two daughter cells. Whereas one daughter cell continues to remain in the same element as the dividing mother cell, the other is pushed into a bacterium-free element in the immediate neighborhood. The immediate neighborhood, termed the Moore neighborhood, comprises of 26 cubical elements surrounding the central element. If multiple bacterium-free elements are available for occupation, one is chosen at random (Picioreanu et al. 1998b, a). On the other hand, if all elements in the Moore neighborhood are occupied by bacteria, an unoccupied element is identified at the nearest Chebyshev distance from the location of the mother cell. The occupancy statuses of elements is checked at successively larger Chebyshev distances (starting with a Chebyshev distance of 2, and moving outward, layer by layer), until an empty element is found. Each of the bacterial cells that lie between the mother cell and the closest bacterium-free element are then shifted by one grid element away from the mother cell, and toward the empty element creating a bacterium-free element in the Moore neighborhood of the mother cell. This newly created bacterium-free element is then occupied by the daughter cell, thereby ensuring that the daughter cell is always placed immediately next to the dividing bacterium.

2.3.2 Cell Death

Cell death is assumed to occur via one of two mechanisms: (1) limited nutrient uptake (Stewart et al. 2004) or (2) starvation caused by prolonged stay in the stationary phase (Nystrom 2001, 2003). Nutrient uptake is quantified by the ratio (R) of the rate of biomass formation (\({Y}_\mathrm{NB}{r}_{N}({C}_\mathrm{N},{C}_\mathrm{B}\))) to that of endogenous metabolism (\({Y}_\mathrm{NB}{mC}_\mathrm{B}\)) (Eq. 3). Cell death by limited nutrient uptake is assumed to occur when R falls below a certain threshold (\({R}_\mathrm{min})\) (Fagerlind et al. 2012). Along similar lines, if R falls below 1, the cell exhibits zero or negative net growth and is said to have entered the stationary phase. Cell death is assumed to occur if the cell remains in this growth-arrested phase for a preset number of hours \(({t}_\mathrm{SP})\). This is consistent with observations where bacteria in the stationary phase gradually lose their ability to reproduce and exhibit signs of senescence and eventually loss of viability by accumulating oxidatively damaged proteins (Nystrom 2001, 2003). The spatial locations of cell death events are recorded at each time step for further analysis. Subsequently, dead cells are discarded from the simulation domain and are no longer tracked. Experimental work involving biofilms grown in flow cells has shown that hollow cell clusters are formed and that lysed cells are apparent in the internal strata (Stewart et al. 2004). Furthermore, it has been suggested that approximately 50 cells must die in order to support one cell division (Postgate and Hunter 1962). Extensive modeling work in the past where lysed cells contributed nutrients to the neighboring cells found no significant difference in the results (Fagerlind et al. 2012). Therefore, the contribution of nutrients from lysed cells has been omitted here.

2.3.3 Cell Detachment

Cell detachment in bacterial biofilms is a complex process influenced by a host of external and internal factors such as fluid shear forces (Chambless and Stewart 2007), internal stresses (Picioreanu et al. 2001), chemical gradients (Stewart 1993), erosion (Chambless and Stewart 2007), and nutrient starvation (Stewart et al. 2004). Here, we implement a simplified geometrical model wherein cell detachment is governed by (1) localized cell death resulting from nutrient limitation, and (2) EPS formed as a consequence of quorum sensing. Cell detachment is determined by evaluating the connectivity of cells to the substratum. Within the biofilm, bacteria connect to the substratum either directly or indirectly through a group of live bacteria in which at least one bacterium is directly bound to the substratum (Pizarro et al. 2004). In addition to live bacteria, in \(\hbox {QS}^+\) biofilms, cells can also continue to remain connected to the substratum via EPS. At the end of each time step, detachment events are recorded, and detached cells are removed from the domain.

2.4 Quorum Sensing

In \(\hbox {QS}^+\) biofilms, bacterial cells are modeled as being in either the up-regulated or the down-regulated state. Cells switch between these states at rates dependent on the local autoinducer concentration \(({C}_\mathrm{A} )\). The transition rate from the down-regulated to up-regulated state is given by

$$\begin{aligned} \hbox {TR}^{+} = {\alpha }\frac{C_\mathrm{A}}{1+{\gamma } C_\mathrm{A}} \end{aligned}$$
(4)

Along similar lines, the transition rate between the up-regulated to down-regulated states is given by (Fozard et al. 2012)

$$\begin{aligned} \hbox {TR}^{-} = {\beta }\frac{C_\mathrm{A}}{1+{\gamma } C_\mathrm{A}} \end{aligned}$$
(5)

where \(\alpha \) and \(\beta \) are the spontaneous up- and down-regulation rates, and \(\gamma \) is the transition constant. The probabilities of switching from one state to another within a time interval of \(\Delta \hbox {t}\) are then given by

$$\begin{aligned} P_\mathrm{u}= & {} (\hbox {TR}^{+}){\Delta }t \nonumber \\ P_\mathrm{d}= & {} (\hbox {TR}^{-}){\Delta }t \end{aligned}$$
(6)

where P \(_\mathrm{u}\) is the probability of up-regulation, and \(\textit{P}_\mathrm{d}\) is the probability of down-regulation.

2.5 Autoinducer Production and Transport

Up-regulated and down-regulated cells are assumed to secrete autoinducer molecules at constant rates of \({r}_{(A,u)}\) and \({r}_{(A,d)}\), respectively.

$$\begin{aligned} r_{A} = {\left\{ \begin{array}{ll} r_{A,u} \\ r_{A,d} \end{array}\right. } \end{aligned}$$
(7)

where \(\hbox {r}_{(A,u)}>\hbox {r}_{(A,d)}\) (Table 1). The secreted autoinducer is treated as a dissolved entity that is transported via diffusion and convection. The time evolution of the autoinducer concentration within the biofilm is given by

$$\begin{aligned} \frac{\partial C_\mathrm{A}}{\partial t} = D_\mathrm{A} \sum ^{3}_{i = 1}\frac{\partial ^2 C_\mathrm{A}}{\partial x^2_{i}} + \frac{r_{A}}{{\Delta }V} - {\bigtriangledown }.({\nu }C_\mathrm{A}) \end{aligned}$$
(8)

where \({D}_A\) is the autoinducer diffusivity, and \(\Delta {V}\) is the element volume. Equation 8 is subject to the Dirichlet boundary condition at the DBL \(({C}_{\mathrm{A,DBL}} = 0)\), and the no-flux condition at the substratum.

2.6 EPS Production

EPS is treated as a discrete entity and is tracked individually in a manner similar to that of a bacterial cell. EPS and bacteria are assumed to be capable of coexisting in the same element. Furthermore, quantities of EPS and bacterial biomass that can be accommodated in a single element are assumed to be independent of each other. Consequently, new bacterial cells embed themselves into EPS, instead of pushing it aside. This is consistent with previous experimental work showing the accumulation of extracellular polysaccharides such as \(\beta \)-glucan found intercalating between microcolonies of Streptococcus mutans (Falsetta et al. 2014). Bacterial growth and EPS production are assumed to occur concurrently from nutrient that is leftover after maintenance has been accounted for. It is assumed that EPS is produced only by up-regulated cells, at a rate given by

$$\begin{aligned} \frac{\partial C_{E}}{\partial t} = Y_\mathrm{NE}\left[ r_{N} (C_\mathrm{N},C_\mathrm{B}) - mC_\mathrm{B}\right] \end{aligned}$$
(9)

where \({Y}_\mathrm{NE}\) is the yield coefficient for EPS, i.e., the efficiency with which nutrient that has not been consumed for endogenous metabolism is converted to EPS. EPS division is handled similar to cell division described above, wherein daughter “EPS cells” are placed into the nearest element that does not contain EPS.

In \(\hbox {QS}^+\) biofilms, up-regulated cells secrete EPS and autoinducer molecules at an enhanced rate, compared to their down-regulated counterparts. In a feedback-like mechanism, enhanced production of autoinducer by up-regulated cells results in the up-regulation of an increasing number of cells in the neighborhood.

2.7 Heterogeneity

Biofilm heterogeneity, h, was defined as the extent of nonuniform distribution of a selected component and was quantified as the coefficient of variation with respect to the total accumulated biomass, and nutrient, EPS, and autoinducer concentrations.

$$\begin{aligned} \textit{h} = \frac{\sigma }{\mu } \end{aligned}$$
(10)

where \(\sigma \) is the standard deviation, and \(\mu \) is the mean of the quantity whose heterogeneity is being evaluated. Thus, h measures the extent of variability with respect to the mean of the population. Two separate calculations were performed for each component: (1) an overall heterogeneity to track the variability throughout the entire domain and (2) a grid-layer-wise evaluation to delineate the spatial variation of heterogeneity. For the former, \(\sigma \) and \(\mu \) were computed over the entire biofilm domain, whereas for the latter calculations were performed over individual grid layers.

2.8 Model Simulation and Numerical Scheme

The state of the simulation domain is updated at discrete time steps. Previous work analyzing the kinetics of the switching process from the vegetative state to the competent (EPS producing) state of Bacillus subtilis has shown that the duration of the switching period was 1.4 ± 0.3 h (Leisner et al. 2009). In addition, analysis of Bacillus subtilis at the interface between the culture medium and air indicates that bacteria switch from the motile to the matrix-producing phenotype (down-regulated to up-regulated) between 10 min and 1 h (Ardré et al. 2015). Consequently, here we use a multiscale integration approach with two distinct time scales: (1) cellular processes [biomass growth (Eq. 3), EPS production (Eq. 9), switching between up- and down-regulated states (Eq. 6), division, death, and detachment] are monitored every 1 h, and (2) within this “outer” time loop, concentrations of dissolved entities [nutrient (Eq. 2), and autoinducer (Eq. 8)] are tracked by solving the diffusion–convection equations at a finer time resolution of \(1\times 10^{-6}\) h. Numerical solutions to the diffusion–convection equations are obtained using a second-order Forward-Time Central-Space scheme. Periodic boundary conditions are applied in the horizontal directions, and the Dirichlet boundary condition is imposed in the vertical direction. The Java programming language is used since it provides a convenient object-oriented framework that is well suited for the individual-based model described here.

The parameter values used in the model are summarized below in Table 1.

3 Results and Discussion

3.1 Biofilm Growth Dynamics: Influence of Nutrient Concentration

As a first step, we simulated biofilm growth dynamics for a QS-negative (\(\hbox {QS}^-\)) strain that does not produce autoinducer or EPS. At time \(t = 0\), six colonizers were placed at random locations on the substratum. Nutrient diffuses into the domain across the DBL and is subsequently consumed by bacterial cells, thereby causing their biomass to increase. This, in turn leads to cell growth, division, and expansion of the biofilm. Figure 1 shows a representative time evolution of a \(\hbox {QS}^-\) biofilm associated with a bulk nutrient concentration of 4 \(\hbox {gm}^{-3}\), illustrating the formation of a distinct 3D macrostructure as the biofilm matures, and the various growth stages including: (1) colonization, (2) early exponential phase, (3) late exponential phase, (4) maturation, (5) sloughing, and (6) regrowth.

Fig. 1
figure 1

Representative 3D renderings of the time evolution of a \(\hbox {QS}^-\) biofilm for \({C}_{\mathrm{N,bulk}} = 4\,\hbox {gm}^{-3}\), illustrating different phases of growth at 0 h (a), 30 h (b), 60 h (c), 110 h (d), 120 h (e), and 330 h (f) (Color figure online)

Fig. 2
figure 2

Growth dynamics for QS\(^-\) biofilms. Comparison of the development of total biomass (a), average nutrient concentration (b), and fraction of dead cells (c) for \({C}_{\mathrm{N,bulk}}= 8\,\hbox {gm}^{-3}\) (green), \(4\,\hbox {gm}^{-3}\) (red), and \(1\,\hbox {gm}^{-3}\) (blue). The arrows in panel (a) mark the end of the stationary phase and the initiation of sloughing for \({C}_{\mathrm{N,bulk}} = 8\,\hbox {gm}^{-3}\) and \({C}_{\mathrm{N,bulk}} = 4\,\hbox {gm}^{-3}\). Data represent mean ± standard error of mean (SEM) of four separate simulations (Color figure online)

To delineate the influence of nutrient availability on biofilm growth, we tracked the total accumulated biomass and average nutrient concentrations within the biofilm for varying bulk nutrient concentrations (1, 4, and 8 \(\hbox {gm}^{-3}\)), in the absence of QS (Fig. 2a, b). In close agreement with experimental evidence (Bester et al. 2005; Kroukamp et al. 2010), the model was able to simulate four distinct growth phases: exponential growth, stationary phase, sloughing, and regrowth. Biofilm growth rates and peak cell numbers in the exponential phase increased with increasing bulk nutrient concentrations (Fig. 2a; Table 2). In close agreement with experimental observations (Rochex and Lebeault 2007), sloughing in the faster-growing biofilms (\({C}_{\mathrm{N,bulk}} = 8\,\hbox {gm}^{-3}\)) occurred earlier (\(\sim \)80 h) compared to the slower-growing ones (\({C}_{\mathrm{N,bulk}} = 4\,\hbox {gm}^{-3}\); \(\sim \)110 h). Re-growth of the biofilm occurred post-sloughing. There is considerable variability between results across simulation runs in this phase, due to the high sensitivity to the conditions post-sloughing, i.e., the number of cells that survive detachment (Fig. 2a). Whereas under moderate (\({C}_{\mathrm{N,bulk}} = 4\,\hbox {gm}^{-3}\)) and excess (\({C}_{\mathrm{N,bulk}}= 8\, \hbox {gm}^{-3}\)) nutrient supply conditions, the average nutrient concentration within the biofilm dropped rapidly in the exponential growth phase, there was a gradual decrease when the nutrient supply was low (\({C}_{\mathrm{N,bulk}} = 1\,\hbox {gm}^{-3}\)) (Fig. 2b). Post-sloughing, due to the marked decrease in the total accumulated biomass, the average nutrient concentration increased rapidly (Fig. 2b).

The marked decline observed in the total biomass content of the biofilm at the end of the stationary phase could be a consequence of either (1) annihilation of the bacterial population in its entirety, or (2) live cells detaching from the substratum (sloughing). To investigate which of these two possibilities was predominantly responsible for the drop in biomass, we tracked the fraction of dead cells with time. As shown in Fig. 2c, peak cell death occurred just prior to sloughing (for \({C}_{\mathrm{N,bulk}} = 8\,\hbox {gm}^{-3}\sim \)30% of the cells die at 80 h; for \({C}_{\mathrm{N,bulk}} = 4\,\hbox {gm}^{-3} \sim \)20% of the cells die at 110 h). Since the fraction of dead cells was much less than 1 under all conditions tested, we conclude that the drastic reduction in the biomass is a consequence of live cells losing contact with the substratum, because of cell death occurring in the lower layers of the biofilm.

Table 2 Biomass growth and EPS production rates

The biofilm associated with the bulk nutrient concentration of \(1\,\hbox {gm}^{-3}\) exhibited a prolonged stationary phase in which both the total biomass (Fig. 2a) and the fraction of dead cells (Fig. 2c) remained virtually constant, indicating that a balance was established between the rates of biomass formation and depletion. Sloughing did not occur under these conditions. This could be the consequence of the fact that under these nutrient-depleted conditions cells die at a slow rate, which ensures the presence of enough number of cells at the bottom of the biofilm to keep it attached to the substratum at all times.

3.2 Biofilm Growth Dynamics: Influence of QS

QS had minimal impact on the bacterial growth rates during the exponential growth phase (Table 2). The total biomass (bacteria + EPS) was higher than that for the EPS-devoid \(\hbox {QS}^-\) biofilm in both the exponential and stationary growth phases. In stark contrast to the \(\hbox {QS}^-\) biofilm, the \(\hbox {QS}^+\) biofilm exhibited a prolonged stationary phase; no sloughing occurred even for the bulk nutrient concentrations of \(4\,\hbox {gm}^{-3}\) (Fig. 3a) and \(8\,\hbox {gm}^{-3}\) (data not shown), because of the presence of EPS which prevents live cells from detaching. QS did not alter the growth dynamics of the biofilm under low nutrient supply conditions (\({C}_{\mathrm{N,bulk}} = 1\,\hbox {gm}^{-3}\)), even in the stationary phase (data not shown). Taken together with the observation that \(\hbox {QS}^-\) biofilms were resistant to sloughing under these conditions (Fig. 2a), this result indicates that EPS plays a limited role in stabilizing the biofilm structure under low nutrient conditions. The average nutrient concentration decreased monotonically with time in the exponential growth phase and then remained virtually constant (Fig. 3b). For \({C}_{\mathrm{N,bulk}} = 4\,\hbox {gm}^{-3}\), first instances of cell death were observed at \(\sim \)80 h; peak cell death occurred at 100 h and then remained virtually constant (Fig. 3c).

Fig. 3
figure 3

Influence of QS on biofilm growth dynamics. Comparison of total accumulated biomass (a), average nutrient concentration (b), and fraction of dead cells (c) for \(\hbox {QS}^+\) (red) and \(\hbox {QS}^-\) (green) biofilms for \({C}_{\mathrm{N,bulk}} = 4\,\hbox {gm}^{-3}\). The total biomass for the \(\hbox {QS}^+\) biofilm includes mass of the EPS produced by up-regulated cells. Data represent mean ± SEM of four separate simulations (Color figure online)

Fig. 4
figure 4

Fraction of up-regulated cells (a), and average autoinducer (b) and EPS (c) concentrations for \({C}_{\mathrm{N,bulk}} = 8\,\hbox {gm}^{-3}\) (green), \(4\,\hbox {gm}^{-3}\) (red), and \(1\,\hbox {gm}^{-3}\) (blue). Data represent mean ± SEM of four separate simulations (Color figure online)

3.3 QS-Induced Up-Regulation of Cells and EPS Production

Cells in the \(\hbox {QS}^+\) biofilm produced and locally released autoinducer molecules which spread throughout the biofilm via diffusion and convection. After the autoinducer concentration reached a threshold value, nearby bacterial cells up-regulated resulting in the enhanced production of the autoinducer as well as that of EPS. The fraction of up-regulated cells increased during the exponential growth phase until virtually the entire biofilm rapidly switched from low to high QS activity (Fig. 4a). This switch was delayed under low nutrient supply conditions (\({C}_{\mathrm{N,bulk}} = 1\,\hbox {gm}^{-3}\)). The average autoinducer concentration increased monotonically with time for all three bulk nutrient concentrations (Fig. 4b). Analogous to the variation of total accumulated biomass, the average EPS concentration in the biofilm also increased rapidly with time in the exponential growth phase, before plateauing in the stationary phase (Fig. 4c). The rate of EPS production during the exponential growth phase was highest for the bulk nutrient concentration of \(8\,\hbox {gm}^{-3}\), and decreased for the lower bulk nutrient concentrations (Table 2).

Fig. 5
figure 5

Distribution of EPS. Visualization of 2D cross sections showing live cells (green), locations of cell death (red), and EPS without cells (purple) of the \(\hbox {QS}^{+}\) biofilm for \({C}_{\mathrm{N,bulk}} = 4\,\hbox {gm}^{-3}\) at 40 h (a), 90 h (b), 120 h (c), 150 h (d). It is to be noted that the green and red elements may also contain EPS. The isolines show the nutrient concentration distribution. The thickness of the cell-devoid EPS bed for \({C}_{\mathrm{N,bulk}} = 4\,\hbox {gm}^{-3}\) (blue) and \({C}_{\mathrm{N,bulk}} = 1\,\hbox {gm}^{-3}\) (green) is shown in panel e (Color figure online)

For \({C}_{\mathrm{N,bulk}} = 4\,\hbox {gm}^{-3}\), upon initiation of cell death (\(\sim \)80 h) on the bottom layers, a bed of EPS—devoid of cells—developed adjacent to the substratum upon which the rest of the biofilm grew (Fig. 5b–d). The height of the EPS bed increased with time (Fig. 5e). These results clearly indicate that production of EPS by up-regulated cells—and its subsequent accumulation in the lower regions of the biofilm—plays a key role in stabilizing the biofilm structure by reducing detachment events. Formation of the EPS bed was not observed for \({C}_{\mathrm{N,bulk}} = 1\,\hbox {gm}^{-3}\) (Fig. 5e), validating the idea that under depleted nutrient conditions, bacterial cells at the bottom hold the biofilm together and that EPS plays a limited role.

Fig. 6
figure 6

Illustrative cross sections showing metabolically inactive cellular microcompartments in \(\hbox {QS}^-\) biofilms for \({C}_{\mathrm{N,bulk}} = 8\,\hbox {gm}^{-3}\) at 70 h; cells are categorized into three distinct subpopulations with high (green; greater than 3600 \(\hbox {gm}^{-3}\,\hbox {h}^{-1}\)), intermediate (blue; 425–3600 \(\hbox {gm}^{-3}\,\hbox {h}^{-1}\)), and low (pink; less than 425 \(\hbox {gm}^{-3}\,\hbox {h}^{-1}\)) growth rates (Color figure online)

3.4 Formation of Metabolically Dormant Cellular Microcompartments

Next, we categorized cells into three groups based on their growth rates as follows: dormant cells (growth rate less than 425 \(\hbox {gm}^{-3}\,\hbox {h}^{-1}\)), and those exhibiting high (greater than 3600 \(\hbox {gm}^{-3}\,\hbox {h}^{-1}\)), and intermediate (425–3600 \(\hbox {gm}^{-3}\,\hbox {h}^{-1}\)) growth rates. Figure 6 shows representative cross sections of the mature biofilm associated with the bulk nutrient concentration of 8 \(\hbox {gm}^{-3}\), illustrating the formation of microcolonies in the lower and intermediate layers of the biofilm structure. Low-activity cells (red) were encased within cell clusters of high activity (green). Similar microcompartments were observed for \(\hbox {QS}^+\) biofilms (data not shown). In our model, the cellular growth rates are influenced by two variables: \({C}_\mathrm{N}\), and \({C}_\mathrm{B}\) (Eq. 3). Based on these factors, we propose two possible explanations for the presence of dormant cellular microcolonies in the biofilm: (1) horizontal nutrient concentration gradients may be set up, resulting in increased nutrient concentrations in the lower layers and hence higher cellular growth rates; and (2) cells in the red regions may have lower biomass (possibly being newly divided) compared to cells in the green regions underneath, once again resulting in lower nutrient consumption rates and hence lower growth rates.

Fig. 7
figure 7

Distributions of biomass (a), nutrient concentration (b), fraction of dead cells (c), and areal porosity (d) at varying distances from the substratum for \({C}_{\mathrm{N,bulk}} = 4\,\hbox {gm}^{-3}\) for growth times of 20–110 h. The fractions of dead cells in c are reported at the time of sloughing for the respective bulk nutrient concentrations. Data represent mean ± SEM of four separate simulations (Color figure online)

To investigate the spatial variation of heterogeneity, we determined the distribution of biomass and nutrient concentrations at varying distances from the substratum for the bulk nutrient concentration of \(4\,\hbox {gm}^{-3}\). In the early and late exponential growth phases (up to 70 h), the biofilm was homogeneous in the lower and intermediate layers with uniform biomass distribution. The distribution in the upper layers was nonuniform, with biomass decreasing rapidly with increasing distance from the substratum (Fig. 7a). The heterogeneity at the top layers is a consequence of the fact that during cell division new daughter cells are randomly placed in the closest neighboring locations.

The biomass distribution underwent a dramatic change in the late exponential phase (80–110 h) with a high proportion of the biomass concentrated in the intermediate layers (25–40 \(\upmu \hbox {m}\) from the substratum) (Fig. 7a). In contrast, the nutrient concentration decreased monotonically with decreasing distance from the substratum (Fig. 7b), indicating that a large portion of the nutrient is consumed at the surface, and in the intermediate layers leading to nutrition-depleted niches in the depths. However, it should be noted that under these conditions nutrient concentration levels in the lower layers was high enough to not cause cell death (Fig. 2c).

The value of the maximal biomass and the height at which it occurred increased with time (Fig. 7a). For instance, at 60 h maximal biomass is observed at a height of \(12\,\upmu \hbox {m}\) (\(0.0014\,\upmu \hbox {g}\)). On the other hand, at 110 h maximal biomass is observed at a height of \(33\, \upmu \hbox {m}\) (\(0.0018\,\upmu \hbox {g}\)). Biomass in the layers in close proximity to the substratum declined rapidly due to cell death occurring in this region of the biofilm (Fig. 7c). This can be explained by the fact that in the stationary growth phase the nutrient concentrations reduced to very low levels (\({<}0.2\,\pm \, 0.06\,\hbox {gm}^{-3}\)) within a distance of \(24\,\upmu \hbox {m}\) from the substratum (Fig. 7b). This, in turn, is a consequence of the fact that cells in the topmost and intermediate layers of the biofilm consume nutrient, allowing less of it to penetrate to the depths of the biofilm.

Immediately prior to sloughing, maximal cell death was observed in the lower layers of the biofilm for bulk nutrient concentrations of 4 and \(8\,\hbox {gm}^{-3}\) (Fig. 7c). Approximately three-fourths of the cells on the lowest layer died for \({C}_{\mathrm{N,bulk}} = 8\,\hbox {gm}^{-3}\), whereas a little over half the cells on the lowest layer died for \({C}_{\mathrm{N,bulk}} = 4\,\hbox {gm}^{-3}\). On the other hand, for the lowest bulk nutrient concentration of \(1\,\hbox {gm}^{-3}\), the distribution of dead cells remained virtually constant across all layers of the biofilm (Fig. 7c). Sloughing did not occur under these conditions (Fig. 2a).

Interestingly, for the highest bulk nutrient concentration (8 \(\hbox {gm}^{-3}\)), cell death happened due to starvation (low nutrient consumption-to-maintenance ratio), whereas for the intermediate and low bulk nutrient concentrations (1, 4 \(\hbox {gm}^{-3}\)), cell death occurred due to cells being in the stationary phase for the prescribed limit (24 h). Along these lines, nutrient availability—and hence the nutrient consumption rate—in the lower layers was less for the higher bulk nutrient concentration of \(8\,\hbox {gm}^{-3}\) compared to that for \({C}_{\mathrm{N,bulk}} = 4\,\hbox {gm}^{-3}\) and \({C}_{\mathrm{N,bulk}} = 4\,\hbox {gm}^{-3}\). For instance, the average nutrient concentrations at the dimensionless biofilm height of 0.5 increased with decreasing bulk nutrient concentrations (\(0.08\,\pm \, 0.007\,\hbox {gm}^{-3}, 0.26\,\pm \,0.030\,\hbox {gm}^{-3}\), and \(0.95\,\pm \,0.010\,\hbox {gm}^{-3}\) for bulk nutrient concentrations of 8 \(\hbox {gm}^{-3}, 4\,\hbox {gm}^{-3}\), and \(1\,\hbox {gm}^{-3}\), respectively). Consequently, among the three bulk nutrient concentrations studied, the nutrient consumption rates near the substratum were the lowest for \({C}_{\mathrm{N,bulk}} = 8\,\hbox {gm}^{-3}\) compared to those for \({C}_{\mathrm{N,bulk}} = 1, 4\, \hbox {gm}^{-3}\). A similar behavior was observed for \(\hbox {QS}^+\) biofilms (Fig. 7c).

Thus, there was a negative correlation between the bulk nutrient concentration and nutrient availability in the lower regions of the biofilm, with nutrient availability being the lowest for the highest bulk nutrient concentration of \(8\,\hbox {gm}^{-3}\), and the highest for the bulk nutrient concentration of \(1\,\hbox {gm}^{-3}\). This effect became more pronounced toward the end of the exponential growth phase, as the biofilm approached the stationary phase. This can be explained by the fact that because of the high growth rate, the number of cells/total biomass in the intermediate regions is highest for \({C}_{\mathrm{N,bulk}} = 8\,\hbox {gm}^{-3}\). This, in turn, causes the nutrient consumption rates to be high, consequently reducing the availability of nutrients in the lower regions.

The areal porosity was minimal in the exponential growth phase (up to 80 h) (Fig. 7d). Subsequently, in the stationary phase, areal porosity increased with time. This is a consequence of an upsurge in cell death events in the stationary phase, thereby creating cell-devoid pockets in the interior of the biofilm. Maximal areal porosity was observed in the intermediate layers, and decreased for layers closer to the substratum. This indicates that although the biomass density near the substratum is low, the biofilm is more compact in this region. Prior to sloughing, the biomass and nutrient distributions were found to be similar for the \(\hbox {QS}^+\) biofilms (data not shown).

Fig. 8
figure 8

Distribution of up-regulated bacterial cells (a), and concentration distributions for the autoinducer (b) and EPS (c) for \({C}_{\mathrm{N,bulk}} = 4\,\hbox {gm}^{-3}\) for \(\hbox {QS}^+\) biofilms. Data represent mean ± SEM for four separate simulations (Color figure online)

For biofilms utilizing QS, the number of up-regulated cells increased with time (Fig. 8a), resulting in a corresponding increase in the average autoinducer (Fig. 8b) and EPS concentrations (Fig. 8c). Although the entire biofilm was primarily comprised of up-regulated cells (Fig. 4a), maximal autoinducer and EPS concentrations occurred in the lower layers, and decreased farther away from the substratum (Fig. 8b, c). This could be explained as follows: nonuniform distribution of bacterial biomass results in spatially irregular rates of autoinducer production. Maximal autoinducer production occurs in the intermediate layers (with highest biomass concentrations), with production rates decreasing in the top and bottom layers. Thus, vertical autoinducer concentration gradients are set up, resulting in diffusion toward the DBL and the substratum. The no-flux boundary condition at the substratum results in the accumulation of the autoinducer in the lower region of the biofilm. On the other hand, the Dirichlet condition applied at the DBL causes the autoinducer in the top layers to be removed from the domain. In the stationary growth phase, although biomass density near the substratum was low, EPS concentrations were high and uniform. This is a consequence of the fact that EPS produced by cells prior to dying remains within the domain, causing EPS to accumulate in this part of the biofilm.

Fig. 9
figure 9

Biofilm heterogeneity, expressed as the coefficients of variation for the biomass (a) and nutrient concentration (b), tracked over time under two nutrient conditions (\({C}_{\mathrm{N,bulk}} = 8, 4\,\hbox {gm}^{-3}\)); variation of heterogeneity in biomass (c) and nutrient concentration (d) as a function of the distance from the substratum; comparison of biomass heterogeneity for \(\hbox {QS}^+\) and \(\hbox {QS}^-\) biofilms for \({C}_{\mathrm{N,bulk}} = 4\,\hbox {gm}^{-3}\) is shown in panel a (Color figure online)

At the bulk nutrient concentration of 8 \(\hbox {gm}^{-3}\), the overall biomass heterogeneity increased rapidly in the early exponential phase and reached a maximum of 0.28 ± 0.004 at 30 h. As the biofilm developed further—resulting in an increase in the number of mature cells—a corresponding lowering of the overall biomass heterogeneity was observed. Heterogeneity remained virtually constant after 40 h of biofilm growth. A similar trend was observed for biofilms associated with the bulk nutrient concentration of \(4\,\hbox {gm}^{-3}\) (Fig. 9a). The \(\hbox {QS}^+\) biofilm was more heterogeneous compared to the \(\hbox {QS}^-\) biofilm at all times tested (Fig. 9a). This could be a direct consequence of the nonuniform distribution of EPS in the \(\hbox {QS}^+\) biofilm (Fig. 8c). In contrast, the coefficient of variation for the nutrient concentration increased monotonically with time in the exponential growth phase for both bulk nutrient concentrations studied (Fig. 9b). In the lag phase, nutrient concentration was homogeneous throughout the biofilm (Fig. 9b). In the early exponential growth phase, nutrient heterogeneity was maximal in the lowermost layers (Fig. 9d). In the late exponential and stationary phases, maximal heterogeneity was observed in the intermediate layers (Fig. 9d). This correlates with the observation that in the late exponential phase the proportion of biomass in the intermediate layers is maximal (Fig. 7a).

We next investigated the spatial variation of biofilm heterogeneity for the bulk nutrient concentration of \(8\,\hbox {gm}^{-3}\). At low time points (up to 60 h), biofilm heterogeneity was low throughout the bulk of the biofilm and was virtually independent of the distance from the substratum. The heterogeneity showed a marked increase near the DBL because of the stochastic nature of the cell division process in the top layers. Beyond 60 h, biofilm heterogeneity showed a significant increase in the lower layers (Fig. 9c). This is a consequence of the initiation of cell death events at the 60 h time point. At 80 h, the heterogeneity at the lowest layer reached a maximum (8.4 ± 0.4), resulting in sloughing of the biomass. Taken together, this analysis suggests that sloughing of the biofilm is a direct consequence of the increased biomass heterogeneity in the lower regions of the biofilm. The enhancement of the local heterogeneity near the substratum can be explained by the increased rates of cell death in this portion of the biofilm.

4 Conclusions

While it is well known that biofilm-associated microorganisms are more tolerant to antibiotics compared to their planktonic counterparts, it is only subpopulations of cells that exhibit increased antibiotic resistances. However, the underlying biophysical mechanisms for the emergence of these antibiotic-insensitive subpopulations remain obscure. A systematic investigation of the spatiotemporal variation of structural and chemical heterogeneity in biofilms could aid in delineating mechanisms of antibiotic resistance at the fine scale. In this work, we used an individual-based cellular automata model to simulate biofilm growth under diverse nutrient conditions, in the presence and absence of quorum sensing. Each bacterium was modeled as an independent entity, allowing us to monitor structural and chemical heterogeneity of the biofilm as a function of time and space.

The key findings are summarized below:

  1. 1.

    Mature biofilms comprise of three structurally distinct layers: a highly porous homogeneous region sandwiched between two compact regions of high heterogeneity. This results in the formation of a mushroom-like structure with a low-density, high-volume “head,” supported by a compact, low-volume “stalk” underneath.

  2. 2.

    Biofilms utilizing QS grow faster and are more heterogeneous compared to their \(\hbox {QS}^-\) counterparts. An additional layer of EPS—devoid of cells—forms atop the substratum, upon which the rest of the biofilm continues to develop. In agreement with experimental results, the model predicts that biofilms utilizing QS are structurally more stable, exhibiting a prolonged stationary growth phase, and a resistance to sloughing.

  3. 3.

    Whereas the biomass distribution is virtually uniform throughout the biofilm in the lag and early exponential growth phases, it undergoes a dramatic transformation in the late exponential and stationary phases with maximal biomass occurring in the middle layers of the biofilm. The heterogeneity and thickness of the lowermost layer increased with time, ultimately leading to sloughing. This is a direct consequence of preferential cell death occurring in close proximity to the substratum.

  4. 4.

    We were able to illustrate the formation of microcolonies comprising of metabolically inactive cells surrounded by cells exhibiting high growth rates. We hypothesize that these dormant cellular microcompartments represent sites of low antibiotic susceptibility. There are two possible reasons for this: (1) the surrounding high-activity cell clusters may present a reaction–diffusion barrier, thereby decreasing antibiotic penetration to the microniches, and (2) low-activity cells may consume antibiotics at a diminished rate, thereby reducing efficacy of treatment.

A systematic investigation of the structural properties of these sections of the biofilm and their response to antibiotic treatment may shed light on the biophysical mechanisms of antibiotic resistance. In the future, we plan to use the current model to investigate the response of bacterial biofilms to antibiotic treatment. Since the model simulates spatiotemporal variability of biofilm constituents (such as biomass, EPS, nutrient, and signaling molecules), it may be instructive to correlate antibiotic resistance of bacterial biofilms with the emergence of metabolically inactive cell clusters.