[code]GAS_PHASE 1 -fixed_volume CO2(g) 0 SOLUTION 1REACTION CO2 1; 26*1 INCREMENTAL_REACTIONS true USER_GRAPH -axis_titles "CO2 Pressure / atm" "CO2 / (mol/kgw)" -chart_title "CO2 solubility at high CO2 pressure" -initial_solutions true 10 DATA 10, 25, 35, 50, 50, 75, 100, 100, 135, 150, 175, 200, 203, 250, 300, 400 12 DIM dx(16) : RESTORE 10 20 FOR i = 1 to 16 : READ dx(i) : NEXT i 30 DATA 0.3, 0.707, 0.936, 1.21, 1.22, 1.39, 1.42, 1.43, 1.47,\ 1.49, 1.53, 1.52, 1.56, 1.58, 1.62, 1.72 32 DIM dy(16) : RESTORE 30 40 FOR i = 1 to 16 : READ dy(i) : NEXT i 50 PLOT_XY PR_P("CO2(g)"), tot("C(4)"), color = Red, symbol = None 60 IF STEP_NO < 16 THEN PLOT_XY dx(STEP_NO + 1), dy(STEP_NO + 1), color = Red, symbol = Square , line_width = 0 END
Total pressure: 95.42 atmospheres (Peng-Robinson calculation) Gas volume: 1.00e+00 liters Molar volume: 5.69e-02 liters/mole P * Vm / RT: 0.22207 (Compressibility Factor Z) Moles in gas ----------------------------------Component log P P phi Initial Final DeltaCO2(g) 1.98 9.542e+01 0.481 1.658e+01 1.756e+01 9.791e-01-----------------------------Solution composition------------------------------ Elements Molality Moles C 1.438e+00 1.438e+00
SOLUTION 1-temp 25-pressure 100GAS_PHASE 1 -fixed_pressure -pressure 100 CO2(g) 100END
Moles in gas ----------------------------------Component log P P phi Initial Final DeltaCO2(g) 1.98 9.542e+01 0.481 1.658e+01 1.756e+01 9.791e-01-----------------------------Solution composition------------------------------ Elements Molality Moles C 1.438e+00 1.438e+00
----------------------------Distribution of species---------------------------- Log Log Log mole V Species Molality Activity Molality Activity Gamma cm³/mol H+ 8.392e-04 8.134e-04 -3.076 -3.090 -0.014 0.00 OH- 1.365e-11 1.321e-11 -10.865 -10.879 -0.014 -3.77 H2O 5.551e+01 9.761e-01 1.744 -0.010 0.000 17.99C(-4) 9.281e-18 CH4 9.281e-18 9.283e-18 -17.032 -17.032 0.000 35.58C(4) 1.438e+00 CO2 1.368e+00 1.369e+00 0.136 0.136 0.000 34.39 (CO2)2 3.437e-02 3.438e-02 -1.464 -1.464 0.000 68.78 HCO3- 8.392e-04 8.126e-04 -3.076 -3.090 -0.014 24.77 CO3-2 5.965e-11 5.244e-11 -10.224 -10.280 -0.056 -4.43
GAS_PHASE 1 -fixed_volume -pressure 1 -volume 1 -temperature 25 H2(g) 0SOLUTION 1REACTION 1 H2(g) 1;26*1INCREMENTAL_REACTIONS true
Moles in gas ----------------------------------Component log P P phi Initial Final DeltaH2(g) 2.00 9.935e+01 1.030 2.945e+00 3.928e+00 9.825e-01-----------------------------Solution composition------------------------------ Elements Molality Moles Pure water