Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
24 commits
Select commit Hold shift + click to select a range
22b2692
resolved merge conflict in yml.py
donerancl Jan 27, 2025
14bd3e5
fixed bugs in fragment reattachment notebook, fragment_utils, cantera…
donerancl Jan 27, 2025
2edd657
Update fragment.py (typo)
donerancl Jun 4, 2024
a493353
set size_threshold default to zero
donerancl Jun 4, 2024
6ba1c30
added function that finds all possible partial reatt rxns and adds to…
donerancl Jun 7, 2024
96aa9b2
typo
donerancl Jun 7, 2024
31d9b12
commented cutting label logic
donerancl Jun 10, 2024
4dc438a
Apply suggestions from code review - formatting, small things
donerancl Jun 10, 2024
3559562
added docstring to merge_fragment_a_to_cutting_label_on_b
donerancl Jun 10, 2024
69142c4
remove unnecessary try-except
donerancl Jun 28, 2024
164192d
moved model into its own file in ipython
donerancl Jan 27, 2025
4b15850
Added missing entries to KineticsDB local context
jonwzheng Jan 24, 2025
26be15c
Added missing entries to KineticsDB local context
ssun30 Jan 27, 2025
921105f
Extra debugging message for loading a KineticsDB
ssun30 Jan 27, 2025
f72d6a1
Improved how database library labels are created.
ssun30 Jan 27, 2025
1b84b0f
incorporating changes from JB review
donerancl Feb 4, 2025
5bf5e03
removing leftover debugging statements
donerancl Feb 4, 2025
9cea759
notebook
donerancl Feb 4, 2025
c4092d7
added docstrings to many fragment_utils functions
donerancl Feb 4, 2025
139ef68
reverted is_carbon
donerancl Feb 7, 2025
a141f11
Define e_electronic_with_corrections, zpe before e0 conditions
alongd Feb 2, 2025
da1703d
If E0 is not None (e.g., given directly by the user), use it
alongd Feb 2, 2025
79cc842
Report e_elect + ZPE in SI only if they're not None
alongd Feb 2, 2025
9724157
Added an example for inputting E0 directly
alongd Feb 3, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions arkane/statmech.py
Original file line number Diff line number Diff line change
Expand Up @@ -575,6 +575,8 @@ def create_log(log_path, check_for_errors=True):
# and the zero point energy scaling factor, see https://pubs.acs.org/doi/10.1021/ct100326h Section 3.1.3.
zpe_scale_factor = self.frequencyScaleFactor / 1.014

e_electronic_with_corrections, zpe = 0, 0

logging.debug(' Reading energy...')
if e0 is None:
if e_electronic is None:
Expand Down Expand Up @@ -686,7 +688,7 @@ def create_log(log_path, check_for_errors=True):
# Set the difference as the isodesmic EO correction
e_electronic_with_corrections += isodesmic_thermo.value_si - uncorrected_thermo

e0 = e_electronic_with_corrections + zpe
e0 = e_electronic_with_corrections + zpe if e0 is None else e0
logging.debug(' E0 (0 K) = {0:g} kcal/mol'.format(e0 / 4184.))
conformer.E0 = (e0 * 0.001, "kJ/mol")

Expand All @@ -711,7 +713,7 @@ def create_log(log_path, check_for_errors=True):
else:
self.supporting_info.append(None)
self.supporting_info.append(e_electronic)
self.supporting_info.append(e_electronic + zpe)
self.supporting_info.append(e_electronic + zpe if e_electronic is not None and zpe is not None else None)
self.supporting_info.append(e0)
self.supporting_info.append(list([symbol_by_number[x] for x in number])) # atom symbols
self.supporting_info.append(coordinates)
Expand Down
14 changes: 14 additions & 0 deletions examples/arkane/species/OCHO/OCHO.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
#!/usr/bin/env python3
# encoding: utf-8

externalSymmetry = 2

spinMultiplicity = 2

opticalIsomers = 1

energy = (-342.84,'kJ/mol')

geometry = Log('freq.out')

frequencies = Log('freq.out')
1,336 changes: 1,336 additions & 0 deletions examples/arkane/species/OCHO/freq.out

Large diffs are not rendered by default.

16 changes: 16 additions & 0 deletions examples/arkane/species/OCHO/input.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
title = 'OCHO'

description = \
"""
An example for defining a species using a direct (numeric) E0 input (see in OCHO.py)
"""


species('OCHO', 'OCHO.py',
structure = SMILES('[O]C=O'),
collisionModel = TransportData(sigma=(3.59,'angstrom'), epsilon=(4140.61,'J/mol')),
energyTransferModel = SingleExponentialDown(alpha0=(80,'cm^-1'), T0=(300,'K'), n=0.85),
)

statmech('OCHO')

Loading
Loading