Hi,
finding the results shown in the screenshot351, I think the problem with mesomeric systems is more general.
Please look at "What resonance is not" in
http://en.wikibooks.org/wiki/Organic_Chemistry/Print_version . Resonance is
not an "isomerisation process" as mentioned in the paper "A method for calculating of small and large molecules" (BTW, ions are not molecules). And it seems to me, that SMILES formulas cannot describe mesomeric systems other than aromatic systems. (I am not a SMILES expert. The formula is not important for me).
I tried a SMILES formula with small letters (as in the benzene example). It is interesting that MarvinSketch recognizes this as a mesomeric system, but the results for pKa and geometry calculation are wrong (Of course it should be a pK
b calculation), see screenshot352.
MarvinSketch should do
before any calculation the following:
1) Analyse the system for conjugated mesomeric systems. This could be done by determing the hybrisation af the C atoms as sp3, sp2 or sp. The simplest way is to count the neighbour atoms of this center (The system must of course be "prehydrogenized" as Marvin says it). The Dreiding force field uses different parameter sets for this three types and there is a special parameter set for benzene C-atoms ( J. Phys. Chem. 1990, 94, 8897-8909).
2) Then the HMO and other calculations for the systems are defined and could be done.
These procedures do only make sense for the "organic" atoms CNO and perhaps S, and as attached atoms H, Cl or Br.
I have programmed a software (in FORTRAN) to calculate the UV-Vis spectra of organic colorants. The input is the molecule in xyz cartesian coordinates (with hydrogens !) and charges are given for the total system extra. Then the program detects all pi-systems, it could be more than one. The "saturated" part of the molecule is omitted.
sp2-C and sp-C, aza-N and amino-N, keto-O and ether-O, thio-S and thioether-S, Cl and Br are detected this way. Other atoms are also omitted.
Then the program calculates the ground state and the excited singulet states using the Pariser-Parr-Pople
pi-SCF method.
These methods could be used by Marvin also.
Best regards, Hans-Ulrich