TITLE Fluoride Speciation and Precipitation in Mine Drainage Sample 1SOLUTION 1 temp 25 pH 4.48 pe 4.9 redox pe units mg/l density 1 Al 252 Ba 0.03 C(4) 21.5 Ca 350 Cd 0.02 Cl 8.66 Cu 9 F 228 Fe 0.09 K 8.45 Mg 487 Mn 17 N(5) 24.6 Na 60.8 Ni 5 Pb 0.01 S(6) 3362 Sr 1.88 Zn 1 -water 1 # kgSELECTED_OUTPUT 1 -file fluoride_speciation_sample1.csv -reset false -solution true -pH true -pe true -totals F Al Ca Mg -molalities F- AlF+2 AlF2+ AlF3 AlF4- CaF+ MgF+ -saturation_indices Fluorite Gibbsite BariteREACTION 1 Ca(OH)2 1 0.1 moles in 10 stepsEQUILIBRIUM_PHASES 1 Barite 0 0 Fluorite 0 0 Gibbsite 0 0SELECTED_OUTPUT 2 -file ca_precipitation_sample1.csv -reset false -solution true -pH true -pe true -totals F -equilibrium_phases Fluorite Gibbsite Barite -saturation_indices Fluorite Gibbsite BariteUSER_GRAPH 1 -headings pH F_total -axis_titles "pH" "Total Fluoride (mg/L)" "" -chart_title "Fluoride Removal with Ca(OH)2 Addition" #-axis_scale x_axis 4 8 0.5 0.5 #-axis_scale y_axis 0 250 50 50 -initial_solutions false -connect_simulations true -plot_concentration_vs x -start10 graph_x -LA("H+")20 graph_y TOT("F") * 19000 -end -active trueEND
10 graph_x pH
TITLE Fluoride Speciation and Precipitation in Mine Drainage Sample 1SOLUTION 1 temp 25 pH 4.48 pe 4.9 redox pe units mg/l density 1 Al 252 Ba 0.03 C(4) 21.5 Ca 350 Cd 0.02 Cl 8.66 Cu 9 F 228 Fe 0.09 K 8.45 Mg 487 Mn 17 N(5) 24.6 Na 60.8 Ni 5 Pb 0.01 S(6) 3362 Sr 1.88 Zn 1 -water 1 # kgUSER_PRINT10 if (GET(1) = 0) THEN PUT(TOT("F"), 1)ENDUSE solution 1REACTION 1 Ca(OH)2 1 0.02 moles in 40 stepsEQUILIBRIUM_PHASES 1 Barite 0 0 Fluorite 0 0 Gibbsite 0 0USER_GRAPH 1 -headings rxn %_removal pH -axis_titles "Ca(OH)2 added, moles" "% removal" "pH" -chart_title "Fluoride Removal with Ca(OH)2 Addition" #-axis_scale x_axis 4 8 0.5 0.5 #-axis_scale y_axis 0 250 50 50 -initial_solutions false -connect_simulations true -plot_concentration_vs x -start10 graph_x rxn20 GRAPH_Y (GET(1) - TOT("F"))/GET(1)*10030 GRAPH_SY -LA("H+") -end -active trueEND
TITLE Fluoride Speciation and Precipitation in Mine Drainage Sample 1USER_PRINT10 if (GET(cell_no) = 0) THEN PUT(TOT("F"), cell_no)ENDREACTION 1 Ca(OH)2 1 0.02 moles in 40 stepsENDEQUILIBRIUM_PHASES 1 Barite 0 0 Fluorite 0 0 Gibbsite 0 0ENDSOLUTION 1 temp 25 pH 4.48 pe 4.9 redox pe units mg/l density 1 Al 252 Ba 0.03 C(4) 21.5 Ca 350 Cd 0.02 Cl 8.66 Cu 9 F 228 Fe 0.09 K 8.45 Mg 487 Mn 17 N(5) 24.6 Na 60.8 Ni 5 Pb 0.01 S(6) 3362 Sr 1.88 Zn 1 -water 1 # kgSELECTED_OUTPUT 100-file repetitive.pqiUSER_PUNCH 10010 FOR i = 1 TO 320 s$ = s$ + "USE solution " + str$(i) + EOL$30 s$ = s$ + "USE equilibrium_phases 1" + EOL$40 s$ = s$ + "USE reaction 1" + EOL$50 s$ = s$ + "USER_GRAPH " + str$(i) + EOL$60 s$ = s$ + "-headings rxn %_removal pH" + EOL$70 s$ = s$ + '-axis_titles "Ca(OH)2 added, moles" "% removal" "pH"' + EOL$80 s$ = s$ + '-chart_title "Ca(OH)2 addition: Solution ' + trim(Str$(i)) + EOL$90 s$ = s$ + ' -connect_simulations true' + EOL$100 s$ = s$ + ' -plot_concentration_vs x' + EOL$110 s$ = s$ + ' -start' + EOL$120 s$ = s$ + '10 graph_x rxn' + EOL$130 s$ = s$ + '20 GRAPH_Y (GET(cell_no) - TOT("F"))/GET(cell_no)*100' + EOL$140 s$ = s$ + '30 GRAPH_SY -LA("H+")' + EOL$150 s$ = s$ + ' -end ' + EOL$160 s$ = s$ + 'END' + EOL$170 s$ = s$ + 'USER_GRAPH ' + STR$(i) + EOL$180 s$ = s$ + ' active false' + EOL$190 s$ = s$ + 'END' + EOL$200 NEXT i300 PUNCH s$310 ENDENDSELECTED_OUTPUT 100-active falseENDSOLUTION 2 temp 25 pH 4.48 pe 4.9 redox pe units mg/l density 1 Al 252 Ba 0.03 C(4) 21.5 Ca 350 Cd 0.02 Cl 8.66 Cu 9 F 114 #228 Fe 0.09 K 8.45 Mg 487 Mn 17 N(5) 24.6 Na 60.8 Ni 5 Pb 0.01 S(6) 3362 Sr 1.88 Zn 1 -water 1 # kgENDSOLUTION 3 temp 25 pH 4.48 pe 4.9 redox pe units mg/l density 1 Al 252 Ba 0.03 C(4) 21.5 Ca 350 Cd 0.02 Cl 8.66 Cu 9 F 72 #228 Fe 0.09 K 8.45 Mg 487 Mn 17 N(5) 24.6 Na 60.8 Ni 5 Pb 0.01 S(6) 3362 Sr 1.88 Zn 1 -water 1 # kgENDINCLUDE$ repetitive.pqiEND