Planner. Strange behavior while changing deco mixes. (fwd)
Robert C. Helling
helling at lmu.de
Fri Feb 22 07:41:28 PST 2013
Hi,
I sent this yesterday almost exactly at the time of the release. It might
have gotten lost in your excitement... so I send it again.
Best
Robert
--
.oOo.oOo.oOo.oOo.oOo.oOo.oOo.oOo.oOo.oOo.oOo.oOo.oOo.oOo.oOo.oOo.oOo.oOo.oOo.oO
Robert C. Helling Elite Master Course Theoretical and Mathematical Physics
Scientific Coordinator
Ludwig Maximilians Universitaet Muenchen, Dept. Physik
print "Just another Phone: +49 89 2180-4523 Theresienstr. 39, rm. B339
stupid .sig\n"; http://www.atdotde.de
---------- Forwarded message ----------
From: Robert C. Helling <helling at lmu.de>
Reply-To: helling at atdotde.de
To: Salvador Cuñat <salvador.cunat at gmail.com>
Cc: subsurface at hohndel.org
Date: Thu, 21 Feb 2013 16:40:24 +0100 (CET)
Subject: Re: Planner. Strange behavior while changing deco mixes.
On Wed, 20 Feb 2013, Salvador Cuñat wrote:
> Hi.
>
> I was just testing the recent patches to the planner and realized that
> when changing deco mixes (EAN 50 - 21 m and O2 - 6m) the calculated
> plan diverges widely from the calculated ceiling.
> While at the 21 m stop the profile shows an EAD of 21m, when it must be
> 13,29 m (if I'm not wrong), and an strangely long duration, then jumps
> to a very brief 15m stop, without 18m.
> Something very similar on the 6m stop except for the EAD which is a
> correct 0m in this case, and don't loose the 3m stop.
>
> Attached is a printout with the simulated dive.
The problem that when reaching the gas change depth and computing the stop
time, no gas change event is created yet but time_at_last_depth tries to
determine the gas for the stop from events.
Here is a patch that adds o2 and he as parameters of that function instead of
the events logic. Dirk, I do not completely understand your gas logic and do
not understand why you did it your way previously. But this seems to make sense
for me. If you like:
Signed-off-by: Robert C. Helling <helling at atdotde.de>
Best
Robert
--
.oOo.oOo.oOo.oOo.oOo.oOo.oOo.oOo.oOo.oOo.oOo.oOo.oOo.oOo.oOo.oOo.oOo.oOo.oOo.oO
Robert C. Helling Elite Master Course Theoretical and Mathematical Physics
Scientific Coordinator
Ludwig Maximilians Universitaet Muenchen, Dept. Physik
print "Just another Phone: +49 89 2180-4523 Theresienstr. 39, rm. B339
stupid .sig\n"; http://www.atdotde.de
-------------- next part --------------
A non-text attachment was scrubbed...
Name: gaschange.patch
Type: text/x-diff
Size: 1654 bytes
Desc:
URL: <http://lists.hohndel.org/pipermail/subsurface/attachments/20130222/fc479ee3/attachment.patch>
-------------- next part --------------
_______________________________________________
subsurface mailing list
subsurface at hohndel.org
http://lists.hohndel.org/cgi-bin/mailman/listinfo/subsurface
More information about the subsurface
mailing list