Skip to main content

GridCell: a stochastic particle-based biological system simulator



Realistic biochemical simulators aim to improve our understanding of many biological processes that would be otherwise very difficult to monitor in experimental studies. Increasingly accurate simulators may provide insights into the regulation of biological processes due to stochastic or spatial effects.


We have developed GridCell as a three-dimensional simulation environment for investigating the behaviour of biochemical networks under a variety of spatial influences including crowding, recruitment and localization. GridCell enables the tracking and characterization of individual particles, leading to insights on the behaviour of low copy number molecules participating in signaling networks. The simulation space is divided into a discrete 3D grid that provides ideal support for particle collisions without distance calculation and particle search. SBML support enables existing networks to be simulated and visualized. The user interface provides intuitive navigation that facilitates insights into species behaviour across spatial and temporal dimensions. We demonstrate the effect of crowing on a Michaelis-Menten system.


GridCell is an effective stochastic particle simulator designed to track the progress of individual particles in a three-dimensional space in which spatial influences such as crowding, co-localization and recruitment may be investigated.


One of the main goals of computational cell biology aims to accurately simulate large biological systems at molecular resolution. Stochastic effects and spatial constraints are increasingly being recognized as important factors in the normal functioning of molecular networks [1]. The efficiency of biochemical networks is enhanced by component co-localization [2], and certain signaling networks are thought to be facilitated by transport and co-localization [3]. In addition, molecular crowding has been shown to affect biochemical systems [46]. Modeling and simulation of these kinds of networks requires new kinds of stochastic simulators.

We developed GridCell to simulate biological models with specific consideration for stochasticity, locality, and collision. GridCell is based on a simplified model for molecular movement and interaction. It uses a discrete three-dimensional cubic grid based on the D3Q27 model often used in the application of the Lattice-Boltzmann Method (LBM) [7]. Each voxel has access to itself and its 26 neighbours and is independent of voxels outside this immediate surrounding. Figure 1 shows the 27 possible locations accessible to a voxel from a D3Q27 grid. The integer-addressed 3D grid avoids floating-point computation and distance calculations, resulting in an efficient implementation. Molecules are represented as particles that move and react stochastically within discrete volumes in discrete timesteps. Collisions and molecular crowding are enforced since only one particle can occupy a given location at any time. GridCell stores the coordinates of all the particles on the 3D grid at every turn, thereby enabling particle tracking in both space and time.

Figure 1
figure 1

D3Q27 cubic grid structure. The 27 possible locations of a D3Q27 cubic grid that a given voxel can access.

The simulation space is visualized via a 3D interface and 2D graphs, and surface plots summarize molecule concentrations over space and time. GridCell supports models specified by the Systems Biology Markup Language (SBML) (please see Availability & requirements for further information). SBML models can be obtained from public repositories such as EBI's Biomodels database (please see Availability & requirements for further information) or designed using software such as SBMLeditor or JDesigner (please see Availability & requirements for further information).



The simulation employs a two-phase process in which particles (1) attempt to move and then (2) attempt to react every turn.

Movement Phase

A particle can move at most once per timestep. Since a particle only has access to its immediate surrounding, a particle can only move in one of 27 nearest locations, including the current location. The selection of the movement direction is made randomly; therefore the particles follow a Brownian random walk. Figure 2 shows an example of 4 different Brownian random walks of particles starting from the same location. In GridCell, any particle attempting to move to an occupied location will generate a collision. A collision prevents the particle attempting to move from moving during that turn and does not affect the other particle.

Figure 2
figure 2

Random Brownian walk. Random walks of 4 different particles in GridCell after 1000 timesteps.


Particles following a Brownian random walk should also follow the well-known Einstein-Smoluchowski equation

<r2> = 2dDt,

where <r2> is the mean-square displacement, d is the dimensionality, D the diffusion coefficient and t the elapsed time. Figure 3 shows the mean-square displacement in units of voxel <v2> (averaged over 1000 iterations) versus the number of timesteps n ts when the probability of movement of the particles at every timestep is equal to 1. As expected for an uncrowded case, the mean-square displacement increases linearly with the number of timesteps. This leads to the following relation

