annotate src/Docu/Gas-Switching-Conditions.txt @ 637:cdff88f5a4a0

Battery menu for OSTC plus
author heinrichsweikamp
date Sun, 17 May 2020 09:34:18 +0200
parents 4050675965ea
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
634
4050675965ea 3.10 stable release
heinrichsweikamp
parents:
diff changeset
1
4050675965ea 3.10 stable release
heinrichsweikamp
parents:
diff changeset
2 Rules for Gas Switching in the Deco Calculation
4050675965ea 3.10 stable release
heinrichsweikamp
parents:
diff changeset
3 ===============================================
4050675965ea 3.10 stable release
heinrichsweikamp
parents:
diff changeset
4
4050675965ea 3.10 stable release
heinrichsweikamp
parents:
diff changeset
5 The deco calculation switches gases on the following rules and conditions.
4050675965ea 3.10 stable release
heinrichsweikamp
parents:
diff changeset
6
4050675965ea 3.10 stable release
heinrichsweikamp
parents:
diff changeset
7
4050675965ea 3.10 stable release
heinrichsweikamp
parents:
diff changeset
8 A new gas to eventually switch to is searched for:
4050675965ea 3.10 stable release
heinrichsweikamp
parents:
diff changeset
9 --------------------------------------------------
4050675965ea 3.10 stable release
heinrichsweikamp
parents:
diff changeset
10
4050675965ea 3.10 stable release
heinrichsweikamp
parents:
diff changeset
11 a) Whenever arriving or staying on a deco stop.
4050675965ea 3.10 stable release
heinrichsweikamp
parents:
diff changeset
12
4050675965ea 3.10 stable release
heinrichsweikamp
parents:
diff changeset
13 If a new gas is found, it will be taken.
4050675965ea 3.10 stable release
heinrichsweikamp
parents:
diff changeset
14
4050675965ea 3.10 stable release
heinrichsweikamp
parents:
diff changeset
15 or
4050675965ea 3.10 stable release
heinrichsweikamp
parents:
diff changeset
16
4050675965ea 3.10 stable release
heinrichsweikamp
parents:
diff changeset
17 b) On each calculation step, given:
4050675965ea 3.10 stable release
heinrichsweikamp
parents:
diff changeset
18
4050675965ea 3.10 stable release
heinrichsweikamp
parents:
diff changeset
19 1) Cave mode is activated.
4050675965ea 3.10 stable release
heinrichsweikamp
parents:
diff changeset
20
4050675965ea 3.10 stable release
heinrichsweikamp
parents:
diff changeset
21 If a new gas is found, it will be taken.
4050675965ea 3.10 stable release
heinrichsweikamp
parents:
diff changeset
22
4050675965ea 3.10 stable release
heinrichsweikamp
parents:
diff changeset
23 or
4050675965ea 3.10 stable release
heinrichsweikamp
parents:
diff changeset
24
4050675965ea 3.10 stable release
heinrichsweikamp
parents:
diff changeset
25 2) - extended stops are activated, or
4050675965ea 3.10 stable release
heinrichsweikamp
parents:
diff changeset
26 - the dive is in bailout mode.
4050675965ea 3.10 stable release
heinrichsweikamp
parents:
diff changeset
27
4050675965ea 3.10 stable release
heinrichsweikamp
parents:
diff changeset
28 If a new gas is found, it will only be taken if
4050675965ea 3.10 stable release
heinrichsweikamp
parents:
diff changeset
29
4050675965ea 3.10 stable release
heinrichsweikamp
parents:
diff changeset
30 + the change depth of the new gas has not been passed yet (i.e. the
4050675965ea 3.10 stable release
heinrichsweikamp
parents:
diff changeset
31 diver has not passed the change depth of this gas without actually
4050675965ea 3.10 stable release
heinrichsweikamp
parents:
diff changeset
32 switching to it, so on purpose is breathing another gas),
4050675965ea 3.10 stable release
heinrichsweikamp
parents:
diff changeset
33
4050675965ea 3.10 stable release
heinrichsweikamp
parents:
diff changeset
34 and
4050675965ea 3.10 stable release
heinrichsweikamp
parents:
diff changeset
35
4050675965ea 3.10 stable release
heinrichsweikamp
parents:
diff changeset
36 + the dive is not on the final ascent. (i.e. no gas change will be
4050675965ea 3.10 stable release
heinrichsweikamp
parents:
diff changeset
37 considered any more after leaving the last deco stop for surfacing)
4050675965ea 3.10 stable release
heinrichsweikamp
parents:
diff changeset
38
4050675965ea 3.10 stable release
heinrichsweikamp
parents:
diff changeset
39
4050675965ea 3.10 stable release
heinrichsweikamp
parents:
diff changeset
40 When searching for a new gas, in order to qualify a gas must:
4050675965ea 3.10 stable release
heinrichsweikamp
parents:
diff changeset
41 -------------------------------------------------------------
4050675965ea 3.10 stable release
heinrichsweikamp
parents:
diff changeset
42
4050675965ea 3.10 stable release
heinrichsweikamp
parents:
diff changeset
43 a) Be available, i.e. neither be disabled, lost, nor staged,
4050675965ea 3.10 stable release
heinrichsweikamp
parents:
diff changeset
44
4050675965ea 3.10 stable release
heinrichsweikamp
parents:
diff changeset
45 b) not be of type 'deco gas' unless:
4050675965ea 3.10 stable release
heinrichsweikamp
parents:
diff changeset
46
4050675965ea 3.10 stable release
heinrichsweikamp
parents:
diff changeset
47 - extended stops are activated, or
4050675965ea 3.10 stable release
heinrichsweikamp
parents:
diff changeset
48 - the ascent calculation has arrived on a deco stop, or
4050675965ea 3.10 stable release
heinrichsweikamp
parents:
diff changeset
49 - the dive is in bailout mode,
4050675965ea 3.10 stable release
heinrichsweikamp
parents:
diff changeset
50
4050675965ea 3.10 stable release
heinrichsweikamp
parents:
diff changeset
51 c) have a change depth that is not shallower than the current depth,
4050675965ea 3.10 stable release
heinrichsweikamp
parents:
diff changeset
52 (i.e. it must be breathable by configured change depth)
4050675965ea 3.10 stable release
heinrichsweikamp
parents:
diff changeset
53
4050675965ea 3.10 stable release
heinrichsweikamp
parents:
diff changeset
54 d) have the shallowest change depth among all new gas candidates that
4050675965ea 3.10 stable release
heinrichsweikamp
parents:
diff changeset
55 have qualified so far,
4050675965ea 3.10 stable release
heinrichsweikamp
parents:
diff changeset
56
4050675965ea 3.10 stable release
heinrichsweikamp
parents:
diff changeset
57 e) not yet be fully used up in case contingency mode* is activated.
4050675965ea 3.10 stable release
heinrichsweikamp
parents:
diff changeset
58
4050675965ea 3.10 stable release
heinrichsweikamp
parents:
diff changeset
59 For a gas to become elected as the new gas, it must match all of the above criteria.
4050675965ea 3.10 stable release
heinrichsweikamp
parents:
diff changeset
60
4050675965ea 3.10 stable release
heinrichsweikamp
parents:
diff changeset
61 If none of the configured gases qualifies to become a new gas, the deco calculation
4050675965ea 3.10 stable release
heinrichsweikamp
parents:
diff changeset
62 will continue on the current (last selected) gas.
4050675965ea 3.10 stable release
heinrichsweikamp
parents:
diff changeset
63
4050675965ea 3.10 stable release
heinrichsweikamp
parents:
diff changeset
64 ____
4050675965ea 3.10 stable release
heinrichsweikamp
parents:
diff changeset
65 * contingency mode is auto-activated in case the dive started in cave mode