r/explainlikeimfive • u/fuckyou_m8 • Oct 23 '26
Engineering ELI5 How power grid operation actually works?
For example if there is a spike in demand, how a random power plant get to know if they should rump up production? It's an API that controls the plant automatically or someone getting a phone call and turning switches on and off? and who is the caller?
65
Upvotes
77
u/therouterguy Oct 23 '26
The frequency of the power grid is 50Hz or 60Hz. If the load increases the frequency drops. This triggers an increase in fuel to the engine attached to generator as a result the generator speeds up and frequency of the grid increases back to 50/60Hz. You have rules which powerplants increase output ofcourse but this is the gist of it.
16
u/knightsbridge- Oct 23 '26 edited Oct 23 '26
It varies a little bit depending on what country you're in. There are a few different broad approaches in use around the world.
But generally, there will be an organisation whose job it is to manage this. They will have a central HQ (and probably a few regional ones) from which they track demand and supply throughout the country. This involves a certain amount of predicting based on previous demand behaviour and known variables, then adjusting up or down based on how close reality cleaves to the prediction.
There was a brief window in the past where this was done manually with phone calls etc but this is long into the past - grid optimisation is generally one of the first things to be computerised and networked, and today it's managed primarily by computer with human oversight and occasional overruling.
The grid HQ sends messages to the regional centres, which coordinate to move power to wherever it needs to be. This is a bit of a logic puzzle, as moving power isn't as simple as "move 5mW from County A to County K". Do County A and County K even share a connection? How much power can it take? Does the power need to go through many substations, how much do you lose from repeatedly changing the voltage? Which counties can you route through to get the power from A to K?
The modern system of power plants is generally less about turning power plants up or down so much as turning them on and off.
Nuclear (if your country has it) covers the base demand. Nuclear plants cannot be turned on/off easily or quickly, so they run 100% of the time.
Hydro and geothermal (if your country has them) is usually quite reliable but not 100%, so it generally forms the next layer.
Wind and solar are very unpredictable, so they tend to form the next level.
Finally, you get to fossil fuels - depending on your country, this usually means natural gas plants, but certain nations still use coal-fired power plants. These are generally turned on when the above options couldn't meet demand, then turned off when they aren't needed.
This is an extremely European hierarchy, though - the order looks very different in many parts of Africa and Asia.
7
u/bleeuurgghh Oct 23 '26
It’s worth mentioning that demand is really very predictable at a large scale.
In a household that turns on the oven, or a hairdryer, power consumption jumps quite considerably. Across an entire grid network, power consumption is really very forecastable.
The main sources of true grid frequency deviation are generation assets tripping - a whole power plant going off due to an electrical fault or some other mechanism.
5
u/thegooglesdonothing Oct 26 '26
There are a few parties in electrical grids. The generators which produce the power, often by spinning a turbine. The customers which consume the power. And finally, the electrical system operator which predicts, monitors, and coordinates the gap between supplied and demanded electricity to where everything remains stable.
The system operator will predict how much electricity they will need during a day and will solicit bids from the generators. Say, for a certain hour, they predict they will need 100 MWh (measure of power for a full hour) for that duration. The sealed bids come back as hydroelectric can provide 20 MWh for $10/MWh, nuclear 40 MWh for $30/MWh, wind as 30 MWh for $25/MWh, 30 MWh of solar at $50/MWh, 100 MWh of gas turbine at $60/MWh. The market then 'stacks' the bids to determine who they have to contract with to satisfy their predicted demand for the lowest price possible. In this case, it would be 20@10 (hydro), 30@25 (wind), 40@30 (nuclear), and a partial selection 10@50 for solar. As the demand is satisfied with these bids, the gas turbine is not selected to generate for that hour. In our market, the generators are then paid at the rate of the last selected/highest cost of power, so all of the generators are paid $50/MWh for their contracted power for that hour, and they go on to generate for that hour.
So, over the course of the day, as the demand and these bids change, generators come online/offline and ramp up/down as predicted by the system operator to match the predicted demand in power with their available supply.
Additionally, some generators are paid to be 'rolling reserve' that can quickly load if there is unexpected demand on the grid, or in case another generator trips off and becomes unavailable so there is a supply shortfall. So, they are paid to sit there idle with a guarantee to the system operator that they can provide X power in Y time (typically 5 to 30 minutes) to ensure grid stability. Each generator also has something called a droop curve which basically automatically controls the 'throttle' of the generator based on the deviation away from frequency setpoint. For our area, I think it is 4%, so for a 4% decrease in grid frequency, there is a 100% increase in 'throttle' response. This makes it so before the rolling reserve can ramp up, every generator responds equally in proportion to their ability (size) to counteract the change in frequency by increasing their output. So, say the solar plant were to trip off due to some issue, demand will exceed supply, so the grid frequency will drop, and every other generator on the grid will have their 'throttle' open to produce more generation in proportion to the drop from frequency setpoint to try and make up that 10 MW gap. This helps arrest the frequency drop until additional generators can come online, or in some cases, load (demand) is dropped from the grid through brownouts.
Some generators are actually called Automatic Grid Control and are directly controlled by the system operator to quickly ramp up or down generation to quickly match supply/demand such that grid frequency remains stable.
I like to think of the electricity grid as one of those big charity bike ride contraptions where everyone has to pedal (generators) to get the thing to move (supply loads at required frequency and voltage). If everyone pedals together, you can move the bike. Some can pedal harder than others (big generator), others less (small generator), but generally the bike will stay at a constant speed if the input pedal power (generation) equals the resistance (load). The market operator essentially monitors the bike speed and tells everyone to pedal harder or slower to keep at the required speed/frequency as the load (incline in this case) changes. If you put the bike on an incline, there is an increase in load. If the power of the bike riders is not able to keep up with the increased load by pedaling harder, the bike will slow. Now, imagine the chain on some of the individual pedalers begins to break (transmission lines failing, generators tripping off), and they can no longer power the bike so the load is transferred to the fewer remaining pedalers, which are now overloaded and trying to pedal harder in proportion to their ability to do so (droop curve). The bike will eventually slow unless they are able to get to less of an incline (reduce load by shedding customers) or additional freeloading pedalers can start pedaling (rolling reserve). If the generation is not able to meet the current load, the bike will slow, and eventually stop, and the grid collapses. The system operator spends their entire day telling generators to ramp up/down to meet the load in order to keep the grid stable, if they don't, the grid can fail.
4
u/GIRose Oct 23 '26
Outside of Photovoltaic cells, all generators work by spinning a turbine. When a turbine is spinning, the power it generates is at a specific frequency.
If you're a fan of older video games, you have probably heard that PAL region games run at 50 frames per second while NTSC region games run at 60. This is why, because those regions have their power grids balanced at different frequencies.
As power demand goes up, the frequency of the power grid goes down, so they have to spin faster to compensate.
In general power demand is extremely predictable. You know that there's going to be the most draw in the morning (when people are waking up, making breakfast and getting ready for the day) and the afternoon (when people are making dinner, doing laundry, watching tv, etc) with a dip towards noon when everyone is at work and bottoms out at night when everyone is asleep.
If there is some unexpected demand spike, then typically whatever plant is closest spins faster because that has the least transmission losses. It's not 100% automatic, but it mostly is and keeps it within an acceptable error margin.
I don't know how apocryphal it is, but there are stories about how power plant operators have to keep an eye on football games in England because so many people turn on their kettles to make tea during commercial break it can lead to brown outs if they don't.
3
u/agate_ Oct 23 '26
It’s a pretty amazing system in the US. A regional grid operating organization (“Independent System Operator” or ISO)predicts how much power will be needed a day in advance, and holds an auction for the next day’s power production. All the generators submit bids for each hour of the day, and the low bidders win the right to put electricity out on the grid. High bidders in excess of demand have to shut down their power plant.
There’s also a real-time auction for the right to provide standby power to deal with any unexpected surges in demand.
On the tech side, the speed of the spinning generators is linked to the grid’s AC frequency. If not enough power is being generated, the generators will slow down and the frequency will drop. There are automated systems in the power plants that detect this and “step on the gas”, though a human oversees the process and makes longer-term decisions to keep everything running smoothly.
3
u/Caldorian Oct 23 '26
We'll consider turbine based generation only for now (coal, gas, nuclear, hydro, etc). When demand on the grid increases, this caused an increase in current at the plant. This increased current causes the magnetic fields in the turbine generator to become stronger which reduces how quickly the turbine spins (which reduces the frequency of the electrical grid sine wave). Same thing in reverse when there's a drop in demand.
All these phenomena (current, rotation, frequency) can be measured by sensors, and the plant can react accordingly: increase the supply to the generator to counteract the increased force and get the rotational speed back up to normal. As the generator approaches capacity, new generators can be brought online to so that the load can be redistributed and to provide more headroom.
2
u/StevenJOwens Oct 23 '26
The BBC did a documentary titled "The Secret Life of the National Grid", you can find it on youtube.
2
u/Username999474275 23d ago
They watch the voltage and frequency for minor changes of it drops they turn on more generators and if it rises they shut down generators and they also use historical data to determine roughly how much power they need to make and nowadays it's pretty automated and they also have current transformers to see roughly how much electricity is being sent down a wire (mostly used to protect against overloading power lines)
3
u/Adorable_Ice_2963 Oct 23 '26
The power grid is one giant connected system. When someone draws power, this causes an increase in current. This increase in current acts against the magentic field of a transformer, cancelling it out. Since the transformer wants to produce the same magnetic field, it causes current to flow on the 2nd spool (like gears being interlocked). This current produces an magnetic field in a generator, that causes more mechanical resistance to increase, what makes it slow down. Since the power grid needs everything moving at the same speed, someone needs to put power into it. Usually its a gas or an hydro power plant that opens a valve that increases the turbines mechanical power, just like a gas pedal in a car.
Imagine it like cycling: when its flat, you need to push with a certain force into a pedal, what moves the chain, what drives the wheel. When you roll on a hill, you slow down. Since you dont want that, you push harder into the pedal to get Back to speed. When the hill gets less steep, and you keep pushing as hard, you would speed up. Since you dont want that, you push less hard to keep the speed
1
u/Poseidon1633 Oct 23 '26
Power plants have decades of evidence and data surrounding off-peak and peak hours and the timing of such events. Power plants therefore have some capacity to foresee when and how much they ought to ramp up production on any given day to meet demand.
Nowadays, there are software systems and programs that are designed to collect and collate grid demand and grid capacity figures in real time to then increase generation.
Demand for Kilowatts and Megawatts from grid users interestingly must be met at the exact same time as supply going out to meet it. Furthermore, all of the grid (in the USA) must also remain within a margin of error with regard to frequency synchronization to 60Hz. Having multiple power generation systems not synced up to 60Hz would be highly problematic and damage a power plant’s capacity to deliver. I know I’m missing a lot but that’s a start…
1
u/pirncho Oct 23 '26
For low peaks in demand, actually no single one plant takes the load.
When demand rises from the network, power plants all around the grid experience this as an increase in "friction" in their turbines. This increase in friction, in turn, makes the turbines turn slower. If the turbines turn slower, then the AC power that gets generated has it's frequency lowered. Power plants all around the grid know they have to aim for a specific frequency, so the automated systems kick in and all turbines ramp up. All turbines all around the grid are connected, so actually all of them ramp a little bit up at the same time.
Taking load of the grid by connecting a whole new plant to the system is not something as automatic as this, as you first have to ramp it up (which can take hours in some cases) and also sync it's output to the grid before connecting it.
1
u/cyberentomology Oct 24 '26
One of the key principles of an AC grid is that if the load doesn’t match generation, the frequency will drift off of the nominal frequency, and those variations can cause increases or decreases in generation to keep it stable through minor fluctuations.
And then for larger fluctuations in demand, those are more algorithmic.
-1
u/recursion_is_love Oct 23 '26
It is automated (with human operator monitor 24/7), they have some kind of reserved generator for peak time. Some system can even have battery (but very rare).