A COMPUTER PROGRAM INCORPORATING PITZER'S EQUATIONS FOR .

3y ago
13 Views
2 Downloads
3.30 MB
315 Pages
Last View : 1m ago
Last Download : 3m ago
Upload by : Julia Hutchens
Transcription

A COMPUTER PROGRAM INCORPORATING PITZER'S EQUATIONSFOR CALCULATION OF GEOCHEMICAL REACTIONS IN BRINESBy L.N. Plummer, D.L. Parkhurst, G.W. Fleming, and S.A. DunkleU.S. GEOLOGICAL SURVEYWater-Resources Investigations Report 88-4153Reston, Virginia1988

DEPARTMENT OF THE INTERIORDONALD PAUL MODEL, SecretaryU.S. GEOLOGICAL SURVEYDallas L. Peck, DirectorFor additional information write to:Copies of this report can be purchased from:Chief, Branch of Regional Research,Northeastern RegionU.S. Geological Survey432 National Center12201 Sunrise Valley DriveReston, Virginia 22092U.S. Geological SurveyBooks and Open-File Reports SectionFederal Center, Bldg. 810A\O. Box 25425Denver, Colorado 80225Additional copies of the software described in this report are available from:WATSTORE PROGRAM OFFICEU.S. Geological Survey437 National CenterReston, VA 22092-11-

CONTENTSpageAbstract1Introduction - ---- - -- -- -----Pitzer equations ------- - - - - - --- - ---- -- 1- - ------- - 2Data base5Extensions of the data base6Internal consistency of the data base -------Literature sources of Pitzer interaction parameters Scale convention of activity coefficientsPrecautions and limitations ----------------Numerical method ---------------------------Basic equations ----------- --- 6----- 11-- --- 11------- 14-- -- - ---- 15--- 15Restrictions on the Newton-Raphson approach--------- 17Scaling the Newton-Raphson results ------- - - -- -- 17Description of input--Title and option line Keywords---------------- LOOK MIN27MEAN scription of PHRQPITZ.DATA file31Description of PITZER.DATA file32-iii-

Test problems--- -- - ---- 341 -- Speciate a brine sample and examine effects of changing activitycoefficient scale- ----- - -- ------ 342 -- Equilibration of pure water with a set of minerals accompanied by anirreversible reaction ---------593 -- The anhydrite-gypsum phase boundary in the system NaCl-H2Oat 25 Celsius754 -- Solubility with incremental temperature variation: halite-water system 5 -- Fresh water-brine mixing in a closed system- - -- ---83-- 986 -- Simulation of reaction path accompanying the evaporation of sea water- 120Program source code140Interactive construction of input files for the computer program ------ 140AcknowledgmentReferences141----- --- - ------ 141Attachments:AListing of the file PHRQPITZ.DATA144BListing of the file PITZER.DATA149CSummary of published Pitzer interaction parametersC.IList of references cited in Attachments C.2, C.3, C.4,--154and C.6C.2155Summary of literature values of Pitzer interaction parameters forsingle saltsC.3164Summary of literature values of Pitzer interaction parameters formixed-salt solutions --------------- 173C.4Temperature dependence of single-salt parameters- 181C.5Summary of analytical expressions for temperature (and pressure)dependence of selected single-salt Pitzer interactionparameters184C.6Sources of data in the file PITZER.DATA189DListing of source code to program PHRQPITZ194EListing of source code to the interactive input programPITZINPT261-IV-

FListing of the file MINERALS.2.DATA read by interactive inputprogram PITZINPTG303Example of use of interactive input program PITZINPT to .construct the input file for test problem 3306ILLUSTRATIONSFigure 1.Comparison of calculated solubility of nahcolite in aqueous solutions ofNa2C03 ---------------------------- 9TABLESTable 1.2.Temperature dependence of equilibria in program PHRQPITZ ------- 7Comparison of two internally consistent sets of Pitzer interactionparameters for the system NaHCO3-Na2CO3-H2O at 25 "Celsius3.10Sea water in equilibrium with aragonite at a Pco2 f 10"3 atmospheresand 25 Celsius on two different activity-coefficient scales124.Comparison of individual-ion activities using the measured pH135.Analytical data for Canadian Shield brine T-93346.Line images of input file to test problem 17.Listing of printout from test problem 18.Line images of input file to test problem 29.Listing of printout from test problem 2 -10.Line images of input file to test problem 311.Listing of printout from test problem 37812.Line images of input file to test problem 48413.Listing of printout from test problem 48614.Line images of input file to test problem 5 --15.Listing of printout from test problem 510116.Line images of input file to test problem 612117.Listing of printout from test problem 6 --v--------- 35- 3960------------- 62-------- 76---------99- 123

