PhreeqcUsers Discussion Forum

Registrations currently disabled due to excessive spam. Please email phreeqcusers at gmail.com to request an account.
Welcome Guest
 

  • Forum Home
  • Login
  • Register

  • PhreeqcUsers Discussion Forum »
  • Conceptual Models »
  • Design of conceptual models »
  • Batch reaction experiment for CO2
« previous next »
  • Print
Pages: [1]   Go Down

Author Topic: Batch reaction experiment for CO2  (Read 4673 times)

serhatttt

  • Frequent Contributor
  • Posts: 23
Batch reaction experiment for CO2
« on: 12/12/23 22:28 »
Hi Everyone,

I am doing a batch reaction experiment. My aim is to compare changes in pH with respect to CO2 concentration for high saline geothermal water. Also, I will measure pH values after the reactor experiment and compare pH values with experimental data.

I assign gas volume and pressure, but after running the code, pH values are not reasonable.

Can you help me with this?

Thank you.
Here is the code.

SOLUTION 1
    temp      25
    pH        7  charge
    pe        4
    redox     pe
    units     mmol/kgw
    density   1
    Cl        1008.57
    Na        769.56
    -water    1 # kg
END

USE SOLUTION 1
   
REACTION 1
    CO2(g)     1
    0.065 moles in 100 steps
   
GAS_PHASE 1
    -fixed_pressure
    -pressure 6.95 #atm
    -fixed_volume
    -volume 0.3557 #liter V=m*R*T/P
    -temperature 25
     CO2(g) 0
     H2O(g) 0
     
 REACTION_TEMPERATURE
     188
   
USER_GRAPH 1
-headings RXN Gas_volume pH
-axis_titles "CO2 addition, mol" "Gas volume, L" "pH"
10 GRAPH_X RXN
20 GRAPH_Y GAS_VM * GAS("CO2(g)")
30 GRAPH_SY -LA("H+")
END
Logged

dlparkhurst

  • Global Moderator
  • *****
  • Posts: 4213
Re: Batch reaction experiment for CO2
« Reply #1 on: 12/12/23 23:27 »
Look at your output for the initial solution.
Logged

serhatttt

  • Frequent Contributor
  • Posts: 23
Re: Batch reaction experiment for CO2
« Reply #2 on: 13/12/23 06:45 »
Hi David,

Thank you so much for your quick reply.

I checked my output file, but the ph values are still not reasonable. They are at around 3.7

Also, I looked at the graphs; pH values seem to be 0.8 in the y2 axis.
Logged

dlparkhurst

  • Global Moderator
  • *****
  • Posts: 4213
Re: Batch reaction experiment for CO2
« Reply #3 on: 13/12/23 15:21 »
You are charge balancing your initial solution with pH, which results in a pH less than 1 to start your calculation. Because Cl > Na in your initial solution, to charge balance, H+ is added by lowering the pH.

Set the initial solution to a pH that fits your conceptual model, and either don't charge balance or charge balance on another element.
Logged

serhatttt

  • Frequent Contributor
  • Posts: 23
Re: Batch reaction experiment for CO2
« Reply #4 on: 14/12/23 08:36 »
Thank you so much! Now it works.
Logged

  • Print
Pages: [1]   Go Up
« previous next »
  • PhreeqcUsers Discussion Forum »
  • Conceptual Models »
  • Design of conceptual models »
  • Batch reaction experiment for CO2
 

  • SMF 2.0.19 | SMF © 2021, Simple Machines | Terms and Policies
  • XHTML
  • RSS
  • WAP2