Figure 3
figure 3

Diffusion in GridCell. Mean-square distance (over 1000 iterations) of particles versus the number of timesteps in GridCell.

<v2> = An ts

where A is the slope of the graph. By substituting < v 2 > = < r 2 > s v o x 2 MathType@MTEF@5@5@+=feaagaart1ev2aaatCvAUfKttLearuWrP9MDH5MBPbIqV92AaeXatLxBI9gBaebbnrfifHhDYfgasaacPC6xNi=xH8viVGI8Gi=hEeeu0xXdbba9frFj0xb9qqpG0dXdb9aspeI8k8fiI+fsY=rqGqVepae9pg0db9vqaiVgFr0xfr=xfr=xc9adbaqaaeGaciGaaiaabeqaaeqabiWaaaGcbaGaeyipaWJaemODay3aaWbaaSqabeaacqaIYaGmaaGccqGH+aGpcqGH9aqpjuaGdaWcaaqaaiabgYda8iabdkhaYnaaCaaabeqaaiabikdaYaaacqGH+aGpaeaacqWGZbWCdaqhaaqaaiabdAha2jabd+gaVjabdIha4bqaaiabikdaYaaaaaaaaa@3D88@ and n t s = t l t s MathType@MTEF@5@5@+=feaagaart1ev2aaatCvAUfKttLearuWrP9MDH5MBPbIqV92AaeXatLxBI9gBaebbnrfifHhDYfgasaacPC6xNi=xH8viVGI8Gi=hEeeu0xXdbba9frFj0xb9qqpG0dXdb9aspeI8k8fiI+fsY=rqGqVepae9pg0db9vqaiVgFr0xfr=xfr=xc9adbaqaaeGaciGaaiaabeqaaeqabiWaaaGcbaGaemOBa42aaSbaaSqaaiabdsha0jabdohaZbqabaGccqGH9aqpjuaGdaWcaaqaaiabdsha0bqaaiabdYgaSnaaBaaabaGaemiDaqNaem4Camhabeaaaaaaaa@37C7@ where s vox is the length of the sides of the voxels in meters and l ts is the length of the timestep in seconds, we get

< r 2 > = A s v o x 2 l t s t = 2 d D t . MathType@MTEF@5@5@+=feaagaart1ev2aaatCvAUfKttLearuWrP9MDH5MBPbIqV92AaeXatLxBI9gBaebbnrfifHhDYfgasaacPC6xNi=xI8qiVKYPFjYdHaVhbbf9v8qqaqFr0xc9vqFj0dXdbba91qpepeI8k8fiI+fsY=rqGqVepae9pg0db9vqaiVgFr0xfr=xfr=xc9adbaqaaeGaciGaaiaabeqaaeqabiWaaaGcbaGaeyipaWJaemOCai3aaWbaaSqabeaacqaIYaGmaaGccqGH+aGpcqGH9aqpjuaGdaWcaaqaaiabdgeabjabdohaZnaaDaaabaGaemODayNaem4Ba8MaemiEaGhabaGaeGOmaidaaaqaaiabdYgaSnaaBaaabaGaemiDaqNaem4CamhabeaaaaGccqWG0baDcqGH9aqpcqaIYaGmcqWGKbazcqWGebarcqWG0baDcqGGUaGlaaa@46D8@

Since the probability of movement at each timestep of the particle is equal to 1, D can be substituted for the maximum diffusion speed D max that GridCell can support for a given timestep and voxel size. This upper limit on diffusion speed is caused by the design decision of restraining particle movement to its immediate neighbourhood (the D3Q27 grid). By calculating the slope of the graph and setting the dimensionality d equal to 3, D max can be calculated as

D max = 0.335s vox 2/t s .

Smaller diffusion speeds are simulated by applying a different probability of movement such that

D = p m D max

where p m is the probability of movement of a particle at every timestep. As long as the diffusion speeds of the particles are smaller than D max , diffusion will be modeled correctly. If a larger diffusion speed is needed, one can reduce the timestep or increase the size of the voxels.

