| Next|| Previous || Top |

Example 17.-- Inverse Modeling with Evaporation

Evaporation is handled in the same manner as other heterogeneous reactions for inverse modeling. To model evaporation (or dilution) it is necessary to include a phase with the composition H 2 O. The important concept in modeling evaporation is the water mole-balance equation that is included in every inverse problem formulation (see "Equations and Numerical Method for Inverse Modeling"). The moles of water in the initial solutions times their mixing fractions plus water gained or lost by dissolution or precipitation of phases plus water gained or lost through redox reactions must equal the moles of water in the final solution. The equation is approximate because it does not include the moles of water gained or lost in homogeneous hydrolysis and complexation reactions.

Table 50. --Input data set for example 17

TITLE Example 17.--Inverse modeling of Black Sea water evaporation
SOLUTION 1  Black Sea water
        units   mg/L
        density 1.014
        pH      8.0     # estimated
        Ca      233
        Mg      679
        Na      5820
        K       193
        S(6)    1460
        Cl      10340
        Br      35
        C       1       CO2(g) -3.5
SOLUTION 2  Composition during halite precipitation
        units   mg/L
        density 1.271
        pH      5.0     # estimated
        Ca      0.0 
        Mg      50500
        Na      55200
        K       15800
        S(6)    76200
        Cl      187900
        Br      2670
        C       1       CO2(g) -3.5
INVERSE_MODELING
        -solution 1 2
        -uncertainties .025
        -range
        -balances 
                Br
                K
                Mg
        -phases
                H2O(g)  pre
                Calcite pre
                CO2(g)  pre
                Gypsum  pre
                Halite  pre
END
 

This example uses data for the evaporation of Black Sea water that is presented in Carpenter (1978). Two analyses are selected, the initial Black Sea water and a water composition during the stage of evaporation in which halite precipitates. The hypothesis is that evaporation, precipitation of calcite, gypsum, and halite, and loss of carbon dioxide are sufficient to account for the changes in water composition of all of the major ions and bromide. The input data set (table 50) contains the solution compositions in the SOLUTION data blocks. The total carbon in the solutions is unknown but is estimated by assuming that both solutions are in equilibrium with atmospheric carbon dioxide.

The INVERSE_MODELING keyword defines the inverse model for this example. Solution 2, the solution during halite precipitation, evolves from solution 1, Black Sea water. Uncertainty limits of 2.5 percent are applied to all data. Water, calcite, carbon dioxide, gypsum, and halite are specified to be the potential reactants ( -phases). Each of these phases must precipitate, that is, must be removed from the aqueous phase in any valid inverse model.

By default, mole-balance equations for water, alkalinity, and electrons are included in the inverse formulation. In addition, mole-balance equations are included by default for all elements in the specified phases. In this case, calcium, carbon, sulfur, sodium, and chloride mole-balance equations are included by the default. The -balances identifier is used to specify additional mole-balance equations for bromide, magnesium, and potassium. In the absence of alkalinity data, the calculated alkalinity of these solutions is controlled by the choice of pH and the assumption that the solutions are in equilibrium with atmospheric carbon dioxide. For reasonable values of pH, alkalinity is a minor contributor to charge balance.

Only one model is found in the inverse calculation. This model indicates that Black Sea water (solution 1) must be concentrated 88 fold to produce solution 2, as shown by the fractions of the two solutions in the inverse-model output (table 51). Thus approximately 88 kg of water in Black Sea water is reduced to 1 kg of water in solution 2. Halite precipitates (19.75 mol) and gypsum precipitates (0.48 mol) during the evaporation process. Note that these mole transfers are relative to 88 kg of water. To find the loss per kilogram of water in Black Sea water, it is necessary to divide by the mixing fraction of solution 1. The result is that 54.9 mol of water, 0.0004 mol of calcite, 0.0004 mol carbon dioxide, 0.0054 mol of gypsum, and 0.22 mol of halite have been removed per kilogram of Black Sea water. (This calculation could be accomplished by making solution 1 from solution 2, taking care to reverse the constraints on minerals from precipitation to dissolution.) All other ions--magnesium, potassium, and bromide--are conservative within the 2.5-percent uncertainty limit that was specified. The inverse modeling shows that, with the given uncertainty limits, evaporation (loss of water), carbon dioxide outgassing, and calcite, halite, and gypsum precipitation are sufficient to account for all of the changes in major ion composition between the two solutions.

