Hi Mohit,
 
there are several ways to query vehicle status information. If you need the 
data during the simulation, have a look at TraCI
<https://sumo.dlr.de/docs/TraCI.html> . If not, you may get what you need 
with one of the file output types like FCD
<https://sumo.dlr.de/docs/Simulation/Output/FCDOutput.html> 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" <[email protected]>
An: "Mirko Barthauer" <[email protected]>
 
 
 
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 <[email protected]
<mailto:[email protected]> > wrote:
  The edge permissions in SUMO are defined through vehicle classes
  
<https://sumo.dlr.de/docs/Definition_of_Vehicles%2C_Vehicle_Types%2C_and_Routes.html#abstract_vehicle_class>
 
  , 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" <[email protected]
  <mailto:[email protected]> >
  An: "Sumo project User discussions" <[email protected]
  <mailto:[email protected]> >
   
   
   
  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
   
 

_______________________________________________
sumo-user mailing list
[email protected]
To unsubscribe from this list, visit 
https://www.eclipse.org/mailman/listinfo/sumo-user

Reply via email to