SMS: Potentiometric water analysis