Re: [sumo-user] Traffic generation by using Poisson distribution

2020-01-14 Thread Jakob Erdmann
This runner file generates Vehicles with a Bernoulli process and thereby
achieves a binomial distribution as already recommended. The Poisson
distribution is the asymptotic limit of increasing the number of insertion
attempts (with proportionally reduced probability) which, as already noted
is not achievable due to time discretization.

Am Mi., 15. Jan. 2020 um 08:26 Uhr schrieb Radha Reddy <
radha.reddy@gmail.com>:

> Dear Jakob,
>
> Many thanks for your kind response, the runner.py file associated with the
> TraCI_TLS example.
>
> Regards
> Radha
>
> On Tue, Jan 14, 2020 at 9:37 PM Jakob Erdmann 
> wrote:
>
>> - SUMO provides multiple runner.py files. Which one exactly do you mean?
>> - Since SUMO is a time-discrete simulation anyway (In every simulation
>> step you have to decide whether to insert a vehicle or not), I recommend
>> that you use the Binomial Distribution which is quite similar to the
>> Poisson distribution. Traffic flow with Binomial distribution is supported
>> by defining a  with attribute probability. See
>> https://sumo.dlr.de/docs/Definition_of_Vehicles,_Vehicle_Types,_and_Routes.html#repeated_vehicles_flows
>> and
>> https://sumo.dlr.de/docs/Simulation/Randomness.html#flows_with_a_random_number_of_vehicles
>>
>> regards,
>> Jakob
>>
>>
>> Am Di., 14. Jan. 2020 um 16:33 Uhr schrieb Radha Reddy <
>> radha.reddy@gmail.com>:
>>
>>> Dear Jakob,
>>>
>>> I really appreciate your time for answering a lot of questions.
>>>
>>> In the SUMO provided runner.py file, the traffic flow is generated by
>>> using Random and Uniform distribution.
>>>
>>> Can we use Poisson distribution instead of Random (may be yes). Can you
>>> please share any example in which Poisson distribution is employed for
>>> routefile generation?
>>>
>>> Regards
>>> Radha
>>> ___
>>> sumo-user mailing list
>>> sumo-user@eclipse.org
>>> To change your delivery options, retrieve your password, or unsubscribe
>>> from this list, visit
>>> https://www.eclipse.org/mailman/listinfo/sumo-user
>>>
>> ___
>> sumo-user mailing list
>> sumo-user@eclipse.org
>> To change your delivery options, retrieve your password, or unsubscribe
>> from this list, visit
>> https://www.eclipse.org/mailman/listinfo/sumo-user
>>
> ___
> sumo-user mailing list
> sumo-user@eclipse.org
> To change your delivery options, retrieve your password, or unsubscribe
> from this list, visit
> https://www.eclipse.org/mailman/listinfo/sumo-user
>
___
sumo-user mailing list
sumo-user@eclipse.org
To change your delivery options, retrieve your password, or unsubscribe from 
this list, visit
https://www.eclipse.org/mailman/listinfo/sumo-user


Re: [sumo-user] Traffic generation by using Poisson distribution

2020-01-14 Thread Radha Reddy
Dear Jakob,

Many thanks for your kind response, the runner.py file associated with the
TraCI_TLS example.

Regards
Radha

On Tue, Jan 14, 2020 at 9:37 PM Jakob Erdmann  wrote:

