[sumo-user] fundamental diagram

2020-07-03 Thread Amirhosein Karbasi
hello,
I want to build a fundamental diagram for 2 lane freeway. I don't have any
problem with the free-flow branch but I have a problem with the congested
branch.
1.for the congested branch, I used VSS to increase density but it does not
work correctly. for example, VSS from 1000 to 1500 is 23 and from 1501 to
2000 is 22 and from2001 to 2500 is 21. but in my simulation from 1000 to
1500 is okay but from 1500 to 2500 speed returns to the situation without
VSS.
2. is there any way to decrease flow smoothly to zero after it reaches its
capacity?
___
sumo-user mailing list
sumo-user@eclipse.org
To unsubscribe from this list, visit 
https://www.eclipse.org/mailman/listinfo/sumo-user


Re: [sumo-user] (no subject)

2020-07-02 Thread Amirhosein Karbasi
thank you so much.

On Thu, Jul 2, 2020 at 5:02 PM Jakob Erdmann  wrote:

> Attribute density reports density per edge which gives you twice the
> number of vehicles for a two-lane edge. You can use laneDensity since
> version 1.6.0 for the scaled value.
>
> Am Do., 2. Juli 2020 um 14:27 Uhr schrieb Amirhosein Karbasi <
> amirhosein.karbas...@gmail.com>:
>
>> hi Jakob,
>> I have 2 lane freeway and I used edge data. my min gap is 2.5 and vehicle
>> length is 5 .so my jam density should be nearly 133 vehicle/km but in my
>> edge data jam density is nearly 260 vehicle/km.what is the problem?
>> ___
>> sumo-user mailing list
>> sumo-user@eclipse.org
>> To unsubscribe from this list, visit
>> https://www.eclipse.org/mailman/listinfo/sumo-user
>>
> ___
> sumo-user mailing list
> sumo-user@eclipse.org
> To unsubscribe from this list, visit
> https://www.eclipse.org/mailman/listinfo/sumo-user
>
___
sumo-user mailing list
sumo-user@eclipse.org
To unsubscribe from this list, visit 
https://www.eclipse.org/mailman/listinfo/sumo-user


[sumo-user] (no subject)

2020-07-02 Thread Amirhosein Karbasi
hi Jakob,
I have 2 lane freeway and I used edge data. my min gap is 2.5 and vehicle
length is 5 .so my jam density should be nearly 133 vehicle/km but in my
edge data jam density is nearly 260 vehicle/km.what is the problem?
___
sumo-user mailing list
sumo-user@eclipse.org
To unsubscribe from this list, visit 
https://www.eclipse.org/mailman/listinfo/sumo-user


Re: [sumo-user] speed

2020-07-02 Thread Amirhosein Karbasi
thank you so much.

On Thu, Jul 2, 2020 at 2:56 PM Jakob Erdmann  wrote:

> departSpeed="max" automatically reduces insertion speed at low time
> headways.
> To achieve reliably high insertion speed, either
> - reduce traffic flow
> - use departSpeed="desired" (but also see
> https://sumo.dlr.de/docs/Simulation/VehicleInsertion.html#effect_of_simulation_step-length
> )
>
> regards,
> Jakob
>
> Am Do., 2. Juli 2020 um 11:42 Uhr schrieb Amirhosein Karbasi <
> amirhosein.karbas...@gmail.com>:
>
>> hello, dear Jakob,
>> I have a 3 lane freeway and I set  maxSpeed="36.11"
>> laneChangeModel="LC2013"  for vehicles and set departPos="base"
>> departSpeed="max" departLane="best" for routes . but in free flow speed
>> average speed is about 13 m/s . what is the problem ?
>> ___
>> sumo-user mailing list
>> sumo-user@eclipse.org
>> To unsubscribe from this list, visit
>> https://www.eclipse.org/mailman/listinfo/sumo-user
>>
> ___
> sumo-user mailing list
> sumo-user@eclipse.org
> To unsubscribe from this list, visit
> https://www.eclipse.org/mailman/listinfo/sumo-user
>
___
sumo-user mailing list
sumo-user@eclipse.org
To unsubscribe from this list, visit 
https://www.eclipse.org/mailman/listinfo/sumo-user


