This work proposes an Artificial Neural Network (ANN) able to provide an accurate forecasting of power produced by photovoltaic (PV) plants. The ANN is customized on the basis of the particular season of the year. An accurate analysis of input variables, i.e., solar irradiance, temperature and air humidity, carried out by means of Pearson Correlation, has allowed to select, day by day, the most suitable set of inputs and ANN architecture also to reduce the necessity of large computational resource. Thus, features are added to the ANN as needed, avoiding waste of computational resources. The method has been validated through data collected from a PV plant installed in ENEA (National agency for new technologies, energy and sustainable economic development) Research Center, located in Casaccia, Rome (Italy). The developed strategy is able to furnish accurate predictions even in the case of strong irregularities of solar irradiance, providing accurate results in rapidly changing scenarios.