Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [sumo-user] Rail model: massFactor, getDistance and route-dependent resistances

Hello,

1. Thank you for pointing this out. The parameter is now documented at https://sumo.dlr.de/docs/Definition_of_Vehicles%2C_Vehicle_Types%2C_and_Routes.html#car-following_model_parameters
2. This refers to the distance covered by the train head. By default vehicles will be inserted so that they fit fully on their insertion edge (if possible), hence total driven distance along a list of edges is then equal to edgeLengthSum - trainLength. If you wish to avoid this effect, set departPos="0" in the vehicle or trip definition.
3. Not yet but we expect to add this shortly (https://github.com/eclipse-sumo/sumo/issues/18057)

regards,
Jakob

Am Do., 4. Juni 2026 um 13:22 Uhr schrieb Stiller, Lars via sumo-user <sumo-user@xxxxxxxxxxx>:

Dear SUMO-Community,

I am using SUMO 1.27 for a railway dynamics comparison in my master thesis.

I have three questions about the interpretation and documentation of the Rail model:

  • I am using the parameter massFactor successfully with carFollowModel="Rail". However, I could not find this parameter in the Railways documentation. Is there a specific reason why massFactor is not listed there? Could it be added to the Railways documentation, including a short explanation of how it affects the acceleration calculation?
  • For my evaluation, I use traci.vehicle.getDistance() as the travelled distance of the train. In the TraCI documentation, getLanePosition() and getPosition() are explicitly described with respect to the front bumper, but for getDistance() I only found the description “the distance, the vehicle has already driven”. For a long train using carFollowModel="Rail", does getDistance() also refer to the train head / front bumper, or is another reference point used?
  • Does the SUMO Rail model simulate curve resistance? More generally, does it include any route-dependent railway resistances besides gradient resistance, such as curve resistance, tunnel resistance or other infrastructure-related resistances? Are any of these features planned for future versions of the Rail model?

Thank you very much in advance for your help.

Best regards,
Lars

_______________________________________________
sumo-user mailing list
sumo-user@xxxxxxxxxxx
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/sumo-user

Back to the top