Hacker News

Top stories

Live mirror
30 storiesupdated just nowView source snapshot
  1. Nvidia announces native GPU programming in Rust(nvidia.com ↗)
    137comments
  2. Training a 4B model to produce 81% faster query plans than Postgres(rohanbansal.com ↗)
    86comments
  3. Xiaomi Mimo 2.6 live post-training dashboard(xiaomi.com ↗)
    76comments
  4. Breaking the 1.58-bit Barrier for Ternary LLMs(arxiv.org ↗)
    21comments
  5. Backups Aren't Simple(filipovski.net ↗)
    48comments
  6. Small programming tricks(will-keleher.com ↗)
    187comments
  7. Developing provably correct Rust code with Verus(amazon.science ↗)
    2comments
  8. The engineering behind the US Strategic Petroleum Reserve(johnjwang.com ↗)
    45comments
  9. DeepSeek-v4.1 Flash: Pushing the Limits of KV Cache Compression(zartbot.github.io ↗)
    discuss
  10. OpenSpec – A lightweight and configurable AI spec framework(openspec.dev ↗)
    32comments
  11. The Return of Sail Power: Cargo Ships Are Turning Back to the Wind(gcaptain.com ↗)
    5comments
  12. Performance Improvements in .NET 11(devblogs.microsoft.com/dotnet ↗)
    39comments
  13. Reversing Factorio's RNG(gegell.github.io ↗)
    20comments
  14. Part-human part-mouse brain developed in science breakthrough(bbc.com ↗)
    discuss
  15. HarnessTax: How Much Does the Harness Matter for Coding Agents?(harnesstax.github.io ↗)
    16comments
  16. Japan's book scene is moving from bookstores to libraries(untranslatedjp.substack.com ↗)
    49comments
  17. Show HN: An e-ink frame that hears birds and draws them as 1800s illustrations(github.com/arnegiacomo ↗)
    240comments
  18. Pangram – AI detector for text and images(pangram.com ↗)
    discuss
  19. AWS says it can't restore some data from mideast facilities struck by Iran(wsj.com ↗)
    226comments
  20. Australia says it could follow Canada in forging deeper ties with EU(independent.co.uk ↗)
    119comments
  21. Anecdotally, programmers dislike "reduce"(evanhahn.com ↗)
    169comments
  22. Reverse-engineered Jev-like model(github.com/vinnylarouge ↗)
    13comments
  23. Mapsnap: Automated Georeferencing for Historic Sanborn Insurance Maps(danvk.org ↗)
    discuss
  24. Dream-RSI: Recursive Self-Improvement through Evolving Worlds(arxiv.org ↗)
    49comments
  25. Anatomy of a Texture(agentlien.github.io ↗)
    14comments
  26. Why Does the Universe Expand?(cosmicave.org ↗)
    23comments
  27. The DeepMind Institute(deepmind.com ↗)
    47comments
  28. Accurate Models of AMD Matrix Cores(arxiv.org ↗)
    8comments
  29. Hackers Got Inside a Flock Camera(wired.com ↗)
    224comments
  30. Monsanto's Cruel, and Dangerous, Monopolization on American Farming (2008)(vanityfair.com ↗)
    1comments

The engineering behind the US Strategic Petroleum Reserve

120 pointsby 1d agojohnjwang.com
41 comments
3h agoHN ↗

Very cool, big fan of these bite size explainers. Has there been more cycling recently? Are the sizes of the caverns tracked anywhere?

3h agoHN ↗

id imagine if you have the location of a site that the largest pipes visible from satellite photography would be consistently scaled in some manner with the tank size. this is guess

2h agoHN ↗

Funnily enough, I guess the more you cycle them, the bigger they get until they just collapse. So you have a lot of potential storage just before you have none.

3h agoHN ↗

Makes you appreciate the physical infrastructure challenges, not just software. Bet the data logging and monitoring systems are ancient but robust.

3h agoHN ↗

Yea man the federal government is on top of protecting civilian groundwater supplies and communicating discoveries of contamination

1h agoHN ↗

I know you jest, but the US govt funds a lot of water science. Whether that's put to use in the public interest is another question ofc and one we should be asking

3h agoHN ↗

An interesting aside is that the process for making these salt domes is also used for mining salt. Drill a hole, pump water down, and up comes brine. The brine can be used as a chemical feedstock, e.g., for production of things like chlorine, sodium hydroxide (lye), and sodium carbonate for glass.

3h agoHN ↗

Salt contains the oil and helps seal small fractures. The rock salt surrounding the SPR’s caverns has extremely low permeability, meaning fluids have very little ability to pass through it. It also doesn’t react with petroleum. Under enormous pressures underground, salt also slowly deforms, which helps close small fractures. The salt itself can therefore contain the oil without a steel-and-concrete tank lining the cavern.

Oil floats on water, which means pumping water into the bottom of the cavern pushes the oil out. As fresh water is pumped into the bottom of the cavern, the oil gets displaced upwards into a delivery system.

The more water you pump in, the lower the quality of the oil that's pumped out; we are basically loaning the oil refiners money to buy SPR oil they don't really want. Also, the more water we pump in, the more salt leeches into the water and the more the bottom of the chamber deforms, creating shear forces in the upp walls that lower its overall structural integrity.

I've posted this before; it's a recent report on the status and maintenance of SPR facilities, which is very clearly written and well worth your time if you want to understand the topic better: https://www.gao.gov/products/gao-26-106918

3h agoHN ↗

I also think I've also replied this to you before, but +1 for the GAO report! I use the full report as my personal model yardstick on how I document technical decisions/issues for non-technical people. The PDF is attached here:

https://www.gao.gov/assets/gao-26-106918.pdf

2h agoHN ↗

