-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
173 lines (164 loc) · 8.15 KB
/
index.html
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
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
<!DOCTYPE html>
<html>
<head>
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.2/dist/css/bootstrap.min.css" rel="stylesheet"
integrity="sha384-T3c6CoIi6uLrA9TneNEoa7RxnatzjcDSCmG1MXxSR1GAsXEV/Dwwykc2MPK8M2HN" crossorigin="anonymous">
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.2/dist/js/bootstrap.bundle.min.js"
integrity="sha384-C6RzsynM9kWDrMNeT87bh95OGNyZPhcTNXj1NW7RuBCsyN/o0jlpcV8Qyq46cDfL"
crossorigin="anonymous"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/Chart.js/4.4.0/chart.umd.min.js"
integrity="sha512-SIMGYRUjwY8+gKg7nn9EItdD8LCADSDfJNutF9TPrvEo86sQmFMh6MyralfIyhADlajSxqc7G0gs7+MwWF/ogQ=="
crossorigin="anonymous" referrerpolicy="no-referrer"></script>
<script src="src/main.js"></script>
<style>
h5.input-header {
padding: 6px;
padding-top: 18px;
}
</style>
</head>
<body>
<div class="row" style="margin: 10px;">
<div class="col-3">
<h5 class="input-header">Simulation Settings</h5>
<div class="container">
<div class="row">
<div class="col">
<label class="form-label">Timestep (s)</label>
</div>
<div class="col" style="text-align: right;">
<select class="form-select form-select-sm" style="width: 80%;" value="0.01" id="timestepInput">
<option value="0.001">0.001</option>
<option value="0.005">0.005</option>
<option selected value="0.01">0.01</option>
<option value="0.05">0.05</option>
<option value="0.1">0.1</option>
</select>
</div>
</div>
<div class="row">
<div class="col">
<label class="form-label">Ticks per sample</label>
</div>
<div class="col" style="text-align: right;">
<input type="number" class="form-control form-control-sm" style="width: 80%;" min="1" max="100"
step="1" value="20" id="ticksPerSampleInput">
</div>
</div>
</div>
<h5 class="input-header">System Settings</h5>
<div class="container">
<div class="row">
<div class="col">
<label class="form-label">ΔH of rxn (kJ/mol)</label>
</div>
<div class="col" style="text-align: right;">
<input type="number" class="form-control form-control-sm" style="width: 80%;" min="-100"
max="100" value="-15" step="-0.1" id="deltaHInput" SIvalue>
</div>
</div>
<div class="row">
<div class="col">
<label class="form-label">K<sub>d</sub> (M)</label>
</div>
<div class="col" style="text-align: right;">
<input type="number" class="form-control form-control-sm" style="width: 80%;" min="1e-9"
max="1e-3" value="1e-6" step="1e-8" id="KdInput" SIvalue>
</div>
</div>
<div class="row">
<div class="col">
<label class="form-label">k<sub>on</sub> (M<sup>-1</sup>s<sup>-1</sup>)</label>
</div>
<div class="col" style="text-align: right;">
<input type="number" class="form-control form-control-sm" style="width: 80%;" min="100"
max="1e8" value="5e3" step="100" id="kOnInput" SIvalue>
</div>
</div>
<div class="row">
<div class="col">
<label class="form-label">k<sub>off</sub> (s<sup>-1</sup>)</label>
</div>
<div class="col" style="text-align: right;">
<input type="text" class="form-control form-control-sm" style="width: 80%;" id="kOffInput"
disabled readonly SIvalue>
</div>
</div>
</div>
<h5 class="input-header">Experiment Settings</h5>
<div class="container">
<div class="row">
<div class="col">
<label class="form-label">[Syringe] (M)</label>
</div>
<div class="col" style="text-align: right;">
<input type="number" class="form-control form-control-sm" style="width: 80%;" min="1e-9"
max="1" value="1e-6" step="1e-8" id="concSyringeInput" SIvalue>
</div>
</div>
<div class="row">
<div class="col">
<label class="form-label">[Cell] (M)</label>
</div>
<div class="col" style="text-align: right;">
<input type="number" class="form-control form-control-sm" style="width: 80%;" min="1e-9"
max="1" value="1e-6" step="1e-8" id="concCellInitialInput" SIvalue>
</div>
</div>
</div>
<h5 class="input-header">Injection Settings</h5>
<div class="container">
<div class="row">
<div class="col">
<label class="form-label">Initial delay (s)</label>
</div>
<div class="col" style="text-align: right;">
<input type="number" class="form-control form-control-sm" style="width: 80%;" min="0"
max="3600" value="60" step="1" id="initialDelayInput">
</div>
</div>
<div class="row">
<div class="col">
<label class="form-label">Injection spacing (s)</label>
</div>
<div class="col" style="text-align: right;">
<input type="number" class="form-control form-control-sm" style="width: 80%;" min="0"
max="3600" value="120" step="1" id="injectionSpacingInput">
</div>
</div>
<div class="row">
<div class="col">
<label class="form-label">Injection count</label>
</div>
<div class="col" style="text-align: right;">
<input type="number" class="form-control form-control-sm" style="width: 80%;" min="1"
max="40" value="19" step="1" id="injectionCountInput">
</div>
</div>
<div class="row">
<div class="col">
<label class="form-label">Initial injection volume (L)</label>
</div>
<div class="col" style="text-align: right;">
<input type="number" class="form-control form-control-sm" style="width: 80%;" min="0"
max="4e-6" value="0.4e-6" step="0.1e-6" id="vInjectInitialInput" SIvalue>
</div>
</div>
<div class="row">
<div class="col">
<label class="form-label">General injection volume (L)</label>
</div>
<div class="col" style="text-align: right;">
<input type="number" class="form-control form-control-sm" style="width: 80%;" min="0"
max="4e-6" value="2e-6" step="0.1e-6" id="vInjectInput" SIvalue>
</div>
</div>
</div>
</div>
<div class="col-9" style="padding: 0px;">
<canvas id="rawCanvas"></canvas>
<canvas id="heatCanvas"></canvas>
</div>
</div>
</body>
</html>