[PATCH]Re: Deco calculation for repetitive dive - strange effect

Robert Helling helling at atdotde.de
Tue Feb 7 12:24:34 PST 2017


> On 07 Feb 2017, at 19:53, Stefan Fuchs <sfuchs at gmx.de> wrote:
> I understand that we don't want to tweak the VPM-B implementation to make the results look nicer w/o knowing if this is then still in line with the ideas of "the real model" and I fully agree to this. But maybe based on Linus finding there is until now really a misunderstanding regarding the implementation for this specific detail?

I guess (as so often) Linus is right, we should reset the state between dives (except of course tissue saturations) to get rid of this anomaly, and if other code does that even better.

I attach a patch that does this.

There is probably no point in arguing about the original model since that IIIRC does not consider repetitive dives but I have to check the docs again. In any case, I would say this still shows how strange the model is: We have to artificially reset parameters between two dives. But of course „between dives“ can be somewhat arbitrary: If you only surface for a few minutes and then descend again, are these „two dives“ (which require a reset in between and how does your body know that it has to reset itself, after all this is what we are supposed to simulate) or is this a single dive (without reset)? What I take away is the impression that this does not make a lot of sense.

But yes, please take this patch for master.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.subsurface-divelog.org/pipermail/subsurface/attachments/20170207/6567bea2/attachment.html>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 0001-Reset-VPM-B-state-between-repetitive-dives.txt
URL: <http://lists.subsurface-divelog.org/pipermail/subsurface/attachments/20170207/6567bea2/attachment.txt>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.subsurface-divelog.org/pipermail/subsurface/attachments/20170207/6567bea2/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 496 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://lists.subsurface-divelog.org/pipermail/subsurface/attachments/20170207/6567bea2/attachment.sig>

More information about the subsurface mailing list