From a France24 article on the complexity of this:
The electrical grid is a backbone with complex branches consisting of thousands of interconnected components.
“The grid operators must carefully analyse massive amounts of real-time data like frequency shifts, line failures, generator statuses and protection system actions to trace the sequence of events without jumping to conclusions,” Pratheeksha Ramdas, senior new energies analyst at Rystad Energy, told AFP.
Outages are often caused by a sudden shutdown of a source of production like a power plant due to a technical fault or a fuel shortage supplying thermal power plants.
In recent years, natural disasters such as storms, earthquakes, forest fires, extreme heat or cold sometimes intensified by global warming have damaged infrastructure or created peaks of demand for heating or air conditioning.
Other possible causes include overloads on high-voltage power lines, which force excess electricity to move to other lines, and cyberattacks, which the Spanish and Portuguese governments have ruled out, but which are an increasingly mentioned threat as networks become more digitised.
In Spain on Monday evening, grid operator REE mentioned a “strong fluctuation in power flows, accompanied by a very significant loss of production”.
In Europe, the electrical frequency on the network is calibrated to a standard of 50 hertz (Hz).
A frequency below that level means not enough electricity is being produced to meet demand.
In contrast, a frequency above 50 Hz means that less electricity needs to be made.
Operators have to order power plants in real time to produce more or less electricity according to demand to keep a frequency of 50 Hz.
“Maintaining that frequency is a matter of balance,” said Michael Hogan, senior advisor at the Regulatory Assistance Project, an NGO.
If the frequency moves away from 50Hz, automated protection systems kick in to cut off parts of the grid to prevent damage to equipment in a domino effect.
“Once power stations begin to shut themselves down for protection the situation can quickly get out of control,” Hogan told AFP.
“But… it’s very rare for that to reach the state it did in Iberia yesterday (Monday).”
…
How Monday’s problem all started is difficult to determine.
“One of the factors that most likely contributed to the instability is the weak interconnection between the peninsula and the rest of the western European grid, which meant that there wasn’t much inertia in that part of the network to dampen the oscillations on the Spanish side of the interconnection,” said Hogan.
But that is likely only a contributory factor and not the root cause.
“It will probably be the failure of one or two major transmissions facilities, which then cascaded to other connected parts of the network,” said Hogan.
“But what would have caused that initial transmission failure remains to be learned.”
From a France24 article on the complexity of this:
…