Hybrid energy solution for underground rail