One of the frequent challenges faced by molecular modelers is achieving a stable density when preparing a molecular system for production simulations. This step, known as NPT equilibration, is critical for ensuring meaningful and reliable results in molecular dynamics (MD) simulations. In this blog post, we’ll walk through the process of NPT equilibration using the GROMACS Wizard in SAMSON and share practical tips to make this step smooth and efficient.
Why is NPT Equilibration Important?
After minimizing your system and stabilizing its temperature (NVT equilibration), the next step is to stabilize its density under constant pressure and temperature (this is the NPT ensemble: constant Number of particles, Pressure, and Temperature). Without this step, your molecular system might not reflect the physical conditions you are aiming to simulate, which could affect the validity of your results.
Setting up NPT Equilibration in SAMSON
The GROMACS Wizard extension within SAMSON simplifies setting up NPT equilibration. Here are the core steps to follow:
1. Input Selection
You’ll need to provide one of the following inputs:
- The path to a GRO file – this can come from previous steps such as Energy Minimization or NVT Equilibration.
- The path to a batch project – useful if you’re working with batch computations. Refer to the Batch computations tutorial for more guidance.
Take advantage of the auto-fill button (
), which automatically fills in the input path from your previous step — a time-saver to ensure continuity!

2. Adjusting Parameters
The default parameters in the Parameters section are already optimized for typical NPT equilibration runs. However, every system is unique, so you may need to tweak them:
- Check the timeframe: Start with 100 ps and assess whether the density stabilizes within this duration. If not, extend the run.
- Modify pressure coupling options: The default c-rescale barostat with a 5 ps time constant works well for many cases.
If you’re exploring advanced setups, click the “All…” button to access all GROMACS molecular dynamics parameters. Want more clarity? Dive into the Applying custom parameters tutorial for tailored configurations.

3. Running NPT Equilibration
The GROMACS Wizard offers multiple options to run your equilibration:
- Equilibrate locally: Ideal for smaller systems or a quick evaluation.
- Equilibrate in the cloud: Perfect for larger systems. Computational heavy-lifting is done remotely using cloud credits—saving you time and resources.
During this process, SAMSON’s job manager keeps track of your simulations, letting you multitask efficiently.
Checking Results: When Is Your System Ready?
Upon completion, inspect the density and pressure plots in the Plots section.

In an ideal scenario, the density stabilizes at a value close to expectations for your model. For example, with SPC/E water models, you’d expect around 1008 kg/m3. If density fluctuations persist, consider running additional NPT equilibration using outputs from your previous run.
Once the density is stable, you’re ready to move on to production molecular dynamics simulations (Step 5).
Learn More
For detailed instructions, we encourage you to explore the full documentation available here.
Note: SAMSON and all SAMSON Extensions are free for non-commercial use. You can get started by downloading SAMSON here.
