Re: [sumo-user] [SUMO-USER] Can I create congestion in SUMO?

2019-04-18 Thread Lukas Ambühl
Yes, you can. But you need to create a bottleneck (e.g. accident, traffic 
signal, lane drop). The easiest is probably a traffic light or a lane drop.

Cheers,
lukas


Le 18 avr. 2019 à 12:27, Pratik Dutta  a écrit :


Hello All,  Can I create congestion in SUMO? I mean to say without decreasing 
the speed Can I create congestion? or can i make an accident ?


Regards,
___
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] [SUMO-USER] Can I create congestion in SUMO?

2019-04-18 Thread Pratik Dutta
Hello All,  Can I create congestion in SUMO? I mean to say without
decreasing the speed Can I create congestion? or can i make an accident ?


*Regards,*
___
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] Make a vehicle stop to take a passenger

2019-04-18 Thread steniero
Hi,
I have to implement a stop on demand system. I created the bus stops and a
ring route that the busses follow. When a pedestrian is created, it is
supposed to walk to the first stop with a walking stage, then with a
driving stage take the bus, at the same time traci sets the stop using the
command setBusStop and stopping a determined bus. The busses are introduced
with traci, operate the same line that the pedestrian calls.

I receive this warning:
Warning: Not using public transport line 'MINDShuttles' for routing
persons. It has less than two usable stops.

And my pedestrian just disappears as soon as he reaches the stop. What did
I do wrong? how can I make the vehicle stop and take the pedestrian? When I
append the driving stage I do not specify from which station to start, I
assumed the pedestrian should start from the bus station where he is at, as
a destination of the preceeding walking stage, am I right?

Thank you very much
Stefano
___
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] Modifying the SUMO network at runtime

2019-04-18 Thread Linwood Hudson
Hi Jakob,

I have implemented your suggestion to use SUMO's save and reload process to
account for network modifications at runtime. It mostly works, but I'm
seeing issues when I add new edges and lanes into the network in between
the save and reload. In that case, my vehicles don't restart on the lanes I
expect them to.

(For a little background, I have built a process to create new edges and
lanes inside water polygons, so I can simulate boats moving around in a
lake or ocean without relying on waterways from OSM. So I import an OSM map
to create an initial network, launch SUMO on it, then kick off my
water-network builder which process XML node and edge files, which I merge
into the original network using netconvert. This process adds new edges and
lanes based on the water mesh it built. I hope to use the save and reload
to pickup these new water edges without completely restarting my
simulation).

When I look in the save-state XML file, SUMO is saving out actual lane IDs,
but when I look at the reload code (MSStateHandler.cpp, method
myStartElement, case SUMO_TAG_LANE), it seems to rely on the index of the
edges and lanes being the same as they were when the file was written. If
any edges or lanes get added to the network after save, things get out of
order.

Would it be possible to use the edge and lane IDs directly to look up those
items instead of relying on indexes? Then the reload process would be more
resilient and could better handle added/reordered/deleted edges and lanes.
I'm about to experiment with that change but wanted to see if there were
any gotchas.

Thanks
Linwood


Date: Tue, 5 Mar 2019 23:02:09 +0100
From: Jakob Erdmann 
To: Sumo project User discussions 
Subject: Re: [sumo-user] Modifying the SUMO network at runtime
Message-ID:

Content-Type: text/plain; charset="utf-8"

Hello,
there is currently no support for modifying the network except for changing
lane permissions.
Adding nodes and edges at runtime would be quite difficult since you would
have to replicate all the procesing steps of netconvert (e.g. to compute
intersection rules) as wells as all the steps that are done by the
simulation when loading a network (some of them interdependent and to be
done in the right order).
Modifying elevation at runtime would probable be doable since this part of
the network data has no interdependencies with other structures and you
could borrow code from traci.polygon.setShape.

An alternative might be to save the simulation state (--save-state) and
then restart the simulation with a modified but compatible network and the
saved state.

regards,
Jakob



Am Di., 5. M?rz 2019 um 17:07 Uhr schrieb Linwood Hudson :

