fluoritestability.ppi

# stability diagram for the Ca-F system

SPECIATION
  calculationType                      ht1                 # or grid
  calculationMethod                    1
  mainSpecies                          Ca

  xmin                                 1e-8                # min and max for the x- and y-axes - must start with some main species
  xmax                                 2                   # xmin can't be zero so set to a small value

  ymin                                 0
  ymax                                 2

  resolution                           100

PLOT
  plotTitle                            "Stability diagram for Ca<br>(in a Ca-F-H<sub>2</sub>O system)"
  xtitle                               "Ca /mmol/kgw"
  ytitle                               "F  /mmol/kgw"

CHEMISTRY

  include 'ht1stability.inc'                               # 'stability' options means that any amount of mineral will be predominant cf aqueous species

SOLUTION 1
  -units mmol/kgw
  Ca <x_axis>                                              # filled by PHREEPLOT
  F  <y_axis>
EQUILIBRIUM_PHASES 1
  Fluorite 0 0
END