Difference between revisions of "Team:KU Leuven/Modeling/Hybrid"
Line 616: | Line 616: | ||
</div> | </div> | ||
<div id="toggleeight"> | <div id="toggleeight"> | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
<p> | <p> | ||
<b>Nearest-neightbor Algorithm</b><br/> | <b>Nearest-neightbor Algorithm</b><br/> | ||
Line 669: | Line 643: | ||
<p> | <p> | ||
<b>Computational Scheme</b><br/> | <b>Computational Scheme</b><br/> | ||
+ | <p> | ||
+ | As mentioned earlier the concentrations of AHL and Leucine are modeled using partial differential equations. | ||
+ | In the colony level model these equations are solved explicitly. Explicit schemes do not require a lot of | ||
+ | work per time step, but unfortunately are not unconditionally stable. In two dimensions the grid ratios | ||
+ | $dt/dx^2$ and $dt/dy^2$ can not exceed $dt/dx^2 + dt/dy^2 \leq \frac{1}{2}$ for the solver to be stable. | ||
+ | When computing the solution of the hybrid model this requrement forces us to spend a lot of CPU time solving | ||
+ | partial differential equations that could be better spent simulation the agents. Therefore an implicit ADI | ||
+ | Alternating direction implicit scheme has been implemented. ADI-schemes are unconditionally stable, which | ||
+ | allows it to take large time steps with the PDE solver. We used the following scheme: | ||
+ | $$ (1 - \frac{1}{2} \mu_x \delta_x^2) U^{n+\frac{1}{2}} + \frac{1}{4}kU^{n+\frac{1}{2}} | ||
+ | = (1 + \frac{1}{2} \mu_y \delta_y^2) U^n - \frac{1}{4}kU^n + \frac{\alpha}{2} \rho_A $$ | ||
+ | $$ (1 - \frac{1}{2} \mu_y \delta_y^2) U^{n+1} + \frac{1}{4}kU^{n+1} = | ||
+ | (1 + \frac{1}{2} \mu_x \delta_x^2)U^{n+\frac{1}{2}} - \frac{1}{4}kU^{n+\frac{1}{2}} + \frac{\alpha}{2} \rho_A $$ | ||
+ | In the equations above $\mu$ denotes grid ratios and $\delta^2$ central differences. The production and | ||
+ | degradation terms have been incorporated at every time level with a factor of $\frac{1}{4}$. | ||
+ | The image below shows the computational molecule of the ADI scheme we chose to implement: | ||
+ | <br/> | ||
+ | </p> | ||
+ | |||
+ | <div class="center"> | ||
+ | <div id="image2"> | ||
+ | <a class="example-image-link" href="https://static.igem.org/mediawiki/2015/f/f7/KU_Leuven_ADI_Molecule.png" data-lightbox="example-set" data-title="Epanechnikov kernel with h=1"><img class="example-image" src="https://static.igem.org/mediawiki/2015/f/f7/KU_Leuven_ADI_Molecule.png" alt="Epanechnikov kernel with h=1" width="45%" height="45%"></a> | ||
+ | <h4><div id=figure1>Figure 2</div> ADI-Molecule. Click to enlarge </h4> | ||
+ | </div> | ||
+ | </div> | ||
+ | |||
</p> | </p> | ||
<p> | <p> |
Revision as of 23:51, 18 September 2015
The hybrid model
The hybrid model represents an intermediate level of detail in between the colony level model and the internal model. Bacteria are treated as individual agents that behave according to the Keller-Segel type discretized stochastic differential equations, while chemical species are modeled using partial differential equations.
Model Description
Implementation
1-D Hybrid Model
The video box above shows one dimensional simulation results for the hybrid model. A constant speed and random step simulation has been computed. We observe that the bacteria form a traveling wave in both cases, which is essential for pattern formation. These results are also similar to what we get from the continuous model, which confirms our results.
2-D Hybrid Model
The videos above show simulation videos computed at the Flemish supercomputing center, for three different initial conditions similar to the ones we used for the colony level model. The first and second condition start from 9 mixed or 5 colonies of both cell types, arranged in a block or star shape. These first two gradually separate in a manner similar to what we would we also saw in the colony level model. The result for random initial data is fundamentally different. As the agent based approach allows for better implementation of adhesion large cell type A bands form. The AHL and Leucine produced by the type A bacteria causes the B type cells to move away leading to a pattern which we could not produce using PDEs alone, this beautifully illustrates the added value of hybrid modeling.
Incorporation of internal model
Up until now, we have largely ignored the inner life of the bacteria. This inner life consists of transcriptional networks and protein kinetics. Instead we assumed that AHL and leucine production is directly proportional to the density of type A cells. This only works in theory, since bacteria will be affected by their surroundings and the way their dynamics react to it. For example bacteria surrounded by a large concentration of AHL, will have more CheZ and will react more on the presence of Leucine. Also bacteria have different histories and will have different levels of transcription factors and different levels of proteins in their plasma. The proteins are not directly degraded and will still be present in the cytoplasm of the bacteria long after the network has been deactivated. From this, it is clear that 2 bacteria, although surrounded by the same AHL and leucine concentrations, can show different behavior and reaction kinetics.
This results in a heterogeneity of the bacterial population that has not yet been accounted for. To make up for this anomaly, we decided to add an internal model to every agent. This way we will get more realistic simulations. Every agent will get their own levels of CheZ, LuxR, LuxI and so on and will have individual reactions on their surroundings. We hope that this way we can get closer to the behavior of real bacteria.
References
[1] | Benjamin Franz and Radek Erban. Hybrid modelling of individual movement and collective behaviour. Lecture Notes in Mathematics, 2071:129-157, 2013. [ .pdf ] |
[2] | Zaiyi Guo, Peter M A Sloot, and Joc Cing Tay. A hybrid agent-based approach for modeling microbiological systems. Journal of Theoretical Biology, 255(2):163-175, 2008. [ DOI ] |
[3] | E F Keller and L A Segel. Traveling bands of chemotactic bacteria: a theoretical analysis. Journal of theoretical biology, 30(2):235-248, 1971. [ DOI ] |
[4] | E. M. Purcell. Life at low Reynolds number, 1977. [ DOI ] |
[5] | Angela Stevens. The Derivation of Chemotaxis Equations as Limit Dynamics of Moderately Interacting Stochastic Many-Particle Systems, 2000. [ DOI ] |
Equations
Contact
Address: Celestijnenlaan 200G room 00.08 - 3001 Heverlee
Telephone: +32(0)16 32 73 19
Email: igem@chem.kuleuven.be