added enery sum column to intermediate output
added enery sum column to intermediate output