# Retrieving energy data

**URL:** <https://gromacs.bioexcel.eu/t/retrieving-energy-data/6573>\
**Category:** User discussions\
**Created:** [June 8, 2023, 11:59am UTC](https://gromacs.bioexcel.eu/t/retrieving-energy-data/6573 "2023-06-08T11:59:05Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![mjm91](https://avatars.discourse-cdn.com/v4/letter/m/54ee81/32.png) [@mjm91](https://gromacs.bioexcel.eu/u/mjm91)\
**Post date:** [June 8, 2023, 11:59am UTC](https://gromacs.bioexcel.eu/t/retrieving-energy-data/6573/1 "2023-06-08T11:59:05Z")

</div>

Dear gromacs users,

I have recently run a long few microseconds long MD simulation, however mistakenly used nstenergy = 0 in the mdp file that resulted in the edr file containing only the energy of the final frame. Is there anyway to retrieve the energy data or I simply have to rerun everything from start? Any help will be much appreciated.

---

<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:** [June 8, 2023, 3:29pm UTC](https://gromacs.bioexcel.eu/t/retrieving-energy-data/6573/2 "2023-06-08T15:29:09Z")

</div>

You can use gmx mdrun -rerun to recompute potential energies from your trr or xtc file. But you can not get the kinetic energy, temperature or pressure.
