Multi-Level Automated Flow Control Structures For Phosphorus Removal Research