@@ -1187,6 +1187,19 @@ def solvation(solvent, solventData=None, excludedSpecies=None, excludedLibraries
11871187 rmg .solvation_excluded_species = excludedSpecies if excludedSpecies is not None else []
11881188 rmg .solvation_excluded_libraries = excludedLibraries if excludedLibraries is not None else []
11891189
1190+ # Log species and libraries excluded from solvation corrections
1191+ if rmg .solvation_excluded_species :
1192+ logging .info (
1193+ f"Solvation corrections will be skipped for the following species: "
1194+ f"{ ', ' .join (rmg .solvation_excluded_species )} "
1195+ )
1196+ if rmg .solvation_excluded_libraries :
1197+ logging .info (
1198+ f"Solvation corrections will be skipped for species from the following thermo libraries: "
1199+ f"{ ', ' .join (rmg .solvation_excluded_libraries )} "
1200+ )
1201+
1202+
11901203def model (toleranceMoveToCore = None , toleranceRadMoveToCore = np .inf ,
11911204 toleranceMoveEdgeReactionToCore = np .inf , toleranceKeepInEdge = 0.0 ,
11921205 toleranceInterruptSimulation = 1.0 ,
@@ -1769,7 +1782,16 @@ def save_input_file(path, rmg):
17691782 f .write (')\n \n ' )
17701783
17711784 if rmg .solvent :
1772- f .write ("solvation(\n solvent = '{0!s}'\n )\n \n " .format (rmg .solvent ))
1785+ f .write ("solvation(\n " )
1786+ f .write (" solvent = '{0!s}',\n " .format (rmg .solvent ))
1787+
1788+ if rmg .solvation_excluded_species :
1789+ f .write (" excludedSpecies = {0},\n " .format (repr (rmg .solvation_excluded_species )))
1790+
1791+ if rmg .solvation_excluded_libraries :
1792+ f .write (" excludedLibraries = {0},\n " .format (repr (rmg .solvation_excluded_libraries )))
1793+
1794+ f .write (")\n \n " )
17731795
17741796 # Simulator tolerances
17751797 f .write ('simulator(\n ' )
0 commit comments