Underground Hydrogen Salt Cavern: Pressure & Gas-Law Storage (2D)

A 2D cross-section of a salt-cavern hydrogen store driven by the ideal gas law: injecting or withdrawing hydrogen changes the mole count n inside a fixed volume V, so P = nRT/V updates every tick from real mass flow, real molar mass and a depth-derived geothermal temperature — and a lithostatic-pressure operating envelope (30–80% of the overburden's weight) auto-closes the valve before the cavern over- or under-pressures, just like a real wellhead interlock.