Merit order curve