# Does gmx energy command "Total Energy" include bias potential when I use the pull code?

**URL:** https://gromacs.bioexcel.eu/t/does-gmx-energy-command-total-energy-include-bias-potential-when-i-use-the-pull-code/11833
**Category:** User discussions
**Tags:** free-energy, simulation-setup
**Created:** [March 28, 2025, 3:29pm UTC](https://gromacs.bioexcel.eu/t/does-gmx-energy-command-total-energy-include-bias-potential-when-i-use-the-pull-code/11833 "2025-03-28T15:29:27Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![venturellac2025](https://avatars.discourse-cdn.com/v4/letter/v/6f9a4e/32.png) [@venturellac2025](https://gromacs.bioexcel.eu/u/venturellac2025)
#### Post date: [March 28, 2025, 3:29pm UTC](https://gromacs.bioexcel.eu/t/does-gmx-energy-command-total-energy-include-bias-potential-when-i-use-the-pull-code/11833/1 "2025-03-28T15:29:27Z")

</div>

GROMACS version: GROMACS/2023.3-foss-2022b-CUDA-12.1.1-PLUMED-2.9.2  
GROMACS modification: No  
Hopefully this is a simple question. I am running my own free energy analysis from simulations run with the pull code. I need to know if the following command returns the system total energy with or without the bias potential from the pull code:

`echo "Total-Energy" | gmx energy -f my_pull_simulation.edr -o my_pull_simulation_energy.xvg`

I would appreciate any insight here - thanks!

---

<div class="post-metadata">

### Author: ![hess](https://dub1.discourse-cdn.com/flex017/user_avatar/gromacs.bioexcel.eu/hess/32/416_2.png) [@hess](https://gromacs.bioexcel.eu/u/hess)
#### Post date: [April 1, 2025, 2:31pm UTC](https://gromacs.bioexcel.eu/t/does-gmx-energy-command-total-energy-include-bias-potential-when-i-use-the-pull-code/11833/2 "2025-04-01T14:31:01Z")

</div>

The potential energy includes the all potentials, also the pull bias potential (you can check by adding up the numbers).
