Simulation of particle size evolution and of scale formation and corro
sion along the flow path is of the greatest importance for data interp
retation as well as for engineering applications (eg minimisation of t
he scale formation) in geothermal and hot water plants. An equilibrium
simulation algorithm and a computer program for calcite scale formati
on in a CaCO3-H2O-CO2 system has been developed using the Davies and F
itter activity calculation methods. An equilibrium simulation algorith
m and a computer program for CaCO3, CaSO4, BaSO4, SrSO4 scale formatio
n in a Na-K-Mg-Ca-H-Ba-Sr-Cl-Br-SO4-OH-HCO3-CO3-CO2-H2O system are als
o constructed using the Davies and the Fitter activity calculation met
hods. The program determines the Langelier and Ryznar saturation index
es too, which are useful for the description of the scaling and corros
ion characteristics in a solution. An equilibrium simulation algorithm
and a computer program for the determination of the bubble point and
of the partial pressure profiles of the gases CO2, CH4 and N-2 between
the,bubble point depth and the well head in a geothermal well are con
structed. (C) 1997 Elsevier Science Ltd.