CrystalExplorer model energies and energy frameworks: extension to metal coordination compounds, organic salts, solvates and open-shell systems

The accurate and efficient CE-B3LYP and CE-HF model energies for intermolecular interactions in molecular crystals are extended to a broad range of crystals by calibration against density functional results for molecule/ion pairs extracted from 171 crystal structures. The mean absolute deviation of CE-B3LYP model energies from DFT values is a modest 2.4 kJ mol−1 for pairwise energies that span a range of 3.75 MJ mol−1.


Introduction
The detailed analysis of the interactions between molecules and ions in crystals plays an increasingly important role in modern solid-state chemistry and, in particular, crystal engineering, where the derivation of predictive structure-property relationships is key to a genuine 'engineering' of crystals. This, of course, was articulated some time ago by Desiraju (1989), who described crystal engineering as the 'understanding of intermolecular interactions in the context of crystal packing and the utilization of such understanding in the design of new solids with desired physical and chemical properties'. Utilization and design require understanding as an essential precursor, and the context of crystal packing in this statement is especially important. Recent years have witnessed a rapid growth of publications that focus on the relative importance of noncanonical interactions (e.g. halogen, chalcogen, pnicogen and tetrel bonds), but it is not obvious that they have enhanced our understanding of the relationship between the structure of molecules (geometric and electronic), the crystal structures they form and their consequent chemical and physical properties. It seems pertinent to ask whether we are converging on the requisite intimate, and ultimately useful, understanding of why molecules and ions are arranged in crystals as observed, or merely cataloguing an increasing number of examples of relatively weak intermolecular 'interactions' while ignoring their common origins?
The recent series of essays published in this journal (Dunitz, 2015;Lecomte et al., 2015;Thakur et al., 2015) has highlighted some of the issues confronting the field at present, as well as exemplifying two different ways of looking at intermolecular interactions: one with an emphasis on specific atom-atom contacts (or interactions, or bonds), the other a whole-ofmolecule approach that is blind to atom-atom interactions. A large number of computational approaches have been exploited in recent crystal structure analyses in efforts to investigate and understand the nature, strength and importance of various intermolecular interactions in crystals, and it is instructive to summarize a small number of these. For example, Parsons and colleagues identified 'the hazards of over-simplifying intermolecular interactions on the basis of prominent atom-atom contacts' as part of an analysis of the high-pressure polymorph "-glycine (Moggach et al., 2015). That analysis made use of Gavezzotti's PIXEL methodology (Gavezzotti, 2005) and symmetry-adapted perturbation theory to compute intermolecular energies, Hirshfeld surface analysis (Spackman & Jayatilaka, 2009) and periodic DFT calculations, as well as mapping the molecular electrostatic potential (ESP) on molecular Hirshfeld surfaces to illustrate the electrostatic complementarity (or otherwise) between neighouring molecules. Hirshfeld surface analysis, ESP mapping and Quantum Theory of Atoms in Molecules (QTAIM) (Bader, 1990) topological analysis of theoretical and experimental electron densities were employed by Pyziak et al. (2015) as part of their experimental charge-density investigation of intermolecular interactions, including chalcogen bonding, in 4-[[4-(methoxy)-3-quinolinyl]thio]-3-thiomethylquinoline, and by Lai et al. (2016) in a study comparing -piroxicam with piroxicam monohydrate. The latter work also reported intermolecular interaction energies estimated from the experimental potential energy densities at bondcritical points (Espinosa et al., 1998), an approach that reflects the atom-atom perspective on intermolecular interactions. Although the resulting energy estimates from this approach have been shown to be unreliable, and for a very wide range of interactions (Spackman, 2015), they are commonly reported in current studies, for example, by Zhurov & Pinkerton (2015) as part of their experimental charge-density analysis of 2-nitrobenzoic acid, and by Landeros-Rivera et al. (2016), who examined intermolecular interactions in crystalline areneperhaloarene adducts by QTAIM methods, ESP mapping and noncovalent index (NCI) surfaces (Johnson et al., 2010), as well as energies from Gavezzotti's PIXEL method for selected molecular pairs. As a final example, we mention the comprehensive study of intermolecular interactions in six polymorphs of phenobarbital by Gelbrich et al. (2016), who analysed PIXEL-derived energies and lattice energy contributions in great detail.
Two decades ago, Desiraju argued for a 'compelling need . . . to be able to visualize a crystal structure in its entirety, not just look at selected intermolecular interactions which have been deemed to be important' (Desiraju, 1997) and a year later Nangia & Desiraju (1998) noted that 'a detailed understanding of crystal packing and crystal design depends very substantially on viewing the molecule as an organic whole'. We wholeheartedly embrace these sentiments and the focus of our research since then, especially the publications and the embodiment of all original ideas and tools in Crys-talExplorer, constitutes an attempt to venture beyond the outdated paradigm identified by Desiraju, and to view molecules as 'organic wholes', thereby fundamentally altering the discussion of intermolecular interactions through the use of a variety of novel computational and graphical tools (Spackman, 2013;Turner et al., 2011;Spackman & Jayatilaka, 2009).
As part of our ongoing research, we recently described a computationally inexpensive approach to obtaining accurate intermolecular interaction energies for organic (and some inorganic) molecular crystals (Turner et al., 2014), and their use in constructing 'energy frameworks' that offer a powerful new way to visualize the supramolecular architecture of molecular crystal structures (Turner et al., 2015). Applications of these new tools have so far been limited (Eikeland et al., 2016a,b;Dey et al., 2016a,b;Shi et al., 2015), in part because of the limited release of the software to date, and also because the original development focused solely on the calibration of the model energies against DFT results for crystals comprising neutral organic and p-block inorganic molecules. This limitation has provided the motivation for the present work, which outlines how the approach can now be applied with confidence to molecular crystals comprising metal coordination compounds, organic salts, solvates and open-shell molecules.
As indicated in the original presentation of these model energies, our approach is inspired by Gavezzotti's PIXEL method (Maschio et al., 2011;Gavezzotti, 2002Gavezzotti, , 2003Gavezzotti, , 2005Gavezzotti, , 2008, which is increasingly used when applied to organic molecular crystals. Its extension to transition-metal coordination compounds was recently reported by Maloney et al. (2015). Our expression for the interaction energy between pairs of molecules is essentially the same as that used by Gavezzotti and many others, viz.
The breakdown of the interaction energy in this manner has been used extensively in energy-decomposition methods via variational [e.g. Kitaura & Morokuma (1976) and Ziegler & Rauk (1979)] and perturbation-based approaches [e.g. Hayes & Stone (1984) and Jeziorski et al. (1994)]. In the present work, E 0 ele , the classical electrostatic energy of interaction between monomer charge distributions, and E 0 rep , the exchange-repulsion energy, are obtained from the antisymmetric product of the monomer spin orbitals as described by Su & Li (2009). The polarization energy, E 0 pol , is estimated as a sum over atoms with terms of the kind À 1 2 |F| 2 , where the electric field F is computed at each atomic nucleus from the charge distribution of the other monomer and are isotropic atomic polarizabilities (Thakkar & Lupinetti, 2006). The dispersion energy term, E 0 dis , is Grimme's D2 dispersion correction (Grimme, 2006) summed over all intermolecular atom pairs. As described below, the scale factors k ele , etc., in Although our model energy formalism is similar in many ways to Gavezzotti's PIXEL approach, it is important to recognize the significant differences. Individual energy terms in that approach depend on a fine-grained discrete representation of the molecular electron density as a sum of charged pixel volumes (actually voxels). The Coulombic energy between unperturbed molecular charge densities is fundamentally the same in the two methods (if based on the same wavefunctions), but obviously computed numerically in PIXEL. All other terms in the PIXEL approach make use of the same voxel breakdown and incorporate a set of atomic polarizabilities, as well as adjustable parameters, to account for short separations, damping of dispersion energies, and a scale factor and power-law dependence for the repulsion energy. These parameters are optimized to minimize the deviation between computed lattice energies and experimental sublimation enthalpies for a representative set of organic crystal structures. In contrast to PIXEL, our polarization energy incorporates accurate electric fields computed from monomer wavefunctions (but depends very much on the chosen isotropic atomic polarizabilities), our dispersion term is similar to that used increasingly in many 'DFT+dispersion' quantum chemical formalisms, and our repulsion term is computed from the quantum mechanical overlap of spin orbitals, rather than electron distributions. Like PIXEL, there are adjustable parameters to optimize, but rather than use experimental sublimation enthalpies, we determine the four scale factors in equation (1) by fitting to a large set of pairwise interaction energies obtained from theory, namely counterpoise-corrected B3LYP-D2/6-31G(d,p) energies obtained at the identical geometry. Both calibration approaches have limitations of course. Experimental sublimation enthalpies are known for several thousand organic and organometallic molecular crystals (Acree & Chickos, 2016, with estimated uncertainties typically $5 kJ mol À1 for organics and $24 kJ mol À1 for organometallics (Chickos, 2003). Experimental sublimation enthalpies are temperature dependent and smaller in magnitude than the corresponding lattice energy by approximately 2RT (Gavezzotti & Filippini, 1997;Maschio et al., 2011;Otero-de-la-Roza & Johnson, 2012). Computed lattice energies can also depend significantly on the temperature of the crystal structure determination, and their comparison with experimental data often implicitly assumes no geometry change between the crystal and gas phase. On the other hand, the present counterpoise-corrected B3LYP-D2 energies use a relatively limited basis set, which results in quite a large basis set superposition error (BSSE) for some close geometries, but we have also encountered limitations of B3LYP itself, as compared to a more rigorous correlation method like MP2. In the following section, we discuss examples of these limitations, along with ways in which we have resolved or minimized their influence on the final results.
Given this recognition of inherent uncertainties it is clear that their use in investigating polymorphic systems is unlikely to be fruitful. In their extensive computational study of a large number of polymorph pairs, Nyman & Day (2015) concluded: 'polymorphic lattice energy differences are typically very small: over half of polymorph pairs are separated by less than 2 kJ mol À1 and lattice energy differences exceed 7.2 kJ mol À1 in only 5% of cases. Unsurprisingly, vibrational contributions to polymorph free energy differences at ambient conditions are dominated by entropy differences'. This sort of accuracy is clearly unachieveable with PIXEL or CE-B3LYP model energies, and we must not expect it.

Choice of crystal structures
The training set chosen for determining the scale factors in equation (1) contains 1794 molecule/ion pairs extracted from 171 organic, inorganic and metal-organic molecular crystal structures, including atoms up to Br, as well as I and Xe. For each crystal structure, molecule/ion pairs were obtained by generating a cluster of nearest neighbours surrounding each unique molecule/ion in the structure. In addition to the original set of 232 neutral pairs, this contains 751 pairs from organic and metal-organic salts, 583 pairs from neutral closedshell metal organic crystal structures and 228 pairs incorporating open-shell species. In addition to a wide range of interactions between neutral organic and inorganic molecules, these four broad categories encompass large numbers of pairs involving ion-ion and ion-solvate/hydrate interactions, as well as neutral and ionic metal coordination compounds, including solvates. We believe the training set is well balanced (in terms of representation of a very wide range of atoms and interaction types) and sufficiently robust that removal or addition of a small number of structures has a minimal effect on the outcomes. Mercury (Macrae et al., 2008) was used to add H atoms for a small number of structures and, as before, all X-H covalent bond lengths were normalized to standard values from neutron diffraction (Allen et al., 2004). The supporting information provides details of all crystal structures, including CSD refcodes or ICSD identifiers, compound names, molecular diagrams and references to the crystal structure determinations.

Modifications to the CrystalExplorer energy models and frameworks
As in our original publication (Turner et al., 2014), the two energy models described here are based on unperturbed electron distributions computed at either B3LYP or Hartree-Fock levels of theory. As before, in the CE-B3LYP model, the 6-31G(d,p) basis set is used for molecules containing atoms H to Kr, and for species containing heavier atoms, the DGDZVP basis set has been used. The faster and less accurate CE-HF model uses the 3-21G basis set for all atoms. Because computation of MP2 molecular wavefunctions is more time consuming than with the B3LYP functional, and the model energies not obviously superior, we did not pursue any further the CE-MP2 model energy that was based on MP2/6-31G(d,p) monomer electron densities.

Polarizabilities for monatomic cations and anions.
In applying our original energy model to salts it became obvious that the energies for pairs involving monatomic cations were far too large, due to the use of atomic polarizabilities for calculating polarization energies involving these species. Table 1 lists the polarizabilities for neutral atoms from Thakkar & Lupinetti (2006), along with values for monatomic cations and anions selected from the literature; the latter values are used in all calculations reported in this work. The values for cations are smaller than those for atoms by orders of magnitude. Polarizabilities for the halide anions are larger than the atomic values, but the difference is much smaller than for cations. We emphasize that these polarizabilities are only used when the relevant atomic species is clearly and unambiguously a monatomic ion, and not covalently bound.

Open-shell systems.
In our original publication, we restricted the training set of crystals to neutral closed-shell molecules and noted that the exchange-repulsion energy in our model was calculated from the antisymmetric product of the monomer spin orbitals. Extension to open-shell unrestricted Hartre-Fock (UHF) wavefunctions was undertaken in the manner described by Su & Li (2009). Although the spin state of the dimer is, in principle, undefined, we have assumed in all cases that the spin multiplicity of the dimer reflected two unpaired spins, one from each of the monomers. In applying these methods to open-shell metal coordination compounds, it is of course essential to calculate monomer wavefunctions with a spin multiplicity appropriate to the oxidation state of the metal, and for systems with odd numbers of electrons this was always taken to be a doublet UHF state. For calculation of benchmark energies, the B3LYP-D2 counterpoise-corrected energy also had to reflect the assumption of unpaired spins for the dimer [e.g. for two monomer species, each with one unpaired electron (doublets), the state of the dimer was always chosen to be the high-spin UHF triplet].
2.2.3. Destabilizing terms in energy frameworks. The original implementation of energy frameworks was restricted to electrostatic and dispersion-energy terms and total energies of negative sign, implicitly assuming that these stabilizing energies are most relevant to discussing the crystal structures of neutral molecules. However, ionic crystals necessarily incorporate large positive destabilizing (cation-cation and anion-anion), as well as large negative (cation-anion) energies, and these need to be represented as part of an energyframework picture. To this end, we have added cylinders of a different colour (yellow in the examples presented here) to energy-framework diagrams for the electrostatic term (red) and total energy (blue).

Benchmark DFT calculations
GAUSSIAN09 (Frisch et al., 2009) was used to determine all pairwise intermolecular/interionic energies for calibration purposes, based on B3LYP-D2 calculations corrected for BSSE. For a very small number of crystal structures involving anion-cation pairs, supermolecule calculations at this level did not converge and these ion-ion pairs were not included in the fitting process, although energies for all other possible molecule/ion pairs in those structures were included. HF/3-21G monomer calculations also failed to converge for some openshell molecules/ions [Cambridge Structural Database (CSD; Groom et al., 2016) refcodes ACACCR07, ACACVO04, CPNDYV07, IGACEC, JIYKEH, AFATAE and AGEFEX], and those structures were not included in the determination of scale factors for the CE-HF energy model. Perhaps of more consequence, the B3LYP-D2 counterpoise-corrected benchmark calculations provided quite obviously unacceptable energies for the crystalline salts ferrocenium tris(hexafluoroacetylacetonato)manganese(II) (AGEFEX), the 1,2-diphenylethylenediammonium N-phenyliminodiacetate ethanol solvate (KOLDUL), calcium -ethylmalonate (CUZHEK) and sodium dihydrogen citrate (NAHCIT). For these crystal  Table 1 Isotropic polarizabilities (atomic units) chosen for monatomic cations and anions.
For comparison with the values chosen for monatomic ions, the first row for each atomic species also lists the atomic polarizability (Thakkar & Lupinetti, 2006 (Mitroy et al., 2010). ‡ Average of incrystal values (Domene et al., 1999;Holka et al., 2014). § Average in-crystal value (Domene et al., 1999). } Estimated from the trend in ion/atom polarizability ratios for F, Cl and Br.

Figure 1
Box-and-whisker plots summarizing the deviations of CE-HF and CE-B3LYP model energies from benchmark values. The vertical axis is in kJ mol À1 , and for each model separate box plots are provided for results across all molecule/ion pairs, as well as separate subsets of neutral pairs, organic salts, metal coordination compounds and open-shell systems. Each box contains the interquartile range (i.e. the middle half of the data), the median value is indicated by a black line, the mean value is indicated by a red line and the whiskers extend one standard deviation from the mean. Individual outliers (i.e. deviations beyond the mean AE one standard deviation) are indicated by blue bars. For clarity, the plots depict only deviations in the range AE15 kJ mol À1 . structures, the B3LYP-D2 counterpoise-corrected energies between pairs of ions were consistently much more binding than obtained with a simple electrostatic model; MP2/6-31G(d,p) counterpoise-corrected calculations were used as benchmark energies instead.

Overall fitting results
Scale factors and fit statistics for CE-HF and CE-B3LYP model energies, as well as mean absolute (MAD), mean (MD), root-mean-square (RMSD) and minimum and maximum deviations from benchmark energies, are summarized in Tables 2 and 3. Fig. 1 provides a complementary graphical depiction of the deviations in the form of box-and-whisker plots, and it is important to recognize that for each of the two models, a single fit has been performed to obtain the four scale factors in equation (1), and data relevant to that fit for all molecule/ion pairs are labelled 'all pairs'. Statistics obtained by applying those fitted scale factors to separate subsets of molecule/ion pairs are labelled 'neutral pairs' (i.e. the same set upon which our earlier fitting was based), 'organic salts', 'metalorganics' and 'open shell'. As reported in our previous work, the CE-HF model is clearly inferior to CE-B3LYP -and for good reasonbut it nevertheless performs remarkably well, with an overall MAD of only 4.7 kJ mol À1 . We only recommend this model for situations where a quick and approximate set of energies is required, or for applications to very large systems, and focus the remaining discussion in this section on the more accurate and reliable CE-B3LYP model.
The revised scale factors for the CE-B3LYP model differ only slightly from those reported earlier, a consequence of the interplay between the four energy terms, as seen in the correlation coefficients listed in Table 3. We note that the polarization and electrostatic energies are weakly positively correlated and the repulsion energy is weakly negatively correlated, with the other three terms and the dispersion energy showing no correlation at all with electrostatic or polarization terms -it is clearly describing a distinctly separate phenomenon. One very pleasing outcome from the present fit to a much wider range of interactions is that the model energies obtained for the previous molecular pairs ('neutral pairs') are only marginally different from those obtained previously; the MAD between old and new CE-B3LYP model energies for this subset of 232 neutral pairs is 0.4 kJ mol À1 .
The box plots in Fig. 1 are instructive, as they highlight not only the very clear differences between the CE-HF and CE-B3LYP models, but also the performance of the models for different subsets of molecule/ion pairs. CE-B3LYP model energies more accurately model benchmark results, and with similarly small deviations, for 'neutral pairs', 'metal-organics' and 'open-shell' systems -MAD values are less than 2 kJ mol À1 for all three subsets (Table 3) Table 3 Scale factors and fit statistics for CE-B3LYP model energies with B3LYP/6-31G(d,p) monomer electron densities.
Mean absolute (MAD), mean (MD), root-mean-square (RMSD) and minimum and maximum deviations from benchmark energies are in kJ mol À1 .  These broad conclusions are unsurprising, as the range of benchmark B3LYP-D2 counterpoise-corrected energies is 328 kJ mol À1 for 'neutral pairs', 210 kJ mol À1 for 'metalorganics', 520 kJ mol À1 for 'open shell', but 3751 kJ mol À1 -an order of magnitude greater -for 'organic salts'. As described in x2.1, the crystal structures used to construct the training set of molecule/ion pairs included atoms up to Br, as well as I and Xe; we deliberately omitted metal coordination compounds incorporating metals of the second transition series, i.e. Y to Cd. After the fitting was complete, we used the final scale factors and equation (1) to estimate the intermolecular energies for 100 molecular pairs extracted from 13 metal-organic crystal structures incorporating Zr (CSD refcodes DAQFEH, PIPNEJ and CCPZRA), Mo (KUJLEG, JEVKAW and FUBYIK01), Tc (KABMIJ and KITDAS), Ru (CYCPRU09, FALZAV and ACACRU03), Rh (ACACRH10) and Pd (DETCPD01). For this purpose, B3LYP monomer wavefunctions were calculated using the DGDZVP basis set on all atoms, and the resulting CE-B3LYP energies compared with counterpoise-corrected B3LYP-D2 interaction energies computed with a mixed basis set, i.e. DGDZVP on second-row transition metals and 6-31G(d,p) on all other atoms. The resulting mean absolute error between the CE-B3LYP model energy estimates and benchmark DFT energies was only 0.7 kJ mol À1 , indicating that not only are these model energies applicable to systems including atoms up to Xe (and probably beyond), but also that the DGDZVP and 6-31G(d,p) basis sets yield monomer wavefunctions of very similar quality and are essentially interchangeable for our purposes.

Examples
In this section, we summarize results for CE-B3LYP model energies and energy frameworks applied to a small number of crystals, for comparison with other recent results, but also to highlight the insight into molecular crystal structure that can be derived in this manner.  Energy-framework diagrams for E ele , E dis and E tot for a cluster of nearest-neighbour molecules in Cr(CO) 6 (CSD refcode FOHCOU02). All diagrams use the same cylinder scale of 150 for energies.

Figure 3
Energy-framework diagrams for E ele , E dis and E tot for a cluster of molecules in VO(acac) 2 (CSD refcode ACACVO12). H atoms have been omitted for clarity and all diagrams use the same cylinder scale of 150 for energies. extension of the PIXEL method to metal coordination compounds. Table 4 compares those results for close intermolecular contacts with the CE-B3LYP values. The electrostatic terms are essentially identical, as expected, but the PIXEL dispersion and repulsion components are all greater than those from the CE-B3LYP model, by factors of approximately 1.3 and 1.5, respectively; polarization terms are too small for a useful comparison. Total energies are more similar, with PIXEL values larger than CE-B3LYP by $15%, and this difference is reflected in the lattice energies obtained by summation of pairwise energies to convergence: À71 (PIXEL) versus À63 kJ mol À1 (CE-B3LYP), both comparing favourably with the median value of À69.4 kJ mol À1 from a large number of experimental sublimation enthalpies (Acree & Chickos, 2016). We note that the PIXEL result is based on optimization of parameters to fit experimental sublimation enthalpies, whereas the CE-B3LYP result is based on a fit to DFT energies. (We quote all CE-B3LYP results as whole numbers with the expectation that individual pairwise energies are certainly less reliable than 1 kJ mol À1 .) As observed by Maloney et al. (2015), these energies confirm 'that the interactions are predominantly dispersion based', and this is revealed clearly by the energy-framework diagrams in Fig. 2, where the magnitude of the dispersion energies closely mirrors the total energies; the electrostatic term is not insignificant, but largely cancelled by repulsion in each case.

Bis(acetylacetonato)oxidovanadium(IV), VO(acac) 2
For this compound, Maloney et al. (2015) identified the stacking interaction between molecules across an inversion centre as the strongest intermolecular contact, with a PIXELderived energy of À65.0 kJ mol À1 , and this agrees with the CE-B3LYP result of À68 kJ mol À1 . Individual energy components are also in closer agreement in this case. Energy frameworks for this structure (Fig. 3) clearly show the strong stacking interaction as vertical cylinders, and these are linked within and between planes by obviously important interactions of lesser strength. Both Figs. 2 and 3 depict energies on the same scale relative to molecular dimensions, and it is readily seen that the intermolecular interactions in Cr(CO) 6 are substantially weaker, and more isotropic in nature, than those in VO(acac) 2 . The PIXEL estimate for lattice energy of À143.7 kJ mol À1 compares favourably with the mean sublimation enthalpy of 140.6 (4) kJ mol À1 . The CE-B3LYP estimate of À153 kJ mol À1 is somewhat greater, but again we emphasize that this represents a converged sum over 41 different pairwise interactions, for which the largest individual pairwise energies are (in descending order) À67.7, À49.8, À41.9, À31.3, À25.1, À12.7, À11.4 and À5.8 kJ mol À1 , all of which will have an inherent uncertainty of at least 1 kJ mol À1 based on the MAD for this subset in Table 3.

Ferrocene 'dimers' in
Based on a detailed analysis of structures in the CSD which revealed that nearly 47% of ferrocene crystal structures include a side-by-side pairing of parallel ferrocene molecules displaced by one-half the distance between the cyclopentadienyl (Cp) ring centroids, Bogdanović & Novaković (2011) proposed this particular rigid ferrocene-ferrocene dimer as a common 'building block' in the crystal structures of ferrocenes. Additional evidence for this conclusion came from an analysis of molecular electrostatic potentials derived from an earlier experimental charge-density analysis of 1,1 0 -dimethylferrocene (Makal et al., 2010). CE-B3LYP energy frameworks for 1,1 0 -dimethylferrocene (Fig. 4) Table 4 CE-B3LYP and PIXEL estimates of energy components and total energies for the closest intermolecular interactions in Cr(CO) 6 .
All energies are in kJ mol À1 and PIXEL results are from Maloney et al. (2015).

Figure 4
Energy-framework diagrams for E ele , E dis and E tot for a cluster of molecules in 1,1 0 -dimethylferrocene (CSD refcode ZAYDUY02). The ferrocene 'dimer' proposed by Bogdanović & Novaković (2011) is the vertical pair of molecules, with an FeÁ Á ÁFe distance of 5.709 Å . All diagrams use the same cylinder scale of 150 for energies.
evidence of an identifiable dimer in this structure. Instead, the total-energy-framework diagram reveals a relatively isotropic topology of intermolecular interactions, each molecule being involved in six relatively strong interactions, and where the dominant component is clearly dispersion. Electrostatic energies are all less than 9 kJ mol À1 in magnitude, whereas dispersion energies are as strong as À27 kJ mol À1 . The proposed ferrocene 'dimer' in this crystal structure is certainly stabilizing, with a total interaction energy of À22 kJ mol À1 , but there are three additional molecular pairs with similar energies (À21, À21 and À23 kJ mol À1 ), strongly suggesting that the 'dimer' proposed by Bogdanovic & Novakovic is not special, and definitely not a 'building block' in any sense. There is an important lesson here: the common occurrence of a particular structural motif does not necessarily imply that it is structure determining or an important supramolecular synthon, and the energy-framework diagram can readily provide insight into its true nature.

Glycine crystal structures and destabilizing energies in energy frameworks
In the Introduction (x1), we noted the work of Moggach et al. (2015) on the high-pressure polymorph "-glycine, which made particular note of the numerous destabilizing moleculemolecule interactions in "-glycine, with PIXEL estimates of intermolecular energies as large as +51 kJ mol À1 . Destabilizing interactions of this kind in crystal structures of glycine and other amino acids are not unusual (Destro et al., 2000;Gavezzotti, 2002;Dunitz & Gavezzotti, 2012). Here we use energy frameworks to visualize the relative magnitude and topology of the positive interaction energies for three different glycine polymorphs, i.e. , and " (Fig. 5).
The crystal structure of -glycine has been described as comprising antiparallel double layers in the ac plane (Langan et al., 2002), and these are seen clearly in Fig. 5, with molecules in these double layers involved in three distinct strong hydrogen-bonded interactions: À177 (cyclic dimer), À124 (also a cyclic dimer) and À106 kJ mol À1 (head-to-tail along c, single hydrogen bond). The double layer also includes a significant destabilizing interaction of +37 kJ mol À1 . The energy framework also clearly shows that these double layers are relatively weakly bound to one another along b, with nearest-neighbour interactions betweeen molecules in adjacent layers of À31 and +40 kJ mol À1 . This anisotropy of intermolecular interactions correlates nicely with the observed anisotropic thermal expansion between 100 and 400 K, where the relative increase in b is far greater than for a or c (Langan et al., 2002). The topology of the energy framework in Fig. 5 is also entirely consistent with recent measurements of Young's modulus for -glycine based on nanoindentation experiments (Azuri et al., 2015). The smallest value of 26AE1 GPa was measured for the (010) face (perpendicular to b), and the largest value of 44AE1 GPa was measured for the (001) face, perpendicular to c.
Another stable form of glycine at ambient temperature and pressure, apparently more stable than -glycine (Perlovich et al., 2001), is -glycine. This structure has been described as 'consisting of glycine molecules linked by two hydrogen bonds (N-H1Á Á ÁO1 and N-H2Á Á ÁO2) to form helices around the crystallographic 3 2 screw axes. A third lateral hydrogen bond (N-H3Á Á ÁO1) connects the helices, thus forming a threedimensional network' (Kvick et al., 1980). Fig. 5 shows that the strongest interaction is clearly the head-to-tail N-H1Á Á ÁO1 arrangement along c (À106 kJ mol À1 ). The N-H2Á Á ÁO2 hydrogen bond creates the helical motif, but is much weaker at  Total-energy-framework diagrams for three glycine polymorphs. All diagrams use the same cylinder scale of 50 for energies (i.e. one third of that used in Figs. 2, 3 and 4) and energies with magnitude less than 15 kJ mol À1 have been omitted. CE-B3LYP energies were calculated for room-temperature structures determined by neutron diffraction in all cases (left to right: CSD refcodes GLYCIN19, GLYCIN16 and DOLBIR14).
À32 kJ mol À1 , and the N-H3Á Á ÁO1 link between helices is actually destabilizing at +18 kJ mol À1 . The strongest interaction between helices is actually largely dipole-dipole, between molecules displaced sideways and along c (À48 kJ mol À1 ). We note that for both polymorphs stable at ambient temperature and pressure, the strongest detabilizing interactions evident in Fig. 5 are similar in magnitude and frequency (+38 and +18 kJ mol À1 in -glycine, and +40, +37 and +17 kJ mol À1 in -glycine).
The dominant feature of head-to-tail chains of molecules along b is also evident in the high-pressure polymorph, i.e. "-glycine, studied in detail by Moggach et al. (2015). In this structure, this hydrogen bond has essentially the same energy as in the other two polymorphs (À107 kJ mol À1 ), and these chains are linked by interactions of À58 and À43 kJ mol À1 . However, Fig. 5 also reveals prominent networks of destabilizing energies, all of which occur in what might be termed a 'layer' of molecules with all dipoles aligned (seen on the diagonal in Fig. 4). The energies for these destabilizing interactions are +48 and +33 kJ mol À1 , arising almost entirely from the electrostatic interaction between dipolar molecules arranged in parallel side-by-side. These interactions are seen more clearly in Fig. 6, which highlights how all nearestneighbour interactions (and presumably even longer-range interactions) in this 'layer' are in fact destabilizing. Although individual pairwise interactions were discussed by Moggach et al. (and with PIXEL-derived energies very similar to the present CE-B3LYP ones), we see here how energy frameworks can clearly reveal features of the packing of molecules in a crystal that are otherwise hidden.
In addition to total PIXEL estimates of interaction energies for seven nearest neighbours in "-glycine, Moggach et al. also reported the individual components of those energies ( Table 2 in that work), and it is instructive to compare those with the present CE-B3LYP results. There is excellent agreement for the total and electrostatic energies, with a mean absolute deviation between the two models of only 1.8 kJ mol À1 ; CE-B3LYP total energies are on average 99% of those from PIXEL, while electrostatic energies are 98% of PIXEL values. But there are large differences between the two schemes for polarization, dispersion and repulsion energies: CE-B3LYP energy components are typically 61% (polarization), 71% (dispersion) and 60% (repulsion) of those from PIXEL. This is  Table 5 CE-B3LYP interaction energies and J AB exchange couplings for the nine radical pairs in p-(methylthio)phenyl nitronyl nitroxide considered by Deumal et al. (2004). CE-B3LYP energies and exchange couplings were computed for three crystal geometries at 10 (CSD refcode YUJNEW12), 114 (YUJNEW11) and 298 K [YUJNEW, with H atoms added using Mercury (Macrae et al., 2008)].
Centroid distances in Å , interaction energies in kJ mol À1 and exchange couplings in cm À1 . Estimated uncertainties are $1 kJ mol À1 in E tot and $0.02 cm À1 for J AB .  Deumal et al. (2004). ‡ Not reported by Deumal et al. (2004); presumably small.

Figure 6
Energy-framework diagram for destabilizing interactions in "-glycine (CSD refcode DOLBIR14). The cylinder scale is the same as in Fig. 5 and energies for all nearest-neighbour pairs are included (kJ mol À1 ).

Figure 7
Energy-framework diagram for pyridinium formate tris(formic acid) (CSD refcode QAFFOS). A cylinder scale of 40 is used in this case to enable representation of ion-ion energies, as well as interactions between neutral species, and energies with a magnitude less than 20 kJ mol À1 have been omitted. The cluster displays contents of three unit cells along b.
unsurprising, given the arbitrary nature of the subdivision in equation (1), and the completely different origin of each of those energy terms in the two schemes, but the fact that these three ratios are not far from the optimum CE-B3LYP scale factors k pol (0.740), k dis (0.871) and k rep (0.618) ( Table 3) hints at a deeper relationship between the PIXEL and Crystal-Explorer interaction-energy terms. 1 We find it remarkable that the total interaction energies agree so well for these molecular pairs, but emphasize that the very large differences between the PIXEL and CE-B3LYP polarization, dispersion and repulsion components mean that it cannot be particularly productive or meaningful to discuss or compare the absolute values of these terms, although valid comparisons can certainly be made within one or other of these schemes.

Interactions between ions: adducts of pyridine and formic acid
Crystal structures of two adducts of pyridine and formic acid have been reported by Wiechert & Mootz (1999), one a cocrystal with a 1:1 stoichiometry consisting of neutral molecules, and the other a salt with a 1:4 stoichiometry, namely pyridinium formate tris(formic acid). Both are low-meltingpoint solids, with melting points of 219 and 233 K, respectively. The structure of the cocrystal is straightforward to describe, being dominated by the O-HÁ Á ÁN hydrogen-bonded pyridine-formic acid heterodimer with energy À53 kJ mol À1 ; the next largest interactions are À13 (between formic acid molecules along the 2 1 axis) and À7 kJ mol À1 (a weaker C-HÁ Á ÁO heterodimer interaction). Interaction energies between ions in the pyridinium salt are much greater, and Fig. 7 illustrates how an energy-framework diagram can shed some light on the various interactions in that structure. Ion-ion interactions are, of course, long range and it needs to be recognized that the interactions depicted in Fig. 7 are only those between molecules in relatively close proximity (but further than nearest neighbours in this case); there are many many more interactions at longer separations. Fig. 7 shows a very strong stabilizing pyridinium-formate interaction in the ac plane (À253 kJ mol À1 ) and another between ions in adjacent planes (À199 kJ mol À1 ). Less strong are formate-formic acid interactions (À104 and À115 kJ mol À1 ), while the strongest pyridinium-formic acid interaction is À80 kJ mol À1 . These stabilizing interactions are counterbalanced by some even stronger destabilizing interactions between adjacent formate anions (+342 kJ mol À1 ) and pyridinium cations (+268 kJ mol À1 ) 'stacked' along b, and between formate anions (+184 kJ mol À1 ) and pyridinium cations (+182 kJ mol À1 ) along a. The latter energies, between molecular ions of the same charge separated by a/2 (8.175 Å ), approach the energy between unit charges at that separation, i.e. +169 kJ mol À1 . Although the topology of stabilizing and destabilizing interactions depicted in Fig. 7 is complex, it is worth emphasizing that it is also incomplete, as interactions smaller than AE20 kJ mol À1 have been omitted for clarity, but also because numerous strong interactions between ions in that cluster have not even been included in the calculation of pairwise energies. They could have been included, but the result would have been an almost indecipherable energy framework. This highlights an inherent limitation of energy frameworks -and it is suggested by the word 'framework'. Because they conveniently represent interactions between nearest-neighbour moieties, they are well suited to crystals where the interaction energy is relatively short range (e.g. between molecules with zero or small dipole moments), less ideal for highly polar molecules (e.g. amino acids) and should be used with caution when applied to ionic crystals. 4.6. Open-shell molecules: a nitronyl nitroxide organic free radical Nitronyl nitroxide free radicals have been the subject of studies focusing on the mechanism of magnetic interactions in the crystals, as their bulk magnetic behaviour is known to be very sensitive to both the chemical structure of the spin carrier, as well as the crystal packing. p-(Methylthio)phenyl nitronyl nitroxide [Nit(SMe)Ph, 2-(4-methylthiophenyl)-4,4,5,5-tetramethylimidazoline-1-oxyl-3-oxide], perhaps the most studied of this family, is ferromagnetic below 0.2 K, and has been investigated by polarized neutron diffraction (Pontillon et al., 1999), experimental charge-density analysis (Pillet et al., 2001), as well as a detailed theoretical study that determined its magnetic topology by calculating magnetic interactions (J AB exchange couplings) between key radical pairs in the crystal (Deumal et al., 2004). Fig. 8   Energy-framework diagram for p-(methylthio)phenyl nitronyl nitroxide at 114 K (CSD refcode YUJNEW11). H atoms have been omitted for clarity and a cylinder scale of 150 is used in this case; energies with a magnitude less than 7 kJ mol À1 have been omitted. The cluster displays the contents of two unit cells along a.
been chosen to closely replicate that in Fig. 3(c) of Deumal et al. (2004), which illustrated the magnetic topology based on computed values of four key magnetic pair interactions. Although there is an obvious similarity between the two diagrams, the interaction energies between adjacent molecules are tens of kJ mol À1 , while the computed exchange couplings are only a fraction of a cm -1 ; Table 5 summarizes these results for the nine radical pairs identified by Deumal et al. (2004).
Three of those radical pairs (d1, d2 and d3) link molecules in the ac plane, while the remaining six link molecules between adjacent ac planes. Deumal et al. concluded that the magnetic topology based on the 298 K structure is two-dimensional, with the largest exchange couplings being J AB (d1), J AB (d2) and J AB (d3) ( Table 5). For lower-temperature structures, J AB (d6) is larger and J AB (d3) is smaller than for the roomtemperature structure, resulting in a three-dimensional magnetic topology. Is there a correlation between changes in CE-B3LYP energies and J AB values for these three crystal structures? From Table 5 we see that CE-B3LYP radical pair interaction energies show little change with temperature, with the exception of those for d1 and d6, which are both significantly stronger at the lower temperatures. The key factor in the change from a two-dimensional to a three-dimensional magnetic structure is the substantial increase in J AB (d6). This does correlate with the strengthening of the intermolecular energy for this pair, but it needs to be emphasized that this does not mean that J AB depends on the interaction energy. The enhancement of both the intermolecular and magnetic interactions is a consequence of the shrinking of the unit cell with decreasing temperature; the Me-SÁ Á ÁO-N distance falls from 4.20 (298 K) to 3.95 Å (10 K), and the almost coplanar methyl-HÁ Á ÁO-N separation falls from 3.11 (298 K) to 2.78 Å (10 K). The strongest intermolecular interaction is d1, and this also exhibits the largest exchange coupling at all temperatures. This interaction corresponds to pairs of molecules related by the twofold screw axis along b, stacked along a, with overlap betweeen the phenyl and nitronyl nitroxide moieties of adjacent radicals. With decreasing temperature, the O2Á Á ÁC1 separation falls from 4.25 to 4.17 Å , and it is perhaps not incidental that this stacking motif in the crystal coincides with a very obvious chain of overlapping spin densities between adjacent molecules, propagating along a (Fig. 9).

Summary and outlook
This research has been motivated by the conviction that a whole-of-molecule approach is essential if we are to fully understand the nature of intermolecular interactions in the context of crystal packing. Such an approach avoids a focus on specific atom-atom interactions, or what appear to be novel interactions, which can lead to the neglect of others that may be more energetically important. In this and other recent work (Edwards et al., 2017), we have outlined one way of achieving this, i.e. using the graphical and computational tools embodied in our research toolbox CrystalExplorer, but it is certainly not the only one. The broad details of noncovalent interactions can be largely understood through their common origin in the redistribution of electron density upon bonding, which leads directly to the molecular electrostatic potential and qualitative concepts, such as electrostatic complementarity, and from there to the efficient calculation of reliable intermolecular interaction energies. Visualization of these energies and their electrostatic and dispersion components, in the form of energy frameworks, sheds light on the architecture of molecular crystals, in turn providing a potential link to actual crystal properties.
Here we have built on our earlier work (Turner et al., 2014) to considerably expand the realm of application of CE-HF and CE-B3LYP model energies to include neutral organic molecules (including other p-block elements), metal coordination compounds, organic salts, solvates and radicals. The new sets of scale factors that have been determined by fitting to counterpoise-corrected DFT calculations result in minimal changes from previous energy values but, along with the use of separate polarizabilities for interactions involving monatomic ions, they mean that the CrystalExplorer model energies can now be applied with confidence to a vast number of molecular crystals. The mean absolute deviation of these model energies Spin-density isosurfaces for p-(methylthio)phenyl nitronyl nitroxide from a UB3LYP/6-31G(d,p) wavefunction for the doublet state. Isosurfaces are at AE0.002 au; blue corresponds to positive spin density and red to negative. The spin density is largely localized on the O-N-C-N-O moiety, and the cluster displays the d1 radical pairing stacked along a. Green dashed lines highlight the C1Á Á ÁO2 separation mentioned in the text. from benchmark DFT results is 4.7 kJ mol À1 for HF/3-21G electron densities and as little as 2.5 kJ mol À1 when B3LYP/6-31G(d,p) monomer electron densities are used. Given the magnitude of these deviations, we recommend always reporting model energies as whole numbers in kJ mol À1 .
The earlier implementation of energy frameworks (Turner et al., 2015) now incorporates additional cylinders to represent destabilizing interactions (i.e. those with positive energies), an enhancement that is important for molecules exhibiting large dipole moments (such as zwitterions) and, of course, organic salts (although it is worth noting that energy frameworks are potentially of less value when exploring interactions in crystals involving charged species). The energy models and other enhancements described in this work have all been implemented in CrystalExplorer17 (Turner et al., 2017), now released and freely available to academic users.
Through applications to a variety of interesting molecular crystals, we have attempted to provide examples of how these new computational and graphical tools may be used to enhance the understanding of the nature of intermolecular interactions in the context of crystal packing, and to highlight the utility and promise of these tools. We anticipate that the ideas and approaches presented here will find widespread application, and we are currently exploring their use in estimating lattice energies for crystals comprised of neutral molecules, as well as investigating a possible link between energy frameworks and the mechanical properties of molecular crystals.