Hacker News

Top stories

Live mirror
30 storiesupdated just nowView source snapshot
  1. Nvidia announces native GPU programming in Rust(nvidia.com ↗)
    125comments
  2. Training a 4B model to produce 81% faster query plans than Postgres(rohanbansal.com ↗)
    84comments
  3. Xiaomi Mimo 2.6 live post-training dashboard(xiaomi.com ↗)
    67comments
  4. Breaking the 1.58-bit Barrier for Ternary LLMs(arxiv.org ↗)
    20comments
  5. Backups Aren't Simple(filipovski.net ↗)
    43comments
  6. Small programming tricks(will-keleher.com ↗)
    185comments
  7. The engineering behind the US Strategic Petroleum Reserve(johnjwang.com ↗)
    38comments
  8. Developing provably correct Rust code with Verus(amazon.science ↗)
    1comments
  9. OpenSpec – A lightweight and configurable AI spec framework(openspec.dev ↗)
    27comments
  10. The Return of Sail Power: Cargo Ships Are Turning Back to the Wind(gcaptain.com ↗)
    3comments
  11. Performance Improvements in .NET 11(devblogs.microsoft.com/dotnet ↗)
    36comments
  12. Reversing Factorio's RNG(gegell.github.io ↗)
    19comments
  13. HarnessTax: How Much Does the Harness Matter for Coding Agents?(harnesstax.github.io ↗)
    14comments
  14. Australia says it could follow Canada in forging deeper ties with EU(independent.co.uk ↗)
    99comments
  15. Japan's book scene is moving from bookstores to libraries(untranslatedjp.substack.com ↗)
    46comments
  16. Reverse-engineered Jev-like model(github.com/vinnylarouge ↗)
    12comments
  17. Show HN: An e-ink frame that hears birds and draws them as 1800s illustrations(github.com/arnegiacomo ↗)
    240comments
  18. AWS says it can't restore some data from mideast facilities struck by Iran(wsj.com ↗)
    222comments
  19. OpenAI Discloses Six New Incidents of ‘Concerning’ A.I. Behavior(nytimes.com ↗)
    32comments
  20. Anecdotally, programmers dislike "reduce"(evanhahn.com ↗)
    165comments
  21. Mapsnap: Automated Georeferencing for Historic Sanborn Insurance Maps(danvk.org ↗)
    discuss
  22. Why Does the Universe Expand?(cosmicave.org ↗)
    23comments
  23. Dream-RSI: Recursive Self-Improvement through Evolving Worlds(arxiv.org ↗)
    49comments
  24. Anatomy of a Texture(agentlien.github.io ↗)
    14comments
  25. Accurate Models of AMD Matrix Cores(arxiv.org ↗)
    7comments
  26. The DeepMind Institute(deepmind.com ↗)
    45comments
  27. Hackers Got Inside a Flock Camera(wired.com ↗)
    219comments
  28. I replaced my brown-noise browser tab with a menu bar app(oldmanrahul.com ↗)
    10comments
  29. Training Text-to-Image Models 3.6× Faster(linum.ai ↗)
    8comments
  30. WalShadow: Sub-second Postgres replication to ClickHouse from physical WAL(clickhouse.com ↗)
    5comments

The engineering behind the US Strategic Petroleum Reserve

116 pointsby 1d agojohnjwang.com
34 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?

2h 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

1h 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.

2h agoHN ↗

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

2h agoHN ↗

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

40m 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

2h 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.

2h 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

2h 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.

1h agoHN ↗

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

1h agoHN ↗

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

1h 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."

33m 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.

7m 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.

36m 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?

20m 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.

2h 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).

2h agoHN ↗

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

2h agoHN ↗

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

1h agoHN ↗

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

2h agoHN ↗

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

And do they use fresh water?

1h 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.

1h agoHN ↗

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

1h 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

51m 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.

34m agoHN ↗

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

56m 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.

37m 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.