The maintenance of a railway system is a complex and multi-faceted process that involves the regular inspection, repair, and replacement…