YOU SAID:
Yesterday I would have gone over the train
INTO JAPANESE
昨日私は電車で行っていた
BACK INTO ENGLISH
Yesterday I was going on the train
INTO JAPANESE
昨日電車の中でつもりだった
BACK INTO ENGLISH
Yesterday on the train was going to
INTO JAPANESE
電車の中で昨日のつもりだった
it is unlikely that this phrase will ever reach equilibrium