Removed dcComponent from energy and it's test