-
Notifications
You must be signed in to change notification settings - Fork 253
Expand file tree
/
Copy pathinput.py
More file actions
90 lines (85 loc) · 1.72 KB
/
input.py
File metadata and controls
90 lines (85 loc) · 1.72 KB
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
# Data sources
database(
thermoLibraries = ['primaryThermoLibrary'],
reactionLibraries = [],
seedMechanisms = [],
kineticsDepositories = ['training'], # 'all', 'default'==['training'], [],
kineticsFamilies = ['!Intra_Disproportionation','!Substitution_O'],
kineticsEstimator = 'rate rules',
)
# List of species
species(
label='n-decylbz',
reactive=True,
structure=SMILES("CCCCCCCCCCc1ccccc1"),
)
species(
label='n-C11',
reactive=True,
structure=SMILES("CCCCCCCCCCC"),
)
species(
label='n-C13',
reactive=True,
structure=SMILES("CCCCCCCCCCCCC"),
)
species(
label='n-C16',
reactive=True,
structure=SMILES("CCCCCCCCCCCCCCCC"),
)
species(
label='n-C19',
reactive=True,
structure=SMILES("CCCCCCCCCCCCCCCCCCC"),
)
species(
label='n-C21',
reactive=True,
structure=SMILES("CCCCCCCCCCCCCCCCCCCCC"),
)
species(
label='1M-napthalene',
reactive=True,
structure=SMILES("Cc1cccc2ccccc12"),
)
species(
label='O2',
reactive=True,
structure=SMILES("[O][O]"),
)
# Reaction systems
simpleReactor(
temperature=(500,'K'),
pressure=(201.0,'bar'),
initialMoleFractions={
"n-C11": 0.05,
"n-C13": 0.19,
"n-C16": 0.25,
"n-C19": 0.18,
"n-C21": 0.10,
"n-decylbz": 0.12,
"1M-napthalene": 0.1,
"O2": 0.05,
},
terminationConversion={
'O2': 0.5,
},
terminationTime=(3600,'s'),
)
simulator(
atol=1e-16,
rtol=1e-8,
)
model(
toleranceKeepInEdge=0.0001,
toleranceMoveToCore=0.01,
toleranceInterruptSimulation=0.5,
maximumEdgeSpecies=1000
)
options(
units='si',
saveRestartPeriod=None,
drawMolecules=False,
generatePlots=False,
)