A typical meteorological day (TMD) approach for predicting the long-term performance of solar energy systems