The more terrifying fact is that the scenario described in the novel has already partially happened in the real world.
* New Clues Show How Russia’s Grid Hackers Aimed for Physical Destruction
> Russian hackers planted a unique specimen of malware in the network of Ukraine's national grid operator, Ukrenergo. Just before midnight, they used it to open every circuit breaker in a transmission station north of Kyiv. The result was one of the most dramatic attacks in Russia's years-long cyberwar against its western neighbor.
I read that book, it is good, there is a good presentation about how difficult it would be to do that in reality, based on the same source that the book used:
* New Clues Show How Russia’s Grid Hackers Aimed for Physical Destruction
> Russian hackers planted a unique specimen of malware in the network of Ukraine's national grid operator, Ukrenergo. Just before midnight, they used it to open every circuit breaker in a transmission station north of Kyiv. The result was one of the most dramatic attacks in Russia's years-long cyberwar against its western neighbor.
https://www.wired.com/story/russia-ukraine-cyberattack-power...