File size: 6,434 Bytes
3c8422a
 
 
 
 
 
 
08f92a2
 
3c8422a
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
570b086
 
3c8422a
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
d4fe9ea
3c8422a
 
 
abe0ff4
3c8422a
e5c6eb7
3c8422a
abe0ff4
3c8422a
e5c6eb7
3c8422a
 
 
 
abe0ff4
3c8422a
 
abe0ff4
 
 
 
 
3c8422a
 
6e539a4
3c8422a
 
 
 
 
 
6e539a4
3c8422a
 
 
abe0ff4
 
3c8422a
 
 
abe0ff4
3c8422a
abe0ff4
 
 
3c8422a
d4fe9ea
 
 
6e539a4
d4fe9ea
 
 
3c8422a
608b51d
 
f6c9e30
 
608b51d
 
 
3c8422a
 
 
570b086
3c8422a
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>CHRIS Report</title>

    <!-- <script src="https://polyfill.io/v3/polyfill.min.js?features=es6"></script> -->
    <!-- <script id="MathJax-script" async src="https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-mml-svg.js"></script> -->
    <script id="MathJax-script" async src="{{ url_for('static',filename='mathjax/tex-mml-svg.js') }}"></script>
    <link rel= "stylesheet" type= "text/css" href= "{{ url_for('static',filename='styles.css') }}">

    <style>
    * {
      box-sizing: border-box;
    }

    /* Create two equal columns that floats next to each other */
    .column {
      float: left;
      width: 50%;
      padding: 10px;
      vertical-align: top;
      align: center;
    }

    /* Clear floats after the columns */
    .row:after {
      content: "";
      display: table;
      clear: both;
    }
    </style>

</head>

{% extends "base.html" %}
{% block content %}

<body>

<p> The following report was generated using CHRIS-Total Quantity v.0.1 on
<script> document.write(new Date().toLocaleDateString()); </script>.
</p>

<h2> Compound </h2>

<div class="container">
<div class="row">
  <div class="column">
      Input ::  {{chemName}} <br> <br>
      IUPAC Name ::  {{iupac}} <br> <br>
      CAS ::  {{cas}} <br> <br>
      Molecular weight (g/mol) :: {{'%0.4f'%MW|float}}
      {% if ceramic %} :: inorganic detected, assume insoluble particle and slow diffusion (e.g., maximum Mw) {% endif %}
      <br> <br>
      {% if show_properties %} 
      LogKow :: {{LogP}}{{LogP_origin}}<br> <br>
      Density (g/cm<sup>3</sup>) :: {{rho}}{{rho_origin}}<br> <br>
      Melting point (&deg;C) :: {{mp}}{{mp_origin}}<br> <br>
      {% endif %}
      SMILES :: {{smiles}}
  </div>
  <div class="column">
      <img src="{{molImage}}"/>
  </div>
</div>
</div>

<h2> Total Quantity </h2>

<p>
{% if methods[0]=="category" %}
<u> Modeling extraction from {{polymers[pIndex]}} estimates the total quantity = {{M0}} {{units}}. </u>
{% elif methods[0]=="wc" %}
<u> Modeling extraction from the polymer (with worst-case diffusion in a glassy polymer assumed) estimates the total quantity = {{M0}} {{units}}. </u>
{% elif methods[0]=="qrf" %}
<u> Modeling extraction from the polymer (with density = {{methods[2]}} g/cm<sup>3</sup> and T<sub>g</sub> = {{methods[1]}} &deg;C) estimates the total quantity = {{M0}} {{units}}. </u>
{% elif methods[0]=="qrf/wc" %}
<u> Modeling extraction from the polymer (with worst-case diffusion in a glassy polymer assumed because this system is outside the model training domain) estimates the total quantity = {{M0}} {{units}}. </u>
{% endif %}
<p>

<p>
This estimate was derived using the solutions to the conservative plane sheet model for mass release, \( M \):

