Three essays on electricity pricing, congestion, and market efficiency