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 »
  • Processes »
  • Dissolution and precipitation »
  • NH3(g) - water equilibrium under increasing pressures
« previous next »
  • Print
Pages: [1]   Go Down

Author Topic: NH3(g) - water equilibrium under increasing pressures  (Read 1462 times)

C3

  • Contributor
  • Posts: 2
NH3(g) - water equilibrium under increasing pressures
« on: 14/06/23 08:13 »
Hi,

I'm trying to simulate the equilibrium between NH3(g) and water under increasing pressures, from 1 atm to 10 atm at 25 degrees. However, the model fails to converge. I'm using the amm.dat database and have tried to simulate the equilibrium using SOLUTION and EQUILIBRIUM_PHASES.

Is there a way to do this?

Thanks in advance for any help.
Logged

dlparkhurst

  • Global Moderator
  • *****
  • Posts: 4030
Re: NH3(g) - water equilibrium under increasing pressures
« Reply #1 on: 14/06/23 16:03 »
I don.t think you can do it with PHREEQC. The solubility is too great and convergence fails. As a guess, physically, you may produce liquid ammonia.

You could do it with equilibrium phases; I used a very large gas phase, but the results should be the same. Solubility at 0.3 atm is 18 molal.

Code: [Select]
SOLUTION
END
GAS_PHASE
-fixed_pressure
-volume 1e6
Amm(g) 1.0
END
USE solution 1
USE gas_phase 1
REACTION_PRESSURE
1e-4  1e-3 3e-3 1e-2 3e-2 1e-1 3e-1
USER_GRAPH 1
    -headings               p TOT(Amm) Amm(aq) AmmH+
    -axis_titles            "Pressure, atm" "Amm, molality" ""
    -axis_scale x_axis      auto auto auto auto log
    -axis_scale y_axis      auto auto auto auto log
    -initial_solutions      false
    -connect_simulations    true
    -plot_concentration_vs  x
  -start
10 GRAPH_X PRESSURE
20 GRAPH_Y TOT("Amm"), MOL("Amm"), MOL("AmmH+")
  -end
    -active                 true
END

Logged

dlparkhurst

  • Global Moderator
  • *****
  • Posts: 4030
Re: NH3(g) - water equilibrium under increasing pressures
« Reply #2 on: 14/06/23 16:12 »
Actually, you should use the GAS_PHASE to ensure that the Peng-Robinson equation of state is used.
Logged

C3

  • Contributor
  • Posts: 2
Re: NH3(g) - water equilibrium under increasing pressures
« Reply #3 on: 14/06/23 20:12 »
Dear Parkhurst,

Thank you for your fast and thorough reply, that is very much appreciated. I'll work a bit more on the problem trying to get it to converge at higher pressures.
Logged

  • Print
Pages: [1]   Go Up
« previous next »
  • PhreeqcUsers Discussion Forum »
  • Processes »
  • Dissolution and precipitation »
  • NH3(g) - water equilibrium under increasing pressures
 

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