In the research project Smart Solar System (S3), the Solar-Institut Jülich (SIJ) developed forecast tools to predict the direct normal irradiance (DNI) in hourly resolution for the current day. The aim of the daily DNI forecast is to use it as input to enable a smart operation of a parabolic trough collector (PTC) system with a concrete thermal energy storage (C-TES) located at the company KEAN Soft Drinks Ltd in Limassol, Cyprus. The main focus in this work is on the development of a DNI forecast tool based on long short-term memory (LSTM), which is a recurrent neural network (RNN), and its comparison with a DNI forecast tool based on analytical algorithms (non-machine learning). Only the non-machine learning DNI forecast tool with hourly update was tested in real-life PTC plant operation since end of 2022. The comparisons between the three DNI forecast tools show that the potential of using machine learning is very high. Different comparisons were made including an evaluation of the accuracy of the tool (i.e. comparison of the DNI forecast data with DNI measurement data). The DNI forecast based on the LSTM network proved to be more accurate than the non-machine learning DNI forecasts when considering errors greater than ±100 W/m2. The error of the LSTM network compared to DNI measurement data was as follows: 43.6 % of the data was within ±100 W/m2, 74.8 % was within ±200 W/m2, 89.8 % was within ±300 W/m2 and 95.8 % was within ±400 W/m2.