Mean Field Models to Regulate Carbon Emissions in Electricity Production