Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [sumo-user] No of vehicle passing through a detector using TRACI
  • From: <Maria.Armellini@xxxxxx>
  • Date: Tue, 14 Jul 2020 07:32:16 +0000
  • Accept-language: de-DE, en-US
  • Delivered-to: sumo-user@xxxxxxxxxxx
  • Ironport-phdr: 9a23:h/G5GxJ/0toP6XlvndmcpTZWNBhigK39O0sv0rFitYgXKv7zrarrMEGX3/hxlliBBdydt6sazbCH+Pm5BiQp2tWoiDg6aptCVhsI2409vjcLJ4q7M3D9N+PgdCcgHc5PBxdP9nC/NlVJSo6lPwWB6nK94iQPFRrhKAF7Ovr6GpLIj8Swyuu+54Dfbx9HiTagYL5+Ngu6oAHeusULnIdvKLs6xwfUrHdPZ+lY335jK0iJnxb76Mew/Zpj/DpVtvk86cNOUrj0crohQ7BAAzsoL2465MvwtRneVgSP/WcTUn8XkhVTHQfI6gzxU4rrvSv7sup93zSaPdHzQLspVzmu87tnRRn1gyoBKjU38nzYitZogaxbvhyvugB/zYDXboGbNvV+f7/Sc9wVSmdaQsZRTi5BDp+gY4cTEeYMO/tToYnnp1sJqBuzHQ6hCuT1xT9Sh3/5x7c23vg7EQHDwgMgG9YOsHXSrNX0L6odTOS1zLPSwTrecfxbwDHw45XHfR49u/+DR65wcdbPxkk1EQPIlladpI/hMj+I1ukDs2qW4uV8WeyghWMqqRx9rzasy8sxl4TEhYMYx1Ha+Ch63Is4IcC1RUB4bNOkHpVdszyXOolwT8g/TW9ovyM6xacHuZ69ZCUF1ZAnxwTFZ/OabYeE+hTjW/yKLjhjgHJqZqiziAq18Uil0uHzSNW70FJLripdidnDqGoB1xvJ6siITPZ240Sv2S6X2gzO9u1IO104mKnUJpI737I9mJkevV7dEiL4gEn6ka2bels+9uS29ujreKjqq52dOoNulw3zNLkllNalDuQiKAcOWnCW+eG71LL+40L0WK5KjvgqkqnBt5DaONgbqra5AwBL1oYj7A6yATmg3toWkncJLFJLdhWEgYbuIV/CPv71A/i+jFmyijtrxvbGPqH7AprXNHTMjbPhfaxn50FB1gU/1dFf55RKBbEdOP//R1P9uMbFAhI6PAG42fvrBdt+248ER26CDLeVMKbIvl+J4uIvLfOMZIgQuDvlLPYq/eTujX4jllMHYaSpx54XZ268HvRiIkWZZ3vsj8wcHmcOpAoyVvHlh0OaXT5Je3myR7485i08CI++FofDW4WtgLuY0CemBZ1ZeHpGB0uSHnj0c4WEWu8MaDmMLcN7lTwET7ehGMcc0wqzvlr616Z/NbiTvTIHqtTu39x0//be0xYo+ntxBsWZ1miLCGV1hX8JQTExm7tipEs410yOy/tFhedFH+Be9+8cUhsmLYWOiKtlFM+0VwnFf8+SRRChWNrhBDgwStc4xZgKYl1hGtOsiVfYwi+tRqIOmqbYOJthprnB2n+0Ot1w0V7L360gl0IrBMxVOjv1qLR48l2HIofTkkzfvryveKAY3SjM3GuH1yyCsRcLA0ZLTazZUCVHNQPtptPj6xaaQg==
  • Ironport-sdr: 7ruL+CUrZa5WzihytIIoOkrxHsiqtdjvewjjD6yWnfnMd/pDCQkx0f6z/kmO5OZokhl5KO/8HN UUKn3A/hi27Q==
  • List-archive: <https://www.eclipse.org/mailman/private/sumo-user>
  • List-help: <mailto:sumo-user-request@eclipse.org?subject=help>
  • List-subscribe: <https://www.eclipse.org/mailman/listinfo/sumo-user>, <mailto:sumo-user-request@eclipse.org?subject=subscribe>
  • List-unsubscribe: <https://www.eclipse.org/mailman/options/sumo-user>, <mailto:sumo-user-request@eclipse.org?subject=unsubscribe>
  • Thread-index: AQHWWVLSoLSGzKPqU0OclOUsNN3mUKkGrUqA
  • Thread-topic: [sumo-user] No of vehicle passing through a detector using TRACI

Hi,

I think you are looking for the Induction Loops Detectors (E1). You can add them to your net and define the desired time interval with the parameter "freq". 
You can find more information here: 
https://sumo.dlr.de/docs/Simulation/Output/Induction_Loops_Detectors_(E1).html

Then if you want you can access the detector information with traci (https://sumo.dlr.de/docs/TraCI/Induction_Loop_Value_Retrieval.html).

Regards,
Giuliana

-----Original Message-----
From: sumo-user-bounces@xxxxxxxxxxx [mailto:sumo-user-bounces@xxxxxxxxxxx] On Behalf Of anilbaral
Sent: Montag, 13. Juli 2020 22:18
To: sumo-user@xxxxxxxxxxx
Subject: [sumo-user] No of vehicle passing through a detector using TRACI

Hi all, 
I want to determine the total number of vehicles passing through a detector
in a lane within a certain time interval, like the number of vehicles
between time steps 0 to 10,000. I have used TRACI and I could determine the
vehicle in each time step and then add all the vehicles in the time step(.
This will give me a total vehicle. However, I don't want to run the entire
time step and add it. Is TRACI able to provide all the vehicles passing
through a certain detector for any time interval?



--
Sent from: http://sumo-user-mailing-list.90755.n8.nabble.com/
_______________________________________________
sumo-user mailing list
sumo-user@xxxxxxxxxxx
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/sumo-user


Back to the top