File size: 5,263 Bytes
4f5540c
 
 
aa069c9
 
 
ac14af2
4f5540c
 
 
aa069c9
 
 
ac14af2
4f5540c
 
 
aa069c9
 
 
ac14af2
4f5540c
 
 
aa069c9
 
 
ac14af2
4f5540c
 
 
aa069c9
 
 
ac14af2
 
4f5540c
 
aa069c9
 
 
ac14af2
4f5540c
 
 
aa069c9
 
 
ac14af2
4f5540c
 
 
aa069c9
 
 
ac14af2
 
4f5540c
 
aa069c9
 
 
ac14af2
4f5540c
 
 
aa069c9
 
 
ac14af2
4f5540c
 
 
aa069c9
 
 
ac14af2
 
4f5540c
 
aa069c9
 
 
ac14af2
 
4f5540c
 
aa069c9
 
 
ac14af2
 
4f5540c
 
aa069c9
 
 
ac14af2
4f5540c
 
 
aa069c9
 
 
ac14af2
 
4f5540c
 
aa069c9
 
 
ac14af2
4f5540c
 
 
aa069c9
 
 
ac14af2
 
4f5540c
 
aa069c9
 
 
ac14af2
4f5540c
 
 
aa069c9
 
 
ac14af2
4f5540c
 
 
aa069c9
 
 
ac14af2
 
4f5540c
 
aa069c9
 
 
ac14af2
4f5540c
 
 
aa069c9
 
 
ac14af2
 
4f5540c
 
aa069c9
 
 
 
4f5540c
 
 
aa069c9
 
 
ac14af2
 
4f5540c
 
aa069c9
 
 
ac14af2
4f5540c
 
535b2b4
4f5540c
 
ac14af2
aa069c9
 
 
ac14af2
 
aa069c9
 
 
 
ac14af2
4f5540c
 
 
 
 
 
 
aa069c9
 
4f5540c
 
 
 
cb49da2
5974ee6
 
4f5540c
 
 
 
aa069c9
cb49da2
5974ee6
 
aa069c9
 
 
 
4f5540c
 
 
 
 
aa069c9
 
4f5540c
 
 
 
d568281
 
 
4f5540c
 
 
 
 
 
 
aa069c9
4f5540c
 
 
 
