The energy balance for electrons and heavy particles constituting a plasma in partial local thermodynamic equilibrium is derived. The formulation of the energy balance used allows for evaluation of the source terms without knowledge of the particle and radiation transport situation, since most of the contributions that arise from that situation (diffusion, local capture of radiation, etc.) are taken into account in the nonequilibrium term. The small correction for the contribution of the loss of excited states, which is slightly overestimated in this approach, can usually be neglected. The overpopulation factor, which can often be evaluated from measurements of the pressure, electron density, and temperature, becomes one of the most importa...