Reaction Phase

A particle may react only once per turn and only with its immediate surrounding. The reaction phase is completely independent from the movement phase, therefore it does not matter if a particle previously moved or collided with another particle. Common interactions include aggregation events such as molecular complex formation/dissolution or conversion events such as chemical reactions. Only the simplest reactions involving 3 or less particles are directly supported. Complex reactions involving more than 3 particles are decomposed into several elementary reactions. The probability of reaction per timestep is derived from the overall rate of reaction and is very similar to the approach taken by ChemCell [8]. Only 3 different reactions involve 3 or less participants: 1 reactant and 1 product, 1 reactant and 2 products and 2 reactants and 1 product. Let's consider the two reactions that involve a single reactant


AB + C.

Both reactions have a forward rate of reaction k in units of time-1 and timestep is t second. Assuming a well-mixed approximation and N particles of type A in the system, then in both cases the expected number of reaction per turn is given by N(1 - e-kt). Considering each particle individually, each particle has a probability equal to 1 - e-ktto react during each timestep. In our stochastic model, a uniform random number R n between 0 and 1 is generated for each particle, and the reaction occurs if R n < 1 - e-kt. In a reaction with only 1 reactant and 1 product, the reactant is simply replaced by the product. In a reaction with 1 reactant and 2 products, a search is first conducted in the surrounding area. If there is at least 1 free voxel in the surrounding area of the particle, the reaction takes place, and the second product is positioned in that free location while the first product is placed at the position of the initial reactant. The reaction is blocked if no free position is found. This limitation only modifies the overall reaction rate of the reaction in a situation where the whole cell is completely filled which would prevent any movement and reaction to take place.

Consider the following reaction with 2 reactants:

A + BC

with a rate constant k in units of (molarity*time)-1 and a timestep between each iteration of t second. Assuming N a particle of type A, N b particle of type B, a Volume V and the Avogadro's number being A v , then the total number of reactions N r in a well-mixed system is given by

N r = k N a N b t A v V . MathType@MTEF@5@5@+=feaagaart1ev2aaatCvAUfKttLearuWrP9MDH5MBPbIqV92AaeXatLxBI9gBaebbnrfifHhDYfgasaacPC6xNi=xI8qiVKYPFjYdHaVhbbf9v8qqaqFr0xc9vqFj0dXdbba91qpepeI8k8fiI+fsY=rqGqVepae9pg0db9vqaiVgFr0xfr=xfr=xc9adbaqaaeGaciGaaiaabeqaaeqabiWaaaGcbaGaemOta40aaSbaaSqaaiabdkhaYbqabaGccqGH9aqpjuaGdaWcaaqaaiabdUgaRjabd6eaonaaBaaabaGaemyyaegabeaacqWGobGtdaWgaaqaaiabdkgaIbqabaGaemiDaqhabaGaemyqae0aaSbaaeaacqWG2bGDaeqaaiabdAfawbaacqGGUaGlaaa@3D3D@

On average, the desired number of reactions in our system should be equivalent to the result of the above equation. In our system, particles can only react with their immediate surrounding locations. In a well-mixed system, the number of A,B pairs that are close enough to each other to generate a reaction is given by N = N a N b V c /V where V c is the volume of the cube containing the 26 "neighbouring" voxels and V is still the total volume of the simulation. If each of those pairs react with probability P, then N r = NP. Setting the 2 equations N r = NP = kN a N b t/(A v V) gives the equation

P = k t A v V c . MathType@MTEF@5@5@+=feaagaart1ev2aaatCvAUfKttLearuWrP9MDH5MBPbIqV92AaeXatLxBI9gBaebbnrfifHhDYfgasaacPC6xNi=xI8qiVKYPFjYdHaVhbbf9v8qqaqFr0xc9vqFj0dXdbba91qpepeI8k8fiI+fsY=rqGqVepae9pg0db9vqaiVgFr0xfr=xfr=xc9adbaqaaeGaciGaaiaabeqaaeqabiWaaaGcbaGaemiuaaLaeyypa0tcfa4aaSaaaeaacqWGRbWAcqWG0baDaeaacqWGbbqqdaWgaaqaaiabdAha2bqabaGaemOvay1aaSbaaeaacqWGJbWyaeqaaaaakiabc6caUaaa@37F4@