DISKETTES (Back Pocket)Diskette containing a machine-readable copy of the PHRQPITZsource code, the files COMMON.BLOCKS, PITZER.DATA, andPHRQPITZ.DATA, and input files to test problems 1-6.Diskette containing a machine-readable copy of the source codeto the interactive input program PITZINPT, and the filesMINERALS.2.DATA and PHRQPITZ.DATA.-vi-

A COMPUTER PROGRAM INCORPORATING PITZER'S EQUATIONSFOR CALCULATION OF GEOCHEMICAL REACTIONS IN BRINES1L. Niel Plummer, D.L. Parkhurst, G.W. Fleming, and S.A. DunkleABSTRACTThe program named PHRQPITZ is a computer code capable of makinggeochemical calculations in brines and other electrolyte solutions to high concentrations using the Pitzer virial-coefficient approach for activity-coefficientcorrections. Reaction-modeling capabilities include calculation of (1) aqueousspeciation and mineral-saturation index, (2) mineral solubility, (3) mixing andtitration of aqueous solutions, (4) irreversible reactions and mineral-watermass transfer, and (5) reaction path. The computed results for each aqueoussolution include the osmotic coefficient, water activity, mineral saturationindices, mean activity coefficients, total activity coefficients, and scaledependent values of pH, individual-ion activities and individual-ion activitycoefficients. A data base of Pitzer interaction parameters is provided at 25 C(Celsius) for the system: Na-K-Mg-Ca-H-Cl-SO OH-HCOg-COs-COo-HoO,and extended to include largely untested literature data for Fe(II), Mn(II), Sr,Ba, Li, and Br with provision for calculations at temperatures other than25 C. An extensive literature review of published Pitzer interaction parameters for many inorganic salts is given. Also described is an interactive inputcode for PHRQPITZ called PITZINPT.INTRODUCTIONPHRQPITZ2 is a FORTRAN 773 computer program that makes geochemical calculationsin brines and other electrolyte solutions to high concentrations. PHRQPITZ has been adaptedfrom the U.S. Geological Survey geochemical simulation computer code PHREEQE4 of Parkhurst and others (1980) in which the aqueous model of PHREEQE has been replaced with thePitzer virial coefficient approach (Pitzer, 1973; Pitzer and Mayorga, 1973, 1974; Pitzer andKim, 1974; Pitzer, 1975). The PHRQPITZ code contains most of the reaction-modeling capabilities of the original PHREEQE code, including calculation of (1) aqueous speciation andmineral-saturation index, (2) mineral solubility, (3) mixing or titration of aqueous solutions,(4) irreversible reactions and mineral-water mass transfer, and (5) reaction path. The computed results for each aqueous solution include the osmotic coefficient, water activity, mineralsaturation indices, mean-activity coefficients, total-activity coefficients, and scale-dependentvalues of pH, individual-ion activities and individual-ion activity coefficients.The Pitzer treatment of the aqueous model is based largely on the equations as presentedby Harvie and Weare (1980) and Harvie and others (1984). An expanded data base of Pitzerinteraction parameters is provided that is identical to the partially validated data base of Harvie and others (1984) at 25 C (Celsius) for the system Na-K-Mg-Ca-H-Cl-SOr OH-HCO3CO3-CO2 -H2O, and extended to include largely untested literature data for Fe(II), Mn(II), Sr,Ba, Li, and Br with provision for calculations at temperatures other than 25 C. An extensive1 Manuscript approved for publication October 5, 1988.2 PH-Redox-eQuilibrium-equations incorporating the PITZer equations.3 The use of trade names in this report is for identification purposes only and does not constitute endorsement by the U.S. Geological Survey.4 PH-REdox-EQuilibrium-Equations-1-

