calculate the chemical potential using AdResS.