In recent times, renewable energy sources have gained considerable vitality due to their inexhaustible resources and the detrimental effects of fossil fuels, such as the impact of greenhouse gases on the planet. This article aims to be a supportive tool for the development of research in the field of artificial intelligence (AI), as it presents a solution for predicting photovoltaic energy production. The basis of the AI models is provided from two data sets, one for generated electrical power and another for meteorological data, related to the year 2017, which are freely available on the Energias de Portugal (EDP) Open Project website. The implemented AI models rely on long short-term memory (LSTM) neural networks, providing a forecast value for electrical energy with a 60-min horizon based on meteorological variables. The performance of the models is evaluated using the performance indicators MAE, RMSE, and R2, for which favorable results were obtained, with particular emphasis on forecasts for the spring and summer seasons.