1) -1 indicates that no vehicles have completely passed the detector in
that interval
2) if vehicles always change lanes while on the detector they are not
counted. Also, vehicles which are still standing on the detector at the end
of the interval are not counted. This counting could be responsible for the
negative flows you speak of.
To get a more liberal count, use nVehEntered. See
http://sumo.dlr.de/wiki/Simulation/Output/Induction_Loops_Detectors_%28E1%29#Generated_Output
for details.
regards,
Jakob

2017-04-18 9:02 GMT+02:00 Jirayu Tippayagulpairod <[email protected]>:

> Thank you , I have some problems which is very urgent.Please answer me as
> soon as possible.
> I have seen something wrong in SUMO which may be my misunderstanding.
> FIrstly, for the loop detector , i see some nvehcontribute = 0 and there's
> occupancy but its speed and length = -1.00 . What does it meaning ?
> Second, I have use the attribute "nVehcontrib" to be consider as flow in
> flow conservation law to find the density which is not calculated by
> time.But the results of density are very strange. Some of density has
> negative values which is not impossible. In my modeling , I define flow
> as the number of vehicles which pass one edge in the interval that's why i
> use "nvehcontrib" and i define density as the number of vehicles that left
> in the edge after time slot.For better understanding , i have attached 3
> files which are consist of
>          1. generated output from e1 detector which has problem as i
> mention in first question. (xml files)
>          2. MS excel file which directly related to first file(See
> spreadsheet out 0). It's the nvehcontrib that i have rearrange them to each
> column. Column A,C,E show the "nvehcontrib" of car for each lane (0,1,2
> consequently). and column B,D,F show the "nvehcontrib" of bus for each lane
> with the same format of car. Column G is summation of nVehContrib of car of
> each lane and column H is summation of "nVehContrib" of bus of each lane. I
> use column G and column H to calculate the density with flow conservation
> law.
>          3. I attach the picture of flow conservation law formula for
> better clearly match understanding.
>          4. Some plotting graph of density from flow conservation law
> which is emulated from SUMO
> Finally, I apologize for any disturbance or my informal language or
> misunderstanding in this e-mail.
> Thank you and best regards,
>
> Jirayu
>
>
> 2017-04-18 12:30 GMT+07:00 Jakob Erdmann <[email protected]>:
>
>> Hello,
>> currently, the only tool that gives you a random distribution for a
>> fixed-number flow is duarouter with the option
>> --randomize-flows
>> The input route file to duarouter should define a flow with vehsPerHour
>> or some other fixed-number attribute.
>> regards,
>> Jakob
>>
>>
>>
>> 2017-04-17 11:37 GMT+02:00 Jirayu Tippayagulpairod <[email protected]
>> >:
>>
>>> Hi, I get something that i want to know about randomness flow on SUMO .
>>> I want to know that can i generate the flow with some fix number like 1200
>>> vehicles per hour but use the probability to let the demand be randomness
>>> approximate to Poission distribution. As i read the documentation on SUMO
>>> wiki. I have found that these two attribute which are "probability" and
>>> "vehPerhour" cannot be defined together in SUMO.
>>>
>>> Best regards,
>>>
>>> Jirayu
>>>
>>> 2017-04-13 14:00 GMT+07:00 Jirayu Tippayagulpairod <
>>> [email protected]>:
>>>
>>>> Thank for answering , Now i can generated the output by class of
>>>> vehicle type. Now i have consider on the output of edgedata. About a month
>>>> ago, I have asked about the density in SUMO which now i'm understanding
>>>> that it's calculated from dwelling time. But in the macroscopic model that
>>>> i want to verify, there's some definition about density which is the number
>>>> of vehicle at the end of time step in the considered cell (edge).
>>>> Therefore, i have read the documentation in wiki SUMO and found that the
>>>> attribute "arrived" has the same definition that i want. So i want to make
>>>> sure that my understanding is correct or not?
>>>>
>>>> Best regards,
>>>>
>>>> Jirayu
>>>>
>>>>
>>>> 2017-04-11 18:30 GMT+07:00 Jakob Erdmann <[email protected]>:
>>>>
>>>>> Hello,
>>>>> the 'vTypes' attribute is only available for E1 detectors since
>>>>> version 0.29.0. You are using an older version of sumo where these
>>>>> detectors used the attribute
>>>>>  splitByType="true"
>>>>> to affect output split by types. Please refer to the documentation
>>>>> that came with your sumo version for details (or upgrade to the latest
>>>>> version instead).
>>>>> regards,
>>>>> Jakob
>>>>>
>>>>> 2017-04-10 6:41 GMT+02:00 Jirayu Tippayagulpairod <
>>>>> [email protected]>:
>>>>>
>>>>>> Dear Jakob,
>>>>>> Thank you, I have some few problems with loop detectors (E1) , when I
>>>>>> write the attribute "vTypes" to generate two type of vehicles output such
>>>>>> as bus and car. The outputs look to be the same in every generated output
>>>>>> i.e. flow, occupancy, speed,..., etc. and I have attached the additional
>>>>>> file that i have written. Do i understand something wrong ?
>>>>>>
>>>>>> Best regards,
>>>>>>
>>>>>> Jirayu
>>>>>>
>>>>>> 2017-04-10 2:38 GMT+07:00 Jakob Erdmann <[email protected]>:
>>>>>>
>>>>>>> yes
>>>>>>>
>>>>>>> 2017-04-07 18:22 GMT+02:00 Jirayu Tippayagulpairod <
>>>>>>> [email protected]>:
>>>>>>>
>>>>>>>> Thank you for your kindness with information.If i use detector E1
>>>>>>>> or E2 , all of generated output can be summed up to consider about the
>>>>>>>> output of that edge , isn't it ?
>>>>>>>>
>>>>>>>> Best regards,
>>>>>>>>
>>>>>>>> Jirayu
>>>>>>>>
>>>>>>>> 2017-04-07 12:29 GMT+07:00 Jakob Erdmann <
>>>>>>>> [email protected]>:
>>>>>>>>
>>>>>>>>> Hello,
>>>>>>>>> my wording was imprecise. What I meant to say was:
>>>>>>>>> If you want to simulate detectors on all lanes of an edge you
>>>>>>>>> either need to use E2 (or E1) detectors for each lane or you can 
>>>>>>>>> define an
>>>>>>>>> E3 detector that covers the whole edge. If you want to capture 
>>>>>>>>> traffic data
>>>>>>>>> over the whole length of the edge you use edgeData-output as well (
>>>>>>>>> http://sumo.dlr.de/wiki/Simulation/Output/Lane-_or_Edge-bas
>>>>>>>>> ed_Traffic_Measures)
>>>>>>>>>
>>>>>>>>> Sumo simulates lane-changing whenever there is more than 1 lane
>>>>>>>>> going in the same direction.
>>>>>>>>> When using the sublane-model (http://sumo.dlr.de/wiki/Simul
>>>>>>>>> ation/SublaneModel) lane-changing within a single lane is also
>>>>>>>>> supported.
>>>>>>>>> With a suitably prepared network, overtaking through the opposite
>>>>>>>>> direction edge is also supported (http://sumo.dlr.de/wiki/Simul
>>>>>>>>> ation/OppositeDirectionDriving)
>>>>>>>>>
>>>>>>>>> regards,
>>>>>>>>> Jakob
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> 2017-04-06 15:33 GMT+02:00 Jirayu Tippayagulpairod <
>>>>>>>>> [email protected]>:
>>>>>>>>>
>>>>>>>>>> Thank you Jakob, I have found some paper about lane changing in
>>>>>>>>>> SUMO but still don't follow up. Could you give me more information 
>>>>>>>>>> that now
>>>>>>>>>> SUMO can do the lane changing in each edge or not and if it's , how 
>>>>>>>>>> to
>>>>>>>>>> adjust it ?
>>>>>>>>>>
>>>>>>>>>> best regards,
>>>>>>>>>>
>>>>>>>>>> Jirayu
>>>>>>>>>>
>>>>>>>>>> 2017-04-03 16:58 GMT+07:00 Jakob Erdmann <
>>>>>>>>>> [email protected]>:
>>>>>>>>>>
>>>>>>>>>>> Only consecutive lanes can be simulated with E2 if you need
>>>>>>>>>>> parallel lanes you should use E3 instead.
>>>>>>>>>>> regards,
>>>>>>>>>>> Jakob
>>>>>>>>>>>
>>>>>>>>>>> 2017-04-03 10:40 GMT+02:00 Jirayu Tippayagulpairod <
>>>>>>>>>>> [email protected]>:
>>>>>>>>>>>
>>>>>>>>>>>> Hi, Jakob
>>>>>>>>>>>>           I have some few more questions which is about
>>>>>>>>>>>> areadetector in SUMO(E2)  http://sumo.dlr.de/wiki/Simul
>>>>>>>>>>>> ation/Output/Lanearea_Detectors_(E2) . My question is can we
>>>>>>>>>>>> simulate areadetector such as L1_0,L1_1,L1_2 together in one 
>>>>>>>>>>>> detector ? or
>>>>>>>>>>>> only consecutive lane can be simulated
>>>>>>>>>>>>
>>>>>>>>>>>> Best regards,
>>>>>>>>>>>>
>>>>>>>>>>>> Bank
>>>>>>>>>>>>
>>>>>>>>>>>> 2017-02-15 15:17 GMT+07:00 Jakob Erdmann <
>>>>>>>>>>>> [email protected]>:
>>>>>>>>>>>>
>>>>>>>>>>>>> yes
>>>>>>>>>>>>>
>>>>>>>>>>>>> 2017-02-15 1:46 GMT+01:00 Jirayu Tippayagulpairod <
>>>>>>>>>>>>> [email protected]>:
>>>>>>>>>>>>>
>>>>>>>>>>>>>> Thank you very much , if i consider on per edge then l  =
>>>>>>>>>>>>>> length of the edge , am i right ?
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> Best regards,
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> jirayu
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> 2017-02-14 23:28 GMT+07:00 Jakob Erdmann <
>>>>>>>>>>>>>> [email protected]>:
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> density = s / t * 1000 / l
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> with
>>>>>>>>>>>>>>> s = sum of seconds all vehicles spent on the edge within the
>>>>>>>>>>>>>>> aggregation interval
>>>>>>>>>>>>>>> t = aggregation interval in seconds
>>>>>>>>>>>>>>> l = length of the lane in m
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> regards,
>>>>>>>>>>>>>>> Jakob
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> 2017-02-14 16:12 GMT+01:00 Jirayu Tippayagulpairod <
>>>>>>>>>>>>>>> [email protected]>:
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> Dear user and developers,
>>>>>>>>>>>>>>>>           I have few question about density output that how
>>>>>>>>>>>>>>>> does density in SUMO calculate ?  I mean that SUMO program is 
>>>>>>>>>>>>>>>> calculated by
>>>>>>>>>>>>>>>> approximation with travel-time or count the vehicle in 
>>>>>>>>>>>>>>>> specified edge or
>>>>>>>>>>>>>>>> others ? I want some information because i would use it in 
>>>>>>>>>>>>>>>> some macroscopic
>>>>>>>>>>>>>>>> model. Thank you
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> Best regards,
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> Jirayu Tippayagulpairod
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> 2017-02-09 9:20 GMT+07:00 Jirayu Tippayagulpairod <
>>>>>>>>>>>>>>>> [email protected]>:
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> Thank you very much. It's helped me a lot
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> 2017-02-08 22:39 GMT+07:00 Jakob Erdmann <
>>>>>>>>>>>>>>>>> [email protected]>:
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> yes. (don't forget the quotes)
>>>>>>>>>>>>>>>>>> vTypes="bus"
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> 2017-02-08 9:09 GMT+01:00 Jirayu Tippayagulpairod <
>>>>>>>>>>>>>>>>>> [email protected]>:
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>> Oh thank you very much, It means that you use this for
>>>>>>>>>>>>>>>>>>> example
>>>>>>>>>>>>>>>>>>> <edgeData id="<MEASUREMENT_ID>" file="<OUTPUT_FILE>"
>>>>>>>>>>>>>>>>>>> vTypes = bus/>
>>>>>>>>>>>>>>>>>>> and import this as additional file before simulation ,
>>>>>>>>>>>>>>>>>>> am i right ?
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>> Best regards,
>>>>>>>>>>>>>>>>>>> Bank
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>> 2017-02-07 14:08 GMT+07:00 Jakob Erdmann <
>>>>>>>>>>>>>>>>>>> [email protected]>:
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>> Yes, the metrics you require will be available
>>>>>>>>>>>>>>>>>>>> separately for each of the types you select (see
>>>>>>>>>>>>>>>>>>>> http://sumo.dlr.de/wiki/Simula
>>>>>>>>>>>>>>>>>>>> tion/Output/Lane-_or_Edge-base
>>>>>>>>>>>>>>>>>>>> d_Traffic_Measures#Value_Descriptions). By setting a
>>>>>>>>>>>>>>>>>>>> different value for the output 'file' attribute for each 
>>>>>>>>>>>>>>>>>>>> type, it is easy
>>>>>>>>>>>>>>>>>>>> to process them  separately as well.
>>>>>>>>>>>>>>>>>>>> regards,
>>>>>>>>>>>>>>>>>>>> Jakob
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>> 2017-02-06 9:10 GMT+01:00 Jirayu Tippayagulpairod <
>>>>>>>>>>>>>>>>>>>> [email protected]>:
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>> Thank you for your suggestion. But i still have some
>>>>>>>>>>>>>>>>>>>>> confused that if i generate the output via edge data , 
>>>>>>>>>>>>>>>>>>>>> Could I export the
>>>>>>>>>>>>>>>>>>>>> output that I mentioned before (edge performance e.g. 
>>>>>>>>>>>>>>>>>>>>> density and
>>>>>>>>>>>>>>>>>>>>> traveltime ) I apologize for any misunderstanding .I am 
>>>>>>>>>>>>>>>>>>>>> some beginner in
>>>>>>>>>>>>>>>>>>>>> SUMO
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>> Best regards,
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>> Jirayu
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>> 2017-02-06 13:49 GMT+07:00 Jakob Erdmann <
>>>>>>>>>>>>>>>>>>>>> [email protected]>:
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>> When using simulated induction loops (
>>>>>>>>>>>>>>>>>>>>>> http://sumo.dlr.de/wiki/Simul
>>>>>>>>>>>>>>>>>>>>>> ation/Output/Induction_Loops_Detectors_(E1)) you can
>>>>>>>>>>>>>>>>>>>>>> set the attribute splitByType="true" to get 
>>>>>>>>>>>>>>>>>>>>>> type-specific output.
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>> When using edgeData (http://sumo.dlr.de/wiki/Simul
>>>>>>>>>>>>>>>>>>>>>> ation/Output/Lane-_or_Edge-based_Traffic_Measures)
>>>>>>>>>>>>>>>>>>>>>> you can filter for type by setting the vTypes attribute 
>>>>>>>>>>>>>>>>>>>>>> (i.e.
>>>>>>>>>>>>>>>>>>>>>> vTypes="bus"). You will then need a separate 
>>>>>>>>>>>>>>>>>>>>>> <edgeData>-definitions for
>>>>>>>>>>>>>>>>>>>>>> each type (or list of types) you are interested in.
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>> regards,
>>>>>>>>>>>>>>>>>>>>>> Jakob
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>> 2017-02-03 2:33 GMT+01:00 Jirayu Tippayagulpairod <
>>>>>>>>>>>>>>>>>>>>>> [email protected]>:
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>> Dear user and developers ,
>>>>>>>>>>>>>>>>>>>>>>>                  I'm student in Thailand who do the
>>>>>>>>>>>>>>>>>>>>>>> project with SUMO
>>>>>>>>>>>>>>>>>>>>>>> program and I have some question to ask. As I used
>>>>>>>>>>>>>>>>>>>>>>> SUMO , it can simulate
>>>>>>>>>>>>>>>>>>>>>>> the many type of vehicle in traffic and the
>>>>>>>>>>>>>>>>>>>>>>> output is in form of enter , left ,density , travel
>>>>>>>>>>>>>>>>>>>>>>> time but it doesn't
>>>>>>>>>>>>>>>>>>>>>>> show each type of output (For example : I mean that
>>>>>>>>>>>>>>>>>>>>>>> 4 outputs for car and 4
>>>>>>>>>>>>>>>>>>>>>>> outputs for bus individually) Therefore, I want to
>>>>>>>>>>>>>>>>>>>>>>> know that Can SUMO
>>>>>>>>>>>>>>>>>>>>>>> simulate the outputs individually for each type of
>>>>>>>>>>>>>>>>>>>>>>> vehicles or it cannot ?
>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>> Best regards,
>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>> Jirayu Tippayagulpairod
>>>>>>>>>>>>>>>>>>>>>>> ------------------------------
>>>>>>>>>>>>>>>>>>>>>>> ------------------------------------------------
>>>>>>>>>>>>>>>>>>>>>>> Check out the vibrant tech community on one of the
>>>>>>>>>>>>>>>>>>>>>>> world's most
>>>>>>>>>>>>>>>>>>>>>>> engaging tech sites, SlashDot.org!
>>>>>>>>>>>>>>>>>>>>>>> http://sdm.link/slashdot
>>>>>>>>>>>>>>>>>>>>>>> _______________________________________________
>>>>>>>>>>>>>>>>>>>>>>> sumo-user mailing list
>>>>>>>>>>>>>>>>>>>>>>> [email protected]
>>>>>>>>>>>>>>>>>>>>>>> https://lists.sourceforge.net/
>>>>>>>>>>>>>>>>>>>>>>> lists/listinfo/sumo-user
>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>
>>>>>>>>
>>>>>>>
>>>>>>
>>>>>
>>>>
>>>
>>
>
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
sumo-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sumo-user

Reply via email to