literature review of published Pitzer interaction parameters for many inorganic salts is alsogiven that may serve as a guide in selection of additional data for inclusion in PHRQPITZ.Some new data for the temperature dependence of mineral equilibrium constants accompaniesthe additional (untested) data. As with PHREEQE, the aqueous model and thermodynamicdata of PHRQPITZ are user-definable and external to the code.This report also describes an interactive input code for PHRQPITZ called PITZINPT,which is analogous to the PHREEQE input code, PHRQINPT (Fleming and Plummer, 1984).PITZINPT contains the mineral thermodynamic data base taken largely from Harvie and others(1984) and is used interactively to construct input data sets to PHRQPITZ.Because most modeling aspects of PHRQPITZ are identical to the original PHREEQEtreatment, the reader is referred to the PHREEQE documentation (Parkhurst and others, 1980)for background and modeling information. The current report focuses on extensions to thePHREEQE code including documentation of the Pitzer data base, explanation of the Pitzerequations as incorporated in PHRQPITZ, program limitations and instructions for use.PITZER EQUATIONSThe osmotic coefficient, , and activity coefficients of the cations, 7 and anions,are given by Harvie and Weare, 1980; Harvie and others, 1984),a a'*\f7L c"m a caCa a'c(1)I'(2}\ Jaandc Equations 1-3 use the notation of Harvie and Weare (1980). In equations 1-3 mj denotesmolality of the \th ion (moles per kilogram) where the subscripts M, c, and c' denote cations,and X, a, and a' denote anions. The double summations c c' and a a' refer to all pairs ofdissimilar cations and anions. The term A is defined by,-2-(4)

where Np is Avagadro's number, pw is the density of water, e is the absolute electronic charge,Joltzman constant, D the static dielectric constant of pure water and T is temperature ink the BoKelvins.then becomes/\ 3/2A* 1400684\DTJ(5)In PHRQPITZ, values of A are computed over the temperature range 0-350 C. Thetotal pressure is taken to be 1 atm. (atmosphere) between 0 and 100 C and that of the vaporpressure curve for pure water of Haar and others (1984) beyond 100 C. The dielectric constant of pure water is calculated from Bradley and Pitzer (1979). Values of A are reported byBradley and Pitzer (1979) to three significant figures between 0 and 350 C and are identicalto those calculated in PHRQPITZ. Between 0 and 100 C at 1 atm. total pressure, A calculated in PHRQPITZ agrees with values calculated by Ananthaswamy and Atkinson (1984)within 0.00004 or better. The computed value of A* from equation 5 in PHRQPITZ at 25 Cis 0.39148, which compares with 0.39145 reported by Ananthaswamy and Atkinson (1984) and0.391 reported by Bradley and Pitzer (1979). Uncertainties beyond the third significant figurein A lead to differences in thermodynamic calculations that are beyond the reliability of theparameterization of the model. However, to avoid introducing inconsistency with the Harvieand others (1984) data base, A is defined to be 0.392 at 25 C and 1 atm. total pressure inPHRQPITZ (Harvie and Weare, 1980). In their later paper (Harvie and others, 1984) theseauthors state that A is 0.39 at 25 C although calculations with their data base indicate it isconsistent with the value 0.392. Because A is defined to be 0.392 at 25 C, small inconsistencies in calculations with PHRQPITZ may be observed between results at 25 C and those verynear 25 C. Uncertainty in the value of A is often a source of inconsistency in selectingliterature data of Pitzer parameters.The ionic strength, I, is given by(6)where Zj is the charge of the ith ion. Because few ion pairs are considered in the Pitzertreatment, values of ionic strength computed for a given water sample tend to be larger in thePitzer model than would be calculated using an ion-pairing model.The term F in equations 2 and 3 is defined byF -An6/7bwhere b is 1.2. The parameters /?( ), /K 1 ), /?(2), and O that define the variables B and C arefitted from single-salt data. For any salt containing a monovalent ion(9)(10)-3-

where a 2 (Pitzer, 1973). The functions g and g' areg(.x;) 2[ 1 - ( 1 x)e" x ]/x 2(11)/x 2,(12)where x a\/I. For 2-2 electrolytes and higher valence typesD MA*MA*MA\M Y \3 i/ v1 i/ v * 15 Mi* Av t v * *3 ')(14)(15)where, for 2-2 electrolytes, ai 1.4 and a2 12.0, and for 3-2 and 4-2 electrolytes a1 2.0 anda2 50. (Pitzer and Silvester, 1978). The other variable used to define the thermodynamicproperties of single-salt solutions, CMX, is given byp/ "//'O/lo'O'l'NL, x L, X /\ L\I\Z Z X \)M A 1 O Jand the coefficient to CMX, Z, in equations 1 - 3 is given byijzj(I 7 )The thermodynamic properties of aqueous solutions containing a single salt depend only on theinteraction parameters #1 ), /?U), /?(2), and CfThe parameters and V are determined from aqueous mixtures of two salts. accountsfor cation-cation and anion-anion interactions while the parameter is defined for cationcation-anion and anion-anion-cation interactions. Values of y are given by(18)(19)(20)where 6 is the only adjustable parameter and is defined for each pair of cations and each pairof aniqns. The terms E0y(I) and E0'ij(I) account for electrostatic mixing effects of unsymmetrical cation-cation and anion-anion pairs as defined by Pitzer (1975). The higher-order electrostatic terms of equations 18-20 are calculated routinely in PHRQPITZ for all unsymmetricalpairs of cations or unsymmetrical pairs of anions using the Chebyshev approximation to the-4-