It is funny seeing how the estimates of the lower end stability vary drastically. Have seen numbers between 70 and 150 million barrels. I have just called it half way between that and think 110 million barrels is probably the lowest they should go.

2h agoHN ↗

We can't pump saturated salt solution to prevent more salt from being dissolved?

2h agoHN ↗

I don't know, the article mentions having to deal with brine. Let it evaporate in a pool and you've got plenty.

2h agoHN ↗

Seawater is 10% saturated IIRC, so you'd have to make the saturated solution first, and if the easiest way to do that is to dissolve another cavern then using brine doesn't have much of a cost advantage over "use this one until it collapses, then dissolve the rubble or make another."

1h agoHN ↗

If you're gonna build a bunch of tanks on the surface to store that saturated salt solutions, you might as well store the oil in those tanks. The point of this salt cavern system is how little infrastructure it needs to store the huge volume of liquid.

47m agoHN ↗

Just spitballing here, can't you just store the salt alone and make the hyper-saturated salt water on the fly? That seems reasonable.

17m agoHN ↗

as well store the oil in those tanks

Salt does not burn, unlike oil. It would be sufficient to store dry salt, and prepare the brine during the pumping. Still a lot of hassle, of course.

1h agoHN ↗

It would be cool to see what these look like in a photo but I guess they're never empty of liquid. I wonder what happens to the oily water after we use it? Do we boil it until it evaporates?

59m agoHN ↗

There was a good comment on r/oil by someone who worked on the engineering for the SPR. Unfortunately it's fallen off the front page and I can't find it now, but:

Also, the more water we pump in, the more salt leeches into the water and the more the bottom of the chamber deforms, creating shear forces in the upp walls that lower its overall structural integrity.

It turns out that it's trivially easy to prevent the water from leeching out the salt. They presaturate the water with salt, so that it already contains the maximum amount of salt that can be dissolved for a given temperature. When they pump the brine out, it goes into aboveground brine pools that can easily be seen on satellite imagery. The salinity of this brine can easily be controlled: if you want to expand the cavern, you mix it with freshwater so the brine dissolves more of the edges, if you don't you pump it back in as brine.

Edit: Here, found some satellite imagery of one of the SPR sites:

https://maps.app.goo.gl/B8XJ9TVhQfcdErky5

You can clearly see the brine pond, which is as big as the aboveground portion of the SPR itself.

3h agoHN ↗

How long does the crude last uner these conditions? Refined oil products like gas have pretty limited shelf lives (I think 6-12 months for gas).

3h agoHN ↗

well it's been underground in similar conditions for a couple dozen million years, so I think a while

3h agoHN ↗

Under ideal conditions - about 200 million years at least. In the salt, I'm not sure.

38m agoHN ↗

In the salt it's pretty similar. The salt caverns are basically just like the conditions where the early, easily-exploitable oil deposits ("gushers") were.

1h agoHN ↗

One time I heard the limited shelf life is by design to avoid consumers hoarding. Diesel OTOH fares better

3h agoHN ↗

What do they do with the brine when they fill it back up with oil?

And do they use fresh water?

2h agoHN ↗

I’m certain engineers have considered this, but it doesn’t seem answered anywhere: why not just pump the original brine back in to move around the oil? Wouldn’t that at least prevent eroding the storage unit and causing it to fail?

Unrelated: dang, he wasn’t underselling this being a pretty elegant solution! I never would’ve thought of it, for sure.

2h agoHN ↗

Wouldn't you then need to solve the similar problem of where to store the brine in the meantime?

39m agoHN ↗

Yeah, but that’s probably easier to solve than eventually losing the whole dang structure!

2h agoHN ↗

One fun fact I’ve heard is that the strategic oil reserve requires like 100-150 million barrels of oil to maintain operational pressure and even be functional. This means we can’t draw it down to zero; not even close.

1h agoHN ↗

Dumb question but why not pump it back into where it was pulled from.. or just leave it in a a reserve paid for by the gov

1h agoHN ↗

Brine is useful to sell to industry.

AIUI, salt caverns don’t like to be filled with brine because they become more susceptible to temperature changes of the earth and pressure from surrounding rock. Both can heat the cavern, which is bad for structural integrity.

1h agoHN ↗

This way the US Gov can be a buyer of last resort. Backdoor bailouts.

1h agoHN ↗

One thing about salt domes: they almost by definition are surrounded by very low-permeability dry soils. Because otherwise they would have dissolved long ago!

And a related way to use salt domes is for natural gas storage.

1h agoHN ↗

US has some of the world's largest natural gas deposits, and is a major producer of helium, so it makes less sense to have a strategic helium reserve. Even the SPR was created in the aftermath of the last middle east oil crisis, back when the US was a major net importer of oil, and many people have been saying we should scrap the SPR, as no major oil producer has an SPR.

The problem with the SPR is that it is used to manipulate prices, which was why Biden on the one hand cut oil leases and reduced domestic oil production, but then did major SPR drawdowns before the election to hide the realities of these policies. Now Trump is playing the same game, sanctioning oil producers and creating wars in the middle east, but using the SPR to hide the effects of these policies until after the midterm.

In both cases, we'd probably be better off without an SPR, so all of these actions against oil production would be immediately felt at the pump before the election and voters could respond quickly. It's just too tempting to have this tool to manipulate oil prices that incumbents can use before elections.

22m agoHN ↗

Another related way is to store nuclear waste. The properties (as described in this article, impermeable/self sealing etc.) sound great until the reality that water dissolves salt comes knocking and further confronts you with the reality that salty brine corrodes nuclear waste barrels...

40m agoHN ↗

This is so incredibly interesting and one of the best things I’ve seen on HN recently. Thank you for the awesome post!