We centered our analysis on an encapsulated anaerobic technology targeting onsite treatment of and energy recovery (via H2 and CH4) from a brewery's wastewater prior to discharge to a centralized conventional treatment facility located in St. Paul, Minnesota. The brewery produces 50 m 3 •d -1 of high-strength wastewater with a total COD of 6,760 mg•L -1 and a soluble COD of 5,640 mg•L -1 on average. To evaluate treatment performance (i.e., COD removal) and system sustainability (i.e., economic and environmental indicators) across a broad design landscape, we employed the quantitative sustainable design (QSD) methodology integrating process simulation, system design, TEA, and LCA under uncertainty across three stages of analysis (Figure ). The implementation of this approach was facilitated by the Python package QSDsan. All source code for modeling, simulation, and assessment of the system can be found in the open-access Python repository