[sumo-user] speed

2020-07-02 Thread Amirhosein Karbasi
hello, dear Jakob,
I have a 3 lane freeway and I set  maxSpeed="36.11"
laneChangeModel="LC2013"  for vehicles and set departPos="base"
departSpeed="max" departLane="best" for routes . but in free flow speed
average speed is about 13 m/s . what is the problem ?
___
sumo-user mailing list
sumo-user@eclipse.org
To unsubscribe from this list, visit 
https://www.eclipse.org/mailman/listinfo/sumo-user


Re: [sumo-user] Increase density

2020-06-21 Thread Amirhosein Karbasi
Thank you, dear Jakob.

On Sun, Jun 21, 2020 at 11:57 PM Jakob Erdmann 
wrote:

> There is currently no built-in definition that create a density ramp-up
> directly.
> Some options are discussed here:
> https://sumo.dlr.de/docs/Tutorials/FundamentalDiagram.html
>
> Am So., 21. Juni 2020 um 12:31 Uhr schrieb Amirhosein Karbasi <
> amirhosein.karbas...@gmail.com>:
>
>> hi Jakob,
>> is there any way to increase density steadily?
>> I mean, for example, I have a 1km freeway and I want to increase  density
>> from 0 to d jam in a specific period (for example 1hr .)?
>> ___
>> sumo-user mailing list
>> sumo-user@eclipse.org
>> To unsubscribe from this list, visit
>> https://www.eclipse.org/mailman/listinfo/sumo-user
>>
> ___
> sumo-user mailing list
> sumo-user@eclipse.org
> To unsubscribe from this list, visit
> https://www.eclipse.org/mailman/listinfo/sumo-user
>
___
sumo-user mailing list
sumo-user@eclipse.org
To unsubscribe from this list, visit 
https://www.eclipse.org/mailman/listinfo/sumo-user


[sumo-user] Increase density

2020-06-21 Thread Amirhosein Karbasi
hi Jakob,
is there any way to increase density steadily?
I mean, for example, I have a 1km freeway and I want to increase  density
from 0 to d jam in a specific period (for example 1hr .)?
___
sumo-user mailing list
sumo-user@eclipse.org
To unsubscribe from this list, visit 
https://www.eclipse.org/mailman/listinfo/sumo-user


Re: [sumo-user] fundamental diagram

2020-06-15 Thread Amirhosein Karbasi
I requested this paper.
thank you, dear Jakob

On Mon, Jun 15, 2020 at 6:03 PM Jakob Erdmann  wrote:

