Modelling photovoltaic modules by a numerical method and artificial neural networks