The Impact of Physics on Pricing in Energy Networks