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>&lt;div&gt;&lt;b&gt;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.&lt;/b&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;&lt;b&gt;Subsurface (4.8.5.0) dive plan&lt;/b&gt; created on 04/03/2019&lt;/b&gt;&lt;br&gt;Runtime: 29min&lt;br&gt;&lt;/div&gt;&lt;table&gt;&lt;thead&gt;&lt;tr&gt;&lt;th&gt;&lt;/th&gt;&lt;th&gt;depth&lt;/th&gt;&lt;th style='padding-left: 10px;'&gt;runtime&lt;/th&gt;&lt;th style='padding-left: 10px; float: left;'&gt;gas&lt;/th&gt;&lt;/tr&gt;&lt;/thead&gt;&lt;tbody style='float: left;'&gt;&lt;tr&gt;&lt;td style='padding-left: 10px; float: right;'&gt;&amp;#10136;&lt;/td&gt;&lt;td style='padding-left: 10px; float: right;'&gt; 45m&lt;/td&gt;&lt;td style='padding-left: 10px; float: right;'&gt;  3min&lt;/td&gt;&lt;td style='padding-left: 10px; color: red; float: left;'&gt;&lt;b&gt;air &lt;/b&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style='padding-left: 10px; float: right;'&gt;&amp;#10137;&lt;/td&gt;&lt;td style='padding-left: 10px; float: right;'&gt; 45m&lt;/td&gt;&lt;td style='padding-left: 10px; float: right;'&gt; 15min&lt;/td&gt;&lt;td&gt;&amp;nbsp;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style='padding-left: 10px; float: right;'&gt;&amp;#10138;&lt;/td&gt;&lt;td style='padding-left: 10px; float: right;'&gt; 21m&lt;/td&gt;&lt;td style='padding-left: 10px; float: right;'&gt; 18min&lt;/td&gt;&lt;td&gt;&amp;nbsp;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style='padding-left: 10px; float: right;'&gt;-&lt;/td&gt;&lt;td style='padding-left: 10px; float: right;'&gt; 21m&lt;/td&gt;&lt;td style='padding-left: 10px; float: right;'&gt; 19min&lt;/td&gt;&lt;td style='padding-left: 10px; color: red; float: left;'&gt;&lt;b&gt;EAN50 &lt;/b&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style='padding-left: 10px; float: right;'&gt;-&lt;/td&gt;&lt;td style='padding-left: 10px; float: right;'&gt; 12m&lt;/td&gt;&lt;td style='padding-left: 10px; float: right;'&gt; 20min&lt;/td&gt;&lt;td&gt;&amp;nbsp;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style='padding-left: 10px; float: right;'&gt;-&lt;/td&gt;&lt;td style='padding-left: 10px; float: right;'&gt;  9m&lt;/td&gt;&lt;td style='padding-left: 10px; float: right;'&gt; 22min&lt;/td&gt;&lt;td&gt;&amp;nbsp;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style='padding-left: 10px; float: right;'&gt;-&lt;/td&gt;&lt;td style='padding-left: 10px; float: right;'&gt;  6m&lt;/td&gt;&lt;td style='padding-left: 10px; float: right;'&gt; 25min&lt;/td&gt;&lt;td&gt;&amp;nbsp;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style='padding-left: 10px; float: right;'&gt;-&lt;/td&gt;&lt;td style='padding-left: 10px; float: right;'&gt;  3m&lt;/td&gt;&lt;td style='padding-left: 10px; float: right;'&gt; 29min&lt;/td&gt;&lt;td&gt;&amp;nbsp;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style='padding-left: 10px; float: right;'&gt;&amp;#10138;&lt;/td&gt;&lt;td style='padding-left: 10px; float: right;'&gt;  0m&lt;/td&gt;&lt;td style='padding-left: 10px; float: right;'&gt; 29min&lt;/td&gt;&lt;td&gt;&amp;nbsp;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;br&gt;&lt;div&gt;CNS: 12%&lt;br&gt;OTU: 32&lt;br&gt;&lt;/div&gt;&lt;div&gt;Deco model: Bühlmann ZHL-16C with GFLow = 30% and GFHigh = 75%&lt;br&gt;Atm. pressure: 1,013mbar (0m)&lt;br&gt;&lt;/div&gt;&lt;div&gt;Gas consumption (based on SAC 20|17ℓ/min):&lt;br&gt;1,729ℓ/73bar of &lt;span style='color: red;'&gt;&lt;b&gt;air&lt;/b&gt;&lt;/span&gt; (195ℓ/8bar in planned ascent)&lt;br&gt;&amp;nbsp;&amp;mdash; &lt;span style='color: green;'&gt;Minimum gas&lt;/span&gt; (based on 4.0xSAC/+4min@45m): 2,557ℓ/104bar&lt;span style='color: grey;'&gt;/&amp;Delta;:38bar&lt;/span&gt;&lt;br&gt;&lt;/div&gt;353ℓ/62bar of &lt;span style='color: red;'&gt;&lt;b&gt;EAN50&lt;/b&gt;&lt;/span&gt; (353ℓ/66bar in planned ascent)&lt;br&gt;&lt;/div&gt;&lt;/div&gt;</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>&lt;div&gt;&lt;b&gt;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.&lt;/b&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;&lt;b&gt;Subsurface (4.8.5.0) dive plan&lt;/b&gt; created on 04/03/2019&lt;/b&gt;&lt;br&gt;Runtime: 38min&lt;br&gt;&lt;/div&gt;&lt;table&gt;&lt;thead&gt;&lt;tr&gt;&lt;th&gt;&lt;/th&gt;&lt;th&gt;depth&lt;/th&gt;&lt;th style='padding-left: 10px;'&gt;runtime&lt;/th&gt;&lt;th style='padding-left: 10px; float: left;'&gt;gas&lt;/th&gt;&lt;/tr&gt;&lt;/thead&gt;&lt;tbody style='float: left;'&gt;&lt;tr&gt;&lt;td style='padding-left: 10px; float: right;'&gt;&amp;#10136;&lt;/td&gt;&lt;td style='padding-left: 10px; float: right;'&gt; 45m&lt;/td&gt;&lt;td style='padding-left: 10px; float: right;'&gt;  3min&lt;/td&gt;&lt;td style='padding-left: 10px; color: red; float: left;'&gt;&lt;b&gt;air &lt;/b&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style='padding-left: 10px; float: right;'&gt;&amp;#10137;&lt;/td&gt;&lt;td style='padding-left: 10px; float: right;'&gt; 45m&lt;/td&gt;&lt;td style='padding-left: 10px; float: right;'&gt; 15min&lt;/td&gt;&lt;td&gt;&amp;nbsp;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style='padding-left: 10px; float: right;'&gt;&amp;#10138;&lt;/td&gt;&lt;td style='padding-left: 10px; float: right;'&gt; 15m&lt;/td&gt;&lt;td style='padding-left: 10px; float: right;'&gt; 18min&lt;/td&gt;&lt;td&gt;&amp;nbsp;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style='padding-left: 10px; float: right;'&gt;-&lt;/td&gt;&lt;td style='padding-left: 10px; float: right;'&gt; 15m&lt;/td&gt;&lt;td style='padding-left: 10px; float: right;'&gt; 20min&lt;/td&gt;&lt;td&gt;&amp;nbsp;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style='padding-left: 10px; float: right;'&gt;-&lt;/td&gt;&lt;td style='padding-left: 10px; float: right;'&gt; 12m&lt;/td&gt;&lt;td style='padding-left: 10px; float: right;'&gt; 22min&lt;/td&gt;&lt;td&gt;&amp;nbsp;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style='padding-left: 10px; float: right;'&gt;-&lt;/td&gt;&lt;td style='padding-left: 10px; float: right;'&gt;  9m&lt;/td&gt;&lt;td style='padding-left: 10px; float: right;'&gt; 25min&lt;/td&gt;&lt;td&gt;&amp;nbsp;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style='padding-left: 10px; float: right;'&gt;-&lt;/td&gt;&lt;td style='padding-left: 10px; float: right;'&gt;  6m&lt;/td&gt;&lt;td style='padding-left: 10px; float: right;'&gt; 29min&lt;/td&gt;&lt;td&gt;&amp;nbsp;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style='padding-left: 10px; float: right;'&gt;-&lt;/td&gt;&lt;td style='padding-left: 10px; float: right;'&gt;  3m&lt;/td&gt;&lt;td style='padding-left: 10px; float: right;'&gt; 38min&lt;/td&gt;&lt;td&gt;&amp;nbsp;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style='padding-left: 10px; float: right;'&gt;&amp;#10138;&lt;/td&gt;&lt;td style='padding-left: 10px; float: right;'&gt;  0m&lt;/td&gt;&lt;td style='padding-left: 10px; float: right;'&gt; 38min&lt;/td&gt;&lt;td&gt;&amp;nbsp;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;br&gt;&lt;div&gt;CNS: 8%&lt;br&gt;OTU: 21&lt;br&gt;&lt;/div&gt;&lt;div&gt;Deco model: Bühlmann ZHL-16C with GFLow = 30% and GFHigh = 75%&lt;br&gt;Atm. pressure: 1,013mbar (0m)&lt;br&gt;&lt;/div&gt;&lt;div&gt;Gas consumption (based on SAC 20|17ℓ/min):&lt;br&gt;2,320ℓ/97bar of &lt;span style='color: red;'&gt;&lt;b&gt;air&lt;/b&gt;&lt;/span&gt; (786ℓ/34bar in planned ascent)&lt;br&gt;&amp;nbsp;&amp;mdash; &lt;span style='color: red;'&gt;Warning: &lt;/span&gt; required minimum gas for ascent already exceeds start pressure of cylinder.&lt;br&gt;&lt;/div&gt;&lt;/div&gt;</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

Reply via email to