d9210ef
4f5540c
 
 
 
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
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
input_mapping:
  "%SA":
    label: "Percentage of SA"
    comp_type: Slider
    minimum: 0
    maximum: 100
    step: 0.1
    example: 0
  '%ADP':
    label: "Percentage of DP"
    comp_type: Slider
    minimum: 0
    maximum: 100
    step: 0.1
    example: 0
  '%DDDA':
    label: "Percentage of DDDA"
    comp_type: Slider
    minimum: 0
    maximum: 100
    step: 0.11
    example: 0
  '%AZL':
    label: "Percentage of AZL"
    comp_type: Slider
    minimum: 0
    maximum: 100
    step: 0.1
    example: 0
  '%1,4-CHDA':
    label: "Percentage of 1.4-CHDA"
    comp_type: Slider
    minimum: 0
    maximum: 100
    step: 0.1
    example: 30.5
  '%1,4-CHDA (95% trans)':
    label: "Percentage of 1.4-CHDA (95% trans)"
    comp_type: Slider
    minimum: 0
    maximum: 100
    step: 0.1
    example: 0
  '%1,3-CHDA':
    label: "Percentage of 1.3-CHDA"
    comp_type: Slider
    minimum: 0
    maximum: 100
    step: 0.1
    example: 0
  '%1,2-CHDA':
    label: "Percentage of 1.2-CHDA"
    comp_type: Slider
    minimum: 0
    maximum: 100
    step: 0.1
    example: 0
  '%HHPA':
    label: "Percentage of HHPA"
    comp_type: Slider
    minimum: 0
    maximum: 100
    step: 0.1
    example: 0
  '%PA':
    label: "Percentage of PA"
    comp_type: Slider
    minimum: 0
    maximum: 100
    step: 0.1
    example: 0
  '%IPA':
    label: "Percentage of IPA"
    comp_type: Slider
    minimum: 0
    maximum: 100
    step: 0.1
    example: 49.8
  '%TPA':
    label: "Percentage of TPA"
    comp_type: Slider
    minimum: 0
    maximum: 100
    step: 0.1
    example: 19.7
  '%TMA':
    label: "Percentage of TMA"
    comp_type: Slider
    minimum: 0
    maximum: 100
    step: 0.1
    example: 0
  '%EG':
    label: "Percentage of EG"
    comp_type: Slider
    minimum: 0
    maximum: 100
    step: 0.1
    example: 0
  '%DEG':
    label: "Percentage of DEG"
    comp_type: Slider
    minimum: 0
    maximum: 100
    step: 0.1
    example: 0
  '%1,3-PROP':
    label: "Percentage of 1.3-PROP"
    comp_type: Slider
    minimum: 0
    maximum: 100
    step: 0.1
    example: 0
  '%1,4-BUT':
    label: "Percentage of 1.4-BUT"
    comp_type: Slider
    minimum: 0
    maximum: 100
    step: 0.1
    example: 0
  '%HDO':
    label: "Percentage of HDO"
    comp_type: Slider
    minimum: 0
    maximum: 100
    step: 0.1
    example: 0
  '%NPG':
    label: "Percentage of NPG"
    comp_type: Slider
    minimum: 0
    maximum: 100
    step: 0.1
    example: 0
  '%1,4-CHDM':
    label: "Percentage of 1.4-CHDM"
    comp_type: Slider
    minimum: 0
    maximum: 100
    step: 0.1
    example: 48.4
  '%1,3-CHDM':
    label: "Percentage of 1.3-CHDM"
    comp_type: Slider
    minimum: 0
    maximum: 100
    step: 0.1
    example: 0
  '%TMCD':
    label: "Percentage of TMCD"
    comp_type: Slider
    minimum: 0
    maximum: 100
    step: 0.1
    example: 50.8
  '%TMP':
    label: "Percentage of TMP"
    comp_type: Slider
    minimum: 0
    maximum: 100
    step: 1
    example: 0
  '%MPD':
    label: "Percentage of MPD"
    comp_type: Slider
    minimum: 0
    maximum: 100
    step: 0.1
    example: 0.8
  '%TCDDM':
    label: "Percentage of TCDDM"
    comp_type: Slider
    minimum: 0
    maximum: 100
    step: 0.1
    example: 0
  'Mw (PS)':
    label: "Weight-average molecular weight (PS)"
    comp_type: Number
    precision: 0
    example: 28004
  'AN':
    label: "Acid number"
    comp_type: Number
    precision: 2
    example: 4.46
  'OHN':
    label: "Hydroxyl number"
    comp_type: Number
    precision: 0
    example: 14


input_order:
- keys: ['%SA', '%ADP', '%DDDA', '%AZL', '%1,4-CHDA', '%1,4-CHDA (95% trans)', '%1,3-CHDA', '%1,2-CHDA', '%HHPA', '%PA', '%IPA', '%TPA', '%TMA']
  markdown: "Your acid proportions"
- keys: ['%EG', '%DEG', '%1,3-PROP', '%1,4-BUT', '%HDO', '%NPG', '%1,4-CHDM', '%1,3-CHDM', '%TMCD', '%TMP', '%MPD', '%TCDDM']
  markdown: "Your glycol proportions"
- keys: ['Mw (PS)', "AN", "OHN"]
  markdown: "Your additional molecular information"


output_mapping:
  Tg: 
    label: "Estimated Tg (°C) of your polymer"
    comp_type: "Number"
    precision: 0
  Tg_uncertainty:
    label: "Prediction uncertainty (%)"
    comp_type: "Number"
    precision: 0
  IV: 
    label: "Estimated IV (dL/g) of your polymer"
    comp_type: "Number"
    precision: 0
  IV_uncertainty:
    label: "Prediction uncertainty (%)"
    comp_type: "Number"
    precision: 0

# Output order must exclude the interpretation
output_order: 
- keys: ["Tg", "Tg_uncertainty"]
  markdown: "Tg of your polymer"
- keys: ["IV", "IV_uncertainty"]
  markdown: "IV of your polymer"


interface_parameters:
  additional_markdown:
    page_title: "Polymer's Tg and IV prediction"
    main_title: "Predict the glass transition temperature (Tg) and intrinsic viscosity (IV) of your material"
    details: "This AI model provides the estimation of the Tg and IV from polymer compounding"
    interpretation: "Results interpretation" # Necessary only for prediction (useless for inverse design)
  size:
    input_column_scale: 0.5
    input_column_min_width: 80


inference:
  model_path: "./polymerlearn/data_models/"
  encoder_path: ""
  scaler_inputs_path: ""
  scaler_targets_path: ""
  explainer_path: ""
  inverse_design: True


webapp:
  server_port: 7860