Shipping costs for Statistical Thermodynamics: Fundamentals and Applications