     EQUILIBRIUM CALCULATIONS
     ========================

 ================================================================
  Program to perform Chemical Equilibrium Calculations
  It uses the HALTAFALL program.

  By: Ignasi Puigdomenech
   initially written in Fortran at:
   The Royal Institute of Technology, Stockholm, Sweden

  References:    Ingri et al.  Talanta 14 (1967) 1261
                 Ingri et al.  Talanta 15 (1968) xi
                 Ekelund et al.  Acta Chem.Scand. 24 (1970) 3073
                 Warnqvist et al.  Talanta 18 (1971) 457

 ================================================================
  This is a console program, useful for batch files,
   -  You must be able to edit input files with a text editor
      in order to use this program.
   -  You must be able to create batch files with a text editor
      in order to use this program.
  Two output text files are created by the program: a verbose
  output file (with extension "out") and a table output file
  (with extension "csv") where the calculation results are
  reported column-wise with data separated by semicolons (";").
  The table-output file may be imported into Excel or any other
  plotting program.
 ================================================================
  The input disk file may be a modified Medusa/Spana "dat"-file.
  The format of the input file:

   Input:                                      Comments:

       NA,NX,NSOL,SOLIDC,
       IDENT(ia),                              (given for ia=1,NA)
       IDENT(ix),LOGBTA(ix),(A(ix,j),j=1,NA),  (for ix=1,NX)
       IDENT(if),LOGBTA(if),(A(if,j),j=1,NA),  (for if=1,NSOL)
       NPKT,                                   (this is the only difference
                                                       with Medusa/Spana...)
       HOW, LOW(ia), HIGH(ia),                 (for ia=1,NA)
   or: HOW, CONC(ia),                          (for ia=1,NA)
       TEXT                                    any number of lines of text which
       TEXT                                    will be printed as a heading in
                                               the output file

 Where:
  NA=number of components
  NX=number of soluble complexes
  NSOL=number of solid complexes
  SOLIDC=number of components which are solids
  IDENT(i)=identification (name) for species i.
           The last solidc components are assumed to be
           solid phases
  LOGBTA(i)=log(Beta) for species i (Beta=global equilibrium
            constant of formation)
  A(i,j)=formula units for complex i and component j.
  NPKT=number of points (equilibrium compositions) to calculate.
       May be negative (see below)
  HOW=one of: T,TV,LTV,LA,LAV.
    if HOW=T the total concentration for that component follows: CONC.
    if HOW=TV the total concentration for that component is varied
           with the limits that follow: LOW and HIGH.
    if HOW=LTV the Log(Total Conc.) for that component is varied
           with the limints that follow: LOW and HIGH.
    if HOW=LA the Log(activity) for that component follows: CONC.
    if HOW=LAV the Log(activity) for that component is varied with
           the limits that follow:LOW and HIGH.

 Note: 1- If IDENT(j) is either e- (or E-) or H2O (or h2o), or if IDENT(j)
          begins with a: * (for example: *Cl2(g)), then the concentration
          of that species is not taken into account (the conc. of aqueous
          electrons etc, is set equal to zero), although its activity is
          calculated.
       2- If IDENT(j) is equal to H2O (or h2o), then the activity for
          water is calculated with the osmotic coefficient, and its
          concentration is set equal to zero.
       3- If NPKT is less than zero, -NPKT points will be calculated, and the
          input should be:

       -NPKT,
       HOW, CONC(ia),                      (for ia=1,NA)  (for point 1)
       HOW, CONC(ia),                      (for ia=1,NA)  (for point 2)
         :    :                              :              :
       HOW, CONC(ia),                      (for ia=1,NA)  (for point NPKT)

       TEXT                             any number of lines of text which
       TEXT                             will be printed as a heading
