quebec-power-grid-talk
đ Quebec's 735kv power lines can survive the apocalypse, but can they run TCP?!
Project maintained by pirate
Hosted on GitHub Pages — Theme by mattgraham
Quebec's 735kv power lines can survive the apocalypse,
but can they run TCP?!
The challenges involved in designing and maintaining the most efficient power grid on earth,
and some of the lessons software engineers can learn from grid operators.
`#bangbangcon2020` `#virtualbangbangcon` `#electrical-grid` `#distributed-systems`
`#failure-analysis` `#safety-engineering` `#infrastructure`
Presentation Recordings
Slides
Description
Quebec built the worldâs first 735 kV power line in 1965, and was the highest-voltage, longest-distance network for decades before the rest of the world caught up. Even today itâs still seen as âbomb-proofâ by the rest of the world, and is often used as a model. But it wasnât always that wayâŠ
When a massive ice storm took down 36,000 power pylons overnight in 1998, Quebec had to rebuild and restart their power grid from the ground up. Letâs do some failure analysis and learn how big power systems around the world are designed to fail gracefully, and what happens when they donât. (P.S. TCP over power lines totally works)
Speaker Bio
Nick Sweeting is the co-founder of Monadical in Montreal, and his favorite bike paths all run under power lines. Heâs a Django developer by day, and rogue internet archivist / power grid investigator by night. He likes learning about how big systems fail, and thinks thyristor halls look neat.
Outline
- 1min: intro, photos of james bay project
- hydro quebec origin story, now it has 20,000+ employees
- mega dams near the arctic circle + big wires
- modern distinct grid regions of North America
- (Quebec & Texas = independent)
- 3min: technical overview of power systems
- High-voltage 3-phase AC / phased power systems
- old school: transformers and fuses
- modern: capacitors + thyristors + optic coupling
- grid electricity uses a whole different set of tools and math from micro eletronics
- frequency syncronization, phase balancing
- Hz = spinning kitectic energy in the system
- distance measuring by bouncing a pulse down the wire and timing each impedance mismatchâs reflected pulse
- 2min: HVDC, edison wins after all
- good for long distances grid connections with no step-ups / step-downs (Quebec sells lots of power to NY northeast USA)
- more efficient wiring, no skin effect
- rescue lifeline in blackout situations
- easier to control digitally (https://en.wikipedia.org/wiki/Static_VAR_compensator)
- 2min: theres a whole world of network chatter on power lines
- channels are coupled on and off with capacitors, like radio
- signals get attenuated by transformers / capacitative loss / radio transmission losses (aka pollution)
- AM radio band for home entertainment radio stations
- ~100-500kHz: OSGP, IOT, home automation, meter reading
- ~9-500kHz: DLC MAC ethernets with IPv6 at 576 kbit/s for grid contorl and meter reading
- â„ 1 MHz LAN: ethernet-over-power AC wall wart systems
- 2.4-6GHz BPL: long-distance broadband backhaul, but causes lots of interference because the grid is a massive antenna
- â„100 MHz transverse mode: long-distance >1 Gbit/s connections, but interferes with astronomy and lots of other stuff
- 2min: how does this carry over to software?
- modular pieces with industry-shared common APIs
- itâs a distributed system: time synchronization, leader election, back-pressure communication
- itâs a critical system: graceful degradation, load-shedding, split brain avoidance, and staggered restart procedures
- itâs an abstracted system: humans, politics, circular dependencies (âwe cant start the database without the auth server running firstâ == âwe cant start this natural gas power plant without grid power to spin up its compressorsâ)
Quotes & Images
Altogether the reservoirs created by the James Bay Project cover an area of 13,341 square kilometers - the largest bodies of water ever created by humankind. One of the reservoirs, Caniapiscau, is the largest freshwater lake in Quebec.
In addition to the six 735 kV power lines that stem from the James Bay Project, a seventh power line was constructed as an 1,100 kilometres (680 mi) northward extension of an existing high-voltage direct current (HVDC) line connecting Quebec and New England. This power line expansion was completed in 1990. As a result, the direct current power line is unique because there are multiple static converter and inverter stations along the 1,480 kilometres (920 mi) long power line.[8] It is also the first multiterminal HVDC line in the world. The ±450 kV power line can transmit about 2,000 MW of hydroelectric power to Montreal and the Northeastern United States.
The pylons and conductors are designed to handle 45 millimetres (1.8 inches) of ice accumulation without failure,[19] since Hydro-QuĂ©bec raised the standards in response to ice storms in Ottawa in December 1986 and Montreal in February 1961, which left 30 to 40 millimetres (1.2 to 1.6 inches) of ice.[50][51][52] This has led to the belief that Hydro-QuĂ©bec TransĂnergieâs electrical pylons are âindestructibleâ.[53] Despite being more than three times higher than the Canadian standard of only 13 millimetres (0.51 inches) of ice tolerance,[54] an ice storm in the late-1990s deposited up to 70 millimetres (2.8 inches) of ice.[19][51]
In the North American ice storm of 1998, five days of freezing rain collapsed 600 kilometres (370 mi) of high voltage power lines and over 3,000 kilometres (1,900 mi) of medium and low voltage distribution lines in southern Quebec. Up to 1.4 million customers were without power for up to five weeks.
The 1998 ice storm in numbers:
- Up to 1.4 million households without power
- Over three million people affected
- 3,000 km of transmission and distribution lines rebuilt
- 400 km of high-voltage lines rebuilt
- 1,500 towers replaced
- 17,000 poles replaced
- 4,500 transformers replaced
- 88,000 insulators replaced
Changing the transmission system to create loops to deliver power over more than one path:
- Creation of the 735-kV Montérégie loop and the 315-kV downtown Montréal loop
- rearranging the system between Québec and Trois-RiviÚres to create the Québec-Mauricie loop
- Reinforcing the supply to downtown Québec
- Integration of the new 735-kV Bout-de-lâĂle substation to the 735-kV greater MontrĂ©al loop
The Levis De-Icer is a High voltage direct current (HVDC) system, aimed at de-icing multiple AC power lines in Quebec, Canada. It is the only HVDC system not used for power transmission.
In the winter of 1998, QuĂ©becâs power lines were toppled by icing, sometimes up to 75 mm. To prevent such a damage, a de-icing system was developed.[1]
The Levis De-Icer can use a maximum power of 250 MW; its operation voltage is ±17.4 kV. It can be used on multiple 735 kV AC power lines. An ordinary 735 kV line with a bundle of four 1354 MCM conductors per phase, requires a de-icing current of 7200 A per phase.[4] At â10 °C and wind velocity at 10 km/h, it would take 30 minutes of current injection on a phase to melt 12 mm of radial build-up of ice.
Further Reading
Primary Sources, Press, Reference Material
- https://news.hydroquebec.com/en/press-releases/1313/twenty-years-ago-quebec-was-battered-by-an-ice-storm/
- https://www.compusult.com/html/IWAIS_Proceedings/IWAIS_2005/Papers/IW09.PDF
- http://www.hydroquebec.com/data/transenergie/pdf/2019-12-31-liste-centrales-privees-raccordees-reseau-hydro-quebec.pdf
- https://www.iso-ne.com/about/key-stats/maps-and-diagrams/#system-diagram
- https://www.iso-ne.com/static-assets/documents/2016/07/New-England-Geographic-Diagram-Transmission-Planning-Through-2026.pdf
- https://electricity.ca/wp-content/uploads/2017/05/CEA_16-086_The_North_American_E_WEB.pdf
- https://gotocon.com/dl/goto-aar-2013/slides/SebastianEgner_ProgrammingLanguagesAndThePowerGrid.pdf
- https://www.jamesbayroad.com/hydro/index.html
- https://openinframap.org/#9.14/45.5468/-73.7943 âïž (great map of all the power lines and substations)
Wikis
- https://en.wikipedia.org/wiki/Hydro-Qu%C3%A9bec
- https://en.wikipedia.org/wiki/History_of_Hydro-Qu%C3%A9bec
- https://en.wikipedia.org/wiki/Hydro-Qu%C3%A9bec%27s_electricity_transmission_system
- https://en.wikipedia.org/wiki/Timeline_of_Quebec_history
- https://en.wikipedia.org/wiki/James_Bay_Project
- https://en.wikipedia.org/wiki/James_Bay_Energy
- https://en.wikipedia.org/wiki/Robert-Bourassa_generating_station
- https://en.wikipedia.org/wiki/List_of_generating_stations_in_Quebec
- https://en.wikipedia.org/wiki/High-voltage_direct_current
- https://en.wikipedia.org/wiki/Quebec_%E2%80%93_New_England_Transmission
- https://en.wikipedia.org/wiki/Saint_Lawrence_River_HVDC_Powerline_Crossing
- https://en.wikipedia.org/wiki/Champlain_Hudson_Power_Express
- https://en.wikipedia.org/wiki/Levis_De-Icer
- https://en.wikipedia.org/wiki/Smart_grid
- https://en.wikipedia.org/wiki/Power-line_communication
- https://en.wikipedia.org/wiki/Hydro-Qu%C3%A9bec%27s_electricity_transmission_system#Electricity_pylons
- https://en.wikipedia.org/wiki/Nationalization_of_electricity_in_Quebec
Books
Contact me on Twiter @theSquashSH for corrections or suggestions!
If you liked this, check out our full-stack software development consultancy Monadical.com!
You're welcome to use content from or portions of the talk,
as long as you give credit to both this talk and the relevant primary sources I cite.