Renewable energy calculation