All Projects → pirate → quebec-power-grid-talk

pirate / quebec-power-grid-talk

Licence: other
🎭 Quebec's 735kv power lines can survive the apocalypse, but can they run TCP?!

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to quebec-power-grid-talk

Rsock
The best companion of kcptun
Stars: ✭ 242 (+680.65%)
Mutual labels:  tcp
musicboy
A high-quality audio playback cartridge for Nintendo® Game Boy® and Game Boy Color®.
Stars: ✭ 25 (-19.35%)
Mutual labels:  bangbangcon
okhoxi-serac
冰塔协议-传输层协议
Stars: ✭ 33 (+6.45%)
Mutual labels:  tcp
Unitysocketprotobuf3demo
主要实现了用Unity对接了Leaf服务器。其次带了些小工具。
Stars: ✭ 244 (+687.1%)
Mutual labels:  tcp
squanchy-flutter
Flutter implementation of the Squanchy conference app
Stars: ✭ 56 (+80.65%)
Mutual labels:  talk
Packet Sender Mobile
iOS and Android version of Packet Sender
Stars: ✭ 58 (+87.1%)
Mutual labels:  tcp
Go Http Tunnel
Fast and secure tunnels over HTTP/2
Stars: ✭ 2,786 (+8887.1%)
Mutual labels:  tcp
nxdk-rdt
Remote Dev Tool is a tool to remote control an Xbox using memory access and RPC
Stars: ✭ 23 (-25.81%)
Mutual labels:  tcp
captcp
A open source program for TCP analysis of PCAP files
Stars: ✭ 110 (+254.84%)
Mutual labels:  tcp
go-eventserver
A socket server which reads events from an event source and forwards them to the user clients when appropriate
Stars: ✭ 18 (-41.94%)
Mutual labels:  tcp
effective-code-review
Presentation about my process for making code reviews as effective as possible
Stars: ✭ 63 (+103.23%)
Mutual labels:  talk
hilo
Home Assistant Hilo Integration via HACS
Stars: ✭ 72 (+132.26%)
Mutual labels:  hydro-quebec
SierraChartZorroPlugin
A Zorro broker API plugin for Sierra Chart, written in Win32 C++.
Stars: ✭ 22 (-29.03%)
Mutual labels:  tcp
Modbus.net
A high extensible hardware communication platform using C#
Stars: ✭ 244 (+687.1%)
Mutual labels:  tcp
MQTTnet
MQTTnet is a high performance .NET library for MQTT based communication. It provides a MQTT client and a MQTT server (broker). The implementation is based on the documentation from http://mqtt.org/.
Stars: ✭ 3,309 (+10574.19%)
Mutual labels:  tcp
Tcptracer Bpf
eBPF program using kprobes to trace TCP events without run-time compilation dependencies
Stars: ✭ 240 (+674.19%)
Mutual labels:  tcp
missive
Fast, lightweight library for encoding and decoding JSON messages over streams.
Stars: ✭ 16 (-48.39%)
Mutual labels:  tcp
Modbus-STM32-HAL-FreeRTOS
Modbus TCP and RTU, Master and Slave for STM32 using Cube HAL and FreeRTOS
Stars: ✭ 272 (+777.42%)
Mutual labels:  tcp
iroko
A platform to test reinforcement learning policies in the datacenter setting.
Stars: ✭ 55 (+77.42%)
Mutual labels:  tcp
netxduo
Azure RTOS NetX Duo is an advanced, industrial-grade TCP/IP network stack designed specifically for deeply embedded real-time and IoT applications
Stars: ✭ 151 (+387.1%)
Mutual labels:  tcp

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.


First slide of talk

#bangbangcon2020 #virtualbangbangcon #electrical-grid #distributed-systems
#failure-analysis #safety-engineering #infrastructure

Talks

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

Wikis

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.
Creative Commons License
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].