{"id":23450,"date":"2021-08-21T14:32:25","date_gmt":"2021-08-21T12:32:25","guid":{"rendered":"https:\/\/thetheoreticaldiver.org\/wordpress\/?p=23450"},"modified":"2022-04-11T09:54:13","modified_gmt":"2022-04-11T07:54:13","slug":"the-dciem-model","status":"publish","type":"post","link":"https:\/\/thetheoreticaldiver.org\/wordpress\/index.php\/2021\/08\/21\/the-dciem-model\/","title":{"rendered":"The DCIEM model"},"content":{"rendered":"\n<p>When the Subsurface mailing list recently received the request if the planner could implement the DCIEM model as well my first reaction what &#8220;Whut?&#8221; has I had not heard of it before. <\/p>\n\n\n\n<p>Turns out, DCIEM stands for &#8220;Defense and Civil Institute of Environmental Medicine&#8221; which was a research institution of the Canadian military and is now part of DRDC Toronto according to <a href=\"https:\/\/en.wikipedia.org\/wiki\/DRDC_Toronto\">Wikipedia<\/a>. The request to Subsurface was apparently prompted by the fact that <a href=\"https:\/\/www.shearwater.com\/dciem\/\">Shearwater announced<\/a> to implement the model into their dive computer for commercial divers. The &#8220;for commercial divers&#8221; sounds to me like this is more to tick some boxes in the health and safety requirements for these people rather than something that the diving world at large should adopt. But still, it might be interesting to see what this model actually does.<\/p>\n\n\n\n<p>Some googling suggests that this model is mainly consumed not in terms of an algorithm in planning software or dive computers but in the for of tables. A 1992 version can for example be found <a href=\"https:\/\/www.divetable.info\/manuals_4_free\/p125936.pdf\">here<\/a>.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" src=\"https:\/\/www.divercertification.com\/wp-content\/uploads\/2021\/01\/Tables.jpg\" alt=\"\"\/><\/figure>\n\n\n\n<p>But Google also finds <a href=\"https:\/\/cradpdf.drdc-rddc.gc.ca\/PDFS\/unc33\/p511493.pdf\">a review paper<\/a> by Nishi and Tikuisis that explains that the DCIEM model is a non-linear model developed by Kidd and Stubbs. It shows as four compartment discretisation of a slab of tissue together with a ODE for time evolution:<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"1050\" height=\"556\" src=\"https:\/\/thetheoreticaldiver.org\/wordpress\/\/var\/lib\/wordpress\/wp-content\/uploads\/2021\/08\/Screenshot-2021-08-21-at-13.40.48.png\" alt=\"\" class=\"wp-image-23451\"\/><figcaption>Kidd-Stubbs model according to Nishi and Tikituisis<\/figcaption><\/figure>\n\n\n\n<p>As written, I cannot make much sense of it but things clear up when the expression is expanded:<\/p>\n\n\n\\(\\dot p = ab \\Delta p +a\\Delta p^2\\)\n\n\n\n<p>Here, p is the vector of tissue pressures and \u0394 is the discrete Laplacian that for a sequence (s) is<\/p>\n\n\n\n<p><\/p>\n\n\n\n\\( \\Delta s_{n} = s_{n-1} -2 s_n + s_{n+1}.\\)\n\n\n\n<p>If there were only the first term on the RHS, that would simply be a diffusion equation that I would also have written if somebody had asked me to write down a model for a slab of tissue. I have no clue where the second, non-linear term comes from but clearly it can safely be ignored as long as p&lt;&lt;b.  There is also <a href=\"https:\/\/apps.dtic.mil\/sti\/pdfs\/AD0765704.pdf\">a paper by Nishi and Kuehn<\/a> that gives a FORTRAN implementation of the model (doesn&#8217;t this sound familiar&#8230;). In the source code, I find a value of b=274.5 which is supposedly in units of psi which translates to 19bar, so the non-linear term should will not be relevant for anyone with a depth limit short of 200m. In the review paper it is stated that the constants of the model were fitted to bubble measurements after trial dives but one could wonder how this is would be possible unless compartment pressures at least came near to 20bar&#8230;<\/p>\n\n\n\n<p>The paper with the FORTRAN program also explains that the relation between tissue pressure and ambient pressure is pretty much a standard \\(p_{amb}\\ge c_1 p_{tissue} + c_2.\\)<\/p>\n\n\n\n<p>More interesting is that the discretised slab is an example of the interacting tissue models I talked about in the <a href=\"https:\/\/thetheoreticaldiver.org\/wordpress\/index.php\/2019\/11\/12\/why-are-tissues-independent\/\" data-type=\"post\" data-id=\"236\">post about those being equivalent to independent tissues<\/a>. For four tissues, the discretised Laplacian (there is of course also a <a href=\"https:\/\/en.wikipedia.org\/wiki\/Eigenvalues_and_eigenvectors_of_the_second_derivative\">closed form<\/a>) has eigen values \\(\\frac{-3\\pm \\sqrt 5}{2}, \\frac{-5\\pm\\sqrt 5}{2}\\)  which numerically range between -3.6 and -0.38. <\/p>\n\n\n\n<p>So, the four independent tissues after diagonalization cover one decade of half-times all proportional to 1\/ab. <\/p>\n\n\n\n<p>So, taking everything into account, the DCIEM model is (equivalent to) a B\u00fchlmann type model with four tissues coving a somewhat small range of half-times. So I would expect with an appropriate choice of constants, one can produce somewhat reasonable deco schedules at least for air dives (we have not discussed different gases) with not too long runtimes. But a full blown B\u00fchlmann (possibly with gradient factors) is much more expressive. <\/p>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>When the Subsurface mailing list recently received the request if the planner could implement the DCIEM model as well my first reaction what &#8220;Whut?&#8221; has I had not heard of it before. Turns out, DCIEM stands for &#8220;Defense and Civil Institute of Environmental Medicine&#8221; which was a research institution of the Canadian military and is &hellip; <a href=\"https:\/\/thetheoreticaldiver.org\/wordpress\/index.php\/2021\/08\/21\/the-dciem-model\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;The DCIEM model&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_s2mail":"yes","footnotes":""},"categories":[1],"tags":[],"class_list":["post-23450","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/thetheoreticaldiver.org\/wordpress\/index.php\/wp-json\/wp\/v2\/posts\/23450","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/thetheoreticaldiver.org\/wordpress\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/thetheoreticaldiver.org\/wordpress\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/thetheoreticaldiver.org\/wordpress\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/thetheoreticaldiver.org\/wordpress\/index.php\/wp-json\/wp\/v2\/comments?post=23450"}],"version-history":[{"count":7,"href":"https:\/\/thetheoreticaldiver.org\/wordpress\/index.php\/wp-json\/wp\/v2\/posts\/23450\/revisions"}],"predecessor-version":[{"id":37238,"href":"https:\/\/thetheoreticaldiver.org\/wordpress\/index.php\/wp-json\/wp\/v2\/posts\/23450\/revisions\/37238"}],"wp:attachment":[{"href":"https:\/\/thetheoreticaldiver.org\/wordpress\/index.php\/wp-json\/wp\/v2\/media?parent=23450"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/thetheoreticaldiver.org\/wordpress\/index.php\/wp-json\/wp\/v2\/categories?post=23450"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/thetheoreticaldiver.org\/wordpress\/index.php\/wp-json\/wp\/v2\/tags?post=23450"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}