[PATCH 1/2] Calculate VPM-B ceiling outside of planner

Robert C. Helling helling at atdotde.de
Sun Oct 25 15:06:06 PDT 2015


HI,

> On 25 Oct 2015, at 10:44, Rick Walsh <rickmwalsh at gmail.com> wrote:
> 
> I like this concept.  I'm not sure how to turn it into something meaningful (other than the single statistic of "was the free gas volume more or less than permitted"), but it's worth discussing.

as a first step in this direction, I added a number of printf’s to the VPM-B part. In particular, this displays the allowable (bottom) gradients for all compartments and for each iteration of the CVA how the volume of free gas compares to the critical value.

This is of course not production code, it should not go into master. But for all those who want to understand VPM-B a but better, I pushed it to github. You can pull it form

https://github.com/atdotde/subsurface.git analyze_vpm

Have fun.

What I learned so far: There are typically three rounds of the CVA: one with the vpmb_start_gradient, one with an updated gradient and then finally one with almost the same gradient again that results in the same run time. So it converges very fast in essentially one step of updating.

Best
Robert
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.subsurface-divelog.org/pipermail/subsurface/attachments/20151025/581c9e0c/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/20151025/581c9e0c/attachment-0001.sig>


More information about the subsurface mailing list