Fwd: Re: [PATCH] Fix up SAC calculations for ATM/bar confusion

Jukka jukka.lind at kolumbus.fi
Mon Feb 25 10:54:20 PST 2013



On 25.02.2013 03:18, Linus Torvalds wrote:
>
> Well, in the example function I quoted I had added "gasmix" as a
> parameter, since at least in theory the whole thing should depend on
> the exact gas you are breathing.
>
> Doing a whole van der Waals would then imply also figuring out what
> the attraction constants etc would be for the gas.
>
> Which, quite frankly, sounds insane to me. I'm sure it's doable, but
> let's face it, I don't think we really want to go there.
>
>                  Linus
>
As an example one real dive: Double7/300, pressure from 260 to 10 bar.
Subsurface says I used 3500 litres but Suunto Dive Manager 3176,4 litres.
It's a 9 % error.

I'd like to see some correction, but I agree using gas-mix and
temperature sounds too much. But, one day, someone will send a patch . . .
Jukka





More information about the subsurface mailing list