Microscopic Derivation of an Isothermal Thermodynamic Transformation