> - SUMO provides multiple runner.py files. Which one exactly do you mean?
> - Since SUMO is a time-discrete simulation anyway (In every simulation
> step you have to decide whether to insert a vehicle or not), I recommend
> that you use the Binomial Distribution which is quite similar to the
> Poisson distribution. Traffic flow with Binomial distribution is supported
> by defining a  with attribute probability. See
> https://sumo.dlr.de/docs/Definition_of_Vehicles,_Vehicle_Types,_and_Routes.html#repeated_vehicles_flows
> and
> https://sumo.dlr.de/docs/Simulation/Randomness.html#flows_with_a_random_number_of_vehicles
>
> regards,
> Jakob
>
>
> Am Di., 14. Jan. 2020 um 16:33 Uhr schrieb Radha Reddy <
> radha.reddy@gmail.com>:
>
>> Dear Jakob,
>>
>> I really appreciate your time for answering a lot of questions.
>>
>> In the SUMO provided runner.py file, the traffic flow is generated by
>> using Random and Uniform distribution.
>>
>> Can we use Poisson distribution instead of Random (may be yes). Can you
>> please share any example in which Poisson distribution is employed for
>> routefile generation?
>>
>> Regards
>> Radha
>> ___
>> sumo-user mailing list
>> sumo-user@eclipse.org
>> To change your delivery options, retrieve your password, or unsubscribe
>> from this list, visit
>> https://www.eclipse.org/mailman/listinfo/sumo-user
>>
> ___
> sumo-user mailing list
> sumo-user@eclipse.org
> To change your delivery options, retrieve your password, or unsubscribe
> from this list, visit
> https://www.eclipse.org/mailman/listinfo/sumo-user
>
___
sumo-user mailing list
sumo-user@eclipse.org
To change your delivery options, retrieve your password, or unsubscribe from 
this list, visit
https://www.eclipse.org/mailman/listinfo/sumo-user


Re: [sumo-user] Traffic generation by using Poisson distribution

2020-01-14 Thread Jakob Erdmann
- SUMO provides multiple runner.py files. Which one exactly do you mean?
- Since SUMO is a time-discrete simulation anyway (In every simulation step
you have to decide whether to insert a vehicle or not), I recommend that
you use the Binomial Distribution which is quite similar to the Poisson
distribution. Traffic flow with Binomial distribution is supported by
defining a  with attribute probability. See
https://sumo.dlr.de/docs/Definition_of_Vehicles,_Vehicle_Types,_and_Routes.html#repeated_vehicles_flows
and
https://sumo.dlr.de/docs/Simulation/Randomness.html#flows_with_a_random_number_of_vehicles

regards,
Jakob


Am Di., 14. Jan. 2020 um 16:33 Uhr schrieb Radha Reddy <
radha.reddy@gmail.com>:

> Dear Jakob,
>
> I really appreciate your time for answering a lot of questions.
>
> In the SUMO provided runner.py file, the traffic flow is generated by
> using Random and Uniform distribution.
>
> Can we use Poisson distribution instead of Random (may be yes). Can you
> please share any example in which Poisson distribution is employed for
> routefile generation?
>
> Regards
> Radha
> ___
> sumo-user mailing list
> sumo-user@eclipse.org
> To change your delivery options, retrieve your password, or unsubscribe
> from this list, visit
> https://www.eclipse.org/mailman/listinfo/sumo-user
>
___
sumo-user mailing list
sumo-user@eclipse.org
To change your delivery options, retrieve your password, or unsubscribe from 
this list, visit
https://www.eclipse.org/mailman/listinfo/sumo-user


Re: [sumo-user] NETEDIT: custom connection shape - confirm/end editing?

2020-01-14 Thread Albert Jeans
I ran across this problem too recently. The Enter key had no effect. I
think I ended up restarting NetEdit to work around it.

Albert

On Tue, Jan 14, 2020 at 1:09 PM Jakob Erdmann  wrote:

