Non-equilibrium molecular dynamics simulation as a method of calculating thermodynamic coefficients