Sustainability in a Market Design for Electricity