Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [sumo-user] Multimodal transport problem

Hi Mohit,

 

there are several ways to query vehicle status information. If you need the data during the simulation, have a look at TraCI. If not, you may get what you need with one of the file output types like FCD output. I cannot help you with your own idea of a database. This is out scope of this mailing list.

 

Best regards

Mirko

 

 

 

 

-----Original-Nachricht-----

Betreff: Re: [sumo-user] Multimodal transport problem

Datum: 2023-11-16T15:23:52+0100

Von: "Mohit Garg" <mgarg@xxxxxx>

An: "Mirko Barthauer" <m.barthauer@xxxxxxxxxxx>

 

 

 

Hi Mirko,
 
Many thanks for your response.
 
I am now thinking to create a database to track each vehicle's status such as position, speed, acceleration and other time-dependent metrics to monitor the status of each vehicle throughout the simulation, and then designing some journey planning algorithms.
 
Could you please give me some advice on creating a database?
 
Thanks in advance.
 
Kind regards,
Mohit
 
 

On Mon, 13 Nov 2023 at 13:39, Mirko Barthauer <m.barthauer@xxxxxxxxxxx> wrote:

The edge permissions in SUMO are defined through vehicle classes, which are a property of the vehicle type. You can have multiple vehicle types sharing the same vehicle class. The vehicle class is assigned to the vehicle type by defining an attribute vClass="<vClass-ID>" (e.g. vClass="passenger") in the vehicle type definition.

 

Best regards

Mirko

 

 

 

 

-----Original-Nachricht-----

Betreff: [sumo-user] Multimodal transport problem

Datum: 2023-11-13T12:09:24+0100

Von: "Mohit Garg via sumo-user" <sumo-user@xxxxxxxxxxx>

An: "Sumo project User discussions" <sumo-user@xxxxxxxxxxx>

 

 

 

Hi there,
 
I am trying to implement multi-modal transport by assigning different vehicle types such as bike, car and motorcycle to the different edges of the road network e.g., assigning bike to edge id 1, car to edge id 2, motorcycle to edge id 3, etc. But this implementation currently has the issue that if we want to have let's say bike to edge id 2 later on, that wouldn't be allowed because only car was assigned for edge id 2. Please advise if I am missing something.
 
Any leads would be appreciated.
 
Thanks in advance.
 
Kind regards,
Mohit

 

 



Back to the top