Add gestion of energy in exchange method and other methods
Add gestion of energy in exchange method and other methods