Back in engineering thermo, they made you draw “control volumes” and specify inputs and outputs of matter, mechanical energy, heat etc, which simplifies the whole problem into an exercise in bookkeeping via conservation laws. Missing from those lectures and problem sets from long ago, indicating the backward thinking of the pre-green era, was an arrow labled “government subsidies”.
I wish that needed a sarcasm tag, but it does not.