The ammonia nitrogen concentration in the wastewater of a certain pig farm exceeds 800mg/L, and the surrounding water bodies are severely eutrophic. Adopting the “solid-liquid separation+black film biogas digester+two-stage A/O+ecological pond” planting and breeding combination mode, biogas power generation covers 30% of the electricity