X-ray fluorescence or XRF analysis is the characteristic emission of "secondary" (or fluorescent) X-rays from a material that has been excited by bombardment with high-energy X-rays or gamma rays.
The factor affecting the corrosion and sedimentation of water is alkalinity. For example, the alkalinity of water used in steam boilers must be high enough to prevent corrosion of the boiler walls.