Producing electricity securely, safely, reliably and cheaply, has many challenges. Electricity is difficult to store in large quantities, so it usually has to be used as soon as it is generated. We also have a very low tolerance to any interruption in the electricity supply. Other challenges arise from the extreme interconnectedness of the electricity network, which means that a problem in part of the network quickly becomes a problem for the whole network. It turns out that the answer to many of these issues is Maths.

Your electricity bill will usually be given in kilo Watt hours (KWh) โ the amount of energy required to supply a kilo Watt for one hour (the rough average power consumption of a typical household). The annual consumption of electricity in the UK is about 360 TWh (a TWh is one Tera Watt hour, which is one billion kilo Watt hours), and is predicted to rise to 730 TWh in 2050. The peak demand is around 70 GW (at any one instant), depending upon the time of day and the day of the week.

### Complex networks

This electrical power is supplied over a network starting, usually, with power being generated at a power station. This is then transmitted over a high voltage network, before being reduced in voltage and distributed to commercial, industrial and residential consumers.

Each junction in a power network is called a *bus*; buses can
be power stations, factories, transformers, switches, points where the
network changes, and households. In principle there can be one bus for
every household, so there are up to 30 million buses in the UK. This immediately gives you
some idea of the scale and the complexity of the electricity supply
network.

Between the buses there are connections, such as the high voltage cables that we see proudly marching across the countryside. The cables carry current between the buses, which is kept low by having a high voltage. This is because voltage is inversely proportional to the current for constant power, as where is power, is the voltage, is the current. Low current leads to much smaller power losses, which is why high voltages are used.

At each bus the network needs to supply a certain amount of power. How much depends upon the usage at that bus: for example the requirements for a factory would be very different for that for a household.

To describe the electricity network mathematically, number each of the buses in the network with an index . Then we can write for the voltage at the th bus. This voltage is written as complex number, as we saw in a previous article, in order to give two pieces of information: the amplitude and the phase of the waveform of the voltage (the frequencies of the voltage and current waveforms are always a constant 50 Hertz).

Each bus will in turn be connected to many other buses in the network. Typically a current (again a complex value) will flow between the buses labled and in the network. The power of this current flow is given by

(1) |

*complex conjugate*of the current. (For a complex number , the complex conjugate is ). The total power at the th bus is then the sum of the power for all the connections from this bus to other buses in the network:

(2) |

*real power*, which is the power which does work, such as heating your home. In contrast , the imaginary part of the complex number, is called the

*reactive power*. The real power averaged over a complete cycle of the AC waveform results in net transfer of energy in one direction. The reactive power is that portion of power due to stored energy, which returns to the source in each cycle.

### Easy as *ax*^{2}+bx+c

^{2}+bx+c

Electrical engineers take all of the power into account when designing and operating power systems, because although the current associated with reactive power does no work at the load, it still must be supplied by the power source. Failure to provide for the supply of sufficient reactive power in electrical grids can lead to lowered voltage levels and under certain operating conditions to the complete collapse of the network and a power blackout, as we saw in the last article.

If the voltage difference between two buses is then the current flowing between them is given by Ohm's law. In
particular there is (another) complex quantity called the
*conductance*, , which allows us to calculate the current

(3) |

We can now combine the three equations (1),(2) and (3) to find that the total power supplied to the th bus is given by the expression

(4) |

(5) |

The important equation (equation 5) allows us to work out the voltages at each bus which are needed to supply the desired amount of real and reactive power. Take a look at it. It is nothing other than a large collection of a type of quadratic equations that describe the voltages.

We can understand the complex behaviour of the grid by looking at the complex solutions of quadratic equations. It is worth noting that an attempt was made a few years ago to stop the teaching of quadratic equations at school on the grounds that they were totally useless and would frighten the students! (More details of this debate are given here.) However, we need to solve quadratic equations if we want to keep the lights on!

### About this article

Chris Budd.

This article is adapted from one of Chris Budd's Gresham College lectures, part of a series called *Mathematics and the making of the modern and future world*. The lectures take place in London, are aimed at a general audience and free to attend.

Chris Budd OBE is Professor of Applied Mathematics at the University of Bath, Vice President of the Institute of Mathematics and its Applications, Chair of Mathematics for the Royal Institution, Gresham Professor of Geometry, and an honorary fellow of the British Science Association. He is particularly interested in applying mathematics to the real world and promoting the public understanding of mathematics.

He has co-written the popular mathematics book *Mathematics Galore!*, published by Oxford University Press, with C. Sangwin and features in the book *50 Visions of Mathematics* ed. Sam Parc.

*This is the last of three articles in this series โ you can read more in part i and part ii.*