> Saving the shape should happen when you hit the 'Enter' key. Also, hitting
> Enter should end the shape-editing mode (indicated by the fat green
> poly-line).
> I am unable to reproduce the problem you describe.
> What does happen when you press enter? Is there some output? Can you
> confirm connection-editing with the enter-key?
>
> Am Di., 14. Jan. 2020 um 14:15 Uhr schrieb GregorJo  >:
>
>> Hi, i am trying to set a specific connection shape for an internal
>> junction
>> edge with NETEDIT.
>> How do I confirm/save the modifications to the green "edit shape" when I
>> am
>> satisfied with the new trajectory?
>> As soon as I leave the "move node" mode, the connection reverts to the
>> default shape.
>>
>> I have tried both "enter" keys on my keyboard. Also, "Escape" does not
>> seem
>> to leave this mode.
>> I am using NETEDIT 1.3.1
>>
>> Reproduction: Open a network, enter inspection mode, check "show
>> connections", rightclick internal edge, click "set custom connection
>> shape",
>> modify the green polyline.
>>
>> What am I missing? The documentation says "confirm with enter or abort
>> with
>> escape", but neither key seems to do anything
>>
>> Regards, Gregor
>>
>>
>>
>>
>> --
>> Sent from: http://sumo-user-mailing-list.90755.n8.nabble.com/
>> ___
>> sumo-user mailing list
>> sumo-user@eclipse.org
>> To change your delivery options, retrieve your password, or unsubscribe
>> from this list, visit
>> https://www.eclipse.org/mailman/listinfo/sumo-user
>>
> ___
> sumo-user mailing list
> sumo-user@eclipse.org
> To change your delivery options, retrieve your password, or unsubscribe
> from this list, visit
> https://www.eclipse.org/mailman/listinfo/sumo-user
>
___
sumo-user mailing list
sumo-user@eclipse.org
To change your delivery options, retrieve your password, or unsubscribe from 
this list, visit
https://www.eclipse.org/mailman/listinfo/sumo-user


Re: [sumo-user] NETEDIT: custom connection shape - confirm/end editing?

2020-01-14 Thread Jakob Erdmann
Saving the shape should happen when you hit the 'Enter' key. Also, hitting
Enter should end the shape-editing mode (indicated by the fat green
poly-line).
I am unable to reproduce the problem you describe.
What does happen when you press enter? Is there some output? Can you
confirm connection-editing with the enter-key?

Am Di., 14. Jan. 2020 um 14:15 Uhr schrieb GregorJo :

> Hi, i am trying to set a specific connection shape for an internal junction
> edge with NETEDIT.
> How do I confirm/save the modifications to the green "edit shape" when I am
> satisfied with the new trajectory?
> As soon as I leave the "move node" mode, the connection reverts to the
> default shape.
>
> I have tried both "enter" keys on my keyboard. Also, "Escape" does not seem
> to leave this mode.
> I am using NETEDIT 1.3.1
>
> Reproduction: Open a network, enter inspection mode, check "show
> connections", rightclick internal edge, click "set custom connection
> shape",
> modify the green polyline.
>
> What am I missing? The documentation says "confirm with enter or abort with
> escape", but neither key seems to do anything
>
> Regards, Gregor
>
>
>
>
> --
> Sent from: http://sumo-user-mailing-list.90755.n8.nabble.com/
> ___
> sumo-user mailing list
> sumo-user@eclipse.org
> To change your delivery options, retrieve your password, or unsubscribe
> from this list, visit
> https://www.eclipse.org/mailman/listinfo/sumo-user
>
___
sumo-user mailing list
sumo-user@eclipse.org
To change your delivery options, retrieve your password, or unsubscribe from 
this list, visit
https://www.eclipse.org/mailman/listinfo/sumo-user


[sumo-user] Traffic generation by using Poisson distribution

2020-01-14 Thread Radha Reddy
Dear Jakob,

I really appreciate your time for answering a lot of questions.

In the SUMO provided runner.py file, the traffic flow is generated by using
Random and Uniform distribution.

Can we use Poisson distribution instead of Random (may be yes). Can you
please share any example in which Poisson distribution is employed for
routefile generation?

Regards
Radha
___
sumo-user mailing list
sumo-user@eclipse.org
To change your delivery options, retrieve your password, or unsubscribe from 
this list, visit
https://www.eclipse.org/mailman/listinfo/sumo-user


[sumo-user] NETEDIT: custom connection shape - confirm/end editing?

2020-01-14 Thread GregorJo
Hi, i am trying to set a specific connection shape for an internal junction
edge with NETEDIT.
How do I confirm/save the modifications to the green "edit shape" when I am
satisfied with the new trajectory?
As soon as I leave the "move node" mode, the connection reverts to the
default shape.