> Just a quick follow up: The issue is actually more complicated than it
> seems and there are different methods to compute the network-wide FD.
> I recommend
> https://www.researchgate.net/publication/260366746_Macroscopic_Fundamental_Diagrams_A_cross-comparison_of_estimation_methods
>
> Am Mo., 15. Juni 2020 um 14:58 Uhr schrieb Amirhosein Karbasi <
> amirhosein.karbas...@gmail.com>:
>
>> thank you so much dear Jakob
>>
>> On Mon, Jun 15, 2020 at 4:18 PM Jakob Erdmann 
>> wrote:
>>
>>> Hello,
>>> for density, you need to use the total lane-length of the network rather
>>> than the edge length (edges with more lanes have more space).
>>> Other than that, your formulas are okay.
>>>
>>> regards,
>>> Jakob
>>>
>>> Am So., 14. Juni 2020 um 19:17 Uhr schrieb Amirhosein Karbasi <
>>> amirhosein.karbas...@gmail.com>:
>>>
>>>> Hello,
>>>>
>>>> In the fundamental diagram calculating process, for a specific interval
>>>> (for example [0-t] and n edge) are below relationships correct?
>>>>
>>>> Mean density = total number of vehicles/total length of the network
>>>>
>>>> Mean speed= sum (3.6*speed of every edge*number of vehicle of every
>>>> edge) / total number of vehicles
>>>>
>>>> Flow = sum (3.6*speed*density) for 0 to n.
>>>>
>>>> And then repeat this process for every interval and then draw a plot
>>>> based on these points and these plot gives me a flow density diagram for
>>>> the whole network.
>>>>
>>>> Is this process correct?
>>>>
>>>> Thank you.
>>>> ___
>>>> sumo-user mailing list
>>>> sumo-user@eclipse.org
>>>> To unsubscribe from this list, visit
>>>> https://www.eclipse.org/mailman/listinfo/sumo-user
>>>>
>>> ___
>>> sumo-user mailing list
>>> sumo-user@eclipse.org
>>> To unsubscribe from this list, visit
>>> https://www.eclipse.org/mailman/listinfo/sumo-user
>>>
>> ___
>> sumo-user mailing list
>> sumo-user@eclipse.org
>> To unsubscribe from this list, visit
>> https://www.eclipse.org/mailman/listinfo/sumo-user
>>
> ___
> sumo-user mailing list
> sumo-user@eclipse.org
> To unsubscribe from this list, visit
> https://www.eclipse.org/mailman/listinfo/sumo-user
>
___
sumo-user mailing list
sumo-user@eclipse.org
To unsubscribe from this list, visit 
https://www.eclipse.org/mailman/listinfo/sumo-user


Re: [sumo-user] fundamental diagram

2020-06-15 Thread Amirhosein Karbasi
thank you so much dear Jakob

On Mon, Jun 15, 2020 at 4:18 PM Jakob Erdmann  wrote:

> Hello,
> for density, you need to use the total lane-length of the network rather
> than the edge length (edges with more lanes have more space).
> Other than that, your formulas are okay.
>
> regards,
> Jakob
>
> Am So., 14. Juni 2020 um 19:17 Uhr schrieb Amirhosein Karbasi <
> amirhosein.karbas...@gmail.com>:
>
>> Hello,
>>
>> In the fundamental diagram calculating process, for a specific interval
>> (for example [0-t] and n edge) are below relationships correct?
>>
>> Mean density = total number of vehicles/total length of the network
>>
>> Mean speed= sum (3.6*speed of every edge*number of vehicle of every edge)
>> / total number of vehicles
>>
>> Flow = sum (3.6*speed*density) for 0 to n.
>>
>> And then repeat this process for every interval and then draw a plot
>> based on these points and these plot gives me a flow density diagram for
>> the whole network.
>>
>> Is this process correct?
>>
>> Thank you.
>> ___
>> sumo-user mailing list
>> sumo-user@eclipse.org
>> To unsubscribe from this list, visit
>> https://www.eclipse.org/mailman/listinfo/sumo-user
>>
> ___
> sumo-user mailing list
> sumo-user@eclipse.org
> To unsubscribe from this list, visit
> https://www.eclipse.org/mailman/listinfo/sumo-user
>
___
sumo-user mailing list
sumo-user@eclipse.org
To unsubscribe from this list, visit 
https://www.eclipse.org/mailman/listinfo/sumo-user


[sumo-user] fundamental diagram

2020-06-14 Thread Amirhosein Karbasi
Hello,

In the fundamental diagram calculating process, for a specific interval
(for example [0-t] and n edge) are below relationships correct?

Mean density = total number of vehicles/total length of the network

Mean speed= sum (3.6*speed of every edge*number of vehicle of every edge) /
total number of vehicles

Flow = sum (3.6*speed*density) for 0 to n.

And then repeat this process for every interval and then draw a plot based
on these points and these plot gives me a flow density diagram for the
whole network.

