Monitoring a DC train supplied by a reversible substation