Enabling Minimal Liquid Discharge Through a Modular, Flexible, and Electrified Pretreatment System