SELECTED_OUTPUT 1 -file cgt_progressive.xls -solution true -pH true -temperature true -gases CO2(g) Mtg(g) H2S(g) -totals Alkalinity Ca Na K Cl F S(6) S(-2) -saturation_indices CO2(g) Mtg(g) H2S(g)USER_PUNCH 1 -headings CO2_mol Mtg_mol H2S_mol -start10 PUNCH GAS("CO2(g)"), GAS("Mtg(g)"), GAS("H2S(g)") -endEQUILIBRIUM_PHASES 1 CO2(g) -0.53 10 H2S(g) -4.12 10 Mtg(g) 1.47 10SOLUTION 1 temp 27 pH 8 pe 4 redox pe units mg/l density 1 Alkalinity 3000 as HCO3 Ca 14 Cl 24 F 0.5 K 8 Na 27 charge S(6) 20 -water 1 # kgSAVE solution 1END############################################### 2 — CHANGING THE GAS PHASE### (example : more CO2)############################################USE SOLUTION 1GAS_PHASE 2 -fixed_volume -pressure 30 -volume 33 -temperature 27 CO2(g) 0.08 H2S(g) 2e-06 Mtg(g) 0.92SAVE solution 2SAVE gas_phase 2END############################################### 3 — DECREASE PRESSURE OF GAS PHASE### (while having a fixed volume)############################################GAS_PHASE 99 -fixed_volume -pressure 0 -volume 33 -temperature 27 CO2(g) 0 Mtg(g) 0 H2S(g) 0MIX_GAS_PHASE 3 # 50% pressure with the same volume 2 0.5 # keeps 50% of gas 99 0.5 # mixes with 50% empty gasSAVE gas_phase 3END############################################### 3 — EQUILIBRIUM WITH LOWER PRESSURE GAS PHASE### (while having a fixed volume)############################################USE gas_phase 3USE SOLUTION 2SAVE SOLUTION 3END