[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [sumo-user] cannot generate right traffic flow output through flowrouter.py
|
- From: Michael Behrisch <oss@xxxxxxxxxxx>
- Date: Wed, 17 Apr 2019 18:57:46 +0200
- Autocrypt: addr=oss@xxxxxxxxxxx; prefer-encrypt=mutual; keydata= mQGiBFLSvucRBACGsasS4GeIWs1CFNTOYmp3ScQ2ZTJLJWQxhPliwtHTzLsErYu9Y7e8qDov iHFviYyaNuceUNoACm1e4MT4eu0DmM2Wk3y/jjD6hfm7L0EZNPxQhj+CJf2oZAm2ezCe7/si xZ2d7TCO8yWavOGbF0EVi/ZDIJqVgupu6WBpv/NCewCg65HQiS1wm+1w1MdFYxKCmXzbv08D /iWXX3tzabbCrLlUum8hBgBpJEHRtlic2uaGsKm8Fize4tfLZkTBbTYLYXfcx2Oq9+lINPTW h9jnbCjAjErRWLTjNTQjel0JnDryCnqabub/R3wScR/EHRDBeS9L6YRj0xdVd2qIaArtSYRR auKPNc4M2qZNEFSM37cXC7avhpdeA/99oJf4qyVly4RxHmekAmj9UJjRx17x9xX8t9uzUuSt AeTh+kQ3o5jK7veU6/F/+pPyi96EOzym9BJA8pgXC8hLWNjOajI10filkdQ26QsfHOpUdPSZ 4Duyw9Ayj8loagEnnAONmU/xE0QlyVBANIut0W+SNqPScYXfnBbVOaG3HbQiTWljaGFlbCBC ZWhyaXNjaCA8b3NzQGJlaHJpc2NoLmRlPohjBBMRAgAjBQJS0sHSAhsjBwsJCAcDAgEGFQgC CQoLBBYCAwECHgECF4AACgkQPBD+ltFwpimlmQCdGgnYuHxoye4vFntyHRcE0Ij0318AoN3s szGyKcKdUmPpgXLhFcNfRGe4uQENBFLSvucQBACRAt3OW7eL8N3OJp2bZz/rRldtxjcViEcd +wpQcL9Ag0b6W7e4cbSc9oSU9MAdOvxR0UxualeRGz37W/VEC8cFZb3kFtRdl66gGygKb7gl 2S27495XEYqE7BBF1HfQDjL9sh5GfuIzORkqhCHSUTdkRuzRPxNQcEYFSrASEi9jQwADBQP9 FeuTC1SJHrX9tP3p4xrEa07XkCq+UzwNhDdezoQfT1CUbOv+LT66yLTXAaiHXelgaPMQO1Oo 76U2z0C1LudkAcDdwJbMuZ0RfDoRjsgfhfvM6kqiP4m0s2NR3Y3O+HKXjwtPbXuDwaYIAIvp aj8b59n7fQyfL6BZsO0QZc0i/t+ISQQYEQIACQUCUtK+5wIbDAAKCRA8EP6W0XCmKY1lAKCc 3miJueOXuvZJWV7qGBQxxyR83gCgxhGPL9OrP22rxNJSo1w5OOUxHsM=
- 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.6.1
Hi Kathy,
your flows file is broken. It contains ":" in several places where a ";"
is needed to separate the detector id and the time.
Best regards,
Michael
Am 17.04.19 um 15:08 schrieb kathy:
> Dear SUMO-community,
>
> I am working on generating a simulation with vehicle flow data in sumo.The
> area is a region of a city, and the flow data of main streets in 24h are
> given. The road network of this area I have exported from Openstreetmap and
> converted to SUMO net file. From the observation data I defined about one
> hundred detectors and their flows in detectors.xml and flows.txt, it
> includes 7 source detectors and 8 sink detectors. The running of
> flowrouter.py has no problem, and I can also run the simulation in SUMO-GUI,
> but it seems that the traffic flow is not right, I run the flowFromRoutes.py
> to compare the output flow with the input flow, it shows :
> det_003;176.0;176.0;0.0
> det_003_opp;170.0;170.0;0.0
> det_004;36.0;36.0;0.0
> #;avgRouteFlow;avgDetFlow;avgDev;RMSE;RMSPE;GEH;GEH%
> #;127.33333333333333;127.33333333333333;0.0;0.0;0.0;0.0;100.0
>
> and this is the result of running flowrouter.py:
> Reading net
> 4583 edges read
> Reading detectors
> Loaded 7 sources and 8 sinks from detector file. Added 0 sources and 0 sinks
> from the network
> Reading flows
> Calculating routes
> 7 sources, 7 unlimited
> 8 sinks, 7 unlimited
> Writing 248 vehicles from 3 sources between time 0 and 3600
> unused sources: -161678034#0 27920078#0 32923867#0 64464430
>
> I tried to delete the type definition in detectors.xml and use
> --revalidate-detectors, the result changed a little bit, but still like
> this, very few routes and flows are generted out, and the output flow is too
> much different as the input. I uploaded the files and one diagram for the
> detectors. Could anyone help me to get through this please? Many thanksin
> advance!
>
> innenstadt_ignore_forum.7z
> <http://sumo-user-mailing-list.90755.n8.nabble.com/file/t159/innenstadt_ignore_forum.7z>
> best regards,
>
> Kathy
>
>
>
>
> --
> Sent from: http://sumo-user-mailing-list.90755.n8.nabble.com/
> _______________________________________________
> 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