Adaptive Dynamics Hydraulics Method and algorithm for increase/decrease of water retention time in the biofilter to ensure constant ammonia levels required for optimal growth.Adaptive Dynamics Hydraulics