# Total time for NPT equilibration

**URL:** <https://gromacs.bioexcel.eu/t/total-time-for-npt-equilibration/6734>\
**Category:** User discussions\
**Created:** [July 3, 2023, 8:45am UTC](https://gromacs.bioexcel.eu/t/total-time-for-npt-equilibration/6734 "2023-07-03T08:45:53Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Sourav7](https://avatars.discourse-cdn.com/v4/letter/s/ba9def/32.png) [@Sourav7](https://gromacs.bioexcel.eu/u/Sourav7)\
**Post date:** [July 3, 2023, 8:45am UTC](https://gromacs.bioexcel.eu/t/total-time-for-npt-equilibration/6734/1 "2023-07-03T08:45:53Z")

</div>

GROMACS version:  
GROMACS modification: Yes/No  
Here post your question How can we run the total given time only for equilibrating the system not the production run?

---

<div class="post-metadata">

**Author:** ![Karis](https://avatars.discourse-cdn.com/v4/letter/k/ed8c4c/32.png) [@Karis](https://gromacs.bioexcel.eu/u/Karis)\
**Post date:** [July 20, 2023, 7:37am UTC](https://gromacs.bioexcel.eu/t/total-time-for-npt-equilibration/6734/2 "2023-07-20T07:37:40Z")

</div>

Not sure how useful this late reply is going to be, but are you asking how to find how long the NPT equilibration ran for or are you asking how to get a .xtc file out of the equilibration step? If the former, that information is available in the npt.log file, and if the latter, you can add `nstxout-compressed` into npt.mdp as you would a regular md.mdp which should output a .xtc file for you

---

<div class="post-metadata">

**Author:** ![Sourav7](https://avatars.discourse-cdn.com/v4/letter/s/ba9def/32.png) [@Sourav7](https://gromacs.bioexcel.eu/u/Sourav7)\
**Post date:** [October 28, 2023, 9:22am UTC](https://gromacs.bioexcel.eu/t/total-time-for-npt-equilibration/6734/3 "2023-10-28T09:22:51Z")

</div>

My question is the first one… In log file there is the time which I have given in mdp file… but I wanted to know that among that total time after a certain time density equilibriated. So that time after which density equilibriated should be the equilbriation time. But how I can understand that how much time will be needed for equilibriate the density.

---

<div class="post-metadata">

**Author:** ![Karis](https://avatars.discourse-cdn.com/v4/letter/k/ed8c4c/32.png) [@Karis](https://gromacs.bioexcel.eu/u/Karis)\
**Post date:** [October 31, 2023, 8:21am UTC](https://gromacs.bioexcel.eu/t/total-time-for-npt-equilibration/6734/4 "2023-10-31T08:21:28Z")

</div>

As in the exact point at which the density reaches equilibrium? There isn’t really an exact criteria that comes with the program, most straightforward way would be to plot out the density against time (you can use ‘gmx energy -f npt.edr -o density.xvg’ and select 24 0) and see when the density begins to fluctuate around a relatively constant value
