RMG-Py
RMG-Py copied to clipboard
AtomTypeError when used Seed mechanism with the liquid reactor
Bug Description
Generating thermo for new species... Species O renamed O(S) based on thermo library name Error: Could not update atomtypes for this molecule: multiplicity 1 1 O u0 p1 c+1 {3,S} {5,D} 2 C u0 p0 c0 {3,S} {4,S} {6,S} {7,S} 3 C u0 p0 c0 {1,S} {2,S} {8,S} {9,S} 4 C u0 p0 c0 {2,S} {5,S} {10,S} {11,S} 5 C u2 p0 c-1 {1,D} {4,S} 6 H u0 p0 c0 {2,S} 7 H u0 p0 c0 {2,S} 8 H u0 p0 c0 {3,S} 9 H u0 p0 c0 {3,S} 10 H u0 p0 c0 {4,S} 11 H u0 p0 c0 {4,S}
Traceback (most recent call last):
File "/home/liuqi/anaconda3/envs/rmg_env/bin/rmg.py", line 118, in
How To Reproduce
database( thermoLibraries=['primaryThermoLibrary','JetSurF1.0'], reactionLibraries=[], seedMechanisms=['JetSurF1.0'], kineticsFamilies='default', kineticsDepositories='default', kineticsEstimator='rate rules', )
species( label='Phenol, 3-methyl-', reactive=True, structure=SMILES("CC1=CC(=CC=C1)O"), ) species( label='water', reactive=True, structure=SMILES("O"), )
Reaction systems
liquidReactor( temperature=(500,'K'), initialConcentrations={ "Phenol, 3-methyl-": (6.154e-3,'mol/cm^3'), "water": (4.953e-6,'mol/cm^3') }, terminationTime=(5,'s'), )
solvation( solvent='water' )
simulator( atol=1e-16, rtol=1e-8, )
model( toleranceMoveToCore=0.1, toleranceKeepInEdge=0.01, toleranceInterruptSimulation=1, maximumEdgeSpecies=100000, minCoreSizeForPrune=50, minSpeciesExistIterationsForPrune=2, filterReactions=False, filterThreshold=1e8, )
options( name='SeedName', generateSeedEachIteration=True, saveSeedToDatabase=False, units='si', generateOutputHTML=True, generatePlots=False, saveSimulationProfiles=False, verboseComments=False, saveEdgeSpecies=False, keepIrreversible=False, trimolecularProductReversible=True, saveSeedModulus=-1 )
generatedSpeciesConstraints( allowed=['input species', 'seed mechanisms', 'reaction libraries'], maximumCarbonAtoms=8, maximumOxygenAtoms=2, maximumNitrogenAtoms=0, maximumSiliconAtoms=0, maximumSulfurAtoms=0, maximumRadicalElectrons=1, maximumSingletCarbenes=1, maximumCarbeneRadicals=0, )
Expected Behavior
It wouldn't crash.
Installation Information
Describe your installation method and system information.
- OS (include version if known): Windows 10 and build Ubuntu 18 in VMware
- Installation method: installation from compiling the code.
- RMG version information:
For binary installation, get version number using
rmg 3.1.0 py37h1515d6f_0 rmg- RMG-Py: 3.1.0
- RMG-database: 3.1.0
Additional Context
When I use the simple reactor there is no problem, but when I change the reactor to the liquid reactor, this problem happened.