Home / Simulatio Portfolio
Last Updated 10/31/11

Stochastic Simulation for Visualization of
Two-Compartment Model Pharmacokinetics

Best viewed with a screen resolution of 1024x768. F11 will activate Fullscreen mode in some browsers.

This simulation is mainly for visualization purposes. Particles representing drug molecules move randomly between two areas (depicting two compartments) through two individually adjustable directional transfer paths. One area has a hole analogous to drug clearance in the circulation. We consider this a stochastic simulation because it is based on the probability of the random particle path intersecting with the hole.

Because of the stochastic nature of the simulation, plots from two consecutive runs with identical user-adjustable settings will be slightly different, as opposed to repeateable outputs with a similar deterministic simulation. The plots driven by the stochastic simulation display exponential behavior but are rough, especially when the number of particles is small.