Inside the <tankdata> section information concerning a breathing gas consumption calculation is put into brackets. As many as needed <tankdata> elements can appear one after the other.
<dive>
<breathingconsumptionvolume>, <link/> (for cross-referencing <mix>, or <tank> data), <tankpressurebegin>, <tankpressureend>, <tankvolume>
(see also <dive>)
<gasdefinitions> <mix id="air"> <name>air</name> <o2>0.21</o2> <n2>0.79</n2> <he>0.0</he> <ar>0.0</ar> <h2>0.0</h2> </mix> </gasdefinitions> <profiledata> <repetitiongroup id="repgroup_1"> <dive id="dive_543"> <tankdata> <link ref="air"/> <tankvolume>0.01</tankvolume> <tankpressurebegin>20000000.0</tankpressurebegin> <!-- because the breathing consumption volume is given - in [m^3/s] units! - --> <!-- the end pressure information can be omitted --> <!-- 20 litres / minute ^= 0.00033333... m^3/s --> <breathingconsumptionvolume>0.000333333333</breathingconsumptionvolume> </tankdata> <!-- here more statements --> </dive> </repetitiongroup> </profiledata>
<!-- previous statements --> <gasdefinitions> <mix id="gas1"> <!-- the name of a breathing gas used is also allowed to be only a number --> <name>1</name> <o2>0.21</o2> <n2>0.79</n2> <he>0.0</he> <ar>0.0</ar> <h2>0.0</h2> </mix> </gasdefinitions> <profiledata> <repetitiongroup id="repgroup_42"> <dive id="dive_789"> <tankdata> <link ref="gas1"/> <!-- because start and end pressure are given, the breathing --> <!-- consumption volume can be calculated without need for --> <!-- the tank volume --> <tankpressurebegin>20000000.0</tankpressurebegin> <tankpressureend>10400000.0</tankpressureend> </tankdata> <!-- here more statements --> </dive> </repetitiongroup> </profiledata>