A novel control strategy for improved nitrogen removal in an alternating activated sludge process—part II. Control development