SOLUTION_MASTER_SPECIES Lactate Lactate 0 Lactate 90 Acetate Acetate 0 Acetate 60SOLUTION_SPECIESAcetate = Acetate log_k 0Lactate = Lactate log_k 0RATES Lactate_degradation-start 10 L = TOT("Lactate") 20 muL = 0.0000417 40 KL = 0.0045 60 YL = 5.65 80 if ( L<=0) then goto 180150 rate = muL * (KIN("Biomass") + 0.002) / YL * [L /(KL + L)]160 moles = rate * TIME170 PUT(moles, 1)180 SAVE moles-end Sulfate_reduction-start 10 S = TOT("S(6)") 30 muS = 0.000022 50 KS = 0.00005 70 YS = 4.45 80 if ( S<=0 ) then goto 180 150 rate = muS * (KIN("Biomass") + 0.002)/ YS * [S /(KS + S)]160 moles = rate * TIME170 PUT(moles, 2)180 SAVE moles-end Biomass-start 60 YL = 5.65 70 YS = 4.45 200 rate = -YL * get(1) -YS * get(2) + 2.315e-7 * (KIN("Biomass") + 0.002)210 dB = rate * time220 save dB-endENDSOLUTION 1 temp 25 pH 3.6 pe 4 redox pe units mmol/l density 1 Acetate 0.5 Lactate 11.2 S(6) 10.7 -water 1 # kgENDUSE solution 1KINETICS 1Lactate_degradation -formula Acetate 1 H2O -1 Lactate -1 -m 1 -m0 1 -tol 1e-08Sulfate_reduction -formula SO4-2 -1 H+ -2 H2S 1 H2O 4 -m 1 -m0 1 -tol 1e-08Biomass -formula H2O 1 -m 1e-06 -m0 1e-06 -tol 1e-08-steps 21600 in 60 steps # seconds-step_divide 1-runge_kutta 3-bad_step_max 500USER_GRAPH 1 -headings Time -axis_titles "Time(h)" "Growth (mg/L)" "" -initial_solutions true -connect_simulations true -plot_concentration_vs x -start10 graph_x TOTAL_TIME/360020 graph_y kin("Biomass") * 1000 -end -active trueUSER_GRAPH 3 -headings Time -axis_titles "Time(h)" "Sulphate (mM)" "" -initial_solutions true -connect_simulations true -plot_concentration_vs x -start10 graph_x TOTAL_TIME/360020 graph_y 1000 * tot("S(6)") -end -active trueUSER_GRAPH 2 -headings Time Lactate Acetate -axis_titles "Time(h)" "Concentration, mM" "Concentration, mM" -initial_solutions true -connect_simulations true -plot_concentration_vs x -start10 graph_x TOTAL_TIME/360020 graph_y 1000 * tot("Lactate")30 graph_sy 1000 * tot("Acetate") -end -active trueEND
KINETICS 1Lactate_degradation# C3H6O3 Lactic acid# C2H4O2 Acetic acid -formula Acetate 1 CH2O 1 Lactate -1 -m 1 -m0 1 -tol 1e-08#Sulfate_reduction# -formula SO4-2 -1 H+ -2 H2S 1 H2O 4# -m 1# -m0 1# -tol 1e-08Biomass -formula H2O 1 -m 1e-06 -m0 1e-06 -tol 1e-08-steps 21600 in 60 steps # seconds
RATES Lactate_degradation-start 10 L = TOT("Lactate") 20 muL = 0.0000417 40 KL = 0.0045 60 YL = 5.65 80 if ( L<=0) then goto 180150 rate = muL * (KIN("Biomass") + 0.002) / YL * [L /(KL + L)]160 moles = rate * TIME170 PUT(moles, 1)180 SAVE moles-end Biomass-start 60 YL = 5.65 70 YS = 4.45 200 rate = -YL * get(1) -YS * get(2) + 2.315e-7 * (KIN("Biomass") + 0.002)210 dB = rate * time220 save dB-end