An optimised methodology to predict the wind farms production