Click here to donate to keep PhreeqcUsers open
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email
?
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
Forum Home
Login
Register
PhreeqcUsers Discussion Forum
»
Conceptual Models
»
Incorporation PHREEQC in programming languages
»
PEST + PHREEQC issue in optimization process
« previous
next »
Print
Pages: [
1
]
Go Down
Author
Topic: PEST + PHREEQC issue in optimization process (Read 70 times)
Ardenis
Contributor
Posts: 2
PEST + PHREEQC issue in optimization process
«
on:
November 26, 2024, 12:51:21 PM »
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
Top Contributor
Posts: 3710
Re: PEST + PHREEQC issue in optimization process
«
Reply #1 on:
November 26, 2024, 02:55:59 PM »
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: November 26, 2024, 02:58:01 PM by dlparkhurst
»
Logged
Ardenis
Contributor
Posts: 2
Re: PEST + PHREEQC issue in optimization process
«
Reply #2 on:
November 27, 2024, 10:17:42 AM »
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
»
Incorporation PHREEQC in programming languages
»
PEST + PHREEQC issue in optimization process