HOW TO CALCULATE THE ENERGY PRODUCTION OF