Citric acid concentration measurement