The formula is independent of V, N a and N b as expected. Also, for a given rate constant k, it is possible to have a set of parameter t/V c such that P is greater than 1. If that is the case, a smaller timestep or larger voxel size (proportional to V c ) has to be selected. A random number R n is generated. If R n <P, then the first reactant will search its surrounding area for the second reactant. If it is found, the reaction takes place and the product is placed at the location of the first reactant. If no reactant is found, the reaction is aborted. Note that the second reactant does not try to react with the first one, doing so still enables us to get the right rate of reaction and reduces the number of operations needed to update the simulation. In the case where a particle can participate in many different reactions, a random number is generated to select which reaction is going to be tested first. If the first reaction does not take place, then the next reaction on the list is tested. The procedure will go on until either a reaction takes place or all possible reactions have been tried. This ensures that, on average, all reactions are tested equally.

When 2 reactants of the same species form a product such as

A + AB

the individual rate of reaction of particle A needs to be modified to ensure that the overall rate of reaction is respected since each reactant will attempt to react with the other one. Assuming y is the overall probability of reaction and x is the individual probability of reaction of species A, then

x = 1 1 y . MathType@MTEF@5@5@+=feaagaart1ev2aaatCvAUfKttLearuWrP9MDH5MBPbIqV92AaeXatLxBI9gBaebbnrfifHhDYfgasaacPC6xNi=xI8qiVKYPFjYdHaVhbbf9v8qqaqFr0xc9vqFj0dXdbba91qpepeI8k8fiI+fsY=rqGqVepae9pg0db9vqaiVgFr0xfr=xfr=xc9adbaqaaeGaciGaaiaabeqaaeqabiWaaaGcbaGaemiEaGNaeyypa0JaeGymaeJaeyOeI0YaaOaaaeaacqaIXaqmcqGHsislcqWG5bqEaSqabaGccqGGUaGlaaa@34E0@

More complex reactions are implemented by creating a cascade of several elementary equations. This process, done automatically by the software, will break the complex reactions into a series of simpler reactions by introducing "temporary" species. For example, consider the following reaction with 1 reactant and 5 products.

AB + C + D + E + F

where k is the rate of reaction in time-1. For each product exceeding 2, a temporary species is created. In this case, 3 temporary species are created. It follows that the reaction is broken down into:

T1B + C

T2D + E

T3F + T1

AT2 + T3

where T1, T2 and T3 are respectively the first, second and third temporary species. By setting the rate of reaction of equation 17 equal to k and the probability of reaction of equations containing any temporary species on the reactant side equal to 1, we reduce the artifacts due to the creation of the "temporary" species to a minimum. Indeed, the temporary species disappear from the system as quickly as possible and the overall rate of reaction is identical.

Shown below is the case where more than 2 reactants merge into a single product:

A + B + C + D + EF.

The procedure is similar to the previous case, 1 temporary species is created for each reactant above 2.

A + BT1

C + DT2

E + T1T3

T2 + T3F

where T1, T2 and T3 are respectively the first, second and third temporary species. In order to obtain the same overall probability of reaction and to reduce the impact of the temporary species on the system to a minimum, the probability of reaction of any reaction containing temporary species on the reactant side (equation 21 and 22) is set to 1. Assuming that P is the probability of reaction of the reaction presented in equation 18 and P1 and P2 are the probability of the first and second simple reactions A + BT1 and C + DT2 then, we set P = P1P2. We also set P1 = P2. Equating the 2 equations gives P1 = P2 = P MathType@MTEF@5@5@+=feaagaart1ev2aaatCvAUfKttLearuWrP9MDH5MBPbIqV92AaeXatLxBI9gBaebbnrfifHhDYfgasaacPC6xNi=xH8viVGI8Gi=hEeeu0xXdbba9frFj0xb9qqpG0dXdb9aspeI8k8fiI+fsY=rqGqVepae9pg0db9vqaiVgFr0xfr=xfr=xc9adbaqaaeGaciGaaiaabeqaaeqabiWaaaGcbaWaaOaaaeaacqWGqbauaSqabaaaaa@2D19@ .

