Computing: Free Pascal Programming

Bacteria growth on 2 substrates.


Download Bacteria2 desktop application (Windows 64bit) Download Bacteria2 source code (Lazarus/Free Pascal)

Description: Biology simulation, showing bacteria growth on 2 substrate, using an extension of the Monod model, which uses the concentration of key enzymes to model the fact, that bacteria, growing on 2 substrates, prefer the one, on which the grow the fastest (i.e. they consume all of the preferred nutrient, before they start to consume the other).
Simulation data is entered in the main window. Use Start to start the simulation: the number of bacteria pictures will increase/decrease as time passes and the bar showing the concentrations of the 2 substrates show how those are consumed (just see what happens if you exchange the initial enzyme concentrations; cf. included help for details). Default simulation time interval is 15sec growth time corresponding to 1 second real time; this may be changed in the Settings menu.
This visual part of the simulation is more programming fun of myself than really scientifically useful. If you are seriously interested in the simulation results, use the Graph button to display the variation of the bacteria biomass and the nutrients concentrations vs. time.

Possible extensions: Including the variation of the two enzyme concentrations in the simulation output and the graph.

Free Pascal features: Creating images during program execution. Using a timer and the Left, Top and Visible properties of images to create simple simulation programs. Using canvas to draw mathematical graphs.

Screenshots:

Bacteria growth on 2 substrates: Simulation window
 
Bacteria growth on 2 substrates: Graph window
 

If you like this application, please, support me and this website by signing my guestbook.