Hello SUMO Development Team,
I am working on a rail network simulation using the attached rail_network.net.xml file. I have defined separate forward (_fwd) and reverse (_rev) edges to enable bidirectional movement on my tracks, but I am encountering two main problems related to rail switching and routing.
I would greatly appreciate your guidance on the following two points:
1. Connection Creation and Validity:
I am attempting to define rail switches (connections) between the forward and reverse edges at the nodes (junctions) by editing the .net.xml file directly. I am setting the attributes as follows: dir="t" and state="O". However, the connection often does not appear to be valid, or vehicles cannot utilize the switch in the simulation environment, even after modifying the XML.
- Could you please advise on the precise XML syntax or the minimum required set of attributes for correctly establishing a functioning rail switch connection between a
_fwd edge and its corresponding _rev edge?
2. Routing Failure with duarouter/duaiterate:
When attempting to generate routes using duarouter (or duaiterate) with a set of defined trips (e.g., from="edge_fwd" to to="edge_rev"), the tool fails to find a valid path between the given origins and destinations.
- What are the common configuration pitfalls in a rail network that prevent
duarouter from finding a route, even when the bidirectional connections are defined in the network file?
Thank you very much for your time and support. The attached file is the current network configuration I am using.
Best regards,
Reza Bahmani