-
Notifications
You must be signed in to change notification settings - Fork 0
/
defaults.ini
213 lines (149 loc) · 4.25 KB
/
defaults.ini
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
# =============================================================================
# Default Options for the PSA Surrogate Software
#
# Version 0.1.1
# =============================================================================
#
# Section 1: Dual Site Langmuir Parameters
#
# Carbon Dioxide b value
c_b =
# Carbon Dioxide b exponent (x10^?)
c_b_exp = 0
# Carbon Dioxide d value
c_d =
# Carbon Dioxide d exponent (x10^?)
c_d_exp = 0
# Carbon Dioxide Site 1 Saturation Loading (Q1)
cq1 =
# Carbon Dioxide Site 1 Saturation Loading (Q1) exponent (x10^?)
cq1_exp = 0
# Carbon Dioxide Site 2 Saturation Loading (Q1)
cq2 =
# Carbon Dioxide Site 2 Saturation Loading (Q1) exponent (x10^?)
cq2_exp = 0
# Carbon Dioxide Heat of Adsorption
c_hoa =
# Nitrogen b value
n_b =
# Nitrogen b exponent (x10^?)
n_b_exp = 0
# Nitrogen d value
n_d =
# Nitrogen d exponent (x10^?)
n_d_exp = 0
# Nitrogen Site 1 Saturation Loading (Q1)
nq1 =
# Nitrogen Site 1 Saturation Loading (Q1) exponent (x10^?)
nq1_exp = 0
# Nitrogen Site 2 Saturation Loading (Q1)
nq2 =
# Nitrogen Site 2 Saturation Loading (Q1) exponent (x10^?)
nq2_exp = 0
# Nitrogen Heat of Adsorption
n_hoa =
# =============================================================================
#
# Section 2: Genetic Algorithm Settings - Optimization Targets
#
# Optimize for purity
opt_purity = False
# Optimize for Recovery
opt_recovery = False
# Optimize for Parasitic Energy
opt_energy = True
# Optimize for Productivity
opt_prod = True
# Constrain Purity and Recovery
constrain = True
# Constraint value for Purity (%)
cons_purity = 95.
# Contraint value for Recovery (%)
cons_recovery = 90.
# =============================================================================
#
# Section 3: Genetic Algorithm Settings - Optimizer Options
#
# Number of duplicate runs
duplicates = 3
# Size of the GA populations
population = 100
# Maximum number of generations per run
max_gen = 100
# Minimum number of generations per run
min_gen = 10
# Convergence: number of runs > min_gen in which the best solution remains unchanged
converge = 10
# Use the PSA + Compression energy for the optimization
use_compr = True
# =============================================================================
#
# Section 4: Plotting Options
#
# plot the final front plots as heatmaps?
final_heatmap = True
# =============================================================================
#
# Section 5: Advanced Options - DO NOT EDIT
#
# Isotherm Temperature (at which the provided isotherms were generated)
iso_temp = 298.15
# Universal Gas Constant (m3 Pa / mol K)
RG = 8.314473
# Conversion Factor bar to Pa
PA = 100000
# kcal to joule
kcal_to_joule = 4184
# Structured Density Multiplier
struct_dens = 0.75
# Gene components
genes = InletTemp,tads,tblow,tevac,Pint,Plow,v0
# Gene ranges (Note: if gene type is log, DO NOT put logged value in this row)
gene_ranges = 298.15,328.15,20,200,20,200,20,200,0.03,1.0,0.01,0.5,0.1,2.0
# Gene data types - Tell the GA how to handle each type of data
gene_types = float,float,float,float,log,log,float
# Objective Values (for fitness function normalization)
ga_objective = Purity,Recovery,Prod,EPSA
# Objective fitness ranges
ga_ranges = 95.,100.,90.,100.,0.5,3.5,250.,135.
# Elitism Rate
elite = 0.1
# Culling Boolean
cull = True
# Culling Rate
cull_rate = 0.1
# Mutation Probability
mutation_prob = 0.3
# Mutation Rate
mutation_rate = 0.3
# Constraint Alternate Optimization (optimize Pur/Rec until constr_rto met)
constr_alt = False
# -----------------------------------------------------------------------------
# Compression Parameters
# Molecular weight of CO2
MW_C = 44.01
# Molcular weight of N2
MW_N = 28.01
# Final compression pressure (in bar)
pressure = 150.
# Compressor temp
comp_temp = 313.15
# Compressor Efficiency
comp_eff = 0.85
# Max compressor pressure
Pmax = 80.
# Compression cycles (assuming 2.5 max compression ratio)
comp_cycles = 5
# Compressor gamma term
comp_gamma = 1.4
# Pump Terms
dP = 7000000.
# Pump Efficiency
pump_eff = 0.75
# Compression / mixture terms (fit using NIST)
alpha = 1491.2
beta = -1624.1
gamma = 660.63
# =============================================================================
# End of defaults
# =============================================================================