Estimates of magnetic flux, and energy balance in the plasma sheet during substorm expansion