Cournot Competition in the Electricity Market with Transmission Constraints