> Hello all,
>
> My project performs several pre-processing steps to OSM files prior to
> running them through netconvert and launching SUMO. The most
time-consuming
> is using Osmosis to apply elevation data to each node, as is required for
> my simulation purposes. I'm looking into ways to speed up the
> initialization of my SUMO simulation and potentially deferring expensive
> operations. All of these expensive operations involved modifying the
> network structure in some way (e.g. applying elevation data to nodes,
> adding additional nodes/edges in places that don't have good coverage in
> OSM, etc.).
>
> I would like to load a base OSM immediately to get my simulation running,
> then layer in elevation data and more refined nodes/edges later when the
> longer-running processes complete. There doesn't appear to be any support
> for modifying the network at runtime using TRACI. At a minimum just
editing
> the elevation values of nodes, but potentially adding new nodes and lanes.
> Are there major technical challenges to editing the network at runtime?
> Even just changing the elevation values?
>
> If there are any options I could consider please let me know.
>
> Thanks!
> ___
> 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
>
-- next part --
An HTML attachment was scrubbed...
URL: <
https://www.eclipse.org/mailman/private/sumo-user/attachments/20190305/65249473/attachment.html
>
___
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] SUMO 1.2.0 released

2019-04-18 Thread Matthias.Schwamborn
Dear macOS users,

the homebrew formula has just been accordingly updated and bottles are 
available for both High Sierra and Mojave.
For more information, see 
https://sumo.dlr.de/wiki/Installing/MacOS_Build_w_Homebrew
Have fun!

Best regards,
Matthias


-Original Message-
From: sumo-user-boun...@eclipse.org [mailto:sumo-user-boun...@eclipse.org] On 
Behalf Of Michael Behrisch
Sent: Dienstag, 16. April 2019 10:20
To: SUMO User; SUMO Announce
Subject: [sumo-user] SUMO 1.2.0 released

Dear friends and users,
we are happy to announce the release of SUMO version 1.2.0.
The download links are at http://sumo.dlr.de/wiki/Download
This release brings a brand new Netedit mode to edit vehicles,
trips and flows! We are looking forward to your feedback to shape 
further
development of this feature.
This release also contains many improvements for intermodal simulation 
in regard
to dynamics, visualization and data output.

There are many more new features and fixes in this release and the most 
important ones are listed below.
For a full list of changes, as always see 
http://sumo.dlr.de/wiki/ChangeLog

We're looking forward to meeting you soon at the SUMO user conference 
(http://sumo.dlr.de/2019).

===Enhancements===
NETEDIT
- Added new mode to create and edit traffic demand (vehicles, trips, 
flows,
   vTypes, routes, stops)
- Major improvement in rendering speed

Simulation
- added new input element 
- improvements to parkingArea simulation (cooperation, adapting riding 
person plans)
- edgeData-output now supports attribute detectPersons="walk" which can 
be used to record pedestrian traffic instead of vehicular traffic.
- Person rides now allow the special value 'ANY' for the 'lines' 
attribute. When this is set, persons may enter any vehicle that will 
stop at the destination 'busStop' of the ride.
- Added controllability of reaction time (actionStepLength) to 
DriverState Model.
- various railway simulation improvements (reversing direction, signal 
operation,
   visualization)
- Traffic light phases now support the optional attribute 'name'. This 
attribute can be set and retrieved via TraCI and makes it easier to 
establish the correspondence between phase indexing in SUMO and phase 
descriptions used by other traffic engineering methods
- improved default parameters for simulation routing to avoid biases 
from traffic light cycles

SUMO-GUI
- Major improvement in rendering speed
- Can now load edge-data for visualization of arbitrary attributes with 
time-varying edge colors
- Improvement to visualization of riding and waiting persons
- Can now locate objects by their name (streetname or generic parameter 
key="name").
- Vehicles with guiShape 'truck/trailer' and 'truck/semitrailer' now 
bend when cornering.

NETCONVERT
- Improved junction joining heuristic to prevent superfluous joins.
- OpenDRIVE Road_Objects can now be imported and also written to 
OpenDRIVE
   output
- Various improvements to the generation of traffic light plans.

DUAROUTER
- Added option --write-trips.geo to write trips with attributes 
'fromLonLat, toLonLat' instead of 'from' and 'to'
- Reading trips with attributes 'fromLonLat, toLonLat, fromXY, toXY, 
viaLonLat, viaXY' is now supported.
- Added option --weights.random-factor to randomize routing results with 
bounded
   deviation from optimality (vehicles and persons).

Miscelaneous
- The option --help now supports filtering by topic (e.g. '--help 
input')
- Added Tutorial for Manhattan Mobility

===Bugfixes===
Simulation
- Various model fixes that were causing emergency deceleration
- Various fixes to routing (vehicular and intermodal)
- Various fixed for actuated TLS
- Various fixes to railway simulation
TraCI
- fixed crashes when calling moveToXY
- Various TraaS fixes (regressions from 1.0)
- restored python3 support for osmWebWizard.py (regression in 1.1.0)
Other
- Joining junctions now preserves the prior connection topology.
- Many fixes to netdiff.py and to applying netdiff-generated patches


Have fun with the new release,
Yun-Pang, Laura, Leo, Pablo, Jakob, Robert, Melanie, Johannes, Matthias 
and Michael
___
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] how to change prohibitions at unsignalized intersections

2019-04-18 Thread Alessandro Farina
Dear All,
I am working on a network imported from Openstreetmap where there are
several mistakes as regards prohibitions at signalized intersections.
I am trying to change them but it seems as if prohibitions cannot be modified.
Thank you very much,
best regards
___
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] Teleports only in case of "Wrong Lane"

