|
1 | 1 | # Data sources |
2 | 2 | database( |
3 | | - thermoLibraries = ['primaryThermoLibrary'], |
4 | | - reactionLibraries = [], |
| 3 | + thermoLibraries=['surfaceThermoPt111', 'primaryThermoLibrary', 'thermo_DFT_CCSDTF12_BAC','DFT_QCI_thermo'], # 'surfaceThermoPt' is the default. Thermo data is derived using bindingEnergies for other metals |
| 4 | + reactionLibraries = [('Surface/CPOX_Pt/Deutschmann2006_adjusted', False)], # when Ni is used change the library to Surface/Deutschmann_Ni |
5 | 5 | seedMechanisms = [], |
6 | 6 | kineticsDepositories = ['training'], |
7 | | - kineticsFamilies = 'default', |
| 7 | + kineticsFamilies = ['surface', 'default'], |
8 | 8 | kineticsEstimator = 'rate rules', |
9 | 9 | ) |
10 | | - |
11 | | -# List of species |
| 10 | +catalystProperties( |
| 11 | + bindingEnergies = { |
| 12 | + 'H': (-2.75368,'eV/molecule'), |
| 13 | + 'C': (-7.02516,'eV/molecule'), |
| 14 | + 'N': (-4.63225,'eV/molecule'), |
| 15 | + 'O': (-3.81153,'eV/molecule'), |
| 16 | + }, |
| 17 | + surfaceSiteDensity=(2.483e-9, 'mol/cm^2'), |
| 18 | + coverageDependence=False |
| 19 | +) |
12 | 20 | species( |
13 | | - label='ethane', |
| 21 | + label='CH4', |
14 | 22 | reactive=True, |
15 | | - structure=SMILES("CC"), |
| 23 | + structure=SMILES("C"), |
16 | 24 | ) |
17 | | - |
18 | | -# Reaction systems |
19 | | -simpleReactor( |
20 | | - temperature=(1350,'K'), |
21 | | - pressure=(1.0,'bar'), |
22 | | - initialMoleFractions={ |
23 | | - "ethane": 1.0, |
24 | | - }, |
25 | | - terminationConversion={ |
26 | | - 'ethane': 0.9, |
27 | | - }, |
28 | | - terminationTime=(1e6,'s'), |
| 25 | +species( |
| 26 | + label='O2', |
| 27 | + reactive=True, |
| 28 | + structure=adjacencyList( |
| 29 | + """ |
| 30 | +1 O u1 p2 c0 {2,S} |
| 31 | +2 O u1 p2 c0 {1,S} |
| 32 | +"""), |
29 | 33 | ) |
30 | | - |
31 | | -simpleReactor( |
32 | | - temperature=(1000,'K'), |
33 | | - pressure=(1.0,'bar'), |
34 | | - initialMoleFractions={ |
35 | | - "ethane": 1.0, |
| 34 | +species( |
| 35 | + label='N2', |
| 36 | + reactive=False, |
| 37 | + structure=SMILES("N#N"), |
| 38 | +) |
| 39 | +species( |
| 40 | + label='X', |
| 41 | + reactive=True, |
| 42 | + structure=adjacencyList("1 X u0"), |
| 43 | +) |
| 44 | +# added for training |
| 45 | +species( |
| 46 | + label='CO2X', |
| 47 | + reactive=True, |
| 48 | + structure=adjacencyList( |
| 49 | + """ |
| 50 | + 1 O u0 p2 c0 {3,D} |
| 51 | + 2 O u0 p2 c0 {3,D} |
| 52 | + 3 C u0 p0 c0 {1,D} {2,D} |
| 53 | + 4 X u0 p0 c0 |
| 54 | + """), |
| 55 | +) |
| 56 | +species( |
| 57 | + label='COX', |
| 58 | + reactive=True, |
| 59 | + structure=adjacencyList( |
| 60 | + """ |
| 61 | + 1 O u0 p2 c0 {2,D} |
| 62 | + 2 C u0 p0 c0 {1,D} {3,D} |
| 63 | + 3 X u0 p0 c0 {2,D} |
| 64 | + """), |
| 65 | +) |
| 66 | +species( |
| 67 | + label='OX', |
| 68 | + reactive=True, |
| 69 | + structure=adjacencyList( |
| 70 | + """ |
| 71 | + 1 O u0 p2 c0 {2,D} |
| 72 | + 2 X u0 p0 c0 {1,D} |
| 73 | + """), |
| 74 | +) |
| 75 | +# If you would like to forbid the bidentate form of absorbed CO2 from your model, |
| 76 | +# use the following `CO2_bidentate` forbidden structure |
| 77 | +# forbidden( |
| 78 | +# label='CO2_bidentate', |
| 79 | +# structure=SMILES("O=C(*)O*"), |
| 80 | +# ) |
| 81 | +#---------- |
| 82 | +# Reaction systems |
| 83 | +surfaceReactor( |
| 84 | + temperature=(1000, 'K'), |
| 85 | + initialPressure=(1.0, 'bar'), |
| 86 | + initialGasMoleFractions={ |
| 87 | + "CH4": 0.15, |
| 88 | + "O2": 0.15, |
| 89 | + "N2": 0.7, |
36 | 90 | }, |
37 | | - terminationConversion={ |
38 | | - 'ethane': 0.9, |
| 91 | + initialSurfaceCoverages={ |
| 92 | + "X": 1.0, |
39 | 93 | }, |
40 | | - terminationTime=(1e6,'s'), |
| 94 | + surfaceVolumeRatio=(1.e5, 'm^-1'), |
| 95 | + terminationConversion = { "CH4": 0.95,}, |
| 96 | + terminationTime=(0.1, 's'), |
| 97 | + terminationRateRatio=0.01, |
41 | 98 | ) |
42 | | - |
43 | | - |
44 | | - |
45 | 99 | simulator( |
46 | | - atol=1e-16, |
47 | | - rtol=1e-8, |
| 100 | + atol=1e-18, |
| 101 | + rtol=1e-12, |
48 | 102 | ) |
49 | | - |
50 | 103 | model( |
51 | 104 | toleranceKeepInEdge=0.0, |
52 | | - toleranceMoveToCore=100.0, |
53 | | - toleranceInterruptSimulation=100.0, |
| 105 | + toleranceMoveToCore=1e-1, |
| 106 | + toleranceInterruptSimulation=0.1, |
54 | 107 | maximumEdgeSpecies=100000, |
55 | | - toleranceMoveEdgeReactionToSurface=1.0, |
56 | | - toleranceMoveSurfaceReactionToCore=2.0, |
57 | | - toleranceMoveSurfaceSpeciesToCore=.001, |
58 | | - dynamicsTimeScale=(1.0e-10,'sec'), |
59 | 108 | ) |
60 | | - |
61 | 109 | options( |
62 | 110 | units='si', |
63 | | - generateOutputHTML=True, |
64 | | - generatePlots=False, |
65 | | - saveEdgeSpecies=True, |
66 | | - saveSimulationProfiles=True, |
| 111 | + generateOutputHTML=False, |
| 112 | + generatePlots=False, # Enable to make plots of core and edge size etc. But takes a lot of the total runtime! |
| 113 | + saveEdgeSpecies=False, |
| 114 | + saveSimulationProfiles=False, |
| 115 | +) |
| 116 | +generatedSpeciesConstraints( |
| 117 | + allowed=['input species','reaction libraries'], |
| 118 | + maximumCarbonAtoms=2, |
| 119 | + maximumOxygenAtoms=2, |
| 120 | + maximumSurfaceSites=2, |
67 | 121 | ) |
| 122 | + |
| 123 | + |
0 commit comments