You have to define a detector for each set of vehicle types you want to 
track: Set the vtypes attribute of the respective detector to the vehicle 
types you want detect there. See docs
<https://sumo.dlr.de/docs/Simulation/Output/Induction_Loops_Detectors_%28E1%29.html#instantiating_within_the_simulation>
 
.
 
Best regards
Mirko
 
 
 
 
-----Original-Nachricht-----
Betreff: Re: [sumo-user] Specific Value for depart speed:
Datum: 2023-06-02T09:00:32+0200
Von: "Mayank Singh" <mayanksingh.dai...@gmail.com>
An: "Sumo project User discussions" <sumo-user@eclipse.org>
 
 
 
Respected Sir,
Currently, I am using an E1 loop detector, and I am able to get flow, 
speed, and occupancy information.
In the simulated traffic, there are two types: cars and trucks. 
How can we get the above parameters for each vehicle type separately?
Please guide us.
 
 
Regards,
Mayank
 
 

On Wed, 31 May 2023 at 20:41, Mayank Singh <mayanksingh.dai...@gmail.com
<mailto:mayanksingh.dai...@gmail.com> > wrote:
  Thank you Sir for your response. 
  Actually, we misspelled it.
  Now, it is resolved. 
   
  Regards, 
  Mayank

  On Wed, 31 May, 2023, 8:05 pm Jakob Erdmann, <namdre.s...@gmail.com
  <mailto:namdre.s...@gmail.com> > wrote:
    This might happen if you misspell the attribute or put it into the
    wrong element. To help with this problem, you can enable input
    validation by defining the root element of your route file as:
    <routes xmlns:xsi="<http://www.w3.org/2001/XMLSchema-instance> "
    xsi:noNamespaceSchemaLocation="<http://sumo.dlr.de/xsd/routes_file.xsd> 
    ">
    The correct definition is departSpeed="20" placed inside the
    vehicle/trip/flow element

    Am Mi., 31. Mai 2023 um 15:26 Uhr schrieb Mayank Singh <
    mayanksingh.dai...@gmail.com <mailto:mayanksingh.dai...@gmail.com> >:
      Respected Sir,
       
      I want to insert vehicles with some specific "depart speed", e.g., 20
      m/s, and different departure speeds for different vehicles. 
      For that, I have initialized the "depart-speed" attribute of every
      vehicle.
       
      But the FCD output shows that all the vehicles start with an initial
      speed of 0.0 m/s and then accelerate based on the acceleration value.
       
      Kindly help me to get the non-zero "depart speed" of vehicles.
       
       
      Regards,
      Mayank
      _______________________________________________
      sumo-user mailing list
      sumo-user@eclipse.org <mailto:sumo-user@eclipse.org>
      To unsubscribe from this list, visit
      <https://www.eclipse.org/mailman/listinfo/sumo-user>
    _______________________________________________
    sumo-user mailing list
    sumo-user@eclipse.org <mailto:sumo-user@eclipse.org>
    To unsubscribe from this list, visit
    <https://www.eclipse.org/mailman/listinfo/sumo-user>
 

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

Reply via email to