A systematic, mathematically and physically sound approach to the energy balance in three-wire, three-phase systems