In general, the probability of the simple reactions P n containing no temporary species is equal to

P n = P 2 N r e a c t a n t s MathType@MTEF@5@5@+=feaagaart1ev2aaatCvAUfKttLearuWrP9MDH5MBPbIqV92AaeXatLxBI9gBaebbnrfifHhDYfgasaacPC6xNi=xI8qiVKYPFjYdHaVhbbf9v8qqaqFr0xc9vqFj0dXdbba91qpepeI8k8fiI+fsY=rqGqVepae9pg0db9vqaiVgFr0xfr=xfr=xc9adbaqaaeGaciGaaiaabeqaaeqabiWaaaGcbaGaemiuaa1aaSbaaSqaaiabd6gaUbqabaGccqGH9aqpcqWGqbaudaGbdaqcfayaamaalaaabaGaeGOmaidabaGaemOta40aaSbaaeaacqWGYbGCcqWGLbqzcqWGHbqycqWGJbWycqWG0baDcqWGHbqycqWGUbGBcqWG0baDcqWGZbWCaeqaaaaaaOGaayj84laawUp+aaaa@4569@

where P is the probability of reaction and N reactants is the number of reactants of the initial reaction. Each temporary particle has a parameter lifetime which indicates the number of turns the particle has to live in the system before reverting back to its previous state. The short lifetime of temporary particles is important for 2 reasons. First, it makes sure that temporary particles are effectively temporary and never stay in the system for a long period of time. It also makes sure that all the reactants are to be close to each other in order for the reaction to complete. Usually, a lifetime of 2–3 turns is reasonable since it gives enough time to react with the neighbouring particles while making sure temporary particles do not constitute the bulk of the system.

Reversible reactions are handled by creating 2 different separate reactions, 1 for the forward reaction with the forward reaction rate and 1 for the backward reaction with the corresponding backward reaction rate. Assuming the following reaction

A + B + C + D + EF.

with forward reaction rate k f and backward reaction rate k b . This reversible reaction is then split into

A + B + C + D + EF

with a reaction rate k f and

FA + B + C + D + E

with reaction rate k b .

Temporary particles involved in a reversible reaction have a flag mentioning if they are participating in a forward or backward reaction such that they can revert back to the proper reactants when their lifetime reaches zero.

Performance analysis

Preliminary tests have been conducted to determine how the software reacts to different system sizes. The tests have been executed on a stand-alone microprocessor: a 3.2 GHz P4 with 2GB of RAM. The current algorithm is computed serially. As it can be shown in Table 1, the time required to compute a timestep increases linearly with the number of particles and voxels present in the system. Tables 2 and 3 demonstrate how the performance is affected by independently modifying the number of voxels or the number of particles. The maximum number of particles that can be currently simulated is equal to the maximum number of voxels that can be supported, which is 107. Table 4 shows that the number of reactions occurring at each timestep has a negligible effect on the performance. The reason is that all reactions have to be tested, regardless of whether or not they actually react. There are no practical limitations to the number of chemical species or the number of different reactions present in the system beyond the absolute limit on the number of voxels.

Table 1 GridCell performance versus system size
Table 2 GridCell performance versus number of voxels
Table 3 GridCell performance versus number of particles
Table 4 GridCell performance versus the average number of reactions

User Interface Features

The rendering is implemented in OpenGL, and most user-interface functions are written using the PLIB library, which is available online GridCell's user interface (Figure 4) consists of a) a menu system, b) an interactive 3D simulation space, c) a species panel, d) a 2D plot of concentration versus time, and e) a 2D plot of concentration versus space.

Figure 4
figure 4

GridCell user interface. GridCell user interface with (a) menu, (b) 3D space, (c) species panel, (d) 2D plot of concentration versus time, and (e) 2D surface plot of concentration versus space. Simulated model involves the translocation of particles through a membrane with embedded enzymes.

