row upon row of wires attached to computer units and fans sit on warehouse shelves. A lone man stands at the far end of these machines.

If they just kept on mining, they would have made millions of dollars in profits, but they didn't. It is thanks to power purchase agreements signed with the local grid that they are able to sell electricity back to the provider.

The multiple times it shut down its mining rigs resulted in an estimated $9 million in power credits. This was more than what the company was able to sell that month. Net proceeds were just $5.6 million, according to the company's page. A year ago, the company said it had produced 444 bitcoins, worth about $16 million at the time, before the price of BTC spiked.

The net profit proves that the companies are still going to keep on with their operations despite the downturn in the market. The graph shows that kilowatt hours peaked in the beginning of June but then tanked over the course of the summer. The line is starting to inch up once again, and it is still way above U.S. energy consumption.

Riot Blockchain included this handy graph to show they made a net profit thanks to their power purchase agreement with ERCOT.

Businesses were asked to power down in order to save electricity. During times of peak demand, Riot reduced power multiple times. Riot remains the largest token miner in the Lone Star State even though many of the large-scale mining operations have cut activity in order to not overtax the grid.

This past month, there was a 28% decrease in the amount of the digital currency produced. The companies agreed to shut down the grid in order to preserve it, but they weren't scaling electricity prices during peak times.

One or multi-year arrangements are possible with these power purchase agreements. In a phone interview with Gizmodo, the president of the TexasBlockchain Council said that only a few of the biggest miners have thesePPAs. Riot can take advantage of the need to curtail power while other miners have to do it.

The TexasBlockchain Council promotes the many cryptocurrencies in the state. The flexible load that can ramp down during peak times is what makes thesePPAs a good deal.

The mining operations are expected to draw more people. According to the grid system of Texas, there will be six gigawatt-demand on the grid by next year. The seven largest rigs in the US draw power equivalent to all the homes in the city of Houston, according to Congressional Democrats. Over time, these miners are expected to become bigger.

When the local price of power on ERCOT's grid broke above $180 per megawatt hour, most of the Texas mining operations voluntarily shut down operations. Shutting down made costs and revenue zero out, but the lost opportunity for many of these companies was in the hundreds of thousands or even millions, depending on the price of digital currency.

Will this occur again? The August heat is expected to be more above average. Texas is one of the places where the temperature could go above historical averages. Riot has pursued low-cost, large-scale access to power under its long-term power contracts, according to the release.

Most of the agreements allow companies like Riot to keep selling unused power if it makes sense to shut down. Even if we get more extreme heat, the miners will still dig for gold.

At 8:45 a.m., there will be a new update. The nature and time period ofPPAs have been changed.