How to sweep and blend several surfaces?

I want to model a railway. And this railway has several sections along a curve. Like the image shows below.

I tried sweep1 and failed. I guess the reason is that the edge numbers are different among the sections. Is there any method to sweep and blend several sections along a curve?

upload .gh file

This is my gh file and the excels. Thanks a lot!! (68.0 KB)