Economic operation of power systems: the transmission loss equation