integrals JQ(x) and J x) (see Pitzer, 1975; Harvie and Weare, 1980). Test calculations showed,however, little difference from more simplified approximations to J0(x) and J x) given byPitzer (1975). Values of E j(I) and E0'ij(I) depend only on ion charge and total ionic strengthand are zero when ij cation or anion pairs have the same charge.Caution should be exercised in using literature values of 0,; (Reardon and Armstrong,1987). Values of must be compatible with the same single-salt data (0( ), jSt 1), 0(2), and C*)used in the model and, for use in PHRQPITZ, their determination from mixed-salt solutionsmust include the higher-order electrostatic terms discussed above. Both types of 0,j arereported in the literature (i.e., determined with and without provision for higher-order electrostatic terms). In PHRQPITZ the higher-order electrostatic terms are always included. Thisprecaution applies to cation or anion pairs such as Ca2 -Na or SO42"-C1", but not tointeractions such as C1 -F- or Ca2 -Mg2 where, because of the identical charge, the higherorder electrostatic terms are zero. Values of 0y given by Pitzer and Mayorga (1974) and Pitzer(1979) do not include the higher-order electrostatic terms for unsymmetrical cation pairs andunsymmetrical anion pairs. The data of Harvie and Weare (1980) and Harvie and others(1984) include the higher-order electrostatic terms. Harvie and Weare (1980) found significantimprovement in modeling the system Na-K-Mg-Ca-Cl-SO4-H20 when the higher-order electrostatic terms were included.Values of the parameters Vijk are included for all different combinations of two cationsand an anion or two anions and a cation. V is usually determined from the same two-saltmixture used to define 0- and is therefore internally consistent with that value of 0 as well asthe individual single-salt interaction parameters.Harvie and others (1984) have also included a model for calculation of the activity coefficients, '/N, of neutral species in solution. In the Harvie and others (1984) data base, thiscalculation applies to the species CO2(aq), CaCO3 and MgCO3 . According to Harvie andothers (1984), *yN is calculated from the relation,(21)awhere Anc and Ana refer to interactions between neutral species and cations or anions.DATA BASETwo data files are required to run PHRQPITZ. The first file, PHRQPITZ. DAT A, isanalogous to the thermodynamic data base of PHREEQE (though much smaller) and containsdata under the keywords ELEMENTS, SPECIES, LOOK MIN and MEAN GAM. The firstthree of these keywords are identical to their usage in PHREEQE (Parkhurst and others, 1980).The keyword MEAN GAM is used in PHRQPITZ to define the stoichiometries of selectedsalts for calculation of the mean activity coefficient, 7 . The mean activity coefficient isdefined"(22)where 7 and 7. denote total-activity coefficients of cations ( ) and anions (-) and v and vare the stoichiometric coefficients of the cation and anion in the neutral salt.Equilibrium constants at 25 C for (1) the formation of OH', HCO3', CO/(aq), HSO4',CaCO3 , MgOH , and MgCO3 . and (2) dissolution of minerals listed under LOOK MIN inPHRQPITZ.DATA are computed from the free energies given by Harvie and others (1984).Expressions for the temperature dependence of log K are of the form,A 2 T A 3 /T A ogT As/T 2-5-,(23)

