Energetic Analysis of miniaturization in cooling devices