I have tried both "enter" keys on my keyboard. Also, "Escape" does not seem
to leave this mode.
I am using NETEDIT 1.3.1

Reproduction: Open a network, enter inspection mode, check "show
connections", rightclick internal edge, click "set custom connection shape",
modify the green polyline.

What am I missing? The documentation says "confirm with enter or abort with
escape", but neither key seems to do anything

Regards, Gregor




--
Sent from: http://sumo-user-mailing-list.90755.n8.nabble.com/
___
sumo-user mailing list
sumo-user@eclipse.org
To change your delivery options, retrieve your password, or unsubscribe from 
this list, visit
https://www.eclipse.org/mailman/listinfo/sumo-user


Re: [sumo-user] Edge-type files for OpenDRIVE to SUMO-NET conversion not working?

2020-01-14 Thread Kaths, Jakob
Oy… Beginner’s mistake, got confused by the *e*dge type file name it seems… 
Sorry and thanks for helping!

From: sumo-user-boun...@eclipse.org  On Behalf 
Of Jakob Erdmann
Sent: Tuesday, January 14, 2020 1:59 PM
To: Sumo project User discussions 
Subject: Re: [sumo-user] Edge-type files for OpenDRIVE to SUMO-NET conversion 
not working?

you need load the type file using option --type-files or -t

Am Di., 14. Jan. 2020 um 13:49 Uhr schrieb Kaths, Jakob 
mailto:jakob.ka...@vector.com>>:
Hi,

I’m not sure whether I’m doing something wrong or the feature is broken, but 
I’m trying to convert an OpenDRIVE file to SUMO network file using an edge-type 
file to also convert sidewalks etc. I tried a few different OpenDRIVE files, 
but all with the same result that the edge-type file has no influence. E.g. I 
call “netconvert --opendrive myOpenDRIVE.xodr -e conversion_edge_types.xml 
--output.original-names -o mySUMOnetwork.net.xml

And I use an edge type file like this:







Neither are sidewalks imported nor is the non-standard speed or allowance of 
type driving recognized. In fact it seems as if the file isn’t used at all. 
However, if I corrupt the edge-type file on purpose, errors are thrown as 
expected.


Thanks

Jakob

PS- sorry if I’m double-posting, I had to change my email address and I think 
my first attempt to post didn’t go through.
___
sumo-user mailing list
sumo-user@eclipse.org
To change your delivery options, retrieve your password, or unsubscribe from 
this list, visit
https://www.eclipse.org/mailman/listinfo/sumo-user
___
sumo-user mailing list
sumo-user@eclipse.org
To change your delivery options, retrieve your password, or unsubscribe from 
this list, visit
https://www.eclipse.org/mailman/listinfo/sumo-user


[sumo-user] Edge-type files for OpenDRIVE to SUMO-NET conversion not working?

2020-01-14 Thread Kaths, Jakob
Hi,

I'm not sure whether I'm doing something wrong or the feature is broken, but 
I'm trying to convert an OpenDRIVE file to SUMO network file using an edge-type 
file to also convert sidewalks etc. I tried a few different OpenDRIVE files, 
but all with the same result that the edge-type file has no influence. E.g. I 
call "netconvert --opendrive myOpenDRIVE.xodr -e conversion_edge_types.xml 
--output.original-names -o mySUMOnetwork.net.xml

And I use an edge type file like this:







Neither are sidewalks imported nor is the non-standard speed or allowance of 
type driving recognized. In fact it seems as if the file isn't used at all. 
However, if I corrupt the edge-type file on purpose, errors are thrown as 
expected.


Thanks

Jakob

PS- sorry if I'm double-posting, I had to change my email address and I think 
my first attempt to post didn't go through.
___
sumo-user mailing list
sumo-user@eclipse.org
To change your delivery options, retrieve your password, or unsubscribe from 
this list, visit
https://www.eclipse.org/mailman/listinfo/sumo-user