An alternate oxic-anoxic process automatically controlled: theory and practice in a real treatment plant network