399 points · by mitchoneill1 · 7y ago · 161 comments
> The causes provided by RWE for the initiation of the trip of Little Barford steam turbine (ST1C) was due to discrepancies on three independent safety critical speed measurement signals to the generator control system.
A cyber attack would most likely, rather than directly take capacity offline, instead make the system less stable by attempting to make safety systems not work properly. That has the benefit that the attack will be triggered at th exact same time as another incident, increasing the impact.
Injecting false values for a sensor reading is a very good way to hide your tracks as an attacker - just inject a bunch of "0" values, and then uninstall whatever malware did it, and probably nobody will ever find out why that sensor randomly acted up.
That may be for legacy machinery control systems (MCSs), but modern MSCs and increasingly wise to such threats as they monitor and archive all critical control system signals at the subsecond sample rates, such that sensor anomalies are detected in near real time and logged for future anaysis. You would not only need to hack the individual sensor signal, but you'd need to also know how to disrupt the MCS ladder logic that knows how to bypass a sensor putting out bad signals to keep the machinery system stable. Not an easy feat.
Personally, I mainly get involved in this data after the fact for energy optimization. However, the folks that design the systems complete Failure Mode and Effects Analysis (FMEA) in attempts to thwart failures and attacks at any concievable level. Still further, greater protection in terms of first line of defense firewalls and PKI certs between subsystems and components, making getting access to these bits int he first place increasingly difficult whereas these systems used to be virtually unprotected for any ding dong to tap into.
Sure, there are still holes, and probably always will be, but the efforts of MCS designers to protect their systems grows and the automation intelligence being developed to govern these control systems will provide an additional level of protection (and a known point of vulnerability).
The best way for a society to prepare is to have a few small incidents that put the safety systems to the test on a regular basis.
You can’t fake the system frequency like that. Anyone connected to the grid can observe/measure the system frequency trivially - you could do so right now at the nearest 10A socket. The attack you describe would require compromising large numbers of diverse, distributed generation and frequency response assets.
It would be like trying to fool everyone into thinking it’s a hot day by hacking every single thermometer!
That seems to be a quite different attack from something that causes a sudden outage.
When I was discussing the two interruptions (one on the 9nth and a smaller one on the 24th) with friends, I suggested that this could have been an attempt to map out UK's infrastructure/SCADAs, and they thought that my sandwich had too much consiracy sauce in it.
Remembering how Stuxnet interefered with Iran's nuclear centrifuges, this could very well be something similar. Just scratch it a bit, where it matters most, and let it sink on its own. No point blasting a huge hole in it.
But nothing is perfect, and whilst an edge case, space weather can and does wondrous things to pylons. It's planning for such outages and the layers of vulnerability in systems that such an event can expose in which you want top people on the case and planning around such exposures. After all, you don't want your fallback site all secure but nobody put the electric security doors on their own redundant power. Might end up with such doors opening automaticly and allowing anybody in, or not oipening and preventing access to the big red switch to failover onto some backup system. Things like that you just can't overlook.
But with power-grid distribution systems, their will always be a few weak points, case of if these three transformers suddenly went offline the cascade effect would be horrific. It's those cases you need to plan for. After all, 3 lorry accidents crashing into those transformers, whilst not very likely to happen at the same time - people win the lottery every week with much higher odds.
Is interesting as it highlights the importance of managed failure. Things fail, but the ability to see those failures and control how that fails is important. Had such an action not been taken, the result would of been a far greater outage/impact and more so an outage that you had no idea what parts it would impact.
The main gripe people and authorities have with what happened is that key infrastructures immediately lost power. When (only) 5% of demand is turned off this should not impact railways, airports, and hospitals.
Beyond the initial loss of power other problems amplified the consequences: For example, trains could not just restart but required specialist staff to attend each of them to get them through a specific procedure, which turned a short power loss into hours of delays.
This highlights the importance of looking at systems globally. The grid is just one part of the system.
* the railways didn't have traction power disconnected -- but one type of (new) train saw the within-specification frequency drop, shut down, and in many cases needed a fitter to go out and restart it. Everything else behind a dead train was stuck. I imagine the train company are discussing this with their supplier...
* Ipswich hospital had a power outage, but that was because their own systems disconnected from the grid when they saw the frequency drop, and then they had a problem with one of their generators.
*One regional airport seems to have been accidentally not on the list of key sites not to disconnect -- sounds like an admin snafu, and has now been fixed.
None of these seem like "bad management" -- they are a collection of relatively minor, entirely unrelated, problems of the sort you're likely to run into if you have to activate an emergency procedure you haven't needed to use in a decade.
> None of these seem like "bad management"
They do seem like bad management because to me it looks like these issues were not taken seriously.
> problems of the sort you're likely to run into if you have to activate an emergency procedure you haven't needed to use in a decade.
That's bad management right there if an organisation's emergency procedure has been collecting dust for a decade.
It helps prevent the grid tipping into catastrophic shutdown when there's no backup generation left, or something major has tripped, as part of demand management. If it hadn't happened the consequences would have far more headline-worthy.
Railways, hospitals and the like that encountered issues were part of "the rest". That is not part of the 5% turned off, but the small part of the 95% "rest" that can't cope with some (larger than usual) drop of frequency. If they're buying trains that can't cope with a frequency slump or backup systems that aren't tested that's outwith grid control. That's a sign their systems need to be improved, and tested properly too.
Thing is, a solution today might not be best for tomorrow as the grid's usage is not static, new this and that are added so the impact changes.
It is interesting that you mention the inability for trains to restart. That was educational and was due to some new trains and showed that the drivers did not have the skills to in effect - reboot the trains from a cold start. So less a grid fault and more a case of that it never happened before so the result was less prepared. Interestingly the previous generation of trains did not have this issue, which may explain why it got overlooked as something that needed attention until such an event like this.
As for hospitals, they all have backup generators, though if that generator fails to kick in as was the case in one I read about, that can and will cause issues. Again, may be a case of never needing it before and the combination of that and regular checks/tests presented the problem.
Remember - nothing is perfect, and many lessons (as with any outage in all walks of life) will be learned from this as with all previous outages. But equally have to remember that whilst you can have the same combination of events happen in say 5 years time and have a response that works for that combination learned from the last time. Things change, like that new housing estate attached to the grid, small nuances like that could change everything or nothing. You just don't know. Heck, could be newer issues, suddenly find that you have thousands of electric cars being charged at the time you cut them off now feeding back small amounts of electricity back into the grid as they never expected to loose power without a physical disconnect.
This blackout made a lot of noise because of this (apart from the actual disruption, obviously).
Though the swappable battery charger offerings do seem to be more suited in accommodating such avenues and removes the worry of battery lifetime cycles from the owners. Worry that their car acts as a grid battery for a month when on holiday and reduces it's life beyond the cost of saving. So will be a case of getting the balance right. Hence I feel the swappable battery offerings may be at an advantage here and opens up making such solutions more cost effective to run.
12 * ln 50 / ln 2 = 67.7
12 * ln 48.8 / ln 2 = 67.3
[0] https://en.wikipedia.org/wiki/Northeast_blackout_of_1965#Rad...
I'm not sure if the grid is already doing this, but they should trigger failures randomly, including Low Frequency Demand Disconnection schemes from time to time to ensure that all downstream systems are also ready (like the hospital someone mentioned that had an issue with the backup generator, or the trains that stopped working when the frequency failed). A bit like caos monkeys in dev environments.
The question is: Should we cat power to 5% of the customers now, or let the whole electrical grid stall, resulting in zero power for anyone.
Netflix also would never intentionally break my FireTV box, which I use to watch Netflix, just to ensure that I have a backup in place (which I don't, because I don't care THAT much about Netflix availability).
[edit] Now that I think about it...the purpose of the Netflix server farm is also to provide reliability to the customer, so it's actually comparable to a certain degree. It's just that the possible outcome of a mitigation failure in the Netflix server farm is limited to some people not watching Netflix for a few minutes, while the possible outcome of a power outage even for residential customers are usually far worse, let alone industrial or health customers. This allows Netflix to take the limited risk of intentionally breaking internals in their infrastructure, because the worst that can happen is them having to excuse themselves to some customers for a service interruption. Also, no one expects them to submit a report describing how it came to those interruptions, so they don't need to admit that they were the result of intentional self-inflicted disruptions (which sounds really crazy and irresponsible to pretty much all consumers out there). With electrical grid operators, the stakes are infinitely higher, and they are legally required to investigate any bigger problems and report details about their origins to both government authorities and customers. And you can be sure that "oh we just intentionally dropped 5% of the network to see if we get a full blackout or if our failsafes work" would not be an acceptable excuse to any of these two.
Unfortunately, some quick research[1] suggests this isn’t the case, and actually it’s just a contractual obligation of the power companies to disconnect enough demand to bring power use back down. The amount they need to disconnect is banded by the frequency the grid is at, and apparently done at the substation level.
Some industries/applications such as infrastructure, hospitals, airports, etc, is supposed to be set up to never disconnect in these scenarios, but it seems this failed.
I wouldn't be surprised if we could do better in the volume of demand we could reduce on demand, especially with smarter technology, though. At some point the question is whether the extra complexity and infrastructure is cost-effective to avoid once-a-decade events on the scale of this one, which probably 90% of the UK would never have noticed unless they read the news...
It's also interesting to see the interplay of automated and manual systems in such a complicated scenario.
My understanding was that having reserves available within 30-60s was pretty expensive, and that that would have been what was used to handle the initial frequency drop (the interim report PDF says there was 1000MW of this). Drax's page on this (https://www.drax.com/technology/power-systems-super-subs/) says that even spinning reserve can be on the order of two minutes, and the next tier below that (STOR) is on the order of 20 minutes. So does anybody know what the 4000MW available within 60s but not called on was?
I don't meant to suggest that plants could ramp full within 60 seconds, it's that 4GW means there's a bunch of headroom, and that there was at least the physical possibility that dispatch instructions to increase generation/start-up (the reserves were "available") could have been sent out and plants could have started moving on an upward trajectory, creating even a few extra hundred MW of generation if many of the more flexible plants (gas, hydro) could increase their output even just a bit.
Here in Australia we dispatch on a 5 minute period, and there are some plants that are very slow moving and have to ramp over tens of minutes or hours, but moving grid-wide generation up and down many hundreds of MW within a 5 minute dispatch period is a common occurrence, and so this coupled with the relatively high amount of reserve makes me suspect it would have at least been physically possible to increase output and hasten the return to a normal operating frequency.
How you create both the systems and market structures/rules to oversee dispatch and coordination of something like that in a fast and automated way is very complex and infeasible to effectively do any time soon, but I think it's a system we should be thinking about and moving towards.
Overall though I'm just grumpy about the amount of manual, slow work that's still involved in grid operations (when we lose an inter-connector here in Australia it takes 3-15 minutes for the dispatch engine to become aware that there's no inter-connector anymore as it needs to be reconfigured manually).
Thanks for the article and comment!
Here's one of our plants in Canberra which is past 3MW now, and is the first of its kind to be approved to bid into our fast frequency stability markets (where you have less than a couple of seconds to respond). https://www.youtube.com/watch?v=36UJMuC9-k0
>"Synchronised and spinning-in-air emergency load pick-up rate from standby: 0 to 1,320 MW in 12 seconds" (https://www.electricmountain.co.uk/Dinorwig-Power-Station)
Electric Mountain are definitely used for frequency management. Again IIRC, they're the fastest response on the grid. If you get chance to do the tour (it's just below Mount Snowdon) I'd recommend it.
One quirk of synchronous generators is you can think of the whole grid like all of the generators in it are geared together. If demand rises, the torque on the generators starts to increase and if the power plants don't feed more mechanical power in then they will start to slow down in unison. Likewise their speed will increase as the demand drops. So the frequency is the main indicator of the health of the grid and so the grid operators will monitor it closely.
So I thought and then we had a multi week frequency shift in the EU and various clocks started lagging behind. This does show up for consumers as well.
So sometimes they will run slightly above target and sometimes they will let it run slightly below target. Ordinary daily demand cycles help.
The problem is mostly at the generation end. The electrical grid is essentially distributed transmission locking all the generators across country together. They will all rotate in sync at the same speed/phase, it might as well be a mechanical linkage.
The entire system is under too much load and the generators are all physically slowing down. Unfortunately the generators are all designed to operate over a very narrow frequency range. If the frequency continues to drop, the safety systems will kick in to protect the generator.
If the load isn't reduced, more and more generators will drop off the network and there will be less and less supply to meet the demand. The frequency will drop lower and lower. Eventually the whole network will drop to zero and nobody will have power.
It's basically the same thing as stalling an engine.
The emergency response kicks in not because 49 is innately very bad and 48 is some horrible evil by itself, it kicks in because if you do nothing, then in a few minutes you're going to see 40, 30 and the whole system is going to stop - or, more realistically, every connected subsystem (both generators and consumers) will have their emergency responses kicking in and either shutting down or automatically disconnecting from your system.
Though I'm not sure on the details of a frequency drop and impact upon your house in exacting details. Equally I'm not up on substations (did work on IT for large util company many decades ago, but not field engineering). But the first safety control from supply to the home, would be the distribution transformer and those back then had overheat protection. Also had a flag attached by wax at one spot, so if they did overheat and cut out for a while, you could visualy see that due to the flag being visible. But that was more a legacy solution that still prevailed into the 80's, unsure about now. But would not be supprised if such tried and tested things still take place as some form of backup monitoring. I learned about it after coding for a database that stored such records that had the field name SITESHIT, which was short for "SITES HIT", yes - you can see how that gave a young humble COBOL programmer a laugh. But it would be a count of how many times that wax flag had been triggered.
>"In Japan, the western half of the country runs at 60Hz, and the eastern half of the country runs at 50Hz – a string of power stations across the middle of the country steps up and down the frequency of the electricity as it flows between the two grids." //
That's, err, curious.
Heating elements (kettles etc), also don't care, and a lot of motors used in household items are universal motors[1], which will end up running at the same speed even as the frequency drops. Old alarm clocks do use the mains supply as a time reference though, so they will end up having the wrong time, as happened recently in the European grid [2].
For a transformer, efficiency decreases rapidly[3] with falling frequency. For household usage, transformers running directly on mains frequency are only used for linear power supplies (as opposed to the SMPS supply used earlier) which found in things like audiophile level power amplifiers (adds a nice bit of weight), so your Class-A amplifier may get even hotter.
The power grid uses transformers of course, to step down the several kV supply to the 240V used in the UK, and its possible that a big enough frequency shift could cause overheating of these from the decreased efficiency. I would be very surprised if they would not turn off if they got too hot though, it seems like a sensible thing to design in.
In short, not much for small changes, but the frequency is falling as there is more consumption than supply, so the supply gets turned off to decrease demand.
[1] https://en.wikipedia.org/wiki/Universal_motor [2] https://www.irishtimes.com/news/world/europe/clocks-in-25-co... [3] https://electronics.stackexchange.com/questions/23999/effect...
Generators are tech from, what, 2 centuries ago? Keeping them in sync sounds boring, just talk together. And then, under the surface, looms an incredibly complex problem about working at scale, having engineering, political, organizational aspects.
(1) A lightning strike creates a transient voltage on the grid.
(2) Some power generators remove themselves from the grid to prevent damage to themselves from the transient voltage.
(3) Now there is too much demand on the grid -- too many people using power and not enough generators to supply it. (The line frequency dropping indicates that supply and demand are not balanced.)
(4) So the grid operator begins to (deliberately) remove some people from the grid to keep the supply and demand balanced.
What's not clear to me is what would happen if you didn't do step #4.
The Wikipedia article about the northeast US blackout of 2003 is a very interesting read: https://en.wikipedia.org/wiki/Northeast_blackout_of_2003
Now imagine the water is suddenly turned into vegetable oil (more load has come on). It is more difficult to move. For a brief moment, your energy input is still the same but you can't push as much of the new liquid so your pace slows down a bit, to 58 steps per minute. You increase your exertion (add more energy input) and your pace climbs back to 60 steps per minute.
Finally, imagine that you're running as hard as you can. That 60 steps per second to push that vegetable oil is as much as you can do. But the vegetable oil turns to heavy cream (even more load). You've put in as much energy as you can but your pace falters and drops to 49 steps per second.
That's why the frequency falls.
Spinning up the generators, and keeping them spinning, takes energy on top of whatever the load is. If the load increases, but the input energy does not, the difference is robbed from the momentum of the spinning mass. This slows the generators down thus the frequency drops.
ELY not 5, but I'm no expert either: in terms of phase sources like generators lead [0] sinks, by an amount proportional to their over-production; so the more sunk, the less they lead, and the lower the frequency.
[0]: https://en.wikipedia.org/wiki/Leading_and_lagging_current