310kph is probably the maximum cursing speed. I can't find precise distance information for AVE between Zaragoza and Barcelona, but it's somewhere around 320-330 km. The minimum travel time I see listed is about 1.5 hours. So conservatively the average speed is around 220 kph or 137 mph.