Flow-production systems whose pieces are connected in a row may not have maintenance scheduling procedures fixed because problems occur at different times (electricity plants, cement plants, water desalination plants). Contemporary software and artificial intelligence (AI) technologies are used to fulfill the research objectives by developing a predictive maintenance program. The data of the fifth thermal unit of the power station for the electricity of Al Dora/Baghdad are used in this study. Three stages of research were conducted. First, missing data without temporal sequences were processed. The data were filled using time series hour after hour and the times were filled as system working hours, making the volume of the data relatively high for 2015-2016-2017. 2018 was utilized as a test year to assess the modeling work and validate the experimental results. In the second step, the artificial neural networks approach employs the python program as an AI, and the affinity ratio of real data using the performance measurement of the mean absolute error (MAE) was 0.005. To improve and reduce the value of absolute error, the genetic algorithm uses the python program and the convergence ratio became 0.001. It inferred that the algorithm is efficient in improving results. Thus, the genetic algorithm provided better results with fewer errors than the neural network alone. This concludes that the shown network has superior performance over others and the possibility of its long-term predictions for 2030. A Sing time series helped detect future cases by reading and inferring system data. The development of appropriate work plans will lower internal and external expenses of the systems and help integrate other capabilities by giving correct data sources of raw materials, costs, etc. To facilitate prediction for maintenance workers, an interface has been created that facilitates users to apply them using the python program represented by entering the times, an hour, a day, a month, a year, to predict the type and place of failure.