@@ -601,18 +601,18 @@ def to_rms(obj, species_names=None, rms_species_list=None, rmg_species=None):
601601 A = obj ._A .value_si
602602 if obj ._T0 .value_si != 1.0 :
603603 A /= ((obj ._T0 .value_si ) ** obj ._n .value_si )
604- if obj ._V0 .value_si != 0.0 :
605- A *= np .exp (obj ._alpha .value_si * obj ._electrons .value_si * constants .F * obj .V0 .value_si )
604+ # if obj._V0.value_si != 0.0:
605+ # A *= np.exp(obj._alpha.value_si*obj._electrons.value_si*constants.F*obj.V0.value_si/constants.R/300 )
606606 n = obj ._n .value_si
607607 Ea = obj ._Ea .value_si
608- q = obj ._alpha .value_si * obj ._electrons .value_si
608+ q = obj ._alpha .value_si * obj ._electrons .value_si
609609 return rms .Arrheniusq (A , n , Ea , q , rms .EmptyRateUncertainty ())
610610 elif isinstance (obj , SurfaceChargeTransfer ):
611611 A = obj ._A .value_si
612612 if obj ._T0 .value_si != 1.0 :
613613 A /= ((obj ._T0 .value_si ) ** obj ._n .value_si )
614- if obj ._V0 .value_si != 0.0 :
615- A *= np .exp (obj ._alpha .value_si * obj ._electrons .value_si * constants .F * obj .V0 .value_si )
614+ # if obj._V0.value_si != 0.0:
615+ # A *= np.exp(obj._alpha.value_si*obj._electrons.value_si*constants.F*obj.V0.value_si/constants.R/300 )
616616 n = obj ._n .value_si
617617 Ea = obj ._Ea .value_si
618618 q = obj ._alpha .value_si * obj ._electrons .value_si
@@ -784,7 +784,7 @@ def to_rms(obj, species_names=None, rms_species_list=None, rmg_species=None):
784784 reactants = [rms_species_list [i ] for i in reactantinds ]
785785 products = [rms_species_list [i ] for i in productinds ]
786786 if isinstance (obj .kinetics , SurfaceChargeTransfer ):
787- obj .set_reference_potential (obj . kinetics . _T0 . value_si )
787+ obj .set_reference_potential (300 )
788788 kinetics = to_rms (obj .kinetics , species_names = species_names , rms_species_list = rms_species_list , rmg_species = rmg_species )
789789 radchange = sum ([spc .molecule [0 ].multiplicity - 1 for spc in obj .products ]) - sum ([spc .molecule [0 ].multiplicity - 1 for spc in obj .reactants ])
790790 electronchange = - sum ([spc .molecule [0 ].get_net_charge () for spc in obj .products ]) + sum ([spc .molecule [0 ].get_net_charge () for spc in obj .reactants ])
0 commit comments