Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [sumo-user] conservation of vehicles to one edge to the following?
  • From: Michael Behrisch <oss@xxxxxxxxxxx>
  • Date: Wed, 8 Jul 2020 15:34:36 +0200
  • Autocrypt: addr=oss@xxxxxxxxxxx; prefer-encrypt=mutual; keydata= xsDiBFLSvucRBACGsasS4GeIWs1CFNTOYmp3ScQ2ZTJLJWQxhPliwtHTzLsErYu9Y7e8qDov iHFviYyaNuceUNoACm1e4MT4eu0DmM2Wk3y/jjD6hfm7L0EZNPxQhj+CJf2oZAm2ezCe7/si xZ2d7TCO8yWavOGbF0EVi/ZDIJqVgupu6WBpv/NCewCg65HQiS1wm+1w1MdFYxKCmXzbv08D /iWXX3tzabbCrLlUum8hBgBpJEHRtlic2uaGsKm8Fize4tfLZkTBbTYLYXfcx2Oq9+lINPTW h9jnbCjAjErRWLTjNTQjel0JnDryCnqabub/R3wScR/EHRDBeS9L6YRj0xdVd2qIaArtSYRR auKPNc4M2qZNEFSM37cXC7avhpdeA/99oJf4qyVly4RxHmekAmj9UJjRx17x9xX8t9uzUuSt AeTh+kQ3o5jK7veU6/F/+pPyi96EOzym9BJA8pgXC8hLWNjOajI10filkdQ26QsfHOpUdPSZ 4Duyw9Ayj8loagEnnAONmU/xE0QlyVBANIut0W+SNqPScYXfnBbVOaG3Hc0mTWljaGFlbCBC ZWhyaXNjaCA8bWljaGFlbEBiZWhyaXNjaC5kZT7CZgQTEQIAJgIbIwcLCQgHAwIBBhUIAgkK CwQWAgMBAh4BAheABQJS0sKXAhkBAAoJEDwQ/pbRcKYp+SEAoMJSvUzfk3u6EA1nMlMVSk85 nHhoAJ0VE5xLi2ni8j9wdx+uga7XGLtjhs7ATQRS0r7nEAQAkQLdzlu3i/Ddziadm2c/60ZX bcY3FYhHHfsKUHC/QING+lu3uHG0nPaElPTAHTr8UdFMbmpXkRs9+1v1RAvHBWW95BbUXZeu oBsoCm+4Jdktu+PeVxGKhOwQRdR30A4y/bIeRn7iMzkZKoQh0lE3ZEbs0T8TUHBGBUqwEhIv Y0MAAwUD/RXrkwtUiR61/bT96eMaxGtO15AqvlM8DYQ3Xs6EH09QlGzr/i0+usi01wGoh13p YGjzEDtTqO+lNs9AtS7nZAHA3cCWzLmdEXw6EY7IH4X7zOpKoj+JtLNjUd2Nzvhyl48LT217 g8GmCACL6Wo/G+fZ+30Mny+gWbDtEGXNIv7fwkkEGBECAAkFAlLSvucCGwwACgkQPBD+ltFw pimNZQCgnN5oibnjl7r2SVle6hgUMcckfN4AoMYRjy/Tqz9tq8TSUqNcOTjlMR7D
  • Delivered-to: sumo-user@xxxxxxxxxxx
  • 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>
  • User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.9.0

Hi Natalia,
yes eventually all vehicles should appear on all edges. If you have 100
vehicles per hour you will probably not see a count of 100 on all edges
for the first hour since the last vehicle may need some time before it
gets to the last edge.

The meandata definiton looks good (you need to end with a '/>' though)
and yes you can have several meandata for diffferent vTypes, see
https://sumo.dlr.de/docs/Simulation/Output/Lane-_or_Edge-based_Traffic_Measures.html

Best regards,
Michael

Am 29.06.20 um 07:45 schrieb Natalia Liora:
> Hi Michael, 
> 
> thank you. I mean that in case I define at the rou.xml file that in specific edges (e.g. from="1" to=“5")  I have a certain number of vehicles per hour (e.g. vehsPerHour=“100”) this should finally mean that in an one hour simulation the total number of vehicles counted in the specific edges (1, 2…) would be the same (for each edge). Is this right?
> 
> Also, in case I define the output file for the traffic measures in the additional file, this would be something like this?
> <edgeData id='ed1' file='edge_all.xml' begin='0' end='3600' >
> 
> Could I get an output file for each vehicle type? In that case , should I define the vTypes above (similarly to the emissions output files?)
> 
> Thanks a lot.
> Best regards,
> Natalia
> 
>> On 28 Jun 2020, at 9:07 AM, Michael Behrisch <oss@xxxxxxxxxxx> wrote:
>>
>> Hi Natalia,
>> it is not clear to me what you mean by conservation of vehicles. Yes,
>> every vehicle leaving one edge will eventually appear at the next one.
>> If you want to count vehicles entering and leaving during intervals on
>> all edges you might want to use meandata:
>> https://sumo.dlr.de/docs/Simulation/Output/Lane-_or_Edge-based_Traffic_Measures.html
>>
>> Best regards,
>> Michael
>>
>> Am 24.06.20 um 22:49 schrieb Natalia Liora:
>>> Hello, 
>>>
>>> Supposing that I run an one hour simulation for a road network including
>>> 10 edges (different length for each edge) while traffic lights are also
>>> included,  
>>> I define in the rou.xml file the following
>>> <flow id="1" type="car" from="1" to="5" vehsPerHour="100" begin=“0"
>>> end=“3600" departLane="best" departSpeed="max"></flow>
>>>   <flow id=“2" type="car" from=“6" to=“10" vehsPerHour=“200" begin=“0"
>>> end=“3600" departLane="best" departSpeed="max"></flow>
>>>
>>>  
>>> During the one hour simulation, do I finally have conservation of the
>>> number of vehicles from one edge to the following one for each flow
>>> (i.e. from 1 to 5 and from 6 to 10)* ?*
>>> Is it possible to check  the total number of vehicles circulating in
>>> each edge?
>>>
>>> Thank you 
>>> Natalia
>>>
>>> _______________________________________________
>>> sumo-user mailing list
>>> sumo-user@xxxxxxxxxxx
>>> To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/sumo-user
>>>
>>
>>
> 


Attachment: signature.asc
Description: OpenPGP digital signature


Back to the top