phosphorus imbalance detection