The menu system (Figure 4a) provides the ability to load SBML models, set parameters and control the simulation. User-designated simulation parameters include the number of times to run the simulation, the timestep, the total simulation time, the sampling rate which is the frequency that the 2D graphs are updated and the results saved to file, and the frame rate which designates the frequency of updating the 3D visualization. GridCell computes the means and the standard deviations of the concentration over time if the user chooses to run multiple iterations of the simulation. These preferences may be saved and used later in any simulation. GridCell saves the particle concentrations and the 2D surface plot data in user-specified tab-delimited files. Spatial information such as specific compartment geometries or co-localization of particles is specified in an optional configuration file.

A key feature of the GridCell user interface is the ability to interact with the three-dimensional simulation volume (Figure 4b). Users can navigate into the 3D scene with mouse and keyboard controls to rotate, pan and zoom. Buttons are present to i) start/pause simulations, ii) change the particle representation from cubes to points for faster rendering, iii) turn off the visualization for optimal simulation performance, and iv) hide or show all particle types.

The species panel (Figure 4c) contains the current amount of each species, and allows species selection for the visualization plots. A second column specifies which species to render in the 2D surface plot of concentration versus space (Figure 4e). Particle colours are automatically selected from a predefined colour palette.

Finally, two plots to summarize particle concentrations with respect to time (Figure 4d) and space (Figure 4e) are provided in real-time. The 2D spatial plot displays increasing concentration with increasing brightness along a selected Cartesian axis.

Results and discussion

Michaelis-Menten reaction

The Michaelis-Menten equations are used to describe most enzymatic reactions. Its kinetics is given by the following equation:

E + SESE + P.

The enzyme E reacts with the substrate S to form the complex ES with a rate of reaction k1. ES decomposes into the enzyme E and a new product P with a rate k2, or reverts back to its original form E + S with rate k r .


One of the main differences between GridCell and other simulators is its ability to simulate particle crowding. Molecular crowding occurs when particle density affects movement and reactivity. Crowding is typically ignored in most models since kinetics are often based on controlled, in vitro conditions that are not crowded. In addition, simulators do not typically support this feature since it is computationally expensive to keep track of all particle positions and their excluded volume, and to implement collision-detection algorithms. Some simulators (e.g. Smoldyn [9]) have shown crowding effects by explicitly introducing cubic obstacles [10] in the model. In contrast, GridCell implicitly exhibits molecular crowding effects by allowing inter-particle collisions. We demonstrate the effect of crowding by adding inert particles to a Michaelis-Menten system. Inert particles do not react with other molecules but reduce their movement and affect the overall number of reactions. The simulation parameters are described in Table 5. Figure 5 shows the number of products over time for a wide range of concentrations of inert particles averaged over 20 iterations. The individual simulations provided almost identical results to one another with a relative standard deviation smaller than 3.5% at the end of the simulation. The number indicated in the legend signifies the percentage of the voxels occupied by inert particles. In this specific example, with a voxel size of 3.2-20 litres, this amounts to approximately 30000 inert particles per step of 10%.

Table 5 Simulation parameters
Figure 5
figure 5

Effect of crowding on Michaelis-Menten product formation using GridCell. Effect of increasing the number of inert particles on product formation of a Michaelis-Menten system using GridCell. The mean has been calculated over 20 iterations. Percentage of voxels occupied by inert particles.

Interestingly, the maximum rate of reaction is obtained when the inert particles occupy 20% of the volume, which agrees with the fact that macromolecular crowding may enhance reaction rates, as the particles have to search a smaller volume to find each other [11]. However, above 30%, the reaction rates decrease linearly as more and more inert particles are added. Under well-mixed and un-crowded systems, GridCell provides similar results to other ODE simulators and stochastic algorithms such as the stochastic simulation algorithm (SSA) from Gillespie [12] with the exception of a small stochastic noise [13].

Related Work

