USE solution 1USE gas_phase 1SAVE solution 1END
Solution 1pH 13.02pe 10 O2(g) -5temp 20redox pe-units mg/LNa 738.8Ca 515.8Mg 9.2Cl 0.0S(6) 28500.0Si 1.0#Alkalinity 8099.0 as HCO3Amm 9025.88Ba 0.22B 19.2Mn 2624.0Sr 1.44SELECTED_OUTPUT 2-file sparge.pqiUSER_PUNCH 210 FOR i = 1 to 10020 s$ = s$ + "USE solution 1" + EOL$30 s$ = s$ + "USE gas_phase 1" + EOL$40 s$ = s$ + "SAVE solution 1" + EOL$50 s$ = s$ + "END" + EOL$60 NEXT I70 PUNCH s$ENDSELECTED_OUTPUT 2-active falseGAS_PHASE 1-fixed_pressure-volume 100Amm(g) 0Ntg(g) 0.78Oxg(g) 0.2CO2(g) 0.0004SAVE solution 2ENDUSER_PRINT10 PUT(GET(0)+100, 0)USER_GRAPH 1 -axis_titles "Volume of air, in liters" "Amm concentration, in molality" ""10 liters = GET(0)30 GRAPH_X liters40 GRAPH_Y TOT("Amm")50 ENDENDINCLUDE$ sparge.pqiENDUSER_GRAPH 1 -active falseUSER_PRINT10 REMENDUSE solution 1REACTION BaCl2 10.5 in 10 stepsEQUILIBRIUM_PHASESBarite 0 0USER_GRAPH 2 -axis_titles "BaCl2 added, moles" "Total sulfate, in molality" "" -initial_solutions false -connect_simulations true -plot_concentration_vs x -start10 GRAPH_X RXN20 GRAPH_Y TOT("S(6)") -endEND
SOLUTION 0-units mg/Ltemp 20pH 13.02pe 10 O2(g) -5redox peNa 738.8Ca 515.8Mg 9.2Cl 0.0S(6) 28500.0Si 1.0#Alkalinity 8099.0 as HCO3Amm 9025.88Ba 0.22B 19.2Mn 2624.0Sr 1.44ENDUSER_GRAPH 1-axis_titles "Volume of air, L" "Amm concentration, mol/kgw" "" -start10 GRAPH_X GAS_VM * (GAS("Amm(g)") + GAS("Ntg(g)") + GAS("Oxg(g)") + GAS("CO2(g)") + GAS("H2O(g)")) 20 GRAPH_Y TOT("Amm") -endUSE solution 0GAS_PHASE 1-fixed_pressure#-pressure 1 # default-volume 500 Amm(g) 0Ntg(g) 0.78Oxg(g) 0.22CO2(g) 0.0004ENDUSE solution 0GAS_PHASE 2-fixed_pressure-volume 1000 Amm(g) 0Ntg(g) 0.78Oxg(g) 0.22CO2(g) 0.0004ENDUSE solution 0GAS_PHASE 3-fixed_pressure-volume 1500 Amm(g) 0Ntg(g) 0.78Oxg(g) 0.22CO2(g) 0.0004SAVE SOLUTION 3ENDUSE solution 0GAS_PHASE 4-fixed_pressure-volume 2000 Amm(g) 0Ntg(g) 0.78Oxg(g) 0.22CO2(g) 0.0004ENDUSE solution 0GAS_PHASE 5-fixed_pressure-volume 2500 Amm(g) 0Ntg(g) 0.78Oxg(g) 0.22CO2(g) 0.0004ENDUSE solution 0GAS_PHASE 6-fixed_pressure-volume 3000 Amm(g) 0Ntg(g) 0.78Oxg(g) 0.22CO2(g) 0.0004ENDUSE solution 0GAS_PHASE 7-fixed_pressure-volume 3500 Amm(g) 0Ntg(g) 0.78Oxg(g) 0.22CO2(g) 0.0004ENDUSE solution 0GAS_PHASE 8-fixed_pressure-volume 4000 Amm(g) 0Ntg(g) 0.78Oxg(g) 0.22CO2(g) 0.0004ENDUSE solution 0GAS_PHASE 9-fixed_pressure-volume 4500 Amm(g) 0Ntg(g) 0.78Oxg(g) 0.22CO2(g) 0.0004ENDUSE solution 0GAS_PHASE 10-fixed_pressure-volume 5000 Amm(g) 0Ntg(g) 0.78Oxg(g) 0.22CO2(g) 0.0004ENDUSE solution 0GAS_PHASE 11-fixed_pressure-volume 5500 Amm(g) 0Ntg(g) 0.78Oxg(g) 0.22CO2(g) 0.0004ENDUSE solution 0GAS_PHASE 12-fixed_pressure-volume 6000 Amm(g) 0Ntg(g) 0.78Oxg(g) 0.22CO2(g) 0.0004ENDUSE solution 0GAS_PHASE 13-fixed_pressure-volume 6500 Amm(g) 0Ntg(g) 0.78Oxg(g) 0.22CO2(g) 0.0004ENDUSE solution 0GAS_PHASE 14-fixed_pressure-volume 7000 Amm(g) 0Ntg(g) 0.78Oxg(g) 0.22CO2(g) 0.0004ENDUSE solution 0GAS_PHASE 15-fixed_pressure-volume 7500 Amm(g) 0Ntg(g) 0.78Oxg(g) 0.22CO2(g) 0.0004ENDUSE solution 0GAS_PHASE 16-fixed_pressure-volume 8000 Amm(g) 0Ntg(g) 0.78Oxg(g) 0.22CO2(g) 0.0004ENDUSE solution 0GAS_PHASE 17-fixed_pressure-volume 8500 Amm(g) 0Ntg(g) 0.78Oxg(g) 0.22CO2(g) 0.0004ENDUSE solution 0GAS_PHASE 18-fixed_pressure-volume 9000 Amm(g) 0Ntg(g) 0.78Oxg(g) 0.22CO2(g) 0.0004ENDUSE solution 0GAS_PHASE 19-fixed_pressure-volume 9500 Amm(g) 0Ntg(g) 0.78Oxg(g) 0.22CO2(g) 0.0004ENDUSE solution 0GAS_PHASE 20-fixed_pressure-volume 10000 Amm(g) 0Ntg(g) 0.78Oxg(g) 0.22CO2(g) 0.0004ENDUSE solution 0GAS_PHASE 21-fixed_pressure-volume 10500 Amm(g) 0Ntg(g) 0.78Oxg(g) 0.22CO2(g) 0.0004ENDUSE solution 0GAS_PHASE 22-fixed_pressure-volume 11000 Amm(g) 0Ntg(g) 0.78Oxg(g) 0.22CO2(g) 0.0004ENDUSE solution 0GAS_PHASE 23-fixed_pressure-volume 11500 Amm(g) 0Ntg(g) 0.78Oxg(g) 0.22CO2(g) 0.0004ENDUSE solution 0GAS_PHASE 24-fixed_pressure-volume 12000 Amm(g) 0Ntg(g) 0.78Oxg(g) 0.22CO2(g) 0.0004ENDUSE solution 0GAS_PHASE 25-fixed_pressure-volume 12500 Amm(g) 0Ntg(g) 0.78Oxg(g) 0.22CO2(g) 0.0004END
Solution 1pH 13.02pe 10 O2(g) -5temp 20redox pe-units mg/LNa 738.8Ca 515.8Mg 9.2Cl 0.0S(6) 28500.0Si 1.0#Alkalinity 8099.0 as HCO3Amm 9025.88Ba 0.22B 19.2Mn 2624.0Sr 1.44SELECTED_OUTPUT 2-file sparge.pqiUSER_PUNCH 210 FOR i = 1 to 10020 s$ = s$ + "USE solution 1" + EOL$30 s$ = s$ + "USE gas_phase 1" + EOL$40 s$ = s$ + "SAVE solution 1" + EOL$50 s$ = s$ + "END" + EOL$60 NEXT I70 PUNCH s$ENDSELECTED_OUTPUT 2-active falseGAS_PHASE 1-fixed_pressure-volume 100Amm(g) 0Ntg(g) 0.78Oxg(g) 0.2CO2(g) 0.0004SAVE solution 2ENDUSER_PRINT10 PUT(GET(0)+100, 0)USER_GRAPH 1 -axis_titles "Volume of air, in liters" "Amm concentration, in molality" ""10 liters = GET(0)30 GRAPH_X liters40 GRAPH_Y TOT("Amm")50 ENDENDUSE solution 1USE gas_phase 1SAVE solution 1ENDUSE solution 1USE gas_phase 1SAVE solution 1ENDUSE solution 1USE gas_phase 1SAVE solution 1ENDUSE solution 1USE gas_phase 1SAVE solution 1ENDUSE solution 1USE gas_phase 1SAVE solution 1ENDUSE solution 1USE gas_phase 1SAVE solution 1ENDUSE solution 1USE gas_phase 1SAVE solution 1ENDUSE solution 1USE gas_phase 1SAVE solution 1ENDUSE solution 1USE gas_phase 1SAVE solution 1ENDUSE solution 1USE gas_phase 1SAVE solution 1ENDUSE solution 1USE gas_phase 1SAVE solution 1ENDUSE solution 1USE gas_phase 1SAVE solution 1ENDUSE solution 1USE gas_phase 1SAVE solution 1ENDUSE solution 1USE gas_phase 1SAVE solution 1ENDUSE solution 1USE gas_phase 1SAVE solution 1ENDUSE solution 1USE gas_phase 1SAVE solution 1ENDUSE solution 1USE gas_phase 1SAVE solution 1ENDUSE solution 1USE gas_phase 1SAVE solution 1ENDUSE solution 1USE gas_phase 1SAVE solution 1ENDUSE solution 1USE gas_phase 1SAVE solution 1ENDUSE solution 1USE gas_phase 1SAVE solution 1ENDUSE solution 1USE gas_phase 1SAVE solution 1ENDUSE solution 1USE gas_phase 1SAVE solution 1ENDUSE solution 1USE gas_phase 1SAVE solution 1ENDUSE solution 1USE gas_phase 1SAVE solution 1ENDUSE solution 1USE gas_phase 1SAVE solution 1ENDUSE solution 1USE gas_phase 1SAVE solution 1ENDUSE solution 1USE gas_phase 1SAVE solution 1ENDUSE solution 1USE gas_phase 1SAVE solution 1ENDUSE solution 1USE gas_phase 1SAVE solution 1ENDUSE solution 1USE gas_phase 1SAVE solution 1ENDUSE solution 1USE gas_phase 1SAVE solution 1ENDUSE solution 1USE gas_phase 1SAVE solution 1ENDUSE solution 1USE gas_phase 1SAVE solution 1ENDUSE solution 1USE gas_phase 1SAVE solution 1ENDUSE solution 1USE gas_phase 1SAVE solution 1ENDUSE solution 1USE gas_phase 1SAVE solution 1ENDUSE solution 1USE gas_phase 1SAVE solution 1ENDUSE solution 1USE gas_phase 1SAVE solution 1ENDUSE solution 1USE gas_phase 1SAVE solution 1ENDUSE solution 1USE gas_phase 1SAVE solution 1ENDUSE solution 1USE gas_phase 1SAVE solution 1ENDUSE solution 1USE gas_phase 1SAVE solution 1ENDUSE solution 1USE gas_phase 1SAVE solution 1ENDUSE solution 1USE gas_phase 1SAVE solution 1ENDUSE solution 1USE gas_phase 1SAVE solution 1ENDUSE solution 1USE gas_phase 1SAVE solution 1ENDUSE solution 1USE gas_phase 1SAVE solution 1ENDUSE solution 1USE gas_phase 1SAVE solution 1ENDUSE solution 1USE gas_phase 1SAVE solution 1ENDUSE solution 1USE gas_phase 1SAVE solution 1ENDUSE solution 1USE gas_phase 1SAVE solution 1ENDUSE solution 1USE gas_phase 1SAVE solution 1ENDUSE solution 1USE gas_phase 1SAVE solution 1ENDUSE solution 1USE gas_phase 1SAVE solution 1ENDUSE solution 1USE gas_phase 1SAVE solution 1ENDUSE solution 1USE gas_phase 1SAVE solution 1ENDUSE solution 1USE gas_phase 1SAVE solution 1ENDUSE solution 1USE gas_phase 1SAVE solution 1ENDUSE solution 1USE gas_phase 1SAVE solution 1ENDUSE solution 1USE gas_phase 1SAVE solution 1ENDUSE solution 1USE gas_phase 1SAVE solution 1ENDUSE solution 1USE gas_phase 1SAVE solution 1ENDUSE solution 1USE gas_phase 1SAVE solution 1ENDUSE solution 1USE gas_phase 1SAVE solution 1ENDUSE solution 1USE gas_phase 1SAVE solution 1ENDUSE solution 1USE gas_phase 1SAVE solution 1ENDUSE solution 1USE gas_phase 1SAVE solution 1ENDUSE solution 1USE gas_phase 1SAVE solution 1ENDUSE solution 1USE gas_phase 1SAVE solution 1ENDUSE solution 1USE gas_phase 1SAVE solution 1ENDUSE solution 1USE gas_phase 1SAVE solution 1ENDUSE solution 1USE gas_phase 1SAVE solution 1ENDUSE solution 1USE gas_phase 1SAVE solution 1ENDUSE solution 1USE gas_phase 1SAVE solution 1ENDUSE solution 1USE gas_phase 1SAVE solution 1ENDUSE solution 1USE gas_phase 1SAVE solution 1ENDUSE solution 1USE gas_phase 1SAVE solution 1ENDUSE solution 1USE gas_phase 1SAVE solution 1ENDUSE solution 1USE gas_phase 1SAVE solution 1ENDUSE solution 1USE gas_phase 1SAVE solution 1ENDUSE solution 1USE gas_phase 1SAVE solution 1ENDUSE solution 1USE gas_phase 1SAVE solution 1ENDUSE solution 1USE gas_phase 1SAVE solution 1ENDUSE solution 1USE gas_phase 1SAVE solution 1ENDUSE solution 1USE gas_phase 1SAVE solution 1ENDUSE solution 1USE gas_phase 1SAVE solution 1ENDUSE solution 1USE gas_phase 1SAVE solution 1ENDUSE solution 1USE gas_phase 1SAVE solution 1ENDUSE solution 1USE gas_phase 1SAVE solution 1ENDUSE solution 1USE gas_phase 1SAVE solution 1ENDUSE solution 1USE gas_phase 1SAVE solution 1ENDUSE solution 1USE gas_phase 1SAVE solution 1ENDUSE solution 1USE gas_phase 1SAVE solution 1ENDUSE solution 1USE gas_phase 1SAVE solution 1ENDUSE solution 1USE gas_phase 1SAVE solution 1ENDUSE solution 1USE gas_phase 1SAVE solution 1ENDUSE solution 1USE gas_phase 1SAVE solution 1ENDUSE solution 1USE gas_phase 1SAVE solution 1ENDUSE solution 1USE gas_phase 1SAVE solution 1END
SOLUTION 0-units mg/Ltemp 20pH 13.02pe 10 O2(g) -5redox peNa 738.8Ca 515.8Mg 9.2Cl 0.0S(6) 28500.0Si 1.0#Alkalinity 8099.0 as HCO3Amm 9025.88Ba 0.22B 19.2Mn 2624.0Sr 1.44ENDUSER_GRAPH 1-axis_titles "Volume of air, L" "Amm concentration, mol/kgw" "" -start10 GRAPH_X GAS_VM * (GAS("Amm(g)") + GAS("Ntg(g)") + GAS("Oxg(g)") + GAS("CO2(g)") + GAS("H2O(g)")) 20 GRAPH_Y TOT("Amm") -endUSE solution 0GAS_PHASE 25-fixed_pressure-volume 12500 Amm(g) 0Ntg(g) 0.78Oxg(g) 0.22CO2(g) 0.0004END