Energy calculated.

Signed-off-by: Eduardo Tenorio <embatbr@gmail.com>