Given the water temperature (°C), the bicarbonate alcalinity and calcium hardness, (expressed in terms of mg/L as CaCO3) and the total dissolved solids concentration (mg/L), calculates the saturation pH and determines if the water is agressive, neutral or scaling.