SOLUTION_MASTER_SPECIES Form Form 0 Form 30 #Formaldehyde Ntg Ntg 0 Ntg 28.013 #N2 gasSOLUTION_SPECIESForm = Form #Formaldehyde log_k 0Ntg = Ntg # N2 gas -dw 1.96e-9 -Vm 7 # Pray et al., 1952, IEC 44. 1146PHASESNtg(g) Ntg = Ntg log_k -3.1864 delta_h -10.4391 kJ -analytical_expression -58.453 0.001818 3199 17.909 -27460 0 -T_c 126.2 -P_c 33.5 -Omega 0.039CO2(g) CO2 = CO2 log_k -1.468 delta_h -4.776 kcal -analytical_expression 10.5624 -0.023547 -3972.8 0 587460 1.9194e-05 -T_c 304.2 -P_c 72.86 -Omega 0.225O2(g) O2 = O2 log_k -2.8983 -analytical_expression -7.5001 0.0078981 0 0 200270 0 -T_c 154.6 -P_c 49.8 -Omega 0.021SOLUTION 1 temp 25 pH 7 pe 4 redox pe units mol/kgw density 1 Form 1 -water 1 # kgGAS_PHASE 1 -fixed_pressure -pressure 1 -volume 1 -temperature 25 O2(g) 0.7 CO2(g) 0.3RATESOrganic_degradation -start10 if (M <= 0) THEN GOTO 20020 mO2 = MOL("O2")50 k_O2 = 1.04167E-9 # 1/sec 80 rate = k_O2 * mO2/(3e-04 + mO2)110 moles = rate * M * (M/M0) * TIME200 SAVE moles -endKINETICS 1Organic_degradation -formula Form -1 CH2O 1 -m 1 -m0 1 -tol 1e-008-steps 100000 in 10 steps # seconds-step_divide 1-runge_kutta 3-bad_step_max 500END
-formula Form -1.25 CH2O 1.25 N -1 Ntg 0.5
SOLUTION_MASTER_SPECIES Ntg Ntg 0 Ntg 28.013 #N2 gasSOLUTION_SPECIESNtg = Ntg # N2 gas -dw 1.96e-9 -Vm 7 # Pray et al., 1952, IEC 44. 1146PHASESNtg(g) Ntg = Ntg log_k -3.1864 delta_h -10.4391 kJ -analytical_expression -58.453 0.001818 3199 17.909 -27460 0 -T_c 126.2 -P_c 33.5 -Omega 0.039CO2(g) CO2 = CO2 log_k -1.468 delta_h -4.776 kcal -analytical_expression 10.5624 -0.023547 -3972.8 0 587460 1.9194e-05 -T_c 304.2 -P_c 72.86 -Omega 0.225O2(g) O2 = O2 log_k -2.8983 -analytical_expression -7.5001 0.0078981 0 0 200270 0 -T_c 154.6 -P_c 49.8 -Omega 0.021Formalde CH2O + O2 = CO2 + H2O log_k -100SOLUTION 1 temp 25 pH 7 pe 4 redox pe units mol/kgw density 1 -water 1 # kgGAS_PHASE 1 -fixed_pressure -pressure 1 -volume 1 -temperature 25 O2(g) 1 RATESFormalde -start10 if (M <= 0) THEN GOTO 20020 mO2 = MOL("O2")50 k_O2 = 1.04167E-9 # 1/sec 80 rate = k_O2 * mO2/(3e-04 + mO2)110 moles = rate * M * (M/M0) * TIME200 SAVE moles -endKINETICS 1Formalde -formula Formalde -m 1 -m0 1 -tol 1e-008-steps 100000 in 10 steps # seconds-step_divide 1-runge_kutta 3-bad_step_max 500END
SOLUTION 1 temp 25 pH 7 pe 4 redox pe units mmol/kgw density 1 -water 1 # kg O(0) 1 O2(g) -0.7 S(6) 1 Na 1 chargeREACTIONCH2O 10.004 mole in 100 stepsUSER_GRAPH 1 -headings rxn O2 SO4 C(4) C(-4) -axis_titles "CH2O added" "log molality" "" -initial_solutions false -connect_simulations true -plot_concentration_vs x -start10 GRAPH_X RXN20 GRAPH_Y LOG10(MOL("O2")), LOG10(TOT("S(6)")), LOG10(TOT("C(4)")), LOG10(TOT("C(-4)")) -end -active trueEND
SOLUTION_MASTER_SPECIES Doc Doc 0 Doc 12SOLUTION_SPECIESDoc = Doc log_k 0SOLUTION 1 temp 25 pH 7 pe 4 redox pe units mmol/kgw density 1 Doc 1000 O(0) 1 S(6) 1 -water 1 # kgRATESDOC_oxidation-start 10 if (M <= 0) THEN GOTO 200 20 mO2 = MOL("O2") 40 mSO4 = MOL("SO4-2") 50 k_O2 = 1.57e-9 70 k_SO4 = 1.57e-9 80 rate = k_O2 * mO2/(1e-10 + mO2) 100 rate = rate + k_SO4 * mSO4/(1.e-10 + mSO4) * 1e-6/(1e-6 + mO2)110 moles = rate * TIME200 SAVE moles-endKINETICS 1DOC_oxidation -formula CH2O 1 Doc -1 -m 1 -m0 1 -tol 1e-008-steps 10 100 1000 10000 100000 1000000 10000000 100000000 1000000000-step_divide 1-runge_kutta 3-bad_step_max 500INCREMENTAL_REACTIONSUSER_GRAPH 1 -headings time O2 SO4 -axis_scale x_axis auto auto auto auto log -initial_solutions false -connect_simulations true -plot_concentration_vs x -start10 GRAPH_X TIME20 GRAPH_Y MOL("O2"), MOL("SO4-2") -end -active true
SOLUTION_MASTER_SPECIES Doc Doc 0 Doc 12SOLUTION_SPECIESDoc = Doc log_k 0SOLUTION 1 temp 25 pH 7 pe 4 redox pe units mmol/kgw density 1 Doc 1000 O(0) 1 S(6) 1 -water 1 # kgRATESDOC_oxidation-start 10 if (M <= 0) THEN GOTO 200 20 mO2 = MOL("O2") 40 mSO4 = MOL("SO4-2") 50 k_O2 = 1.57e-9 70 k_SO4 = 1.57e-9 80 rate = k_O2 * mO2/(1e-10 + mO2) 100 rate = rate + k_SO4 * mSO4/(1.e-10 + mSO4) 110 moles = rate * TIME200 SAVE moles-endKINETICS 1DOC_oxidation -formula CH2O 1 Doc -1 -m 1 -m0 1 -tol 1e-008-steps 10 100 1000 10000 100000 1000000 10000000 100000000 1000000000-step_divide 1-runge_kutta 3-bad_step_max 500INCREMENTAL_REACTIONSUSER_GRAPH 1 -headings time O2 SO4 -axis_scale x_axis auto auto auto auto log -initial_solutions false -connect_simulations true -plot_concentration_vs x -start10 GRAPH_X TIME20 GRAPH_Y MOL("O2"), MOL("SO4-2") -end -active true