Modelling the performance of photovoltaic thermal collectors