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 »
  • Program coupling »
  • PEST + PHREEQC issue in optimization process
« previous next »
  • Print
Pages: [1]   Go Down

Author Topic: PEST + PHREEQC issue in optimization process  (Read 826 times)

Ardenis

  • Contributor
  • Posts: 4
PEST + PHREEQC issue in optimization process
« on: 26/11/24 12:51 »
My PhD research is focused on fluoride adsorption in volcanic soils. I use PHREEQC to model this reaction, and the predictions are then compared with experimental measurements. I've successfully integrated PEST with my PHREEQC script, using the method described in Bachmaf and Merkel's 2011 paper (Complexation modeling 123). However, when I start the optimization with PEST, PHREEQC opens, and I have to run the script and close it at each optimization step. After a while, PEST crashes and I don?t know when I should end the optimization. Thie whole process seems terribly inefficient. Would someone be able to advice on how to handle the optimization process with PEST correctly? Thank you very much for your time.
Logged

dlparkhurst

  • Global Moderator
  • *****
  • Posts: 4074
Re: PEST + PHREEQC issue in optimization process
« Reply #1 on: 26/11/24 14:55 »
I don't understand about opening and closing; PEST should run PHREEQC at each iteration and then pull out results through the instruction file.

With surface complexation, the number of sites and log K are highly correlated, so it may be difficult to arrive at a unique optimization. My only advice is to start simply with as few sorption species as possible, and also, at least initially, to fix the number of sites.

Another possibility is to use PhreePlot. It has an optimization capability and is focused specifically on PHREEQC.
« Last Edit: 26/11/24 14:58 by dlparkhurst »
Logged

Ardenis

  • Contributor
  • Posts: 4
Re: PEST + PHREEQC issue in optimization process
« Reply #2 on: 27/11/24 10:17 »
Thank you very much for your answer ! I must have made a mistake when installing PEST or in one of my PEST files. I will check that ! And I will also take a look to PhreePlot to check if my issue can be solved with this tool.
Logged

  • Print
Pages: [1]   Go Up
« previous next »
  • PhreeqcUsers Discussion Forum »
  • Conceptual Models »
  • Program coupling »
  • PEST + PHREEQC issue in optimization process
 

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