dmsaylor commited on
Commit
72513b3
·
1 Parent(s): bdd9f35

updated documentation (created info boxes and CoU page)

Browse files
efficiency_module/static/efficiency_COU.html ADDED
@@ -0,0 +1,17 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <!DOCTYPE html>
2
+ <html lang="en">
3
+ <head>
4
+ <title>Efficiency-COU</title>
5
+ <link rel="stylesheet" href="../../static/styles.css">
6
+ <meta charset="UTF-8">
7
+ </head>
8
+
9
+ <header>
10
+ <img src="images/FDAlogo.png" style="float: left;" height="100"/>
11
+ <img src="images/FDAgraphic.png" style="float: right;" height="100"/>
12
+ <br clear="all" />
13
+ <h1 style="text-align:center">CHRIS: <font color="#0070C0">CH</font>emical <font color="#0070C0">RIS</font>k calculator - Extraction Efficiency </h1>
14
+ </header>
15
+ <h2 id="context-of-use-cou">Context of Use (COU)</h2>
16
+ <p>The extraction efficiency module of the CHemical RISk calculator
17
+ (CHRIS) is intended to …</p>
efficiency_module/static/efficiency_COU.md ADDED
@@ -0,0 +1,20 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ```{=html}
2
+ <!DOCTYPE html>
3
+ <html lang="en">
4
+ <head>
5
+ <title>Efficiency-COU</title>
6
+ <link rel="stylesheet" href="../../static/styles.css">
7
+ <meta charset="UTF-8">
8
+ </head>
9
+
10
+ <header>
11
+ <img src="images/FDAlogo.png" style="float: left;" height="100"/>
12
+ <img src="images/FDAgraphic.png" style="float: right;" height="100"/>
13
+ <br clear="all" />
14
+ <h1 style="text-align:center">CHRIS: <font color="#0070C0">CH</font>emical <font color="#0070C0">RIS</font>k calculator - Extraction Efficiency </h1>
15
+ </header>
16
+ ```
17
+
18
+ ## Context of Use (COU)
19
+
20
+ The extraction efficiency module of the CHemical RISk calculator (CHRIS) is intended to ...
efficiency_module/static/images/FDAgraphic.png ADDED

Git LFS Details

  • SHA256: 309a923bc8a29fa479d28c5421f671274bf5c08667207630467bce622fa635fb
  • Pointer size: 130 Bytes
  • Size of remote file: 90.2 kB
efficiency_module/static/images/FDAlogo.png ADDED

Git LFS Details

  • SHA256: b77c9db36215bee929580dba4ba52fe335ab4d35c750cc60e1d1922d348a4dd3
  • Pointer size: 130 Bytes
  • Size of remote file: 26.2 kB
