comparison code_part1/OSTC_code_c_part2/p2_tables.romdata @ 197:f15e804ff67f

Gas switch delay + New CF#55 for additional delay in decoplan for gas switch. + BUGFIX compute integration at full ascent, not half (or the formula is wrong). + BUGFIX minor typo in 2sec exposition factors.
author JeanDo
date Sun, 13 Feb 2011 17:27:43 +0100
parents cb055a7d75f3
children 1d98f30ed44e
comparison
equal deleted inserted replaced
196:e185b3b028af 197:f15e804ff67f
14 // 14 //
15 // You should have received a copy of the GNU General Public License 15 // You should have received a copy of the GNU General Public License
16 // along with this program. If not, see <http://www.gnu.org/licenses/>. 16 // along with this program. If not, see <http://www.gnu.org/licenses/>.
17 // 17 //
18 // HISTORY 18 // HISTORY
19 // 2011-01-20; jDG Cleanup addressing. 19 // 2011-01-20: jDG Cleanup addressing.
20 // 2011-02-13: jDG Correct some typos.
20 // 21 //
21 // ************************************************************** 22 // **************************************************************
22 23
23 rom const float buhlmann_a[32] = 24 rom const float buhlmann_a[32] =
24 { // ??? Data ZH-L16A, from Tauchmedizin 1995 ??? 25 { // Data ZH-L16C, from Bühlmann Tauchmedizin 2002, option 1a (4mn)
25 //---a for N2 ---------------------------------------------------------------- 26 //---a for N2 ----------------------------------------------------------------
26 1.2599, /// WARNING ZH-L16c-1990 gives different values: 1.3318 27 1.2599,
27 1.0000, /// ... 1.0048 28 1.0000,
28 0.8618, /// ... 0.8653 29 0.8618,
29 0.7562, /// ... 0.7520 30 0.7562,
30 0.6200, /// ... 0.6194 31 0.6200,
31 0.5043, /// ... 0.5043 32 0.5043,
32 0.4410, /// ... 0.4396 33 0.4410,
33 0.4000, /// ... 0.3977 34 0.4000,
34 0.3750, /// ... 0.3701 35 0.3750,
35 0.3500, /// ... 0.3456 36 0.3500,
36 0.3295, /// ... 0.3269 37 0.3295,
37 0.3065, /// ... 0.3065 38 0.3065,
38 0.2835, /// ... 0.2848 39 0.2835,
39 0.2610, /// ... 0.2622 40 0.2610,
40 0.2480, /// ... 0.2486 41 0.2480,
41 0.2327, /// ... 0.2341 42 0.2327,
42 //---- a of He --------------------------------------------------------------- 43 //---- a of He ---------------------------------------------------------------
43 1.7424, /// ... 1,7443 44 1.7424,
44 1.3830, /// ... 1,3800 45 1.3830,
45 1.1919, /// ... 1,1879 46 1.1919,
46 1.0458, /// ... 1,0455 47 1.0458,
47 .9220, /// ... 0,9211 48 .9220,
48 .8205, /// ... 0,8232 49 .8205,
49 .7305, /// ... 0,7321 50 .7305,
50 .6502, /// ... 0,6508 51 .6502,
51 .5950, /// ... 0,5981 52 .5950,
52 .5545, /// ... 0,5568 53 .5545,
53 .5333, /// ... 0,5285 54 .5333,
54 .5189, /// ... 0,5178 55 .5189,
55 .5181, /// ... 0,5137 56 .5181,
56 .5176, /// ... 0,5196 57 .5176,
57 .5172, /// ... 0,5150 58 .5172,
58 .5119 /// ... 0,5109 59 .5119
59 }; 60 };
60 61
61 rom const float buhlmann_b[] = 62 rom const float buhlmann_b[] =
62 { 63 {
63 //---- b for N2 -------------------------------------------------------------- 64 //---- b for N2 --------------------------------------------------------------
64 0.5050, /// WARNING ZH-L16c gives a different value: 0.5241 65 0.5050,
65 0.6514, /// All the other values matches ZH-L16c-1990 66 0.6514,
66 0.7222, 67 0.7222,
67 0.7825, 68 0.7825,
68 0.8126, 69 0.8126,
69 0.8434, 70 0.8434,
70 0.8693, 71 0.8693,
97 }; 98 };
98 99
99 rom const float buhlmann_ht[] = 100 rom const float buhlmann_ht[] =
100 { 101 {
101 //---- N2 -------------------------------------------------------------------- 102 //---- N2 --------------------------------------------------------------------
102 4, // Compartiment length, in minute, for nitrogen. 103 4, // Compartiment half-life, in minute, for nitrogen.
103 8, 104 8,
104 12, 105 12,
105 18, 106 18,
106 27, 107 27,
107 39, 108 39,
135 }; 136 };
136 137
137 rom const float e2secs[] = 138 rom const float e2secs[] =
138 { 139 {
139 //---- N2 -------------------------------------------------------------------- 140 //---- N2 --------------------------------------------------------------------
140 5.7596E-03, // und zwar 1 - 2^(-2sec/HT) 141 5.75958E-03, // und zwar 1 - 2^(-1/(30sec*HT))
141 2.8839E-03, 142 2.88395E-03,
142 1.8467e-03, 143 1.92356E-03,
143 1.2481e-03, 144 1.28278E-03,
144 8.5537E-04, 145 8.55371E-04,
145 6.0308E-04, 146 5.92258E-04,
146 4.2541E-04, 147 4.20001E-04,
147 3.0002E-04, 148 3.00019E-04,
148 2.1195E-04, 149 2.11949E-04,
149 1.5824E-04, 150 1.58240E-04,
150 1.2355E-04, 151 1.23548E-04,
151 9.6669E-05, 152 9.66686E-05,
152 7.5751E-05, 153 7.57509E-05,
153 5.92E-05, 154 5.92416E-05,
154 4.64E-05, 155 4.63943E-05,
155 3.64E-05, 156 3.63850E-05,
156 //---- He -------------------------------------------------------------------- 157 //---- He --------------------------------------------------------------------
157 0.01518479275, 158 1.51848E-02,
158 0.007621439546, 159 7.62144E-03,
159 0.004883145696, 160 4.88315E-03,
160 0.003299965996, 161 3.29997E-03,
161 0.002260409686, 162 2.26041E-03,
162 0.00159437032, 163 1.59437E-03,
163 0.001124788578, 164 1.12479E-03,
164 0.0007933953673, 165 7.93395E-04,
165 0.0005606414716, 166 5.60641E-04,
166 0.0004185553604, 167 4.18555E-04,
167 0.0003267948866, 168 3.26795E-04,
168 0.0002557222899, 169 2.55722E-04,
169 0.0002003867723, 170 2.00387E-04,
170 0.0001567161546, 171 1.56716E-04,
171 0.0001227342122, 172 1.22734E-04,
172 9.625377675E-5 173 9.62538E-05
173 }; 174 };
174 175
175 rom const float e1min[] = 176 rom const float e1min[] =
176 { 177 {
177 //---- N2 -------------------------------------------------------------------- 178 //---- N2 --------------------------------------------------------------------
178 0.1591036, // Integration constant for 1 minute, 179 1.59104E-01, // Integration constant for 1 minute,
179 0.08299596, // ie. 1 - 2^(-1/ht) 180 8.29960E-02, // Ie. 1- 2^(-1/HT)
180 0.053942353, 181 5.61257E-02,
181 0.036774196, 182 3.77762E-02,
182 0.02534539, 183 2.53454E-02,
183 0.017935055, 184 1.76160E-02,
184 0.012684012, 185 1.25236E-02,
185 8.961515534E-3, 186 8.96152E-03,
186 6.338971845E-3, 187 6.33897E-03,
187 4.73633146E-3, 188 4.73633E-03,
188 3.699808187E-3, 189 3.69981E-03,
189 2.89599589E-3, 190 2.89600E-03,
190 2.270033275E-3, 191 2.27003E-03,
191 1.775722E-3, 192 1.77572E-03,
192 1.390893611E-3, 193 1.39089E-03,
193 1.090974815E-3, 194 1.09097E-03,
194 //---- e 1min He ------------------------------------------------------------- 195 //---- e 1min He -------------------------------------------------------------
195 0.368108684, 196 3.68109E-01,
196 0.2050840824, 197 2.05084E-01,
197 0.1365792957, 198 1.36579E-01,
198 0.09440463235, 199 9.44046E-02,
199 0.06563586265, 200 6.56359E-02,
200 0.04674161154, 201 4.67416E-02,
201 0.03319905126, 202 3.31991E-02,
202 0.02353005571, 203 2.35301E-02,
203 0.0166832282, 204 1.66832E-02,
204 0.01248075064, 205 1.24808E-02,
205 0.009757532198, 206 9.75753E-03,
206 0.007643290133, 207 7.64329E-03,
207 0.005994168431, 208 5.99417E-03,
208 0.004690816669, 209 4.69082E-03,
209 0.003675481163, 210 3.67548E-03,
210 0.002883586737 211 2.88359E-03
211 }; 212 };
212 213
213 rom const float e10min[] = 214 rom const float e10min[] =
214 { 215 {
215 //---- N2 -------------------------------------------------------------------- 216 //---- N2 --------------------------------------------------------------------
216 // Die 10 min Werte in float Notation: 217 // Die 10 min Werte in float Notation:
217 // und zwar 1 - 2^(-10/ht) 218 // und zwar 1 - 2^(-10/ht)
218 0.823223, // 1 - 2^(-10/4.0) 219 8.23223E-01, // 1 - 2^(-10/4.0)
219 0.579552, 220 5.79552E-01,
220 0.425651, 221 4.38769E-01,
221 0.312487, 222 3.19605E-01,
222 0.226416, 223 2.26416E-01,
223 0.165547, 224 1.62832E-01,
224 0.11984, 225 1.18409E-01,
225 0.0860863, 226 8.60863E-02,
226 0.0616117, 227 6.16117E-02,
227 0.0463665, 228 4.63665E-02,
228 0.0363881, 229 3.63881E-02,
229 0.0285855, 230 2.85855E-02,
230 0.0224698, 231 2.24698E-02,
231 0.017616, 232 1.76160E-02,
232 0.0138222, 233 1.38222E-02,
233 0.0108563, 234 1.08563E-02,
234 //---- He -------------------------------------------------------------------- 235 //---- He --------------------------------------------------------------------
235 0.989851, 236 9.89851E-01,
236 0.899258, 237 8.99258E-01,
237 0.769737, 238 7.69737E-01,
238 0.629027, 239 6.29027E-01,
239 0.492821, 240 4.92821E-01,
240 0.380407, 241 3.80407E-01,
241 0.286538, 242 2.86538E-01,
242 0.211886, 243 2.11886E-01,
243 0.154849, 244 1.54849E-01,
244 0.118026, 245 1.18026E-01,
245 0.0934005, 246 9.34005E-02,
246 0.0738569, 247 7.38569E-02,
247 0.0583504, 248 5.83504E-02,
248 0.0459303, 249 4.59303E-02,
249 0.0361528, 250 3.61528E-02,
250 0.0284646, 251 2.84646E-02
251 }; 252 };
252 253