Decoding the cost of electricity