Managing Declining Flows and Struvite Production (On-Demand)