where A 1 - A5 are constants and T is temperature in Kelvins. The form of equation 23corresponds to the model for the heat capacity of Maier and Kelly (1932), as used inPHREEQE. Expressions of this form were either taken from the literature or fitted to solubility data reported by Linke (1965). In all cases the A x term has been adjusted to agree withthe Harvie and others (1984) data base at 25 C. In some cases the temperature dependence oflog K is calculated from the van't Hoff equation using a value of AHr at 25 C. No data forthe temperature dependence of the equilibrium constant are available for many of the mineralsin the PHRQPITZ.DATA file and for these, PHRQPITZ computes the same value of the equilibrium constant at all temperatures. Table 1 summarizes data used to calculate the temperature dependence of the equilibria in PHRQPITZ. Line images of the file PHRQPITZ.DATAare listed in Attachment A. Coding format and description of input variables inPHRQPITZ.DATA are given in a later section of this report under "Description of Input".The second data file read by PHRQPITZ is named PITZER.DATA and contains valuesof the interaction parameters to the Pitzer equations including values of p( \ /fft 1), fi(2\ O, 6,A, V, and limited data on the temperature dependence of p( \ /fft 1), p(2\ and . The filePITZER.DATA is listed in Attachment B. For the chemical system Na-K-Mg-Ca-H-Cl-SO4 OH-HCO3-CO3-CO2-H2O at 25 C, the data bases to PHRQPITZ (PHRQPITZ.DATA andPITZER.DATA) are identical to that of Harvie and others (1984), and in verificationprocedures have reproduced calculations reported in Harvie and others (1984).Extensions of the Data BaseExtensions beyond the Harvie and others (1984) data base are largely untested andinclude additions to PITZER.DATA for (1) calculation of the thermodynamic properties ofaqueous solutions containing, in addition to the elements considered in the Harvie and others(1984) data base, Fe(II), Mn(II), Sr2 , Ba2 , Li , and Br ; (2) estimation of the temperaturedependence of many of the single-salt parameters from selected literature data for the firstderivative with respect to temperature; and (3) calculation of the thermodynamic properties ofNaCl solutions to approximately 300 C following the vapor pressure curve of water beyond100 C. Except for the NaCl-H2O system, the PHRQPITZ aqueous model should be checkedcarefully before applications outside the temperature interval 0 to 60 C are attempted. Several recent evaluations of the temperature dependence of Pitzer interaction parameters to relatively high temperatures (Pitzer, 1987; Moller, 1988) have not yet been incorporated in thePHRQPITZ data base.Extensions to PHRQPITZ.DATA beyond that of Harvie and others (1984) include estimates of AHr for the formation of the aqueous non-master species such as OH

Equations 1-3 use the notation of Harvie and Weare (1980). In equations 1-3 mj denotes molality of the \th ion (moles per kilogram) where the subscripts M, c, and c' denote cations, and X, a, and a' denote anions. The double summations c a' refer to all pairs of dissimilar cations and anions. .

Related Documents:

New York Times bestselling author and Pitzer College alumnus Max Brooks ’94 was chosen by the class of 2011 to serve as the keynote speaker at this year’s event. Brooks, a history major at Pitzer College

4.1 Models for electrolyte solutions 29 4.2 Pitzer model applied to the thermodynamics of natural water and copper sulfate. 33 4.2.1 Thermodynamics of natural water systems using the Pitzer model. 33 4.2.2 Thermodynamic properties of copper sulfate solutions 35 4.2.3 Pitzer ion-interaction model applied to the CuSO 4-H 2 SO 4-H 2 O system 36

The Princeton Review ranks Pitzer College #1 among the Top 20 Best Schools for Making an Impact (Private Schools) in the Best Value Colleges 2022 rankings. The College was also named a 2022 Best Western College by The Princeton Review. Pitzer students shape their own college experience. Focused educational objectives guide undergraduates

Sep 18, 2018 · 4 Resume Format Contact Information Include Name, Address, Zip Code, Telephone, and Email Address at the top of your resume If you are applying to positions around Pitzer Colleg

Pitzer College 2022-2023 Page 3 . Dependent Coverage Eligibility . Covered students may also enroll their lawful spouse, domestic partner, and their dependent children under age of 26. Eligible Dependents must be enrolled on the date the student enrolls or within 31 days of birth, adoption, marriage,

akuntansi musyarakah (sak no 106) Ayat tentang Musyarakah (Q.S. 39; 29) لًََّز ãَ åِاَ óِ îَخظَْ ó Þَْ ë Þٍجُزَِ ß ا äًَّ àَط لًَّجُرَ íَ åَ îظُِ Ûاَش

Collectively make tawbah to Allāh S so that you may acquire falāḥ [of this world and the Hereafter]. (24:31) The one who repents also becomes the beloved of Allāh S, Âَْ Èِﺑاﻮَّﺘﻟاَّﺐُّ ßُِ çﻪَّٰﻠﻟانَّاِ Verily, Allāh S loves those who are most repenting. (2:22

automotive suspension through a combination of innovation, uncompromising quality and attention to detail. Nitron will always represent excellent value delivered through outstanding levels of customer service. Guy Evans CEO, NITRON RACING SYSTEMS LTD. NITRON HAS OVER A DECADE OF SUCCESS, CELEBRATING PRESTIGIOUS RACE WINS AND LAP RECORDS AROUND THE WORLD. DESIGNED, DEVELOPED AND MANUFACTURED IN .