*** PhreePlot 1 (Win-ifort-2021.5-x64) 11:05:43 3 Feb 2022 Incorporating the iPhreeqc library (3.7.3-15968-x64) by DL Parkhurst, SR Charlton (USGS), & CAJ Appelo (Amsterdam) Hunt & Track by DG Kinniburgh and DM Cooper (CEH, NERC) Fitting by MJD Powell and others Postscript plotting by KE Kohler Linux & Mac versions by M Vetuschi Zuccolini (DISTAV, Univ. Genova) 23:44:32 20 September 2022Input filename: D:\phreeqcplot\demo\species_try\ANDRA.ppi. Job title U-Cl-H<sub>2</sub>O <br> speciation vs pH.-------------------------------------------------------- System --------------------------------------------------------Command line parameters0 C:\Program Files\PhreePlot\pp.exe1 D:\phreeqcplot\demo\species_try\ANDRA.ppiPHREEPLOT environment variable D:\phreeqcplotPHREEPLOT_PATH C:\Program Files\PhreePlotPhreePlot version 1Speciation program PHREEQCVersion 3.7.3-15968-x64Database D:\phreeqcplot\demo\species_try\PHREEQC_Davies_e-_ThermoChimie_v11a.datDatabase version Current working directory D:\phreeqcplot\demo\species_try\System directory D:\phreeqcplot\system\Input file directory D:\phreeqcplot\demo\species_try\Fill colour dictionary fillcolor.dat (not found)Line colour dictionary D:\phreeqcplot\demo\species_try\linecolor.dat------------------------------------------------ Ghostscript and fonts -------------------------------------------------Ghostscript executable C:\Program Files\PhreePlot\gswin64c.exe (PhreePlot)Ghostscript version GPL Ghostscript 9.52 (2020-03-19)Fonts file D:\phreeqcplot\system\fonts.datFont family or font requested Times-RomanBase font used Times-Roman ==================================== Job: U-Cl-H<sub>2</sub>O <br> speciation vs pH ====================================Calculation type customCalculation method calculate and plotMain species UNDEFINED<loop> min = UNDEFINED max = UNDEFINED int = UNDEFINED<y_axis> min = UNDEFINED max = UNDEFINED<x_axis> min = -13.000 max = -6.0000Resolution 100 ====================================================== Input file ======================================================SPECIATION jobTitle "U-Cl-H<sub>2</sub>O <br> speciation vs pH" calculationType custom calculationMethod 1 xmin -13.0 xmax -6.0 # determines the number of points at which speciation is calculated resolution 100 database PHREEQC_Davies_e-_ThermoChimie_v11a.datPLOT plotTitle "U-Cl-H<sub>2</sub>O <br> speciation vs pH" xtitle pH ytitle "% species" pxmax 13 # explicit naming of species - order defined in user_punchU.inc lines UO2+2 UO2Cl2 UO2CO3 UO2Cl+ lineColor blue pointSize 5.0 xaxisLength 200 font Times-Roman # use first column as defined by include files - this is pH customXcolumn 1 # this prevents minor species being plotted minimumYValueForPlotting 5.0 extraText "extratextUspeciation.dat"CHEMISTRYinclude 'Uvsph.inc' # nested includes-------------------------------------------------- Override settings ---------------------------------------------------# add any input here that you want to override settings in pp.set and *.ppi--------------------------------------------------- Input chemistry ----------------------------------------------------Chemistry divided into PHREEQC simulations: 1: USER_PUNCH 2: -heading pH UO2+2 UO2Cl2 UO2CO3 UO2Cl+ 3: -start 4: 10 punch -la("H+") 5: 20 Ut=SYS("U",n,n$,t$,c) 6: 30 rem sort array n long 7: 40 gosub 1000 8: 50 for i=1 to n 9: 60 punch 100*c(i)/Ut 10: 65 print i, n$(i) 11: 70 next i 12: 80 print 13: 90 end 14: 1000 rem insertion sort (from Numerical Recipes) 15: 1010 for j=2 to n 16: 1020 a$=n$(j) 17: 1021 t=c(j) 18: 1030 for i=j-1 to 1 STEP -1 19: 1040 if (n$(i)<=a$) then goto 1080 20: 1050 n$(i+1)=n$(i) 21: 1051 c(i+1)=c(i) 22: 1060 next i 23: 1070 i=0 24: 1080 n$(i+1)=a$ 25: 1081 c(i+1)=t 26: 1090 next j 27: 1091 return 28: -end 29: PRINT 30: -reset false 31: PHASES 32: Fixed_H+ 33: H+ = H+ 34: log_k 0.0 35: SELECTED_OUTPUT 36: -high_precision true 37: -reset false 38: SOLUTION 1 39: temp 18.4 40: pH 7.56 41: units mg/kgw 42: density 1 43: Cl(-1) 2000 charge 44: Na 485.42 45: U 10 mMol/kgw 46: -water 1 47: EQUILIBRIUM_PHASES 48: O2(g) -0.677 10 49: Fixed_H+ <x_axis> NaOH 10 50: END........................................................ End 1 .........................................................1 PHREEQC simulations found.The main loop simulation (1) has been run 100 times.Calculation time for this loop was .768 sec. ====================================================== Plotting 1 ======================================================The colour dictionary was found and opened: D:\phreeqcplot\demo\species_try\linecolor.dat.The colour dictionary will NOT be used for reading colours (see useLineColorDictionary).Reading plot data:D:\phreeqcplot\demo\species_try\ANDRA.out 100 points read from the file: D:\phreeqcplot\demo\species_try\ANDRA.out for the label, UO2+2.D:\phreeqcplot\demo\species_try\ANDRA.out 100 points read from the file: D:\phreeqcplot\demo\species_try\ANDRA.out for the label, UO2Cl2.D:\phreeqcplot\demo\species_try\ANDRA.out 100 points read from the file: D:\phreeqcplot\demo\species_try\ANDRA.out for the label, UO2CO3.D:\phreeqcplot\demo\species_try\ANDRA.out 100 points read from the file: D:\phreeqcplot\demo\species_try\ANDRA.out for the label, UO2Cl+.Dataset Label(1:30) ------------- Lines ------------- ------------- Points ------------- ------ Rims ------- np selected type color inch selected type color inch color factor 1 UO2Cl+ yes 1 blue4 0.012 no 1 0.197 0.050 100------------------------------------------------------ Labelling -------------------------------------------------------Labelling effort = 1 Label size = 2.000 mm Start label colour = blackLabel positioning optimized.Labelling for plot 1:num x(mm) y(mm) label 1 113.628 155.932 "UO2Cl+"extraText file read: extratextUspeciation.datCustom plot completed. ================================================= Writing Plot file(s) =================================================ps file written: D:\phreeqcplot\demo\species_try\ANDRA.ps.ps file written: D:\phreeqcplot\demo\species_try\plot.ps. ======================================================= Wrap-up ========================================================Input file executed 100 times and any plotting completed in .902 sec.Total time taken was 1.104 sec.Done....
SPECIATION jobTitle "Speciation vs pH using 'species' plot type" calculationType species calculationMethod 1 database Thermochimie_PhreeqC_Davies_electron_v10a.dat mainSpecies "U" # species vs pH for U xmin 3.0 # pH min xmax 10.0 # pH max resolution 100 # number of points per curve numericTags <pCO2> = "-3.5" \ # used below <pO2> = "-0.7"PLOT plotTitle "U speciation vs pH (oxidizing conditions)<br>(using thermochimie10a.dat)" pxmin 3.0 # plot limits pxmajor 1.0 # major ticks and numbering pxminor 1.0 # minor ticks useLineColorDictionary 1 # force to take colours from dictionary labelSize 1.5 # curve labels inside plot minimumYValueForPlotting 5.0 # omit any curve with max(concn)<5%CHEMISTRYinclude 'speciesvsph.inc' # PHREEQC code to generate species-conc pairsPHASESFix_H+ H+ = H+ log_k 0.0SELECTED_OUTPUT -high_precision true -reset falseSOLUTION 1 # first simulation - initial solution temp 25 pH 7 pe 4 units mol/kgw density 1 U 1e-6 Cl 0.01 Na 0.01ENDUSE solution 1 # second simulation - loop on this oneEQUILIBRIUM_PHASES O2(g) <pO2> Fix_H+ -<x_axis> NaOH -force_equality true# CO2(g) <pCO2>END
SPECIATION jobTitle "U-Cl-H<sub>2</sub>O <br> speciation vs pH" calculationType custom calculationMethod 1 xmin -13.0 xmax -6.0 # determines the number of points at which speciation is calculated resolution 100 database PHREEQC_Davies_e-_ThermoChimie_v11a.datPLOT plotTitle "U-Cl-H<sub>2</sub>O <br> speciation vs pH" xtitle pH ytitle "% species" pxmax 13 # explicit naming of species - order defined in user_punchU.inc lines U(+3) U(+4) U(+5) U(+6) lineColor blue pointSize 5.0 xaxisLength 200 font Times-Roman # use first column as defined by include files - this is pH customXcolumn 1 # this prevents minor species being plotted minimumYValueForPlotting 1e-100 extraText "extratextUspeciation.dat"CHEMISTRYinclude 'Uvsph.inc' # nested includes
USER_PUNCH# headings depends on database used - they must be in ascending alphabetic order ignoring ()-heading pH U(+3) U(+4) U(+5) U(+6)-start10 punch -la("H+")20 Ut=SYS("U",n,n$,t$,c)30 rem sort array n long40 gosub 100050 for i=1 to n60 punch 100*c(i)/Ut65 print i, n$(i) # but printed output only if PRINT is true70 next i80 print90 endinclude 'sort.inc'
include 'user_punchU.inc' PRINT -reset false # change to 'true' for printed output with debug = 2PHASESFixed_H+ H+ = H+ log_k 0.0SELECTED_OUTPUT -high_precision true -reset falseSOLUTION 1 temp 18.4 pH 7.56 units mg/kgw density 1 Cl(-1) 2000 charge Na 485.42 U 10 mMol/kgw -water 1 # kgEQUILIBRIUM_PHASES O2(g) -0.677 10 Fixed_H+ <x_axis> NaOH 10END
#1 auto auto "<input:SPECIATION,>" 1.1 red 0 0
Fixed_e e- = e-log_k 0.0
EQUILIBRIUM_PHASES...Fixed_e- <loge-> O2(g)
numericTags <loge-> = -<y_axis>
SPECIATION calculationType "ht1" calculationMethod 1 mainSpecies "U" xmin 2.0 xmax 10.0 ymin -80.0 ymax 0.0 loopmin -6 loopmax -2 loopint 2 looplogvar 1 resolution 200 database PHREEQC_Davies_e-_ThermoChimie_v11a.dat png T# used in extraText filenumericTag <logUt> = <logloop>numericTag <loge-> = -<y_axis>PLOT plotTitle "Uranium redox states" xtitle "pH" ytitle "log <i>f</i> O<sub>2</sub>(g)" yscale pe #extraText "extratextUredox.dat" multipagefile t font Times-Roman xaxisLength 180 yaxisLength 120CHEMISTRYPHASES Fix_H+ H+ = H+ log_k 0.0 Fixed_e- e- = e- log_k 0.0#include 'ht1.inc'include 'ht1redox.inc'SOLUTION 1 temp 25 pH 1.8units mol/kgw U <loop> Na 1e-1 Cl 1e-1SAVE solution 1END# main loop - iterate hereUSE solution 1EQUILIBRIUM_PHASES 1 Fix_H+ -<x_axis> NaOH 10 -force_equality true Fixed_e- <loge-> O2(g) CO2(g) -3.5 1.0END
File: D:\phreeqcplot\demo\dachuang\redox_state_ex39\ANDRA\ANDRA_redox_state.ppi:18Keyword: numericTagsError: <loge->: <loge-> : Tag definition must not contain +-/* ()<>^\<loge-> = -<y_axis>...Total time taken was .036 sec.Failed....