Trains go up, trains go down

This is awesome: use excess solar power to drive trains uphill, then let them drive back downhill to generate power when the sun goes down.