﻿# CHGNet energy: distinguish per-atom predictions from ASE total energy

Preserve CHGNet intensive-energy configuration, atom count, calculator total-energy conversion, and output units when comparing structures and supercells.

Author: Retrivium editorial team
Updated: 2026-11-04
Canonical URL: https://retrivium.ai/journal/fg2-chgnet-intensive-energy-ase-total-conversion/
Language: en

## A valid energy can be compared under the wrong convention

A materials screening job may mix direct CHGNet predictions with energies exported by an ASE calculator. If one value is normalized per atom and another describes the complete structure, a shared energy column hides a scale difference. Larger structures can then appear incomparable for a purely representational reason.

The [CHGNet workflow](https://raw.githubusercontent.com/CederGroupHub/chgnet/main/README.md) labels direct prediction units. Keep those labels with exported values rather than discarding them during table construction.

## Intensive and extensive outputs answer different questions

An intensive per-atom energy divides the structure quantity by atom count, while a total energy retains the full system scale. Converting between the conventions requires the atom count of the exact structure associated with the prediction.

The [model implementation](https://raw.githubusercontent.com/CederGroupHub/chgnet/main/chgnet/model/model.py) exposes `is_intensive` as configuration. Inspect the loaded model rather than assuming every custom-trained or converted artifact follows the same default as a documented pretrained workflow.

## The calculator adapts to its consumer contract

The [CHGNet dynamics/calculator implementation](https://raw.githubusercontent.com/CederGroupHub/chgnet/main/chgnet/model/dynamics.py) converts model results for the ASE interface. An adapter should not apply an additional per-atom conversion merely because the underlying model documentation mentions intensive energy.

Record whether the value came from direct prediction or the calculator. Following that path prevents double normalization or accidental multiplication when an intermediate table is imported into another simulation tool.

## Structure identity includes multiplicity

A primitive cell and a corresponding supercell have different atom counts and coordinate domains. Keep their identities explicit before comparing energies. Similar composition labels do not establish that the exported scalar uses the same normalization or physical reference.

The [tensor-axis guide](/journal/tensor-axes-batch-sequence-hidden/) helps distinguish per-site arrays from per-structure values. Forces and site properties should remain associated with the correct atomic ordering rather than being scaled by copying the energy normalization rule.

## Check scale before interpreting materials rankings

A useful audit records model configuration, structure identifier, atom count, energy value, unit, and direct-versus-calculator path. Compare a small inspected cell conversion under the same model and confirm the intended normalization.

The [artifact validation guide](/journal/safetensors-artifact-validation/) supports preserving that evidence. Correct units and scale make a computational result interpretable; they do not establish thermodynamic stability, reference-energy comparability across different models, or experimental accuracy of an unvalidated material prediction.
