σ-averaging in COSMO-RS, why raw screening charges are smoothed
COSMO-RS averages each segment with its neighbours over about 0.5 Å before building the σ-profile. Raw charges, as in a .mfsig file, must be averaged first.
Updated November 28, 2026
COSMO-RS does not use the screening charge of a single cavity segment. It replaces each segment's value with a weighted average over all segments within an averaging radius, about 0.5 Å in Klamt's formulation, before the σ-profile is built. The reason is physical: a contact between two molecules covers an area much larger than one segment, so the energy of a contact depends on the charge over a patch, not over a point. Every parameter in COSMO-RS and COSMO-SAC was fitted to averaged σ. Raw segment charges, such as those stored in a .mfsig file, must be averaged before the theories apply.
What the raw segment charge depends on
A COSMO or C-PCM calculation discretises the cavity into segments and solves for the charge on each. The density on one segment depends on the segment's area, on how the grid falls across an atom's sphere, and on how close the segment lies to a nucleus or a lone pair. Two codes with different grids give different per-segment values for the same molecule, even when the total screening charge and the energy agree. The guide on Lebedev grids and segment discretisation describes where those differences come from.
Klamt's insight was that none of this fine structure matters for the thermodynamics. A molecule in a liquid touches its neighbours over patches whose size is set by the molecules, not by the grid. The physically meaningful quantity is the charge density of a contact-sized patch. Averaging recovers it and removes most of the grid dependence at the same time.
The averaging formula
For segment i with raw density σ_i*, area a_i and position r_i, the averaged density σ_i is a weighted mean over all segments j,
σ_i = Σ_j σ_j* · w_ij / Σ_j w_ij, with w_ij = (r_j² · r_av²)/(r_j² + r_av²) · exp(−d_ij²/(r_j² + r_av²))
where r_j is the radius of a disc with the area of segment j, r_av is the averaging radius and d_ij is the distance between the two segments. Segments farther than a few r_av contribute almost nothing. In Python, for a modest number of segments,
import numpy as np
def average_sigma(sigma_raw, areas, positions, r_av=0.5):
"""Klamt-style σ-averaging. positions in Å, areas in Ų, sigma in e/Ų."""
r2 = areas / np.pi # squared radius of each segment disc
d2 = ((positions[:, None, :] - positions[None, :, :]) ** 2).sum(-1)
denom = r2[None, :] + r_av ** 2
w = (r2[None, :] * r_av ** 2 / denom) * np.exp(-d2 / denom)
return (w * sigma_raw[None, :]).sum(1) / w.sum(1)The averaged σ_i is then binned into the σ-profile p(σ) on a fixed grid. The result is a histogram of surface area against charge density that is far smoother than the raw one, with the extreme tails pulled in.
Why the radius belongs to the parameter set
The averaging radius controls the width of the σ distribution. A larger radius pulls the hydroxyl peaks closer to zero and broadens them. The misfit coefficient α', the hydrogen-bond threshold σ_hb and the strength c_hb were all fitted after averaging with one specific radius. Change the radius and the fitted values no longer describe the same quantity.
COSMO-RS uses about 0.5 Å. COSMO-SAC by Lin and Sandler chose a larger radius and a fixed effective contact area of about 7.5 Ų. The two theories are therefore not interchangeable at the σ-profile level. A profile averaged for one does not carry the right width for the other. The guide on the universal parameters of COSMO-RS lists which parameters depend on the averaging.
The averaging radius is not a smoothing choice, it is part of the parameterisation.
What a .mfsig file holds, and what it does not
A .mfsig file carries, per segment, the position, the area and the raw screening charge density in e/Ų, straight from the C-PCM solution in a continuum of ε = 80. It also carries the σ-moments of that raw distribution. None of this is averaged. The σ in the file is not the averaged σ-profile that COSMO-RS or COSMO-SAC parameterisations expect, and it must not be fed to them as if it were.
The design choice is deliberate. Averaging is a function of the theory, and different theories want different radii. Storing the raw data lets you apply whichever averaging your downstream model was fitted with, and lets you reproduce the σ-profile exactly from the file. The anatomy page names the fields, and reading a .mfsig file in Python shows how to load them.
Comparing a raw .mfsig distribution with a published averaged profile of the same molecule will show the raw one wider, with longer tails and a lower peak at zero. That is expected and is not a disagreement about the chemistry.
Worked example: methanol before and after averaging
Methanol, SMILES CO, has a hydroxyl hydrogen, a hydroxyl oxygen and a methyl group. On the raw C-PCM surface, the few segments right over the hydroxyl hydrogen carry very negative density. The segments over the oxygen lone pairs are strongly positive. The methyl segments are scattered close to zero, with grid-induced spread.
After averaging with r_av = 0.5 Å, the hydroxyl hydrogen's extreme segments are pulled towards the neighbouring, less negative segments on the oxygen side and the carbon side. The donor peak moves closer to zero and becomes a smooth hump below −σ_hb. The lone-pair segments likewise soften into an acceptor peak above +σ_hb. The methyl spread collapses into a single narrow peak near zero. The surface area under each region is conserved. Only its distribution along σ has changed. This averaged profile is the one to use with COSMO-RS parameters. The raw one is the one to archive.
Key points
- COSMO-RS replaces each segment's raw screening charge with a weighted average over neighbours within an averaging radius, about 0.5 Å, before building the σ-profile.
- The averaging describes a contact-sized patch and removes grid dependence. All COSMO-RS and COSMO-SAC parameters were fitted to averaged σ.
- The radius belongs to the parameter set. COSMO-RS and COSMO-SAC use different radii and their profiles are not interchangeable.
- A .mfsig file stores raw, unaveraged σ per segment. Apply the averaging of your theory before using any published parameter.
Questions people ask
- Why does COSMO-RS average the screening charges?
- The raw screening charge on a cavity segment depends on the segment size and the local discretisation. A contact between two molecules involves an area much larger than one segment. Averaging over neighbours within a fixed radius produces a charge density that describes a contact-sized patch, which is what the pairwise interaction energies and their fitted parameters were designed for.
- What averaging radius does COSMO-RS use?
- Klamt's COSMO-RS uses an averaging radius of about 0.5 Å. COSMO-SAC by Lin and Sandler uses a larger radius together with an effective contact area of about 7.5 Ų. The radius and the other parameters of a given parameterisation belong together and should not be mixed.
- Is the σ in a .mfsig file averaged?
- No. The σ per segment in a .mfsig file is the raw C-PCM screening charge divided by the segment area, in e/Ų. It is unaveraged. It is not the σ-profile a COSMO-RS or COSMO-SAC parameterisation expects. Apply the averaging formula with your chosen radius, then bin, before using any published parameters.
- What goes wrong if I skip the averaging?
- The σ distribution is wider than it should be. The misfit energy, which is quadratic in σ, is overestimated. The hydrogen-bond threshold triggers on segments that the fitted parameters never saw. Activity coefficients come out too far from one, and small polar groups are misclassified as hydrogen bonders.
Further reading
In practice: MFsig writes the raw, unaveraged C-PCM screening charge density of one conformer. It is the input such models start from, not a COSMO-RS-ready averaged profile, and it must be averaged with the parameterisation you use before it enters one.
Generate a σ-profile from your SMILES
Free converter for a profile you already have, a reference-grade DFT run with its provenance record when it has to be defensible.