RATESLi_Function -start 10 k = parm(1)/3.15e7 # 1/s 20 target_Li = (0.019/GFW("Li")) * exp(-k*TOTAL_TIME) 30 k2 = .00001 # 1/s but fast relative to k 40 rate = (TOT("Li") - target_Li)*k2 50 moles = rate * TIME 200 SAVE moles -endENDSOLUTION 0-1 #Source composition-units mg/L Li 19Cl 1 charge -water 1.0KINETICS 1-cvodeLi_function -parms 5.991E-2 # 1/y ?? -formula LiCl -1 END#GroundwaterSOLUTION 2-36 -units mg/L Li 0.019 Cl 1 charge -water 1ENDTRANSPORT -cells 36 -shifts 72 #224 -time_step 70588800 # seconds -lengths 27.3 -dispersivities 50 -correct_disp true -diffusion_coefficient 1.25e-09 -thermal_diffusion 2 1.25e-09 -punch_cells 1 36 USER_GRAPH 1 -headings Li -axis_titles "Years" "Concentration [mg/L]" "" -chart_title "Cell 1" -initial_solutions false -connect_simulations true -plot_concentration_vs t -start 10 x = TOTAL_TIME/(86400*365.5) 20 if (cell_no <> 1) then goto 100 30 PLOT_XY x,TOT("Li")*7*1000, color = Blue, line_width = 1, symbol_size = 3100 REM end -end USER_GRAPH 36 -headings Li -axis_titles "Years" "Concentration [mg/L]" "" -chart_title "Cell 36" -initial_solutions false -connect_simulations true -plot_concentration_vs t -start 10 x = TOTAL_TIME/(86400*365.5) 20 if (cell_no <> 36) then goto 100 30 PLOT_XY x,TOT("Li")*7*1000, color = Blue, line_width = 1, symbol_size = 3100 REM end -endEND