efficiency_module/templates/efficiency_index.html CHANGED
@@ -24,6 +24,9 @@ table, th, td {
24
  <header>
25
  <h1 style="text-align:center"><font color="#0070C0">CH</font>emical <font color="#0070C0">RIS</font>k calculator (CHRIS)</h1>
26
  <h2 style="text-align:center"> Extraction efficiency comparison RST </h2>
 
 
 
27
  </header>
28
 
29
  <script>
@@ -74,55 +77,55 @@ table, th, td {
74
 
75
  <table id="theTable" align="center">
76
  <tr>
77
- <th> Test article mass (g)</th>
78
  {% for i in range(sysnum) %}
79
  <td> <input name="mass{{i}}" id="mass{{i}}" step="any" value="{{mass[i]}}" min="0.000001" type="number" required> </td>
80
  {% endfor %}
81
  </tr>
82
  <tr>
83
- <th> Test article density (g/cm<sup>3</sup>) </th>
84
  {% for i in range(sysnum) %}
85
  <td> <input name="density{{i}}" id="density{{i}}" step="any" value="{{density[i]}}" min="0.01" type="number" required> </td>
86
  {% endfor %}
87
  </tr>
88
  <tr>
89
- <th> Test article surface area (cm<sup>2</sup>) </th>
90
  {% for i in range(sysnum) %}
91
  <td> <input name="area{{i}}" id="area{{i}}" step="any" value="{{area[i]}}" min="0.001" type="number" required> </td>
92
  {% endfor %}
93
  </tr>
94
  <tr>
95
- <th> Solvent volume (ml) </th>
96
  {% for i in range(sysnum) %}
97
  <td> <input name="svol{{i}}" id="svol{{i}}" step="any" value="{{svol[i]}}" min="0.000001" type="number" required> </td>
98
  {% endfor %}
99
  </tr>
100
  <tr>
101
- <th> # of iterations </th>
102
  {% for i in range(sysnum) %}
103
  <td> <input name="iterations{{i}}" id="iterations{{i}}" value="{{iterations[i]}}" min="1" type="number" step="1" onchange="this.value = parseInt(this.value);" required> </td>
104
  {% endfor %}
105
  </tr>
106
  <tr>
107
- <th> time per iteration (h) </th>
108
  {% for i in range(sysnum) %}
109
  <td> <input name="time{{i}}" id="time{{i}}" step="any" value="{{time[i]}}" min="0.001" type="number" required> </td>
110
  {% endfor %}
111
  </tr>
112
  <tr>
113
- <th> Diffusion coefficient (cm<sup>2</sup>/s) </th>
114
  {% for i in range(sysnum) %}
115
  <td> <input name="D{{i}}" id="D{{i}}" step="any" value="{{D[i]}}" min="1e-20" type="number" required> </td>
116
  {% endfor %}
117
  </tr>
118
  <tr>
119
- <th> Partition coefficient </th>
120
  {% for i in range(sysnum) %}
121
  <td> <input name="K{{i}}" id="K{{i}}" step="any" value="{{K[i]}}" min="1e-6" type="number" required> </td>
122
  {% endfor %}
123
  </tr>
124
  <tr>
125
- <th> M/M0 </th>
126
  {% if release[0] == 0 %}
127
  {% for i in range(sysnum) %}
128
  <td> <input name="release{{i}}" id="release{{i}}" readonly> </td>
@@ -134,7 +137,7 @@ table, th, td {
134
  {% endif %}
135
  </tr>
136
  <tr>
137
- <th> C/C0 </th>
138
  {% if conc[0] == 0 %}
139
  {% for i in range(sysnum) %}
140
  <td> <input name="conc{{i}}" id="conc{{i}}" readonly> </td>
@@ -151,7 +154,224 @@ table, th, td {
151
 
152
  <input name="sysnum" id="sysnum" step="any" value={{sysnum}} type="number" required style="display: none;">
153
 
154
- </form>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
155
 
156
  </body>
157
  </html>
 
24
  <header>
25
  <h1 style="text-align:center"><font color="#0070C0">CH</font>emical <font color="#0070C0">RIS</font>k calculator (CHRIS)</h1>
26
  <h2 style="text-align:center"> Extraction efficiency comparison RST </h2>
27
+
28
+ For details on how to use the CHRIS extraction efficiency module, please click the information icons next to each field and read the
29
+ <a href="{{url_for('.static', filename='efficiency_COU.html')}}"> context of use (COU)</a>, which includes limitations of use.
30
  </header>
31
 
32
  <script>
 
77
 
78
  <table id="theTable" align="center">
79
  <tr>
80
+ <th> Test article mass (g) <button type=button class="Info_btn" data-toggle="modal" data-target="#MassModal">&#9432;</button> </th>
81
  {% for i in range(sysnum) %}
82
  <td> <input name="mass{{i}}" id="mass{{i}}" step="any" value="{{mass[i]}}" min="0.000001" type="number" required> </td>
83
  {% endfor %}
84
  </tr>
85
  <tr>
86
+ <th> Test article density (g/cm<sup>3</sup>) <button type=button class="Info_btn" data-toggle="modal" data-target="#DensityModal">&#9432;</button> </th>
87
  {% for i in range(sysnum) %}
88
  <td> <input name="density{{i}}" id="density{{i}}" step="any" value="{{density[i]}}" min="0.01" type="number" required> </td>
89
  {% endfor %}
90
  </tr>
91
  <tr>
92
+ <th> Test article surface area (cm<sup>2</sup>) <button type=button class="Info_btn" data-toggle="modal" data-target="#SurfaceModal">&#9432;</button> </th>
93
  {% for i in range(sysnum) %}
94
  <td> <input name="area{{i}}" id="area{{i}}" step="any" value="{{area[i]}}" min="0.001" type="number" required> </td>
95
  {% endfor %}
96
  </tr>
97
  <tr>
98
+ <th> Solvent volume (ml) <button type=button class="Info_btn" data-toggle="modal" data-target="#SolventModal">&#9432;</button> </th>
99
  {% for i in range(sysnum) %}
100
  <td> <input name="svol{{i}}" id="svol{{i}}" step="any" value="{{svol[i]}}" min="0.000001" type="number" required> </td>
101
  {% endfor %}
102
  </tr>
103
  <tr>
104
+ <th> # of iterations <button type=button class="Info_btn" data-toggle="modal" data-target="#IterationModal">&#9432;</button> </th>
105
  {% for i in range(sysnum) %}
106
  <td> <input name="iterations{{i}}" id="iterations{{i}}" value="{{iterations[i]}}" min="1" type="number" step="1" onchange="this.value = parseInt(this.value);" required> </td>
107
  {% endfor %}
108
  </tr>
109
  <tr>
110
+ <th> Time per iteration (h) <button type=button class="Info_btn" data-toggle="modal" data-target="#TimeModal">&#9432;</button> </th>
111
  {% for i in range(sysnum) %}
112
  <td> <input name="time{{i}}" id="time{{i}}" step="any" value="{{time[i]}}" min="0.001" type="number" required> </td>
113
  {% endfor %}
114
  </tr>
115
  <tr>
116
+ <th> Diffusion coefficient (cm<sup>2</sup>/s) <button type=button class="Info_btn" data-toggle="modal" data-target="#DiffusionModal">&#9432;</button> </th>
117
  {% for i in range(sysnum) %}
118
  <td> <input name="D{{i}}" id="D{{i}}" step="any" value="{{D[i]}}" min="1e-20" type="number" required> </td>
119
  {% endfor %}
120
  </tr>
121
  <tr>
122
+ <th> Partition coefficient <button type=button class="Info_btn" data-toggle="modal" data-target="#PartitionModal">&#9432;</button> </th>
123
  {% for i in range(sysnum) %}
124
  <td> <input name="K{{i}}" id="K{{i}}" step="any" value="{{K[i]}}" min="1e-6" type="number" required> </td>
125
  {% endfor %}
126
  </tr>
127
  <tr>
128
+ <th> M/M<sub>0</sub> <button type=button class="Info_btn" data-toggle="modal" data-target="#ReleaseModal">&#9432;</button> </th>
129
  {% if release[0] == 0 %}
130
  {% for i in range(sysnum) %}
131
  <td> <input name="release{{i}}" id="release{{i}}" readonly> </td>
 
137
  {% endif %}
138
  </tr>
139
  <tr>
140
+ <th> C/C<sub>0</sub> <button type=button class="Info_btn" data-toggle="modal" data-target="#ConcModal">&#9432;</button> </th>
141
  {% if conc[0] == 0 %}
142
  {% for i in range(sysnum) %}
143
  <td> <input name="conc{{i}}" id="conc{{i}}" readonly> </td>
 
154
 
155
  <input name="sysnum" id="sysnum" step="any" value={{sysnum}} type="number" required style="display: none;">
156
 
157
+ </form>
158
+
159
+ <!-- Modals -->
160
+ <div id="MassModal" class="modal fade" role="dialog">
161
+ <div class="modal-dialog">
162
+
163
+ <!-- Modal content-->
164
+ <div class="modal-content">
165
+ <div class="modal-header">
166
+ <h4 class="modal-title">Extraction efficiency</h4>
167
+ </div>
168
+ <div class="modal-body">
169
+ <p><em>Test article mass (g)</em> - Please enter the total mass of the test article being evaluated expressed in grams.</p>
170
+ </div>
171
+ <div class="modal-footer">
172
+ <button type="button" class="btn btn-default" data-dismiss="modal">Close</button>
173
+ </div>
174
+ </div>
175
+
176
+ </div>
177
+ </div>
178
+
179
+ <div id="DensityModal" class="modal fade" role="dialog">
180
+ <div class="modal-dialog">
181
+
182
+ <!-- Modal content-->
183
+ <div class="modal-content">
184
+ <div class="modal-header">
185
+ <h4 class="modal-title">Extraction efficiency</h4>
186
+ </div>
187
+ <div class="modal-body">
188
+ <p><em>Test article density (g/cm<sup>3</sup>)</em> - Please enter the (approximate) density of the test article
189
+ in grams per cubic centimeter.</p>
190
+ </div>
191
+ <div class="modal-footer">
192
+ <button type="button" class="btn btn-default" data-dismiss="modal">Close</button>
193
+ </div>
194
+ </div>
195
+
196
+ </div>
197
+ </div>
198
+
199
+ <div id="SurfaceModal" class="modal fade" role="dialog">
200
+ <div class="modal-dialog">
201
+
202
+ <!-- Modal content-->
203
+ <div class="modal-content">
204
+ <div class="modal-header">
205
+ <h4 class="modal-title">Extraction efficiency</h4>
206
+ </div>
207
+ <div class="modal-body">
208
+ <p><em>Test article surface area (cm<sup>2</sup>)</em> - Please enter the surface area of the test article
209
+ in square centimeters.</p>
210
+ </div>
211
+ <div class="modal-footer">
212
+ <button type="button" class="btn btn-default" data-dismiss="modal">Close</button>
213
+ </div>
214
+ </div>
215
+
216
+ </div>
217
+ </div>
218
+
219
+ <div id="SolventModal" class="modal fade" role="dialog">
220
+ <div class="modal-dialog">
221
+
222
+ <!-- Modal content-->
223
+ <div class="modal-content">
224
+ <div class="modal-header">
225
+ <h4 class="modal-title">Extraction efficiency</h4>
226
+ </div>
227
+ <div class="modal-body">
228
+ <p><em>Solvent volume (ml)</em> - Please enter the volume of solvent used for each extraction iteration in milliliters.</p>
229
+ </div>
230
+ <div class="modal-footer">
231
+ <button type="button" class="btn btn-default" data-dismiss="modal">Close</button>
232
+ </div>
233
+ </div>
234
+
235
+ </div>
236
+ </div>
237
+
238
+ <div id="IterationModal" class="modal fade" role="dialog">
239
+ <div class="modal-dialog">
240
+
241
+ <!-- Modal content-->
242
+ <div class="modal-content">
243
+ <div class="modal-header">
244
+ <h4 class="modal-title">Extraction efficiency</h4>
245
+ </div>
246
+ <div class="modal-body">
247
+ <p><em># of iterations</em> - Please enter the number of iterations used in the extraction study. </p>
248
+ </div>
249
+ <div class="modal-footer">
250
+ <button type="button" class="btn btn-default" data-dismiss="modal">Close</button>
251
+ </div>
252
+ </div>
253
+
254
+ </div>
255
+ </div>
256
+
257
+ <div id="TimeModal" class="modal fade" role="dialog">
258
+ <div class="modal-dialog">
259
+
260
+ <!-- Modal content-->
261
+ <div class="modal-content">
262
+ <div class="modal-header">
263
+ <h4 class="modal-title">Extraction efficiency</h4>
264
+ </div>
265
+ <div class="modal-body">
266
+ <p><em>Time per iteration (h)</em> - Please enter the extraction time for each iteration in hours. </p>
267
+
268
+ <p><em>Note:</em> The extraction efficiency module makes the default assumption that all extraction iterations are equivalent
269
+ in duration. However, if this is not the case, the module can still be used, although the input must be modified. Because of
270
+ approximate scaling relationships, a single step extraction will be equivalent to an iterative extraction provided the
271
+ the total solvent used and total time duration are also equivalent. For example, a three step iterative extraction using 10 ml
272
+ for each iteration with time
273
+ points of 24, 72, and 168 hours can be modeled using a single step extraction (# of iterations = 1) with 30 ml of solvent
274
+ (3 x 10 ml) for 168 hours. This same approach can be used if the solvent volumes are different for each extraction
275
+ iteration, however unlikely this scenario may be.</p>
276
+ </div>
277
+ <div class="modal-footer">
278
+ <button type="button" class="btn btn-default" data-dismiss="modal">Close</button>
279
+ </div>
280
+ </div>
281
+
282
+ </div>
283
+ </div>
284
+
285
+ <div id="DiffusionModal" class="modal fade" role="dialog">
286
+ <div class="modal-dialog">
287
+
288
+ <!-- Modal content-->
289
+ <div class="modal-content">
290
+ <div class="modal-header">
291
+ <h4 class="modal-title">Extraction efficiency</h4>
292
+ </div>
293
+ <div class="modal-body">
294
+ <p><em>Diffusion coefficient (cm<sup>2</sup>/s)</em> - Please enter a diffusion coefficient in square centimeters per
295
+ second. </p>
296
+
297
+ <p><em>Note:</em> The diffusion coefficient (D) is a material property that reflects the rate at which a compound
298
+ can migrate through the matrix - formally it is a proportionality constant relating concentration gradient to flux.
299
+ The value of D can vary dramatically depending on the polymer matrix and extractable compound, and even extraction solvent,
300
+ for systems that exhibit significant swelling. If you are interested in comparing the extraction efficiency for a specific
301
+ compound, we recommend estimating D for the system of interest based on available data. For comparing experimental conditions
302
+ for extractable compounds in general, we recommend probing an appropriate range of D for the systems of interest. For example,
303
+ compounds in the Mw range of 200 to 1200 g/mol extracted from HDPE have been found to lie in the range of 1e-9 to 1e-13 cm2/s for IPA
304
+ and 1e-7 to 1e-9 cm2/s in hexane [].</p>
305
+ </div>
306
+ <div class="modal-footer">
307
+ <button type="button" class="btn btn-default" data-dismiss="modal">Close</button>
308
+ </div>
309
+ </div>
310
+
311
+ </div>
312
+ </div>
313
+
314
+ <div id="PartitionModal" class="modal fade" role="dialog">
315
+ <div class="modal-dialog">
316
+
317
+ <!-- Modal content-->
318
+ <div class="modal-content">
319
+ <div class="modal-header">
320
+ <h4 class="modal-title">Extraction efficiency</h4>
321
+ </div>
322
+ <div class="modal-body">
323
+ <p><em>Partition coefficient</em> - Please enter a partition coefficient of interest for you system.</p>
324
+
325
+ <p><em>Note:</em> The partition coefficient (K) is a material property that reflects the ratio of equilibrium solubilites of the
326
+ extractable compound in the polymer matrix and extraction solvent. The value of K ... </p>
327
+ </div>
328
+ <div class="modal-footer">
329
+ <button type="button" class="btn btn-default" data-dismiss="modal">Close</button>
330
+ </div>
331
+ </div>
332
+
333
+ </div>
334
+ </div>
335
+
336
+ <div id="ReleaseModal" class="modal fade" role="dialog">
337
+ <div class="modal-dialog">
338
+
339
+ <!-- Modal content-->
340
+ <div class="modal-content">
341
+ <div class="modal-header">
342
+ <h4 class="modal-title">Extraction efficiency</h4>
343
+ </div>
344
+ <div class="modal-body">
345
+ <p><em>M / M<sub>0</sub> </em> - Predicted extraction efficiency expressed as a ratio of total mass released over the
346
+ initial mass (total pool) in the polymer matrix </p>
347
+ </div>
348
+ <div class="modal-footer">
349
+ <button type="button" class="btn btn-default" data-dismiss="modal">Close</button>
350
+ </div>
351
+ </div>
352
+
353
+ </div>
354
+ </div>
355
+
356
+ <div id="ConcModal" class="modal fade" role="dialog">
357
+ <div class="modal-dialog">
358
+
359
+ <!-- Modal content-->
360
+ <div class="modal-content">
361
+ <div class="modal-header">
362
+ <h4 class="modal-title">Extraction efficiency</h4>
363
+ </div>
364
+ <div class="modal-body">
365
+ <p><em>C / C<sub>0</sub> </em> - Predicted relative solvent concentration expressed as a ratio of extraction solvent concentration
366
+ and the initial concentration of the extractable compound in the polymer matrix </p>
367
+ </div>
368
+ <div class="modal-footer">
369
+ <button type="button" class="btn btn-default" data-dismiss="modal">Close</button>
370
+ </div>
371
+ </div>
372
+
373
+ </div>
374
+ </div>
375
 
376
  </body>
377
  </html>