It might be too early to say what is the exact cause of India's latest massive power outage, but in its simplest form, it probably has something to do with supply and demand - not enough of the former and too much of the latter.
The outage, which left more than 670 million of the country's 1.2 billion people without power, snarled traffic, shut down electric trains and idled some businesses. Indian officials say they are rapidly restoring power, but it's unclear how soon the situation will be back to normal.
"In India, the power (demand) so far outstrips the supply locally and building new infrastructure is a huge issue," says Anjan Bose, an electrical engineering professor and power grid expert at Washington State University.
"The problem has gotten more acute in terms of building enough supply. The transmission has generally kept up, but the building of new power plants has not," he says.
Regular localized outages, known as load-shedding, are common throughout India, as power grid controllers are forced to make cuts to keep the system in balance. As a result, many businesses, hospitals and airports use generators to make up the temporary shortfalls.
Amin Massoud, a senior member of the Institute of Electrical and Electronics Engineers and professor of electrical engineering at the University of Minnesota, has studied India's power system first-hand. "In a big city like Bangalore, you have a half-hour to 45 minutes of load shedding every day," he says.
And the problem comes even though 40 percent of residences in India have no electricity at all, according to The World Bank.
A big part of the inability to keep up with demand is the massive losses experienced in India's transmission and distribution network as a result of illegal connections, Massoud says.
"You walk down the street and it's like a bowl of spaghetti," he says, referring to the mass of wires on electrical poles that result when the illicit drops are installed. "Sometimes residents and businesses will bribe a local technician to climb up and install a wire. Sometimes they'll go up and do it themselves."
In some Indian states the power loses on high-voltage transmission lines are as high as 50 percent because of the theft, Massoud says. This year, the supply problem is made worse by a weak monsoon that has robbed hydroelectric generators - which supply a quarter of the country's electricity of the water they need to work at full capacity, he says.
So if the system was already stressed from having to redirect lots of power from one place to another to match supply and demand, it wouldn't necessarily having taken much to trigger such a widespread outage.
"Control of the electricity grid is very different than for telephone or transportation, for example," Massoud says.
"From an engineering perspective, a small change can produce a big problem," he says.
Although Indian officials have raved about the country's grid, Massoud thinks it has a long way to go. For example, India needs better control systems to be able to rapidly change the resistance of its transmission lines, technology that has not been widely used in India.
Fixing those problems will take large amounts of investment and a crackdown on power theft, two things that are difficult to square with one another, he says.
"Right now, India is highly reliant on coal-fired generation but the quality of its domestic coal production is poor and it relies heavily on imports," says Candice Dunn, an industry expert at the U.S. Energy Information Agency.
"They are trying to ramp up on gas generation," she says. "Domestic and international investment would help, but how long that might take is anyone's guess."