method_energy function

Energy Balancing