Home / Simulation Portfolio
Last Updated 03/22/12
Stochastic Visualization of a Two Compartment PK Model
This simulation is computationally intensive. Be sure not to leave the simulation running in the background of other applications as you may experience a decrease in your computer's performance.
Korean text image Spanish text  


This stochastic simulation is mainly for visualization purposes and is similar in design to the first order stochastic visualization described above. It illustrates the nature of a second order system without resorting to mathematics.

Particles representing drug molecules move randomly between two areas (depicting two compartments, such as plasma and tissue) through two individually adjustable directional transfer paths (K12 and K21). One area has a user-adjustable exit analogous to drug clearance in the circulation (Kel).

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 repeatable 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 becomes small.


Click to run simulation