Capacity has decreased - mainly due to a lot of french nuclear reactors offline for scheduled and (correlated) unscheduled maintenance. France went from Europe's largest exporter to largest importer of power this year. Add to that a dry summer woth historically low water levels in rivers, disrupting cooling as well as things like coal transport for power plants.
And natural gas, which usually covers the more elastic power demands is dramatically more expensive.