Hi all, Thanks to all that have contributed to this software that I come to appreciate more and more. After using only the log function for a couple of years, I have recently started to make use of the dive planner and appreciate its benefits as compared to likes of MultiDeco. ie that it recalculates the plan automatically with changes and that it includes the gas planning information in the output in one step. All this makes for very practical "what-if" planning. I have some improvement ideas but will discuss in a later email. For now I wanted to share a bug that some conditions (that I dont fully understand) can cause the gas consumption section of the output to stop being visible and updated.
I produced a couple of xml with two scenarios that I have found. (I am in Win10 with Subsurface 4.8.5) deanm-planner-bug-a.xml 1. open and then edit the single dive in the planner 2. note that the plan output includes the gas consumption details (all info below line "Gas consumption (based on SAC 20|17ℓ/min):") 3. note that calculations update and change if you adjust for example the runtime to 13min (ie all normal so far) 4. delete the 50% deco gas 5. note that the plan output no longer includes gas consumption details 6. if you save the dive plan the gas consumption info will be there in the notes of the dive plan entry. 7. if you reopen in the editor its still not visible there 8. edits to runtime etc that would normally trigger a recalculation do not fix it. the gas consumption does not reappear until you add the deco gas back in deanm-planner-bug-b.xml 1. as before, but note that the gas consumption is missing as soon as you open the dive in the planner. 2. change the depth from 45m to 50m and the gas consumption now shows up. 3. change back to 45m and it dissapears again hope this is helpful to debug it. Regards Dean Murray
<divelog program='subsurface' version='3'> <settings> </settings> <divesites> </divesites> <dives> <dive number='1' date='2019-03-04' time='20:55:20' duration='29:20 min'> <notes><div><b>DISCLAIMER / WARNING: THIS IS A NEW IMPLEMENTATION OF THE BUHLMANN ALGORITHM AND A DIVE PLANNER IMPLEMENTATION BASED ON THAT WHICH HAS RECEIVED ONLY A LIMITED AMOUNT OF TESTING. WE STRONGLY RECOMMEND NOT TO PLAN DIVES SIMPLY BASED ON THE RESULTS GIVEN HERE.</b><br></div><div><b>Subsurface (4.8.5.0) dive plan</b> created on 04/03/2019</b><br>Runtime: 29min<br></div><table><thead><tr><th></th><th>depth</th><th style='padding-left: 10px;'>runtime</th><th style='padding-left: 10px; float: left;'>gas</th></tr></thead><tbody style='float: left;'><tr><td style='padding-left: 10px; float: right;'>&#10136;</td><td style='padding-left: 10px; float: right;'> 45m</td><td style='padding-left: 10px; float: right;'> 3min</td><td style='padding-left: 10px; color: red; float: left;'><b>air </b></td></tr><tr><td style='padding-left: 10px; float: right;'>&#10137;</td><td style='padding-left: 10px; float: right;'> 45m</td><td style='padding-left: 10px; float: right;'> 15min</td><td>&nbsp;</td></tr><tr><td style='padding-left: 10px; float: right;'>&#10138;</td><td style='padding-left: 10px; float: right;'> 21m</td><td style='padding-left: 10px; float: right;'> 18min</td><td>&nbsp;</td></tr><tr><td style='padding-left: 10px; float: right;'>-</td><td style='padding-left: 10px; float: right;'> 21m</td><td style='padding-left: 10px; float: right;'> 19min</td><td style='padding-left: 10px; color: red; float: left;'><b>EAN50 </b></td></tr><tr><td style='padding-left: 10px; float: right;'>-</td><td style='padding-left: 10px; float: right;'> 12m</td><td style='padding-left: 10px; float: right;'> 20min</td><td>&nbsp;</td></tr><tr><td style='padding-left: 10px; float: right;'>-</td><td style='padding-left: 10px; float: right;'> 9m</td><td style='padding-left: 10px; float: right;'> 22min</td><td>&nbsp;</td></tr><tr><td style='padding-left: 10px; float: right;'>-</td><td style='padding-left: 10px; float: right;'> 6m</td><td style='padding-left: 10px; float: right;'> 25min</td><td>&nbsp;</td></tr><tr><td style='padding-left: 10px; float: right;'>-</td><td style='padding-left: 10px; float: right;'> 3m</td><td style='padding-left: 10px; float: right;'> 29min</td><td>&nbsp;</td></tr><tr><td style='padding-left: 10px; float: right;'>&#10138;</td><td style='padding-left: 10px; float: right;'> 0m</td><td style='padding-left: 10px; float: right;'> 29min</td><td>&nbsp;</td></tr></tbody></table><br><div>CNS: 12%<br>OTU: 32<br></div><div>Deco model: Bühlmann ZHL-16C with GFLow = 30% and GFHigh = 75%<br>Atm. pressure: 1,013mbar (0m)<br></div><div>Gas consumption (based on SAC 20|17ℓ/min):<br>1,729ℓ/73bar of <span style='color: red;'><b>air</b></span> (195ℓ/8bar in planned ascent)<br>&nbsp;&mdash; <span style='color: green;'>Minimum gas</span> (based on 4.0xSAC/+4min@45m): 2,557ℓ/104bar<span style='color: grey;'>/&Delta;:38bar</span><br></div>353ℓ/62bar of <span style='color: red;'><b>EAN50</b></span> (353ℓ/66bar in planned ascent)<br></div></div></notes> <cylinder size='24.4 l' workpressure='207.0 bar' description='unknown' start='207.0 bar' end='133.802 bar' depth='66.0 m' /> <cylinder size='5.7 l' workpressure='200.0 bar' o2='50.0%' start='200.0 bar' end='138.355 bar' depth='21.0 m' /> <divecomputer model='planned dive' last-manual-time='15:00 min'> <depth max='45.0 m' mean='27.213 m' /> <surface pressure='1.013 bar' /> <event time='17:41 min' type='11' value='50' name='gaschange' cylinder='1' o2='50.0%' /> <sample time='0:00 min' depth='0.0 m' pressure='207.0 bar' /> <sample time='2:30 min' depth='45.0 m' pressure='200.086 bar' /> <sample time='15:00 min' depth='45.0 m' pressure='141.83 bar' /> <sample time='17:40 min' depth='21.0 m' pressure='133.802 bar' /> <sample time='17:41 min' depth='21.0 m' /> <sample time='18:40 min' depth='21.0 m' pressure='190.861 bar' /> <sample time='19:40 min' depth='12.0 m' pressure='182.949 bar' /> <sample time='20:00 min' depth='12.0 m' pressure='180.766 bar' /> <sample time='20:20 min' depth='9.0 m' pressure='178.733 bar' /> <sample time='22:00 min' depth='9.0 m' pressure='169.322 bar' /> <sample time='22:20 min' depth='6.0 m' pressure='167.594 bar' /> <sample time='25:00 min' depth='6.0 m' pressure='154.963 bar' /> <sample time='25:20 min' depth='3.0 m' pressure='153.537 bar' /> <sample time='29:00 min' depth='3.0 m' pressure='139.482 bar' /> <sample time='29:20 min' depth='0.0 m' pressure='138.355 bar' /> </divecomputer> </dive> </dives> </divelog>
<divelog program='subsurface' version='3'> <settings> </settings> <divesites> </divesites> <dives> <dive number='1' date='2019-03-04' time='21:25:51' duration='38:20 min'> <notes><div><b>DISCLAIMER / WARNING: THIS IS A NEW IMPLEMENTATION OF THE BUHLMANN ALGORITHM AND A DIVE PLANNER IMPLEMENTATION BASED ON THAT WHICH HAS RECEIVED ONLY A LIMITED AMOUNT OF TESTING. WE STRONGLY RECOMMEND NOT TO PLAN DIVES SIMPLY BASED ON THE RESULTS GIVEN HERE.</b><br></div><div><b>Subsurface (4.8.5.0) dive plan</b> created on 04/03/2019</b><br>Runtime: 38min<br></div><table><thead><tr><th></th><th>depth</th><th style='padding-left: 10px;'>runtime</th><th style='padding-left: 10px; float: left;'>gas</th></tr></thead><tbody style='float: left;'><tr><td style='padding-left: 10px; float: right;'>&#10136;</td><td style='padding-left: 10px; float: right;'> 45m</td><td style='padding-left: 10px; float: right;'> 3min</td><td style='padding-left: 10px; color: red; float: left;'><b>air </b></td></tr><tr><td style='padding-left: 10px; float: right;'>&#10137;</td><td style='padding-left: 10px; float: right;'> 45m</td><td style='padding-left: 10px; float: right;'> 15min</td><td>&nbsp;</td></tr><tr><td style='padding-left: 10px; float: right;'>&#10138;</td><td style='padding-left: 10px; float: right;'> 15m</td><td style='padding-left: 10px; float: right;'> 18min</td><td>&nbsp;</td></tr><tr><td style='padding-left: 10px; float: right;'>-</td><td style='padding-left: 10px; float: right;'> 15m</td><td style='padding-left: 10px; float: right;'> 20min</td><td>&nbsp;</td></tr><tr><td style='padding-left: 10px; float: right;'>-</td><td style='padding-left: 10px; float: right;'> 12m</td><td style='padding-left: 10px; float: right;'> 22min</td><td>&nbsp;</td></tr><tr><td style='padding-left: 10px; float: right;'>-</td><td style='padding-left: 10px; float: right;'> 9m</td><td style='padding-left: 10px; float: right;'> 25min</td><td>&nbsp;</td></tr><tr><td style='padding-left: 10px; float: right;'>-</td><td style='padding-left: 10px; float: right;'> 6m</td><td style='padding-left: 10px; float: right;'> 29min</td><td>&nbsp;</td></tr><tr><td style='padding-left: 10px; float: right;'>-</td><td style='padding-left: 10px; float: right;'> 3m</td><td style='padding-left: 10px; float: right;'> 38min</td><td>&nbsp;</td></tr><tr><td style='padding-left: 10px; float: right;'>&#10138;</td><td style='padding-left: 10px; float: right;'> 0m</td><td style='padding-left: 10px; float: right;'> 38min</td><td>&nbsp;</td></tr></tbody></table><br><div>CNS: 8%<br>OTU: 21<br></div><div>Deco model: Bühlmann ZHL-16C with GFLow = 30% and GFHigh = 75%<br>Atm. pressure: 1,013mbar (0m)<br></div><div>Gas consumption (based on SAC 20|17ℓ/min):<br>2,320ℓ/97bar of <span style='color: red;'><b>air</b></span> (786ℓ/34bar in planned ascent)<br>&nbsp;&mdash; <span style='color: red;'>Warning: </span> required minimum gas for ascent already exceeds start pressure of cylinder.<br></div></div></notes> <cylinder size='24.4 l' workpressure='207.0 bar' description='unknown' start='207.0 bar' end='109.547 bar' depth='66.0 m' /> <divecomputer model='planned dive' last-manual-time='15:00 min'> <depth max='50.0 m' mean='22.128 m' /> <surface pressure='1.013 bar' /> <sample time='0:00 min' depth='0.0 m' pressure='207.0 bar' /> <sample time='2:30 min' depth='45.0 m' pressure='200.086 bar' /> <sample time='15:00 min' depth='45.0 m' pressure='141.83 bar' /> <sample time='18:20 min' depth='15.0 m' pressure='132.494 bar' /> <sample time='20:00 min' depth='15.0 m' pressure='129.585 bar' /> <sample time='20:20 min' depth='12.0 m' pressure='129.039 bar' /> <sample time='22:00 min' depth='12.0 m' pressure='126.481 bar' /> <sample time='22:20 min' depth='9.0 m' pressure='126.005 bar' /> <sample time='25:00 min' depth='9.0 m' pressure='122.475 bar' /> <sample time='25:20 min' depth='6.0 m' pressure='122.069 bar' /> <sample time='29:00 min' depth='6.0 m' pressure='117.985 bar' /> <sample time='29:20 min' depth='3.0 m' pressure='117.649 bar' /> <sample time='38:00 min' depth='3.0 m' pressure='109.813 bar' /> <sample time='38:20 min' depth='0.0 m' pressure='109.547 bar' /> </divecomputer> </dive> </dives> </divelog>
_______________________________________________ subsurface mailing list subsurface@subsurface-divelog.org http://lists.subsurface-divelog.org/cgi-bin/mailman/listinfo/subsurface