Table 51. --Selected output for example 17

Solution 1: Black Sea water
 
                         Input          Delta    Input+Delta
             pH      8.000e+00  +   0.000e+00  =   8.000e+00
     Alkalinity      8.625e-04  +   0.000e+00  =   8.625e-04
             Br      4.401e-04  +   0.000e+00  =   4.401e-04
          C(-4)      0.000e+00  +   0.000e+00  =   0.000e+00
           C(4)      8.284e-04  +   0.000e+00  =   8.284e-04
             Ca      5.841e-03  +   0.000e+00  =   5.841e-03
             Cl      2.930e-01  +   7.845e-04  =   2.938e-01
           H(0)      0.000e+00  +   0.000e+00  =   0.000e+00
              K      4.959e-03  +   1.034e-04  =   5.063e-03
             Mg      2.806e-02  +  -7.016e-04  =   2.736e-02
             Na      2.544e-01  +   0.000e+00  =   2.544e-01
           O(0)      0.000e+00  +   0.000e+00  =   0.000e+00
          S(-2)      0.000e+00  +   0.000e+00  =   0.000e+00
           S(6)      1.527e-02  +   7.768e-05  =   1.535e-02
 
Solution 2: Composition during halite precipitation
 
                         Input          Delta    Input+Delta
             pH      5.000e+00  +   2.148e-13  =   5.000e+00
     Alkalinity     -9.195e-06  +   0.000e+00  =  -9.195e-06
             Br      3.785e-02  +   9.440e-04  =   3.880e-02
          C(-4)      0.000e+00  +   0.000e+00  =   0.000e+00
           C(4)      7.019e-06  +   0.000e+00  =   7.019e-06
             Ca      0.000e+00  +   0.000e+00  =   0.000e+00
             Cl      6.004e+00  +   1.501e-01  =   6.154e+00
           H(0)      0.000e+00  +   0.000e+00  =   0.000e+00
              K      4.578e-01  +  -1.144e-02  =   4.463e-01
             Mg      2.353e+00  +   5.883e-02  =   2.412e+00
             Na      2.720e+00  +  -4.500e-02  =   2.675e+00
           O(0)      0.000e+00  +   0.000e+00  =   0.000e+00
          S(-2)      0.000e+00  +   0.000e+00  =   0.000e+00
           S(6)      8.986e-01  +  -2.247e-02  =   8.761e-01
 
Solution fractions:                   Minimum        Maximum
   Solution   1      8.815e+01      8.780e+01      8.815e+01
   Solution   2      1.000e+00      1.000e+00      1.000e+00
 
Phase mole transfers:                 Minimum        Maximum
         H2O(g)     -4.837e+03     -4.817e+03     -4.817e+03   H2O
        Calcite     -3.802e-02     -3.897e-02     -3.692e-02   CaCO3
         CO2(g)     -3.500e-02     -3.615e-02     -3.371e-02   CO2
         Gypsum     -4.769e-01     -4.907e-01     -4.612e-01   CaSO4:2H2O
         Halite     -1.975e+01     -2.033e+01     -1.901e+01   NaCl
 
Redox mole transfers:    
 
Sum of residuals (epsilons in documentation):         1.947e+02
Sum of delta/uncertainty limit:                       7.804e+00
Maximum fractional error in element concentration:    2.500e-02
 
Model contains minimum number of phases.
===============================================================================
 
 
Summary of inverse modeling:
 
        Number of models found: 1
        Number of minimal models found: 1
        Number of infeasible sets of phases saved: 6
        Number of calls to cl1: 22
 

| Next|| Previous || Top |