-
Notifications
You must be signed in to change notification settings - Fork 252
Expand file tree
/
Copy pathinput.py
More file actions
93 lines (85 loc) · 1.92 KB
/
input.py
File metadata and controls
93 lines (85 loc) · 1.92 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
91
92
93
# Data sources
database(
thermoLibraries = ['primaryThermoLibrary', 'GRI-Mech3.0'],
reactionLibraries = [],
seedMechanisms = [],
kineticsDepositories = ['training'], # 'all', 'default'==['training'], [],
kineticsFamilies = ['!Intra_Disproportionation','!Substitution_O'],
kineticsEstimator = 'rate rules',
)
# Constraints on generated species
generatedSpeciesConstraints(
maximumRadicalElectrons = 2,
)
# List of species
species(
label='HXD13',
reactive=True,
structure=SMILES("C=CC=CCC"),
)
species(
label='CH4',
reactive=True,
structure=SMILES("C"),
)
species(
label='H2',
reactive=True,
structure=adjacencyList(
"""
1 H u0 p0 {2,S}
2 H u0 p0 {1,S}
"""),
)
species(
label='N2',
reactive=False,
structure=InChI("InChI=1/N2/c1-2"),
)
# Reaction systems
simpleReactor(
temperature=(1350,'K'),
pressure=(1.0,'bar'),
initialMoleFractions={
"HXD13": 6.829e-4,
"CH4": 0.104,
"H2": 0.0156,
"N2": 0.8797,
},
terminationConversion={
'HXD13': 0.9,
},
terminationTime=(1e0,'s'),
)
simulator(
atol=1e-16,
rtol=1e-8,
)
model(
toleranceKeepInEdge=0.0,
toleranceMoveToCore=0.5,
toleranceInterruptSimulation=0.5,
maximumEdgeSpecies=100000
)
quantumMechanics(
software='mopac',
method='pm3',
# fileStore='QMfiles', # relative to where you run it from. Defaults to inside the output folder if not defined.
scratchDirectory = None, # not currently used
onlyCyclics = True,
maxRadicalNumber = 0,
)
pressureDependence(
method='modified strong collision',
maximumGrainSize=(0.5,'kcal/mol'),
minimumNumberOfGrains=250,
temperatures=(300,2000,'K',8),
pressures=(0.01,100,'bar',5),
interpolation=('Chebyshev', 6, 4),
)
options(
units='si',
saveRestartPeriod=(1,'hour'),
drawMolecules=False,
generatePlots=False,
)