GridCell is related to a family of Monte Carlo (MC) simulators (Table 6). SmartCell [14] and MesoRD [15] subdivide the simulation space into smaller subvolumes (voxels) that can contain many particles. Each subvolume is composed of a well-mixed solution, and particles can diffuse to adjacent subvolumes. This approach permits quicker simulations, but it is impossible to track individual particles, and molecular crowding has no effect on movement and reaction rates. Cell++ [16] combines a cellular automata engine with Brownian dynamics in order to simulate large quantities of small molecules on a discretized grid, while large molecules exhibit stochastic behaviour and move in a continuous space. Both spaces are then superimposed onto each other, and reactions can take place between the two different spaces. Currently, only collisions between particles (both small and large) and a fixed membrane separating two compartments are supported. Therefore, molecular crowding effects are not simulated. Unlike Cell++, MCell [17] tracks all individual particles in a continuous 3D space, and the diffusing particles follow Brownian dynamics. Particles may collide and interact with effector sites and 2D membrane surfaces, but not with other particles. ChemCell [8] calculates the probability of reaction at every timestep, and particles follow Brownian motion in a continuous space that requires a computationally expensive search algorithm to find nearby particles, and the use of dimensionless particles removes the ability of particles to collide with one another. In contrast, GridCell enables stochasticity-based investigations of SBML networks while considering spatial effects of recruitment, localization and crowding.

Table 6 Spatial simulators

Future Directions

GridCell performance is tightly linked to the number of voxels in the simulation space. The simulator can currently support a maximum of 107 voxels/particles which is not enough to simulate at a molecular resolution structures as complex as a complete cell, the long term goal of GridCell. However, the simple and regular algorithm of GridCell, which does not require any searches or complex operations, is a prime candidate for acceleration by parallelization to achieve performance speedup and simulate large-scale systems.


GridCell is a stochastic simulator that uses a 3D grid and accounts for locality, very low concentration stochastic effects and particle collisions. Its user-interface makes it easy to use while providing several tools to analyze the system. GridCell reproduces the results obtained with ODEs and the Stochastic Simulation Algorithm (SSA) for simple systems when crowding and locality do not affect the system. We also show that particle collisions can have a significant impact on the speed of reaction and that the well-mixed assumption and dimensionless particles can induce a significantly different response in a biological system. The discrete 3D grid and the nearest-neighbour interactions remove the need to do any distance calculation, particle search and floating-point arithmetic. The regularity and simplicity of the algorithm makes it a good candidate for acceleration with a parallel architecture which will open the door to the simulation of even more complex systems.

Availability and Requirements

