A new closed-loop system in Ontario captures energy that has previously been wasted from wastewater and sewage.