Firm enhances train circulation control software | AGÊNCIA FAPESP

Firm enhances train circulation control software Meta Planning Engine detects changes in demand and chooses the best solution for a new scenario in real time (photo: Wikimedia Commons)

Firm enhances train circulation control software

November 29, 2017

By Suzel Tunes  |  FAPESP Research for Innovation – Rail transportation is costly to operate and requires heavy fixed-capital investment in track construction and maintenance. To be economically feasible, rail systems must transport large amounts of goods over long distances. 

As demand grows, rail system operators can invest in network expansion by building new lines or duplicating existing tracks. However, this strategy is costly because of the long distances traveled by trains. An alternative is to seek solutions that optimize the use of implemented resources by the efficient planning of train overtakings or crossings, stoppage times, track maintenance, and driver rotas.

Most railroads do this planning manually or use traditional mathematical optimization tools. This causes problems when unforeseen situations arise – and they are far from uncommon. Moreover, operational control involves a large number of interconnected variables, which increases the likelihood of problems, as one faulty variable can jeopardize the entire system, leading to delays that mean drastic financial losses for the operator.

A train breakdown or track interdiction, for example, requires restructuring of the entire plan. “Most tools that use traditional optimization models take hours to calculate a result. CFlex calculates a feasible solution in seconds,” says Plínio Roberto Souza Vilela, a professor at the University of Campinas’ Technology School (FT-UNICAMP) in São Paulo State, Brazil, and principal investigator for the Meta Planning Engine project developed by CFlex.

Supported by FAPESP’s Innovative Research in Small Business Program (PIPE), the firm completed Stage 1 of the project in 2014 and is now developing Stage 2. Meta Planning Engine will offer the domestic and international rail transportation markets a train circulation management solution. The program will be able to choose the best algorithm among several available algorithms instead of using only one – as is the case with current software tools – to calculate train routes across a given network. “The software will always seek the best possible algorithm among those available to resolve any circulation situation,” Vilela explains.

The advantages of the new system can be illustrated by an analogy with a car engine. “Imagine a car with a flex-fuel engine. It can run on gasoline or ethanol, or a mixture of both, but it isn’t totally optimized for either,” he says. “Having several algorithms available to the software is like producing a car with two engines and the ability to choose the right engine for each situation, so that it always runs with maximum efficiency.” This flexibility of the software, he explains, is a fundamental quality when addressing the complex task of controlling train circulation in a rail network.

CFlex began in 1996 as a startup incubated by UNICAMP and now has domestic and international presence, with computer systems that support decision making based on a large number of variables.

The firm has sold its flagship product, CFlex Movement Planner, to large corporate customers in the Brazilian market and abroad, mostly to mining companies that ship ore to coastal ports by rail. Its main customer at present is Anglo-Australian mining and metals giant Rio Tinto.

Vilela expects even better results from Meta Planning Engine, developed with FAPESP’s support. “We’ll be able to deliver the system with several different algorithms preinstalled, and the tool will choose the best one for use in each situation,” he says.

“For example, suppose we’re in a period of high demand for ore and therefore have many trains circulating in the network. This situation may require the use of an algorithm that’s been specifically designed to operate well in such cases. The tool will automatically detect this algorithm’s capacity to provide better results and choose it. If the demand situation changes, the system will again recognize the change and may choose a different algorithm. So the main advantage is the solution’s enhanced real-time flexibility and adaptability.”

The firm is testing a version of the new software package in the laboratory. According to Vilela, in a few months, tests will be performed on real situations, such as Rio Tinto’s rail network in Australia. It also has a two-year sales plan ready and will again apply to FAPESP for support. “We’re halfway through Stage 2, and the results have been positive, so CFlex is already enrolling for Stage 3,” he says.

Investment in research

For Vilela, CFlex has distinguished itself from the outset by investing in research and partnering with researchers and universities.

Vilela has a PhD in electrical engineering and automation from UNICAMP and brought experience acquired in both academia and business to the firm when he joined in 2013. “I always wanted an academic career, but when I earned my PhD I moved to the United States to work at the research center of a telecommunications company,” he recalls.

After returning to Brazil, Vilela became head of R&D at CFlex and has recently taken up an appointment as a professor at UNICAMP, while continuing to work at CFlex as a consultant on government-funded research projects like the one for which he is currently principal investigator. “It’s good for the firm to have a researcher who has worked in the marketplace or a manager who has worked in academia and can build bridges between the two. That’s rare in Brazil, particularly because universities and business organizations operate at very different speeds,” he says.

Brazilian researchers do not always understand the importance of timing in the business world, he notes, whereas US academics spend a good deal of time in corporate activities and understand market needs. The business community not only desires fast results to meet demand but also invests in research to seek medium- and long-term results.

He would like to see this integration happen more frequently in Brazil, facilitated by support from research funding agencies. For Vilela, it is not very easy to “be sifted through FAPESP’s scrutiny”, and firms that apply to the PIPE program are therefore interested not only in financial support but also in indirect benefits, such as gleaning experience and even market projection. “Devoting time to research is essential for a firm that aims to stay ahead of the market,” he says.

Company: CFlex
Tel.: +55 19 3251-5211
Contact: and 




Agência FAPESP licenses news reports under Creative Commons license CC-BY-NC-ND so that they can be republished free of charge and in a straightforward manner by other digital media or by print media. The name of the author or reporter (when applied) must be cited, as must the source (Agência FAPESP). Using the button HTML below ensures compliance with the rules described in Agência FAPESP’s Digital Content Republication Policy.

Topics most popular