Text this: Energy flow and dissipation in heterogeneous ensembles of coupled phase oscillators