The software is available at and runs under the Windows XP operating system. This package includes sample SBML and GridCell configuration files. GridCell requires the Systems Biology Markup Language Library (libSBML 2.3.4-Xerces; and the OpenGL utility toolkit (GLUT 3.7.6; EBI's Biomodels database: SBMLeditor: JDesigner: Systems Biology Markup Language (SBML):


  1. Lemerle C, Ventura BD, Serrano L: Space as the final frontier in stochastic simulations of biological systems. FEBS Letters. 2005, 578: 1789-1794. 10.1016/j.febslet.2005.02.009.

    Article  Google Scholar 

  2. Jorgensen K: Metabolon formation and metabolic channeling in the biosynthesis of plant natural products. Curr Opin Plant Biol. 2005, 8: 280-291. 10.1016/j.pbi.2005.03.014

    Article  CAS  PubMed  Google Scholar 

  3. Kholodenko BN: Four-dimensional organization of protein kinase signaling cascades: the roles of diffusion, endocytosis and molecular motors. Exp Biol. 2003, 206: 2073-2082. 10.1242/jeb.00298.

    Article  CAS  Google Scholar 

  4. Saxton M: Anomalous Subdiffusion in Fluorescence Photobleaching Recovery: A Monte Carlo Study. Biophysical Journal. 2001, 81: 2226-2240.

    Article  PubMed Central  CAS  PubMed  Google Scholar 

  5. Turner T, Schnell S, Burrage K: Stochastic approaches for modelling in vivo reactions. Computational Biology and Chemistry. 2004, 28: 165-178. 10.1016/j.compbiolchem.2004.05.001.

    Article  CAS  PubMed  Google Scholar 

  6. Schnell S, Turner T: Reaction kinetics in intracellular environments with macromolecular crowding: simulations and rate laws. Progress in Biophysics and Molecular Biology. 2004, 85: 235-260. 10.1016/j.pbiomolbio.2004.01.012.

    Article  CAS  PubMed  Google Scholar 

  7. Williams S, Carter J, Oliker L, Shalf J, Yelick K: Lattice Boltzmann Simulation Optimization on Leading Multicore Platforms. International Parallel and Distributed Processing Symposium (IPDPS). 2008

    Google Scholar 

  8. Plimpton S, Slepoy A: ChemCell: A Particle-Based Model of Protein Chemistry and Diffusion in Microbial Cells. Sandia Technical Report SAND2003-4509. 2003

    Google Scholar 

  9. Andrews SS, Bray D: Stochastic simulation of chemical reactionswith spatial resolution and single molecule detail. Phys Biol. 2004, 1: 137-151. 10.1088/1478-3967/1/3/001

    Article  CAS  PubMed  Google Scholar 

  10. Lipkow K, Andrews SS, Bray D: Simulated diffusion of phosphorylated CheY through the cytoplasm of Escherichia coli. J Bact. 2005, 187: 45-53. 10.1128/JB.187.1.45-53.2005

    Article  PubMed Central  CAS  PubMed  Google Scholar 

  11. Zimmerman S, Minton A: Macromolecular crowding: biochemical, biophysical, and physiological consequences. Annu Rev Biophys Biomol Struct. 1993, 22: 27-65. 10.1146/

    Article  CAS  PubMed  Google Scholar 

  12. Gillespie DT: A general method for numerically simulating the stochastic time evolution of couple chemical reactions. Journal of Computational Physics. 1976, 22: 403-434. 10.1016/0021-9991(76)90041-3.

    Article  CAS  Google Scholar 

  13. Boulianne L, Dumontier M, Gross WJ: A Stochastic Particle-Based Biological System Simulator. Proceedings of the Summer Computer Simulation Conference, San Diego, California (USA). 2007, 794-801.

    Google Scholar 

  14. Ander M: SmartCell, a framework to simulate cellular processes that combines stochastic approximation with diffusion and localisation: analysis of simple networks. Syst Biol. 2004, 1: 129-138. 10.1049/sb:20045017.

    Article  CAS  Google Scholar 

  15. Hattne J, Fange D, Elf J: Stochastic reaction-diffusion simulation with MesoRD. Bioinfomatics. 2005, 21: 2923-2924. 10.1093/bioinformatics/bti431.

    Article  CAS  Google Scholar 

  16. Sanford C, Yip MLK, White C, Parkinson J: Cell++simulating biochemical pathways. Bioinfomatics. 2006, 22: 2918-2925. 10.1093/bioinformatics/btl497.

    Article  CAS  Google Scholar 

  17. Stiles JR, Bartol TM: Monte Carlo methods for simulating realistic synaptic microphysiology using MCell. Computational Neuroscience: Realistic Modeling for Experimentalists. Edited by: DeSchutter E. 2001, 87-127. Boca Raton: CRC Press

    Google Scholar 

Download references


The authors gratefully acknowledge funding provided by the Natural Sciences and Engineering Research Council of Canada.

Author information

Authors and Affiliations


Corresponding author

Correspondence to Warren J Gross.

Additional information

Authors' contributions

LB designed and programmed the GridCell simulator. SAA contributed to the programming of the GridCell simulator and its graphical user interface. MD and WJG contributed to the conception and design of the GridCell simulator. LB and SAA drafted the manuscript and MD and WJG revised the manuscript. All authors read and approved the final manuscript.

Authors’ original submitted files for images

Rights and permissions

Open Access This article is published under license to BioMed Central Ltd. This is an Open Access article is distributed under the terms of the Creative Commons Attribution License ( ), which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.

Reprints and permissions

About this article

Cite this article

Boulianne, L., Al Assaad, S., Dumontier, M. et al. GridCell: a stochastic particle-based biological system simulator. BMC Syst Biol 2, 66 (2008).

Download citation

  • Received:

  • Accepted:

  • Published:

  • DOI: