We formulate a three-dimensional multi-agent-based model for lumen morphogenesis, in which agents are spheres that do not change shape (Fig. 1). The objective of this computer-based model is to mimic the morphogenesis of an organoid composed of cells enclosing a fluid-filled lumen by means of numerical simulations. To accomplish this task, we consider two types of agents: cells, which are the biological entities, and particles, which are secreted by cells and simulate the lumen fluid.
Therefore, we define a computational model for simulating the cell cycle that regulates cell proliferation and fluid secretion to form the lumen. To simulate how cells secrete fluid, we assume that cells generate particles inside the lumen, thereby increasing the lumen volume. Consequently, the lumen is in a state of hydrostatic pressure [29] due to this cell secretion [18, 33].
Mechanical equilibrium between cells anchored to the ECM and the luminal pressure ensure the maintenance of the luminal architecture. To model this mechanical equilibrium, we use agents that interact mechanically to generate and maintain the lumen. Thus, cells interact among themselves based on pairwise potential functions in an adhesive-repulsive manner. Moreover, particles also interact among themselves via pairwise potential functions and interact with cells in a repulsive manner. This interaction mimics the luminal hydrostatic pressure generated by cells’ fluid secretion, and it is responsible for the movement of cells and generation of the luminal space. Finally, agents interact with the extracellular matrix by means of a friction coefficient that represents the dynamic viscosity of the matrix.
Modeling the cell cycle
The cell cycle is a complex process that occurs that involves the growth and proliferation of cells, organismal development, regulation of DNA damage repair, tissue hyperplasia in response to injury, and diseases such as cancer [43]. Overall, it can be described by a growth phase, in which the cell progressively increases its volume as a result of DNA replication, and by a mitosis phase, in which the cell divides into two daughter cells. To simulate the growth phase, we consider that each i-cell has a total volume \(V_{i}(t)\), whose temporal evolution is given by:
$$\begin{aligned} \dfrac{\text {d}V_{i}(t)}{\text {d}t} = \alpha _{i}(P_{in}(t),F_{c_{net_{i}}}(t))V_{i}(t), \end{aligned}$$
(1)
where \(\alpha _{i}(P_{in}(t),F_{c_{\text {net}_{i}}}(t))\) is the growth rate of the i-cell, which we assume that depends on the luminal pressure (\(P_\text {in}(t)\)) and the net force exerted on the cell (\(F_{c_{\text {net}_{i}}}(t)\)). In this expression, cell growth is exponential and dependent on cell size according to experimental evidence that growth rates increase with cell size throughout the cell cycle [27, 32, 46].
Here, we assume the value of the growth rate is influenced by the luminal pressure \(P_\text {in}(t)\) and by the net force exerted on the cell (\(F_{c_{\text {net}_{i}}}(t)\)). The variability of the growth rate during lumen morphogenesis has been experimentally observed in cell cultures in which Madin-Darby canine kidney cells (MDCK) [16] and primary pancreatic ductal epithelial cells (PDCs) [52] slowed their proliferation when they initiated the lumen. The onset of the lumen is determined with the initiation of the luminal pressure. Therefore, when there is no luminal pressure, the cell cycle time decreases so it can generate a closed volume to secrete fluid and form a lumen de novo. By contrast, when the luminal pressure increases, the cells do not need to divide as quickly as before, so the growth rate decreases. The growth rate \(\alpha _{i}(P_\text {in}(t),F_{c_{\text {net}_{i}}}(t))\) is obtained from:
$$\begin{aligned} \alpha _{i}(P_\text {in}(t),F_{c_{\text {net}_{i}}}(t)) = {\left\{ \begin{array}{ll} 1 / T_\text {ini} (1+a_{i}(F_{c_{\text {net}_{i}}}(t))), P_\text {in}(t) = 0,\\ 1 / T_\text {pol} (1+a_{i}(F_{c_{\text {net}_{i}}}(t))), P_\text {in}(t)> 0, \end{array}\right. } \end{aligned}$$
(2)
where \(P_{in}(t)\) is the luminal pressure and \(T_{pol}\) and \(T_\text {ini}\) are constants related to the cell cycle time (\(T_\text {pol}>T_\text {ini}\)). Second, we consider that the value of \(\alpha _{i}(P_\text {in}(t),F_{c_{\text {net}_{i}}}(t))\) is influenced by \(a_{i}(F_{c_{\text {net}_{i}}}(t))\) depending on the net cell force supported by the cell (\(F_{c_{\text {net}_{i}}}(t)\)). In this regard, the ECM stiffness regulates the magnitude of the net cell force, and an increase in cytoskeletal tension, mediated by sustained matrix stiffness, promotes growth [35]. Moreover, the compliance of the matrix acts as a cell-cycle inhibitor and matrix stiffening increases cell proliferation [28, 36, 53, 54] and cell cycle progression [25]. To model this mechanoregulation, we include a variation in the growth rate as a function of the net cell force as follows:
$$\begin{aligned} a_{i}(F_{c_{\text {net}_{i}}}(t)) = {\left\{ \begin{array}{ll} 0 , F_{c_{\text {net}_{i}}}(t) < F_\text {bottom},\\ \left( F_{c_{\text {net}_{i}}}(t) - F_\text {bottom}\right) \dfrac{a_\text {max}}{F_\text {top} - F_\text {bottom}} , F_\text {bottom} \le F_{c_{\text {net}_{i}}}(t) \le F_\text {top},\\ a_\text {max}, F_{c_{\text {net}_{i}}}(t) > F_\text {top}, \end{array}\right. } \end{aligned}$$
(3)
where \(F_{c_{\text {net}_{i}}}(t)\) is the net cell force, \(a_\text {max}\) is the maximum variation in the growth rate, and \(F_\text {bottom}\) and \(F_{top}\) are approximately the mean values of net cell forces when matrix density is low and high respectively.
Last, to account for biological variability, we let the daughter cell growth rate \(\alpha _{i}(P_\text {in}(t),F_{c_{\text {net}_{i}}}(t))\) vary randomly between \([-20, 20]\)% based on a normal probability distribution around the progenitor cell’s value.
When the volume of the cell reaches twice the value of its initial volume, DNA replication is concluded, and the cell divides. Spatially controlled division is a fundamental condition to maintain the lumen architecture and to enhance its growth by enlarging the lumen volume. In this regard, a complex molecularly controlled process regulates the spindle orientation, so mitosis occurs in the plane of the monolayer [22, 26, 31, 37, 41, 55]. Here, we distinguish division between nonpolarized cells and polarized cells. Nonpolarized cells are those that have not yet formed a lumen, and polarized cells are those that belong to a lumen and face it. In the case of nonpolarized cells, the division direction is chosen randomly. Polarized cell division is performed using a random cleavage plane that contains the line that passes through the cell center and the lumen center of mass. The position of the two daughter cells \((\mathbf {x}_\text {daughters})\) are calculated similarly to other models [21, 44] from the center of the parent cell \(\mathbf {x}_\text {parent}\) at:
$$\begin{aligned} \mathbf {x}_\text {daughters} = \mathbf {x}_\text {parent} \pm \left( R_{c} - \dfrac{1}{\root 3 \of {2}}R_{c} \right) \mathbf {n}, \end{aligned}$$
(4)
where \(R_{c}\) is the radius of the parent cell and \(\mathbf {n}\) is the unit orientation vector. When a nonpolarized cell divides, the unit orientation vector \(\mathbf {n}\) is chosen randomly. However, when a polarized cell divides, the unit orientation vector \(\mathbf {n}\) is normal to the random cleavage plane that contains the line that passes through the cell center and the lumen center of mass.
After cell division, the cell decides whether to remain active and continue in the cell cycle to divide again or to become inactive within the cell cycle, namely restriction point [3]. In the model, at this point, either or both of the daughter cells can enter a quiescent state. Thus, we introduce a variable called \(state_{i}\) to register for each cell whether they are active or inactive. The probability that a i-cell enters a quiescent state is
$$\begin{aligned} P(Q)_{i} = b\cdot c_{\text {steps}_{i}}, \end{aligned}$$
(5)
where b is a probability parameter and \(c_{\text {steps}_{i}}\) is the number of times the cell has divided. Each time a cell divides, the value of \(c_{\text {steps}_{i}}\) of its daughter cells increases by one. Thus, a random number in the interval [0,1] is generated for each daughter cell, and if it is lower than their probability \(P(Q)_{i}\), the corresponding daughter cell enters into a quiescence state. When a cell becomes inactive, it implies that it does not grow (\(\alpha _{i} = 0\)) and, therefore, its growth rate does not follow equation 2. Otherwise, the cell continues in the cycle and starts growing to double its volume again and then divide.
Fluid secretion
One of the key aspects of the model is how cells create the lumen. To generate a luminal domain de novo, neighboring cells must coordinate to secrete fluid into a common site, and that common site could be the midbody created during mitosis [11]. The midbody is a transient structure formed in the last phases of cell division to complete the separation between cells [24]. This landmark determines the apical-basal polarization of the cells and, therefore, the site where the cells will secrete to create the lumen. To contemplate the polarization of cells, we introduce a variable called \(polarized_{i}\) that registers for each cell whether they are polarized or nonpolarized. Consider an initial active nonpolarized cell (Fig. 2a). When this cell divides, it generates a midbody, and the two daughter cells polarize with respect to that point. Then, the cells need to form a closed volume, the preapical patch (PAP) [5], to be able to generate hydrostatic pressure. We consider that the PAP is formed when the number of cells is equal to a specific value (\(n_{t_{c}}\)). With subsequent cell division, the number of cells increases, and the cells form the PAP. Once the initiation site for the lumen is created, the cells secrete fluid into that point to open the lumen. Each polarized cell, after a period of time of fluid production \(\Delta t_\text {exo}\), secretes fluid into the lumen. To model the luminal fluid, cells generate a certain number of particles. First, when the lumen does not yet have any fluid, the cell secretes into the initiation site where the lumen will be generated. Then, when another cell secretes, some random particles are duplicated inside the lumen to recreate the increment in the fluid volume. The position of the new particles is obtained from the position of the particle that duplicates in a similar way to cell division. As a result of the cells’ secretion, the luminal hydrostatic pressure increases, and the lumen grows. The luminal hydrostatic pressure (\(P_\text {in}\)) is estimated by the mean of the particle’s net force (\(F_\text {in}\)). We hypothesize that there is a maximum luminal hydrostatic pressure above which cells cannot pump any more fluid into the lumen. Thus, cells can only secrete when the force generated by hydrostatic pressure, estimated through the mean particle net force, is below a threshold \(F_\text {lim}\). This makes lumen formation a dynamic process of phases in which polarized cells can secrete, thereby increasing the hydrostatic, and phases in which polarized cells are not able to secrete due to the high pressure.
Cells remain polarized as long as they face either the midbody or the lumen. However, due to subsequent cell division or mechanical interactions, a cell can leave the lumen and no longer face it (green cell in Fig. 2b). This cell is now nonpolarized, and depending on whether it is active or not within the cell cycle, it may create a secondary lumen. If it is active, the process is equivalent to the previous case: a new midbody is established when the cell divides and the cells polarize with respect to that point, create a preapical patch, and secrete into the area to generate the lumen. In this case, when the initial nonpolarized cell polarizes to create a new lumen, the number of times that the cell has divided \(c_{\text {steps}_{i}}\) is reset to prevent its daughter cells from entering quiescence and being unable to form the new lumen. On the other hand, if it is not active, the cell will not form a new lumen.
Mechanical interactions
Mechanical interactions between agents make them move and change their positions. We illustrate how the cell position \(\mathbf {x}_{c}\) and particle position \(\mathbf {x}_{p}\) are calculated. Let \(\mathbf {N}_{c}\) be the set of cells \(\mathbf {N}_{c} = \{1, \ldots , N_{c}\}\), and let \(\mathbf {N}_{p}\) be the set of particles \(\mathbf {N}_{p} = \{1, \ldots , N_{p}\}\). First, the velocity of each i-cell \(\mathbf {v}_{c_{i}}\) and each k-particle \(\mathbf {v}_{p_{k}}\) are calculated from the balance of forces:
$$\begin{aligned} m_{c_{i}} \dfrac{\text {d}\mathbf {v}_{c_{i}}}{\text {d}t} = \sum _{j\in \mathbf {N}_{c}} \left( \mathbf {F}_{c_{i}c_{j}}\right) + \sum _{j\in \mathbf {N}_{p}}\left( \mathbf {F}_{c_{i}p_{j}}\right) + \mathbf {F}_{c_{i_{drag}}} \approx 0, \end{aligned}$$
(6)
$$\begin{aligned} m_{p_{k}} \dfrac{\text {d}\mathbf {v}_{p_{k}}}{dt} = \sum _{j\in \mathbf {N}_{p}} \left( \mathbf {F}_{p_{k}p_{j}}\right) + \sum _{j\in \mathbf {N}_{c}}\left( \mathbf {F}_{p_{k}c_{j}}\right) + \mathbf {F}_{p_{k_{drag}}} \approx 0. \end{aligned}$$
(7)
Here, \(m_{c_{i}}\) and \(m_{p_{k}}\) are the cell and particle masses, respectively, \(\mathbf {F}_{c_{i}c_{j}}\) represents cell-cell interaction force, \(\mathbf {F}_{c_{i}p_{j}}\) indicates the cell-particle interaction force, \(\mathbf {F}_{p_{k}p_{j}}\) is the particle-particle interaction force, \(\mathbf {F}_{p_{k}c_{j}}\) denotes the particle-cell interaction force and \(\mathbf {F}_{c_{i_\text {drag}}}\) and \(\mathbf {F}_{p _{k_\text {drag}}}\) are the friction of the cell and particle with the extracellular matrix, respectively. Random cues, such as chemotaxis, or random walk are neglected. Also, the inertial terms \(m_{c_{i}} \dfrac{\text {d}\mathbf {v}_{c_{i}}}{\text {d}t}\) and \(m_{p_{k}} \dfrac{\text {d}\mathbf {v}_{p_{k}}}{\text {d}t}\) are neglected because \(Re<<1\). The drag forces \(\mathbf {F}_{c_{i_\text {drag}}}\) and \(\mathbf {F}_{p_{k_\text {drag}}}\) are obtained from Stoke’s law:
$$\begin{aligned} \mathbf {F}_{c_{i_\text {drag}}} = - 6\pi \eta R_{c_{i}} \mathbf {v}_{c_{i}}, \end{aligned}$$
(8)
$$\begin{aligned} \mathbf {F}_{p_{k_\text {drag}}} = - 6\pi \eta R_{p} \mathbf {v}_{p_{k}}, \end{aligned}$$
(9)
where \(\eta\) is the dynamic viscosity of the extracellular matrix, \(R_{c_{i}}\) is the radius of the i-cell, \(R_{p}\) is the radius of the particle and \(\mathbf {v}_{c_{i}}\) and \(\mathbf {v}_{p_{k}}\) are the velocities of the i-cell and k-particle.
Cell-cell interaction forces are usually modeled as repulsive-attractive forces. The repulsion between cells arises from cell resistance to deformation when their membranes touch, and the attractive forces are the result of the junctions that cells form between themselves through specialized protein complexes [17]. In the case of particles, the repulsive-attractive forces represent the intermolecular forces in fluids. Accordingly, we modeled the interaction forces \(\mathbf {F}_{\delta _{i} \gamma _{j}}\) (both subindexes \(\delta\) and \(\gamma\) denote c or p, depending on whether the i and j agents are cells (c) or particles (p)) following [34], as follows:
$$\begin{aligned} \mathbf {F}_{\delta _{i}\gamma _{j}} = F_{\delta \gamma } \dfrac{\mathbf {r}_{ij}}{||\mathbf {r}_{ij}||} \end{aligned}$$
(10)
where:
$$\begin{aligned} \mathbf {r}_{ij} = \mathbf {x}_{\gamma _{j}} - \mathbf {x}_{\delta _{i}}, \end{aligned}$$
(11)
and:
$$\begin{aligned} F_{\delta \gamma } = {\left\{ \begin{array}{ll} F_{\text {rep}_{\delta \gamma }} \chi (-s)^{3/2}, s<0\;{(\text {repulsion})},\\ - F_{\text {adh}_{\delta \gamma }} \chi \{(s+s_{0})e^{-\lambda (s+s_{0})^2} - v_{0}e^{-\lambda x^{2}}\}, s\ge 0 \;{(\text {adhesion})}. \end{array}\right. } \end{aligned}$$
(12)
Consequently, \(\chi\), s, \(x_{0}\) and \(v_{0}\) are defined as:
$$\begin{aligned}&\chi = \dfrac{R_{\delta _{i}}}{2}\left( \dfrac{1}{R_{\delta _{i}}}+ \dfrac{1}{R_{\gamma _{j}}}\right) ,&s = \dfrac{d-min_\text {dist}}{R_{\delta _{i}}}, \end{aligned}$$
(13)
$$\begin{aligned}&x_{0} = \sqrt{\dfrac{1}{2\lambda }},&v_{0} = x_{0} e^{-\lambda x^{2}_{0}}. \end{aligned}$$
(14)
\(F_{\text {rep}_{\delta \gamma }}\) and \(F_{\text {adh}_{\delta \gamma }}\) are the strengths of the adhesive and repulsive forces, respectively. \(\mathbf {r}_{ij}\) is the distance between the centers of the agents, and \(R_{\delta _{i}}\) and \(R_{\gamma _{j}}\) are the radii of the corresponding agents. \(x_{0}\), \(v_{0}\) and \(\lambda\) are matching constants, and \(\chi\) is a geometric correction factor. The value of \(min_\text {dist} = -0.1 R_{\delta _{i}}\) is chosen such that the equilibrium state where the adhesive and repulsive forces are balanced is slightly less than zero, following [34], and \(d = ||\mathbf {r}_{ij}|| - R_{\delta _{i}} -R_{\gamma _{j}}\) is the distance between the agents’ surfaces.
Since cells do not present any attraction towards the lumen fluid, the interaction force between cells and particles is only repulsive (\(F_{\text {adh}_{cp}}=F_{\text {adh}_{pc}}=0\)). Thus, the cell net forces \(F_{c_{\text {net}_{i}}}(t)\) are computed from:
$$\begin{aligned} F_{c_{\text {net}_{i}}}(t) = |\sum _{j\in \mathbf {N}_{c}} \left( \mathbf {F}_{c_{i}c_{j}}\right) + \sum _{j\in \mathbf {N}_{p}}\left( \mathbf {F}_{c_{i}p_{j}}\right) |, \end{aligned}$$
(15)
and the mean interactive cells’ net force during the simulation as follows:
$$\begin{aligned} \bar{F}_{c} = mean\left( \dfrac{\sum _{j\in \mathbf {N}_{c}} \left( F_{c_{\text {net}_{i}}}(t)\right) }{n_{c}(t)}\right) , \end{aligned}$$
(16)
with \(n_{c}(t)\) the number of cells.
Finally, the velocity of the i-cell and the k-particle at time t can be calculated explicitly:
$$\begin{aligned} \dfrac{d\mathbf {x}_{c_{i}}(t)}{dt} = \mathbf {v}_{c_{i}}(t) = \dfrac{1}{6\pi \eta R_{c_{i}}} \left( \sum _{j\in \mathbf {N}_{c}} \left( \mathbf {F}_{c_{i}c_{j}}\right) + \sum _{j\in \mathbf {N}_{p}}\left( \mathbf {F}_{c_{i}p_{j}}\right) \right) , \end{aligned}$$
(17)
$$\begin{aligned} \dfrac{d\mathbf {x}_{p_{k}}(t)}{dt} = \mathbf {v}_{p_{k}}(t) = \dfrac{1}{6\pi \eta R_{p}} \left( \sum _{j\in \mathbf {N}_{p}} \left( \mathbf {F}_{p_{k}p_{j}}\right) + \sum _{j\in \mathbf {N}_{c}}\left( \mathbf {F}_{p_{k}c_{j}}\right) \right) . \end{aligned}$$
(18)
Implementation
Mechanical interactions occur faster than biological processes (\(\Delta t_\text {mech} < \Delta t_\text {bio}\)), which allows them to be uncoupled and implemented with different time steps [6, 21]. The fluid secretion and agent dynamics are solved every \(\Delta t_\text {mech}=0.01\;min\), and when the current simulated time (t) increases \(\Delta t_\text {bio} = 6\;min\) (\(t=t_\text {bio}\)), the cell cycle is solved for each cell along with the fluid secretion and the agent dynamics. Figure 3 presents a simplified flowchart of the implemented algorithm. Initially, we begin the simulations with an active cell. The variable \(state_{i}\) stores for each cell whether they are active or inactive within the cell cycle. After division, in the restriction point, cells can reenter in the cell cycle or become inactive, so the variable \(state_{i}\) is updated for each daughter cell. If the cell becomes inactive, it enters into a quiescent phase and does not grow anymore (\(\alpha _{i}=0\)). In the fluid secretion part, the variable \(polarized_{i}\) accounts whether cells are polarized or nonpolarized, and \(n_{l}\) refers to the number of lumens in the organoid, therefore, \(n_{c}(n_{l})\) is the number of cells in the \(n_{l}\) lumen. Moreover, we track the fluid production time \(t_{exo_{i}}\) for each polarized cell and the luminal hydrostatic pressure \(F_\text {in}(n_{l})\) in the \(n_{l}\) lumen. If the cell secretes fluid, we reset its fluid production time \(t_{exo_{i}}\). Finally, after fluid secretion, we solve the agent dynamics.
To evaluate the predictive capacity of the model, we replicate the experiment developed by [35], who studied the influence of matrix rigidity in the lumen formed by MCF10A cells and concluded that matrix stiffening compromises tissue organization, inhibits lumen formation and enhances growth. However, there was no clear conclusion about the intrinsic mechanisms that regulate this process. Here, we focus on reproducing the results by comparing the lumen formation in a low-density matrix and a high-density matrix. Different techniques have been employed to model the extracellular matrix (e.g., the smoothed particle hydrodynamics (SPH) [23]). Here. we model the ECM through a uniform dynamic viscosity and relate the density of the ECM with the dynamic viscosity based on [47], which presents a characterization of crosslinked collagen-based hydrogels. The low-density matrix represents the 4 mg/ml collagen concentration, with a dynamic viscosity of approximately 20 Pa s (\(\eta _\text {low}\)) [47]. Regarding the high-density matrix, we consider a dynamic viscosity of 100 Pa s (\(\eta _\text {high}\)), which corresponds to a five-fold increase in the dynamic viscosity with respect to the low-density matrix. Moreover, to analyse the trend of the lumen evolution under different-density matrices, we include an intermediate-density matrix with a dynamic viscosity of 50 Pa s for comparative purposes.
Finally, we initiate the simulations with one cell of radius 10 \(\mu m\), then create a random seed and run the simulation for 7 days. Thus, we first performed 20 simulations with the low-density matrix and then, with the random seeds generated for each, we executed the equivalent simulations for the intermediate- and high-density matrices. The agent surfaces were discretized and then processed with alpha shapes [15]. The parameters used for the simulations are shown in Table 1. The code was fully implemented in Matlab R2019a.
Table 1 Parameters of the model