\[
\frac{M(\tau)}{M_0} = \left\{
  \begin{array}{cr}
  (1+\Psi) \left[1-\exp\left( \frac{\tau}{\alpha^2} \right) \mathop{\rm erfc} \left( \frac{\tau^{0.5}}{\Psi} \right) \right] & \tau \leq 0.05 \\
  \frac{1}{1+1/\Psi}\left[1-\sum^\infty_{n=1} \frac{2\Psi(1+\Psi)}{1+\Psi+\Psi^2q_n^2}\exp\left(-\tau q_n^2\right)\right] & \tau > 0.05
      \end{array} \right.
\]

where \( \tau= D t A^2 / V_p^2 \), \( A \) and \( V_p \) are the surface area and volume of the polymer matrix, respectively, \( D \) is an estimated distribution of the diffusion coefficient of the extractable within the swollen polymer matrix, and \( t \) is time. The quantity \( \Psi = V_s/V_p K \), where \( V_s \) is the solvent volume and \( K \) is the polymer-solvent partition coefficient for the extractable. \( q_n \) are the roots of \( \tan x + \Psi x = 0 \). \( M_0 \) is total quantity initially contained in the polymer. The amount of swelling and number of iterations \( N \) are used to adjust \( \tau \) and \( \Psi \). Based on the input provided, the calculation used the following values:
</p>

<p>
Extracted amount \( M \) = {{M}} {{units}} <br>
Surface area \( A \) = {{area}} cm<sup>2</sup> <br>
Duration \( t \) = {{time}} h <br>
Iterations \( N \) = {{iterations}} <br>
Temperature = {{T}} &deg;C <br>
Solvent = {{solventname}} <br>
Solvent volume \( V_s \) = {{solventvol}} cm<sup>3</sup> <br>
Polymer volume \( V_p \) = {{vol}} cm<sup>3</sup> (based on polymer mass = {{mass}} g and density = {{density}} g/cm<sup>3</sup>) <br>
Partition coefficient  \( K \)= {{K}} <br>
Swelling = {{swelling}} wt% (used to estimate \( D \))<br>
</p>

<p>The total quantity reported above is the median of the distribution of predicted amounts. Additional percentiles are provided here for informational purposes:</p>

<div>
{{ table | safe }}
</div>

<!-- <p>The progress of the extraction can be expressed through the dimensionless time \( \tau \). For your extraction, \( \tau \) = {{tau}}. Extractions with \( \tau \geq 0.1 \) result in more accurate estimates of the total quantity. When \( \tau \geq 1.0 \), the extracted amount may be used directly as the total quantity if the extraction is diffusion-controlled (i.e., \( \Psi \) is sufficiently large). For example, if \( \Psi > 10 \) and \( \tau \geq 1.0 \) less than 10% of the extractable will remain in the test article, consistent with exhaustive extraction. The total quantity from this tool may be used in the CHRIS exposure modules to estimate clinical exposure.</p> --!>
<h3> Notes </h3>
<ul>
    <li>The progress of the extraction can be expressed through the dimensionless time \( \tau \). For your extraction, the median \( \tau \) = {{tau}}. Extractions with \( \tau \geq 0.1 \) result in more accurate estimates of the total quantity.</li>
    <li>If the median \( M / M_0 > 0.9 \), the extraction can be considered exhaustive, and the extracted amount may be used directly as the total quantity.</li>
    <li>The total quantity predicted with this tool can be used in the CHRIS exposure modules to estimate clinical exposure.</li>
</ul>

{% if M0>=mass_units %}
<p>
<font color="red">The predicted amount ({{M0}} {{units}}) is larger than the device mass ({{mass_units}} {{units}}), which may be due to uncertainty and conservatism in the prediction. 
In this case the device mass may be used as a conservative estimate of the total quantity of this extractable. Alternatively, you may have used mismatched units for device density or extracted amount.</font>
</p>
{% endif  %}

<p><button type="button" onclick="javascript:history.back()">Back</button></p>

</body>
{% endblock %}
</html>