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?

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
>> 
> 
> 



Back to the top