units mmol/kgw
DATABASE pitzer.datTitle: Gas-solution equillibriumSite: 1Date: September 2023SOLUTION 1 units mmol/kgw Temp 25.0 pH 11.8 density 1.0 Li 0.000541931 Mg 0.000925735 Si 0.000178031 Ca 0.322832976GAS_PHASE 1 -fixed_pressure -pressure 1 -volume 1 -temperature 25 CO2(g) 0.00042 Ntg(g) 0.78 O2(g) 0.2USE SOLUTION 1USE GAS_PHASE 1END
DATABASE phreeqc.dat#Title: Gas-solution equillibrium#Site: 1#Date: September 2023SOLUTION 1 units mmol/kgw Temp 25.0 pH 11.8 density 1.0 Li 0.000541931 Mg 0.000925735 Si 0.000178031 Ca 0.322832976SOLUTION 2 units mmol/kgw Temp 25.0 pH 13.0 density 1.0 Li 0.000541931 Mg 0.000925735 Si 0.000178031 Ca 0.600000000GAS_PHASE 1 -fixed_pressure -pressure 1 -volume 1 -temperature 25 CO2(g) 0.00042 N2(g) 0.78 O2(g) 0.2KINETICSUSE SOLUTION 1USE GAS_PHASE 1ENDKINETICSUSE SOLUTION 2USE GAS_PHASE 1END
#Title: Gas-solution equillibrium#Site: 1#Date: September 2023#Solution 1 SOLUTION 1 temp 25 pH 11.98 pe 4 redox pe units mmol/kgw density 1 Br 0.002045287 C 0.05965918 Ca 1.004478766 Cl 1.561218618 Fe 4.79004e-06 K 0.036419437 Li 0.001239193 Mg 0.002262909 Na 0.99369291 Si 0.000623108 Sr 2.81443e-05 Zn 1.00642e-05#solution 2 SOLUTION 2 temp 25 pH 12.76 pe 4 redox pe units mmol/kgw density 1 Br 0.011740589 C 0.062580487 Ca 1.710374071 Cl 9.89778016 Fe 9.60516e-05 K 0.443734015 Li 0.010970821 Mg 0.002454125 Na 15.55023923 Si 0.018297668 Sr 0.000219202 Zn 0.001718171GAS_PHASE 1 headspace volume of gas over solution -fixed_volume -pressure 1 -volume 1 -temperature 25 CO2(g) 0.00042 Ntg(g) 0.78 Oxg(g) 0.21KINETICS 1-steps 3600 in 1 steps # seconds-step_divide 1-runge_kutta 3-bad_step_max 500USE SOLUTION 1USE GAS_PHASE 1ENDKINETICS 2-steps 3600 in 1 steps # seconds-step_divide 1-runge_kutta 3-bad_step_max 500USE SOLUTION 2USE GAS_PHASE 1END
#Title: Gas-solution equillibrium#Site: 1#Date: September 2023#Solution 1SOLUTION 1 temp 25 pH 11.98 pe 4 redox pe units mmol/kgw density 1 Br 0.002045287 C 0.05965918 Ca 1.004478766 Cl 1.561218618 Fe 4.79004e-06 K 0.036419437 Li 0.001239193 Mg 0.002262909 Na 0.99369291 charge Si 0.000623108 Sr 2.81443e-05 Zn 1.00642e-05ENDKNOBS-iter 1000USE solution 1REACTION 1CO2 10.02 mol in 50 stepsUSER_GRAPH 1 -headings rxn P(CO2) pH -axis_titles "CO2 added, moles" "P(CO2)" "pH" -initial_solutions false -connect_simulations true -plot_concentration_vs x -start10 GRAPH_X RXN20 GRAPH_Y SI("CO2(g)")30 GRAPH_SY -LA("H+") -end -active trueEND
#Title: Gas-solution equillibrium#Site: 1#Date: September 2023#Solution 1SOLUTION 1 temp 25 pH 11.98 pe 4 redox pe units mmol/kgw density 1 Br 0.002045287 C 0.05965918 Ca 1.004478766 Cl 1.561218618 Fe 4.79004e-06 K 0.036419437 Li 0.001239193 Mg 0.002262909 Na 0.99369291 charge Si 0.000623108 Sr 2.81443e-05 Zn 1.00642e-05ENDGAS_PHASE 1 headspace volume of gas over solution -fixed_volume -pressure 1 -volume 1 -temperature 25 CO2(g) 0.00042 Ntg(g) 0.78 Oxg(g) 0.2END REACTION 1CO2 10.02 mol in 50 stepsENDKNOBS-iter 1000USE solution 1KINETICS 1 -steps 3600 in 60 steps # seconds -step_divide 60 -runge_kutta 3 -bad_step_max 500USE SOLUTION 1USE GAS_PHASE 1USE REACTION 1USER_GRAPH 1 -headings time P(CO2) pH -axis_titles "Time, seconds" "P(CO2)" "pH" -initial_solutions false -connect_simulations true -plot_concentration_vs t -start10 GRAPH_X time20 GRAPH_Y SI("CO2(g)")30 GRAPH_SY -LA("H+") -end -active trueEND
#Title: Gas-solution equillibrium#Site: 1#Date: September 2023#Solution 1SOLUTION_SPECIESH2O + 0.01e- = H2O-0.01log_k -8SOLUTION 1 temp 25 pH 11.98 pe 4 redox pe units mmol/kgw density 1 Br 0.002045287 C 0.05965918 Ca 1.004478766 Cl 1.561218618 Fe 4.79004e-06 K 0.036419437 Li 0.001239193 Mg 0.002262909 Na 0.99369291 charge Si 0.000623108 Sr 2.81443e-05 Zn 1.00642e-05ENDRATESCO2_ingassing10 target_P = 10^-3.420 k = 1 # k is 1/s30 target_m = target_P * 10^LK_PHASE("CO2(g)") / GAMMA("CO2")40 rate = k*(target_m - MOL("CO2")) 50 moles = rate * TIME60 SAVE molesENDUSE solution 1KINETICSCO2_ingassing-formula CO2 1-steps 3600 in 36INCREMENTAL_REACTIONSUSER_GRAPH 1 -headings time P(CO2) pH -axis_titles "Time, hours" "P(CO2)" "pH" -initial_solutions false -connect_simulations true -plot_concentration_vs t -start10 GRAPH_X TOTAL_TIME /360020 GRAPH_Y SI("CO2(g)")30 GRAPH_SY -LA("H+") -end -active trueEND
#Title: Gas-solution equillibrium#Site: 1#Date: September 2023#Solution 1SOLUTION_SPECIESH2O + 0.01e- = H2O-0.01log_k -8SOLUTION 1 temp 25 pH 11.98 pe 4 redox pe units mmol/kgw density 1 Br 0.002045287 C 0.05965918 Ca 1.004478766 Cl 1.561218618 Fe 4.79004e-06 K 0.036419437 Li 0.001239193 Mg 0.002262909 Na 0.99369291 charge Si 0.000623108 Sr 2.81443e-05 Zn 1.00642e-05 -water 1 # kgENDRATESCO2_ingassing10 pH = 11.9820 CO2 = (27.992*(pH^2))-(481.03*(pH))+(2116.1) #equation to define amount of CO2 in water30 moles = CO2/6040 SAVE molesENDUSE solution 1KINETICSCO2_ingassing-formula CO2 1-steps 3600 in 60 #1-hour in 60 second stepsINCREMENTAL_REACTIONSUSER_GRAPH 1 -headings time P(CO2) [CO2] -axis_titles "Time, hours" "P(CO2)" "CO2 mols/L" -initial_solutions false -connect_simulations true -plot_concentration_vs t -start10 GRAPH_X TOTAL_TIME /360020 GRAPH_Y SI("CO2(g)")30 GRAPH_SY CO2 -end -active trueEND