File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -765,10 +765,10 @@ def calculateTSTRateCoefficient(self, T):
765
765
for spec in self .reactants :
766
766
logging .debug (' Calculating Partition function for ' + spec .label )
767
767
Qreac *= spec .getPartitionFunction (T ) / (constants .R * T / 101325. )
768
- E0 -= spec .conformer ._E0 .value_si
768
+ E0 -= spec .conformer .E0 .value_si
769
769
logging .debug (' Calculating Partition function for ' + self .transitionState .label )
770
770
Qts = self .transitionState .getPartitionFunction (T ) / (constants .R * T / 101325. )
771
- E0 += self .transitionState .conformer ._E0 .value_si
771
+ E0 += self .transitionState .conformer .E0 .value_si
772
772
k = (constants .kB * T / constants .h * Qts / Qreac ) * math .exp (- E0 / constants .R / T )
773
773
774
774
# Apply tunneling correction
Original file line number Diff line number Diff line change @@ -285,7 +285,7 @@ def getEnthalpy(self, T):
285
285
if self .hasThermo ():
286
286
H = self .thermo .getEnthalpy (T )
287
287
elif self .hasStatMech ():
288
- H = self .conformer .getEnthalpy (T ) + self .conformer ._E0 .value_si
288
+ H = self .conformer .getEnthalpy (T ) + self .conformer .E0 .value_si
289
289
else :
290
290
raise Exception ('Unable to calculate enthalpy for species {0!r}: no thermo or statmech data available.' .format (self .label ))
291
291
return H
@@ -315,7 +315,7 @@ def getFreeEnergy(self, T):
315
315
if self .hasThermo ():
316
316
G = self .thermo .getFreeEnergy (T )
317
317
elif self .hasStatMech ():
318
- G = self .conformer .getFreeEnergy (T ) + self .conformer ._E0 .value_si
318
+ G = self .conformer .getFreeEnergy (T ) + self .conformer .E0 .value_si
319
319
else :
320
320
raise Exception ('Unable to calculate free energy for species {0!r}: no thermo or statmech data available.' .format (self .label ))
321
321
return G
You can’t perform that action at this time.
0 commit comments