Is this process correct?

Thank you.
___
sumo-user mailing list
sumo-user@eclipse.org
To unsubscribe from this list, visit 
https://www.eclipse.org/mailman/listinfo/sumo-user


Re: [sumo-user] Fundamental diagram

2020-06-12 Thread Amirhosein Karbasi
Thank you so much dear Jakob.

On Fri, Jun 12, 2020 at 2:13 AM Jakob Erdmann  wrote:

> 1) if you set your frequency to ~half the cycle time, you should see some
> data points with higher flow. When averaging over a full cycle you would
> still mix green and red phases
> 2) yes, each interval would give you one datapoint. For network-wide
> density you could use the total number of vehicles (sampledSeconds / freq)
> and divide it by the total network lane length (shown in the network
> property dialog in sumo-gui, accessible when clicking on the car icon in
> the bottom bar).
> 3) I haven't looked systematically at urban fundamental diagrams but I
> think your plot is plausible
>
> Am Do., 11. Juni 2020 um 17:15 Uhr schrieb Amirhosein Karbasi <
> amirhosein.karbas...@gmail.com>:
>
>> Thank you, dear Jakob.
>> 1.now if I use freq equal to traffic light cycle the problem will be
>> solved?
>> 2.you said "the flow data points you are using are for individual edges.
>> If you need a whole-network diagram you need to sum up the edges flows and
>> compute an average density." for flow I should only aggregate flows in
>> the intervals and should I compute average ?
>> 3. you said " in your scenario, the flow is mostly affected by the
>> traffic lights rather than the vehicle density. Thus it will look different
>> from a motorway diagram". is this normal in intersections?
>>
>> On Thu, Jun 11, 2020 at 4:55 PM Jakob Erdmann 
>> wrote:
>>
>>> 1) in your scenario, the flow is mostly affected by the traffic lights
>>> rather than the vehicle density. Thus it will look different from a
>>> motorway diagram
>>> 2) the flow data points you are using are for individual edges. If you
>>> need a whole-network diagram you need to sum up the edges flows and compute
>>> an average density. Also, the flow is averaged over 300s (more than one
>>> traffic light cycle). This means you are not seeing peak flow on green but
>>> the average flow including stopped-on-red
>>> 3) I recommend that you use 'entered + departed' for you flow
>>> computation. Also, there are probably edges that have low vehicle counts
>>> but downstream congestion prevents vehicles from advancing and thus gives
>>> zero flow.
>>>
>>> regards,
>>> Jakob
>>>
>>> Am Do., 11. Juni 2020 um 12:20 Uhr schrieb Amirhosein Karbasi <
>>> amirhosein.karbas...@gmail.com>:
>>>
>>>> Hello,
>>>>
>>>> I want to draw a flow density diagram. My network includes 64
>>>> intersections. I ran a simulation (1800s) and use an additional file for
>>>> Edge-based output (freq is 300). I drew a flow density diagram in excel
>>>> based on the Edge-based output file and I calculated flow according to “
>>>> *entered* * 3600 / *freq*”. Now I have 3 problems:
>>>>
>>>> 1. I think my flow density diagram is not similar to regular flow
>>>> density diagrams. (there are a png in attach file)(Simulation time = 
>>>> 1800s).
>>>>
>>>> 2. When I drew a plot my max flow is about 852 (for 1800s, 2400s, and
>>>> full-time simulation max flow is approximately 1000) and I think max flow
>>>> should be bigger than 2 for a network like this.
>>>>
>>>> 3. I have too many zero flows.
>>>>
>>>> I saw various topics about this on the Sumo website but my problems are
>>>> not solved yet.
>>>>
>>>> I sent my whole files too. please say me what I am doing wrong?
>>>>
>>>> Thank you so much.
>>>> ___
>>>> sumo-user mailing list
>>>> sumo-user@eclipse.org
>>>> To unsubscribe from this list, visit
>>>> https://www.eclipse.org/mailman/listinfo/sumo-user
>>>>
>>> ___
>>> sumo-user mailing list
>>> sumo-user@eclipse.org
>>> To unsubscribe from this list, visit
>>> https://www.eclipse.org/mailman/listinfo/sumo-user
>>>
>> ___
>> sumo-user mailing list
>> sumo-user@eclipse.org
>> To unsubscribe from this list, visit
>> https://www.eclipse.org/mailman/listinfo/sumo-user
>>
> ___
> sumo-user mailing list
> sumo-user@eclipse.org
> To unsubscribe from this list, visit
> https://www.eclipse.org/mailman/listinfo/sumo-user
>
___
sumo-user mailing list
sumo-user@eclipse.org
To unsubscribe from this list, visit 
https://www.eclipse.org/mailman/listinfo/sumo-user


