Non-destructive molecular-dynamics simulation of the chemical potential of a fluid | Synapse