sumo icon indicating copy to clipboard operation
sumo copied to clipboard

How to add an old vehicle concept Gyro-monorail in SUMO

Open SUMO314 opened this issue 6 months ago • 4 comments

Hello,

I am new to SUMO . I learned that a custom vehicle Type can be added through the Vehicle Class Custom1 and Custom2 . I would like my gyro-monorail to be used on the normal railways, is there a way to seperate an edge(type rail) to a double sub-edges for my vehicle to use independantly? Or is there any way to achieve this purpose ?

Thank you

Kind regards,

SUMO314 avatar Jun 10 '25 15:06 SUMO314

You can set the rail edge to allow only a certain vehicle class (see [doc]https://sumo.dlr.de/docs/Simulation/VehiclePermissions.html)).
Then you can still use one edge per direction to simulate your system. Yes, this may not reproduce exactly the look of the monorail but will do the job for traffic-related questions (capacity etc.). Is visualisation important for you as well?

m-kro avatar Jun 10 '25 16:06 m-kro

The only reason to use vehicle classes is to aid in computing appropriate routes between two points in the network. If you specify full routes (or compute them in an appropriate sub-network) you may use any vehicle class you like for your gyro-monorail.
For the purpose of running in both directions on a single rail, see https://sumo.dlr.de/docs/Simulation/Railways.html#bidirectional_track_usage

namdre avatar Jun 11 '25 05:06 namdre

@namdre I think the original poster thought of using one rail (="Schiene") per direction independently of the other one...

m-kro avatar Jun 11 '25 08:06 m-kro

@m-kro visuals are not a priority as long as it does the trick. Yes I would like to drive my vehicle on a single track ("auf einen Schiene") . Is it not correct to create a bidirectional rail ( like @namdre mentioned) and set the right permission for my vehicle ? And yes I would like to use each track per direction independently .

SUMO314 avatar Jun 16 '25 13:06 SUMO314

Bidirectional rail means the track can be used in both directions.

m-kro avatar Jun 17 '25 11:06 m-kro