Re: [sumo-user] Fundamental diagram

2020-06-11 Thread Amirhosein Karbasi
Thank you, dear Jakob.
1.now if I use freq equal to traffic light cycle the problem will be solved?
2.you said "the flow data points you are using are for individual edges. If
you need a whole-network diagram you need to sum up the edges flows and
compute an average density." for flow I should only aggregate flows in
the intervals and should I compute average ?
3. you said " in your scenario, the flow is mostly affected by the traffic
lights rather than the vehicle density. Thus it will look different from a
motorway diagram". is this normal in intersections?

On Thu, Jun 11, 2020 at 4:55 PM Jakob Erdmann  wrote:

> 1) in your scenario, the flow is mostly affected by the traffic lights
> rather than the vehicle density. Thus it will look different from a
> motorway diagram
> 2) the flow data points you are using are for individual edges. If you
> need a whole-network diagram you need to sum up the edges flows and compute
> an average density. Also, the flow is averaged over 300s (more than one
> traffic light cycle). This means you are not seeing peak flow on green but
> the average flow including stopped-on-red
> 3) I recommend that you use 'entered + departed' for you flow computation.
> Also, there are probably edges that have low vehicle counts but downstream
> congestion prevents vehicles from advancing and thus gives zero flow.
>
> regards,
> Jakob
>
> Am Do., 11. Juni 2020 um 12:20 Uhr schrieb Amirhosein Karbasi <
> amirhosein.karbas...@gmail.com>:
>
>> Hello,
>>
>> I want to draw a flow density diagram. My network includes 64
>> intersections. I ran a simulation (1800s) and use an additional file for
>> Edge-based output (freq is 300). I drew a flow density diagram in excel
>> based on the Edge-based output file and I calculated flow according to “
>> *entered* * 3600 / *freq*”. Now I have 3 problems:
>>
>> 1. I think my flow density diagram is not similar to regular flow
>> density diagrams. (there are a png in attach file)(Simulation time = 1800s).
>>
>> 2. When I drew a plot my max flow is about 852 (for 1800s, 2400s, and
>> full-time simulation max flow is approximately 1000) and I think max flow
>> should be bigger than 2 for a network like this.
>>
>> 3. I have too many zero flows.
>>
>> I saw various topics about this on the Sumo website but my problems are
>> not solved yet.
>>
>> I sent my whole files too. please say me what I am doing wrong?
>>
>> Thank you so much.
>> ___
>> sumo-user mailing list
>> sumo-user@eclipse.org
>> To unsubscribe from this list, visit
>> https://www.eclipse.org/mailman/listinfo/sumo-user
>>
> ___
> sumo-user mailing list
> sumo-user@eclipse.org
> To unsubscribe from this list, visit
> https://www.eclipse.org/mailman/listinfo/sumo-user
>
___
sumo-user mailing list
sumo-user@eclipse.org
To unsubscribe from this list, visit 
https://www.eclipse.org/mailman/listinfo/sumo-user