2019-04-18 Thread Lara CODECA
Dear Community,

I'm trying to solve a teleportation issue..

I have a simulation with 50K vehicles and people. It represent a morning 
rush-hour, so there a re different levels of congestion.
Thanks to the option  I can avoid teleportation 
on collision.
Unfortunately I still have many of them:
Teleports: 1155 (Jam: 521, Yield: 452, Wrong Lane: 182)

>From what I understood from the FAQ, "Jam" and "Yield" are related to 
>congestion, and only "Wrong Lane" is actually required to avoid gridlocks on 
>intersections and roundabouts.

Is there a way, varying some parameters, to allow teleportations only for 
"Wrong Lane"?
I tried to play with "ignore-junction-blocker", "time-to-teleport", 
"max-depart-delay", "time-to-impatience" but it didn't work.

Any ideas? Is it even possible?

All the Best!
Lara

-- 
Lara CODECA
Postdoc
Tel : 04.93.00.81.51

EURECOM
Campus SophiaTech
http://www.eurecom.fr/
___
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] traci and libsumo

2019-04-18 Thread Lara CODECA
Hello community,

I wrote a python library that uses traci to implement a parking monitoring 
system (https://github.com/lcodeca/PyPML).
I'm trying to find a way to use libsumo (or even better both, leaving the 
choice to the user) in order to improve the performances.

Unfortunately, although is written in https://sumo.dlr.de/wiki/Libsumo that 
"Existing traci scripts can mostly be reused by calling import libsumo as 
traci", it's not true for me.

I always used http://sumo.sourceforge.net/pydoc/traci.html to use traci, but 
this is not true for libsumo.
I'm trying to use 
https://sumo.dlr.de/daily/doxygen/d8/d1c/class_tra_c_i_a_p_i.html because it's 
written "C++ interface based on static functions and a few simple wrapper 
classes", but I don't understand how to apply this documentation to a python3 
style use of traci.

I cannot find any explicit example in the wiki that gives me the hint on how to 
do this.

I would love if someone could point me in the right direction..

All the Best!
Lara 
-- 
Lara CODECA
Postdoc
Tel : 04.93.00.81.51

EURECOM
Campus SophiaTech
http://www.eurecom.fr/
___
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] lateral acceleration

2019-04-18 Thread christian.damdjowabo
Hello Sumo Community,
i have another question about the lateral acceleration.
I know that by using the standard lane change model (Krauß), vehicle would 
always drive in lane middle. In case of turning the junction how can we get the 
lateral acceleration?
Could we help me to understanding if this variable is somehow retrievable ?

Br
Christian

___
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] Request about stop signal

2019-04-18 Thread Ing. Massimiliano Petri
Dear all, I'm new in Sumo. I'm searching how to insert stop signal in the network but I don't find how to do it.Best regards,Massimiliano___
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