To understand the components of total energy, you may look at the expression of total energy, e.g., the following paper:
J. M. Soler, E. Artacho, J. D. Gale, A. García, J. Junquera, P. Ordejón, and D. Sánchez-Portal, J. Phys. Condens. Matter 14, 2745 (2002)