Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [sumo-user] different number of vehicles in different edges
  • From: Michael Behrisch <oss@xxxxxxxxxxx>
  • Date: Wed, 7 Nov 2018 22:14:16 +0100
  • 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>
  • Openpgp: preference=signencrypt
  • User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.2.1

Yes, that is right.

Best regards,
Michael

Am 06.11.18 um 12:45 schrieb Natalia Liora:
> Thank you Michael.
> 
> So, in case I use the flows I sent you, could you please confirm that when, for example, I define the flow id 2 (from=“3"to=“4” vehsPerHour=“200”)
> it means that these vehicles run only in the specific edges. That is to say, that they don’t insert the network from the beginning (i.e. edge 1), right?
> 
> Best regards,
> Natalia
> 
>> On 5 Nov 2018, at 08:26, Michael Behrisch <oss@xxxxxxxxxxx> wrote:
>>
>> Hi Natalia,
>> both your definitions and the output are correct. The output gives the
>> total number of vehicles not the average. If all your edges are
>> consecutive you might want to define the vehicles to run all the edges
>> to have less insertions. Something like this:
>>
>> <flow id=“1" type="1" from="1" to=“10" begin="75600" end="79200"
>> vehsPerHour=“100" departLane="best" departSpeed="max"/>
>> <flow id=“2" type="1" from=“3" to=“10" begin="75600" end="79200"
>> vehsPerHour=“80" departLane="best" departSpeed="max"/>
>> <flow id=“3" type="1" from=“3" to=“4" begin="75600" end="79200"
>> vehsPerHour="20" departLane="best" departSpeed="max"/>
>> <flow id=“4" type="1" from=“7" to=“10" begin="75600" end="79200"
>> vehsPerHour=“50" departLane="best" departSpeed="max"/>
>> <flow id=“5" type="1" from=“9" to=“10" begin="75600" end="79200"
>> vehsPerHour=“20" departLane="best" departSpeed="max"/>
>>
>> Best regards,
>> Michael
>>
>>
>> Am 03.11.18 um 16:21 schrieb Natalia Liora:
>>> Hello,
>>>
>>> I want to run a simulation in which I have 10 road segments (edges).
>>> Along specific edges I want to define that different number of vehicles
>>> run each edge. 
>>>
>>> In rou.xml file I define the above flows as following
>>>
>>> <flow
>>> id=“1"type="1"from="1"to=“2"begin="75600"end="79200"vehsPerHour=“100"departLane="best"departSpeed="max"/>
>>> <flow
>>> id=“2"type="1"from=“3"to=“4"begin="75600"end="79200"vehsPerHour=“200"departLane="best"departSpeed="max"/>
>>> <flow
>>> id=“3"type="1"from=“5"to=“6"begin="75600"end="79200"vehsPerHour="180"departLane="best"departSpeed="max"/>
>>> <flow
>>> id=“4"type="1"from=“7"to=“8"begin="75600"end="79200"vehsPerHour=“230"departLane="best"departSpeed="max"/>
>>> <flow
>>> id=“5"type="1"from=“9"to=“10"begin="75600"end="79200"vehsPerHour=“250"departLane="best"departSpeed="max"/>
>>>
>>> With the above flows I want to define the following
>>> from edge 1to 2 100 vehicles running. In the following, the vehicles
>>> increase to 200 until the edge 4. Then, the vehicles decrease to 180
>>> until the edge 6 etc.
>>>
>>> I understand that with the above flows I do not get the desired vehicle
>>> flows since in the summary output I get that 960 vehicles have been
>>> loaded while the real average number of loaded vehicles should be 192.
>>>
>>> Could you please tell me how I have to define the flows?
>>>
>>> Thank a lot
>>>
>>>  Natalia
>>>
>>> _______________________________________________
>>> sumo-user mailing list
>>> sumo-user@xxxxxxxxxxx
>>> To change your delivery options, retrieve your password, or unsubscribe from this list, visit
>>> https://www.eclipse.org/mailman/listinfo/sumo-user
>>>
>>
>>
> 


Attachment: signature.asc
Description: OpenPGP digital signature


Back to the top