Regulation and management of local acidity