# Enzymatic reactions on a surface, by Steve Andrews, October 2009. # This model is in the public domain. Units are microns and seconds. define K_FWD 0.001 define K_BACK 1 define K_PROD 1 dim 2 boundaries 0 -1 1 boundaries 1 -1 1 time_start 0 time_stop 10 time_step 0.01 species S E ES P difc S 3 difc P 3 color S(all) 0 0.8 0 color E(all) 0.5 0 0 color ES(all) 1 0.5 0 color P(all) 0 0 0.5 display_size all(all) 0.02 display_size E(all) 0.03 display_size ES(all) 0.03 max_mol 1000 graphics opengl_good frame_thickness 0 max_surface 1 start_surface membrane action both all reflect color both 0 0 0 thickness 1 max_panels sphere 1 panel sphere 0 0 1 50 end_surface reaction fwd E(front) + S(bsoln) -> ES(front) K_FWD reaction back ES(front) -> E(front) + S(bsoln) K_BACK product_placement back pgemmax 0.2 reaction prod ES(front) -> E(front) + P(bsoln) K_PROD max_compartment 1 start_compartment inside surface membrane point 0 0 end_compartment compartment_mol 500 S inside surface_mol 100 E(front) membrane all all output_files box1out.txt cmd B molcountheader box1out.txt cmd N 10 molcount box1out.txt end_file