Vensim2Java - Penicillin model

This model shows the growth of a bacterium over time in order to demonstrate the effect of periodic doses of penicillin. The slider bar featured in the applet allows the initial amount of bacteria to be changed without having to resubmit the original Vensim equations.

The dosage times are calculated using several of Vensim's built in functions.

It should be noted that these are especially susceptible to error when advanced integration schemes and adaptive time steps are used. Tweak the default settings (Euler integration without adaptive time steps) and compare the results.

penicillin model:
Vensim penicillin model

Click here to download the equations as text


Please direct questions and comments about this page to webmaster@shodor.org
© Copyright 1994-2006 The Shodor Education Foundation, Inc.