[sumo-user] SUMO User Conference 2024: New Paper and poster deadline 23rd of February

2024-02-14 Thread Michael Behrisch via sumo-user

Dear friends and users,
due to numerous requests we decided to extend the paper and poster 
submission deadlines to the 23rd of February.


Please find the details online: https://sumo.dlr.de/2024

Also please note, that registration is already possible and the space is 
limited! https://sumo2024.welcome-manager.de/


Hope to see you at the conference,
your SUMO Conference Team (sumo-confere...@dlr.de)

___
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] WG: AW: multi-lane area detector (e2) value retrieval bug

2023-12-07 Thread Michael Behrisch via sumo-user

Hi,
can you please post the output of traci.getVersion() / 
libsumo.getVersion() on both systems?

Thanks!

Best regards,
Michael

Am 01.12.23 um 11:10 schrieb manos kampitakis via sumo-user:

Hi Mirko,

sorry for the delayed feedback. Working with sumo version 1.19, it seems 
that the problem persists only in Windows 11 not in Linux (Ubuntu).


Best regards,
Manos

Στις Τετ 1 Νοε 2023 στις 11:56 π.μ., ο/η Mirko Barthauer 
mailto:m.bartha...@t-online.de>> έγραψε:


Hi Manos,

on my side it looks fine. Are you sure you use the fresh libsumo
version? The change in source code is not related to libsumo/TraCI
itself but to data storage of detectors, so there shouldn't be any
difference on how you access the data.

Best regards

Mirko

-Original-Nachricht-

Betreff: Re: [sumo-user] WG: AW: multi-lane area detector (e2) value
retrieval bug

Datum: 2023-10-31T16:41:41+0100

Von: "manos kampitakis" mailto:mankampita...@gmail.com>>

An: "Mirko Barthauer" mailto:m.bartha...@t-online.de>>, "Sumo project User discussions"
mailto:sumo-user@eclipse.org>>

Hi Mirko,
It seems that the problem is resolved in Traci, but it persists in
libsumo.
Best regards,
Manos

Στις Παρ 20 Οκτ 2023 στις 1:07 μ.μ., ο/η Mirko Barthauer via
sumo-user mailto:sumo-user@eclipse.org>> έγραψε:

Hi Manos,

you are absolutely right. The problem has been fixed in the
Github repo (see issue #13966
). Please
build sumo from Github source or wait for the development
version binaries

 of 
tomorrow. Thank you for reporting!

Best regards

Mirko

-Original-Nachricht-

Betreff: Re: [sumo-user] multi-lane area detector (e2) value
retrieval bug

Datum: 2023-10-19T19:03:49+0200

Von: "manos kampitakis" mailto:mankampita...@gmail.com>>

An: "Mirko Barthauer" mailto:m.bartha...@t-online.de>>

Mirko I found what is the fault. If you set file="NUL" inside
the e2 detector definition, the last interval occupancy does not
work (returns always zero). This is not the case for e1
detectors where last interval occupancy works in both cases (set
"NUL" or give an xml path).  If you still need a sample scenario
let me know.

Στις Πέμ 19 Οκτ 2023 στις 7:10 μ.μ., ο/η Mirko Barthauer
mailto:m.bartha...@t-online.de>> έγραψε:

Hi Manos,

I cannot reproduce the problem. Our TraCI tests regarding
lane area detectors do not show anything similar. Would you
be willing to share a sample scenario and your TraCI script?

Best regards

Mirko

-Original-Nachricht-

Betreff: [sumo-user] multi-lane area detector (e2) value
retrieval bug

Datum: 2023-10-19T15:09:34+0200

Von: "manos kampitakis via sumo-user" mailto:sumo-user@eclipse.org>>

An: "Sumo project User discussions" mailto:sumo-user@eclipse.org>>

Hi all,
I have created a corridor where I have placed a multi-lane
area detector (e2) with a period of 300s and I want to
retrieve last interval occupancy via traci or libsumo. In a
previous project, I have done the same with induction loops
(e1) and it works as follows. If the detector has a period
of 300s for example, the interval occupancy is the running
mean within the period of 300s. When the simulation time
modulo (%) the period (300s) is 0 the interval occupancy
becomes zero and the last interval occupancy value is
updated. Within the period the last interval occupancy
remains constant. It seems that there is some bug in
multi-lane area detectors when it comes to the last interval
occupancy value retrieval because it always remains zero. I
have provided a printed output for 898 seconds (1 - 899s).
The first column is the simulation time, the second is the
last step occupancy, the third is the interval occupancy and
the fourth is the last interval occupancy. The results are
the same for traci and libsumo.
Best regards,
Manos

___
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 

Re: [sumo-user] installation problem of sumo1.5.0

2023-11-14 Thread Michael Behrisch via sumo-user

Hi,
this was a glitch in our docs and is now fixed.
You need to call "sudo cmake --install build"
(or you can call "sudo make install" from inside the build dir).

Best regards,
Michael

Am 14.11.23 um 09:33 schrieb 郭松庭 via sumo-user:

Dear sumo,

I have some trouble in installation of sumo1.5.0. Could you please help me?

The commands I gave and the results gain are the following:
1. sudo apt-get install git cmake python3 g++ libxerces-c-dev 
libfox-1.6-dev libgdal-dev libproj-dev libgl2ps-dev python3-dev swig 
default-jdk maven libeigen3-dev

     ok
2. Download sumo1.5.0 and uzip it.
     ok
3. cd sumo-1.5.0/
     ok
4. export SUMO_HOME="/home//sumo-"
     ok
5. cmake -B build .
     ok
6. cmake --build build -j $(nproc)
     ok
7. sudo make install
     got a hint:
     [100%] Built target libsumo
     lucashuang@AiRMS-Demo1:~/sumo-1.5.0 $ sudo make install
     make: *** No rule to make target 'install'.  Stop.

Hardware: Raspberry Pi4B
OS: Pi OS 64 bit

Best Regards
Tony

___
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] Version 1.19.0 released

2023-11-07 Thread Michael Behrisch via sumo-user

Dear friends and users,
we are happy to announce the release of SUMO version 1.19.0.
The download links are at https://sumo.dlr.de/Download.
If you cite the new release in your publications, please use the DOI 
10.5281/zenodo.10077626 https://zenodo.org/records/10077626


We would also love to hear more feedback and prepared a short survey 
(only three questions).
Please participate at 
https://docs.google.com/forms/d/e/1FAIpQLSfMkTlWJnyF5GbcmIuHxn5xSuwOJSVN1iqzqiOfuLZ1_evW-A/viewform

(If you don't like Google, you can of course send an email as well.)

This release brings major improvements in pedestrian support including
a first version of the recently released JuPedSim model
https://www.jupedsim.org/stable/ developed by our colleagues at
Forschungszentrum Jülich.

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


### Enhancements

- Simulation
  - The access position for a stop can now be "random".
  - Can now use distributions for parameter values like 
"device.battery.capacity".
  - Renamed some battery parameters and made them available from type 
and vehicle. #13838, #12297, #13645


- sumo-gui
  - Now current sumoconfig can be loaded directly in netedit (edit / 
open sumo config in netedit). #13588

  - Charging state of a vehicle can be shown. #13595

- netedit
  - Now supports Human Readable Time (HH:MM:SS).
  - Now type parameters can be edited in main type frame.
  - Now vehicles and routes can be reversed.
  - Now trips over TAZs or Junctions can be transformed to flows (and 
vice versa).

  - Add locate containers dialog. #13692
  - Added support for vType distributions. #12845
  - Added support for route distributions. #12660
  - Now internal lanes can be drawn. #13790
  - Add new view "JuPedSim". #13750
  - Added "icon" attribute for pois. #13718
  - Person plan creation now automatically detects the next approached 
network element. #13828


- netconvert
  - Now issues a warning if unknown tls id are passed to option 
**--tls.join-exclude**.
  - Edge type errors only trigger a warning in plain XML input if no 
type file is loaded.

  - handling OpenDrive's include tag
  - Exclude signals (traffic light) which are placed on lanes not 
allowed to drive on in OpenDrive 1.4.


- Tools
  - several improvements to generateParkingAreas.py
  - generateRailSignalConstraints.py: Now handles `depart="split"` for 
insertionOrderConstraints.

  - sumolib can now load selection files.
  - meandata2vss.py: can now create variable speed signs from edge mean 
data.


- TraCI
  - Rail signal constraints can now bew added via traci.

- Other
  - od2trips now supports pedestrian types
  - Integration of JuPedSim in sumo.
  - You can now add current time and PID to all log entries.
  - The old C++ TraCIAPI.cpp and Java's TraaS give now a warning about 
being deprecated #14026. Please use [libtraci](Libtraci.md).

  - The new SUMO homepage is now https://eclipse.dev/sumo.
  - The repository moved to https://github.com/eclipse-sumo/sumo and 
the website repo to https://github.com/eclipse-sumo/sumo.website.

  - Added wheels for Python 3.12 and improved on wheel testing in CI


### Bugfixes

- Simulation
  - Fixed major slowdown on windows due to translation. (regression in 
1.16.0)

  - Fixed failure to join a leading train on subsequent edge.
  - PersonFlows now draw different vTypes from a distribution
  - Fixed invalid route after trying to to join leading train on 
subsequent edge of diverging route.
  - Edgedata-output now only counts vehicles that start their teleport 
on an edge in the teleport count of that edge.

  - Fixed collision during sublane-change.
  - Fixed crash during emergency vehicle simulation.
  - Start and end edge in trips can also be used as vias.
  - many improvements in bidi edge support
  - Speeds imposed by variable speed signs (VSS) or TraCI limit the 
edge type speeds (vehicles will respect the edge type speed if lower 
than VSS one)

  - Corrected speed calculation for induction loop with length > 0.
  - another fix for leader distance in ACC model
  - proper normalization when using distributions of vType distributions
  - fixed rerouting problems with numerical instabilities at the 
current stop

  - fixes to SSM output concerning collisions and state loading

- netedit
  - Fixed problem saving person flow attributes.
  - Fixed problem saving containers sorted by begin attribute in netedit.
  - Fixed problem saving edgetypes.
  - Added proper error handling for duplicate edgeRelations.
  - Fixed invalid checks setting IDs.
  - Fixed error with FXIconComboBox size.
  - Disabled invalid combinations for node 'type' and 'rightOfWay'.
  - Fixed problem moving vehicles.
  - Fixed crash in netedit due to netbuild / connections.
  - "Press F5" message now updates earlier.
  - Fixed vehicle class selection ignoring user input.

- sumo-gui
  - Context menu 

Re: [sumo-user] libsumo DLL load error

2023-06-05 Thread Michael Behrisch

Hi,
we regularly experience difficulties in using anaconda because it brings 
its own libraries. Can you retry with a pure python?


Best regards,
Michael

Am 02.06.23 um 09:02 schrieb 최석환:

Dear all,

I'm going to run sumo using libsumo and Python multiprocessing packages.
I successfully installed it using pip install libsumo.

However, importing libsumo from python results in the error message 
"Module not found."

My error message is as follows

---ImportErrorTraceback 
(most recent call last) Cell In[1], line 97fromtqdmimporttqdm 8frommultiprocessingimportProcess, 
Pool > 9importlibsumoFile C:\Program Files 
(x86)\Eclipse\Sumo\tools\libsumo\__init__.py:3028fromtraciimportconnection, constants, exceptions, 
_vehicle, _person, _trafficlight, _simulation # noqa29fromtraci.stepimportStepManager, 
StepListener # noqa---> 30from.libsumoimportvehicle, simulation, person, trafficlight # 
noqa31from.libsumoimportTraCIStage, TraCINextStopData, TraCIReservation, TraCILogic, TraCIPhase, 
TraCIException # noqa32from.libsumoimportTraCICollision, TraCISignalConstraint # noqaFile 
C:\Program Files (x86)\Eclipse\Sumo\tools\libsumo\libsumo.py:1311# Import the low-level C/C++ 
module12if__package__ or"."in__name__: ---> 13from.import_libsumo 14else: 
15import_libsumoImportError: DLL load failed while importing _libsumo: Module not found.



My environment is sumo 1.17, libsumo 1.17, and I use python 3.10.9 in 
anaconda3.
I added site-package, sumo tools, sumo bin, etc. from anaconda env to 
the path in the Windows system environment variable, but I still get DLL 
load error.

How should I solve this problem?

Thank you so much for your kind response and good insights all the time.


___
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] Multiple environments in reinforcement learning

2023-01-17 Thread Michael Behrisch

Hi Jordan,
can you give more details on your system? Some systems limit the nummber 
of open sockets or have a large delay on freeing a closed socket 
(especially Windows). If this does not apply here I am afraid you can 
only try to catch the exception and restart the sumo instance possibly 
after some wait.


Best reagrds,
Michael


Am 17.01.23 um 09:25 schrieb Jordan Poots:

Hi,

I've been using reinforcement learning with sumo and recently passed 
over to a new system. I keep finding on this new system I have errors 
where my training collapses due to some sort of collision when trying to 
open a new environment. Note that this error is not immediate, this 
particualr one occured over 1.5m training steps in.


Error: tcpip::Socket::accept() Unable to create listening socket: 
Address already in use

Quitting (on error).

Is there a way to ensure this doesn't happen?

Thanks,

Jordan

___
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] eclipse.org/sumo is down, use sumo.dlr.de instead

2022-12-23 Thread Michael Behrisch

Dear friends and users,
we are currently experiencing problems with our website at 
eclipse.org/sumo. Please use https://sumo.dlr.de in the meantime.


Sorry for any inconvenience and happy holidays!
Michael (for the SUMO team)
___
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] Fuel consumption model parameters

2022-12-11 Thread Michael Behrisch

Hi,
the parameters have always been for milligrams. Before the change in 
1.14.0 we just calculated the ml values ourselves by applying an average 
density for gasoline / diesel, see 
https://github.com/eclipse/sumo/blob/main/src/utils/emissions/HelpersHBEFA3.h#L106


Best regards,
Michael

Am 11.12.22 um 20:59 schrieb Chen Di:

Thanks Jakob, that helps!
A follow-up question is, these parameters are serving for milligram. So 
I was wondering if the parameter values for liters are still public. If 
so, where can I find them?


Thanks,

Jakob Erdmann mailto:namdre.s...@gmail.com>> 于 
2022年12月11日周日 03:48写道:


The parameters for all models are embedded in the source files:
https://github.com/eclipse/sumo/blob/main/src/utils/emissions/HelpersHBEFA.cpp 

https://github.com/eclipse/sumo/blob/main/src/utils/emissions/HelpersHBEFA3.cpp 

https://github.com/eclipse/sumo/blob/main/src/utils/emissions/HelpersHBEFA4.cpp 


Am So., 11. Dez. 2022 um 09:04 Uhr schrieb Chen Di
mailto:dichen...@gmail.com>>:

Dear Mr./Mrs.,

I am aware that vehicle fuel consumption information can be
retrieved from travi.vehicle.getFuelConsumption. However, I
would like to know the specific fuel consumption model that is
used and the parameter values of it. I found the model from this
paper (https://elib.dlr.de/89398/1/2ndGenEmissions.pdf
, equation
1-1). However, I did not find values of parameters c0-c5). Could
you give any clue on this?

Thanks in advance!

Best,
Cindy
___
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] gtfs2pt - "No GTFS data found for given date"

2022-12-06 Thread Michael Behrisch

Hi,
your routes.txt file defines routes with route type 1 which is GTFS for 
subway https://gtfs.org/schedule/reference/#routestxt but the network 
has no subways. I agree that the error message is misleading ;-)

https://github.com/eclipse/sumo/issues/12239

Best regards,
Michael

Am 06.12.22 um 17:30 schrieb Bachmann, Frederik:

Hello,

I tried to convert GTFS data, which have been exported from a PTV Visum 
model, into corresponding PT-output, using gtfs2pt.py.


Unfortunately, the attached error message appears, even though the 
mentioned date is given in calendar.txt and calendar_dates.txt.


The case can be found here: 
https://syncandshare.lrz.de/getlink/fi6Xb4uBWwvh7NsQCx6xsM/ 



Does anyone know this issue and has a solution to it?

Thank you and kind regards,

Frederik


___
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] Emission Class values

2022-10-04 Thread Michael Behrisch

Hi,
the answers are inline.

Am 25.09.22 um 14:57 schrieb UTA - Std - Kenny Assunção:
I saw that there is an error percentage 
associated with each type of emission, I would like to know if this 
error percentage is relative to reality or is it relative to the old 
model (HBEFA3).


The error shows how good our (polynomial) fit resembles the original 
HBEFA4 data. This is just an average over all speeds and accelerations
in the range where HBEFA has values, so this does not mean that any 
standardized driving cycle will show this error.


The second question is about the emission class "Energy", the class for 
electric vehicles, the noise values for the electric cars simulated are 
practically the same or even higher than fuel cars, maybe this doesn't 
make sense.


The noise model currently does not take the propulsion method into 
account. It is tailored for combustion engines only. I opened an issue 
here: https://github.com/eclipse/sumo/issues/11767


Best regards,
Michael

___
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] libsumo GUI

2022-10-04 Thread Michael Behrisch

Hi,
yes please set the environment variable LIBSUMO_GUI or use 
Simulation::start with sumo-gui as first argument.

I added this to the docs.

Best regards,
Michael

Am 04.10.22 um 15:29 schrieb Mahima:

bool
GUI::load(const std::vector& /* cmd */) {
     if (myWindow != nullptr) {
         WRITE_ERROR("libsumo.load is not implemented for the GUI.");
         return true;
     }
     return false;
}

How  "Simulation::load"  will work for GUI? I guess we need to use 
Simulation::start. Do we need to set env "LIBSUMO_GUI"?


Please helpI need it urgently.

On Tue, Oct 4, 2022 at 11:50 AM Mahima > wrote:


I can use sumo-gui in the same repository. But, only
libsumo::Simulation::load and libsumo::Simulation::step is not
launching GUI.

On Tue, Oct 4, 2022 at 11:30 AM Mahima mailto:mahim...@gmail.com>> wrote:

Just wanted to add that I am trying this on Ubuntu 18.04.6.

thanks

On Tue, Oct 4, 2022 at 12:28 AM Mahima mailto:mahim...@gmail.com>> wrote:

I have tried the below test, but no GUI is launching.
Definitely, there is something missing. Do we need to enable
flags related to FOX?

#include #define HAVE_LIBSUMOGUI // if you are on
Windows or have libsumo compiled yourself without GUI you
should remove this line#include
usingnamespacelibsumo; int main(int argc,
char* argv[]) { Simulation::load({"-c", "test.sumocfg"});
for(inti = 0; i < 5; i++) { Simulation::step(); }
Simulation::close(); }

On Mon, Oct 3, 2022 at 10:17 PM Mahima mailto:mahim...@gmail.com>> wrote:

Please suggest I have followed instructions as per
Libsumo - SUMO Documentation (dlr.de)

Still I cannot see any GUI running. Is there any other
#define to be enabled too?

Thanks

On Sun, Oct 2, 2022 at 5:07 PM Mahima
mailto:mahim...@gmail.com>> wrote:

Thanks, Jakob.
I can see this commit
8d48e88631fed2c6b317a3d5b86374d6c9901e1d.

HAVE_LIBSUMOGUI is already defined in the code. On
using the following commands, I cannot see any GUI
being launched.
libsumo::Simulation::load(sumo_options);
libsumo::Simulation::step();

What Else do I need to change to view the simulation?

Thanks,
Mahima


On Sun, Oct 2, 2022 at 4:04 PM Jakob Erdmann
mailto:namdre.s...@gmail.com>> wrote:

Yes. But only on Linux.

Am So., 2. Okt. 2022 um 12:36 Uhr schrieb Mahima
mailto:mahim...@gmail.com>>:

Hi,
Do we have libsumo gui support?

Thanks
___
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] Regarding Emissions Class 4

2022-09-11 Thread Michael Behrisch

Hi Radha,
there have been major changes to the emission models and the data basis 
for CNG is not that strong but I found that increase also strange. Is 
this straight driving with constant speed or a stop and go scenario?


Best regards,
Michael

Am 09.09.22 um 09:15 schrieb Radha Reddy:

Hello,

Recently I changed my simulations from emission class 3 ( 
|HBEFA3/PC_G_EU4| ) to 4 (HBEFA4/PC_CNG_petrol_Euro-5_(CNG)), and from 
EU4 to EU5.


I have difficulty understanding the emissions. In class 3, to travel a 
1000meters vehicle, consume 85 to 170ml. When I check class 4, the fuel 
consumption is showing above 40k ml. Is this correct? or is there any 
error in storing the emissions data, for instance interchanging the data 
between CO to fuel and vice versa?


Am I reading this correctly?

Regards
Radha

___
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] Problems with the gtfs2pt.py Script

2022-09-11 Thread Michael Behrisch

Hi Emanuel,
this sounds like a bug to me. Can you share your files?

Best regards,
Michael

Am 09.09.22 um 16:22 schrieb Reichsöllner, Emanuel:

Dear SUMO Team,


currently I am importing public transport GTFS Data with SUMO 1.14.1


I call the script:

python3 /usr/share/sumo/tools/import/gtfs/gtfs2pt.py -n osm.net.xml 
--gtfs google_transit.zip


--date 20220627


and I get mainly 3 files:


gtfs_pt_stops.add.xml

gtfs_pt_vehicles.add.xml

vtypes.xml
Now I face the problem, that vehicle definitions from 
gtfs_pt_vehicles.add.xml point to route_ids in gtfs_pt_stops.add.xml 
where the ids don't match



  


  busStop="-23021395#0:35.04" duration="10" until="0"/>



Id conflict:


10.UJ.30-65-j22-1.1.H   vs.  65_10.UJ.30-65-j22-1.1.H


After manually correcting the ids the model works fine.


Best regards,


Emanuel


--

__

Dipl. -Phys. Emanuel Reichsöllner

Wissenschaftlicher Mitarbeiter

*Hochschule Esslingen*

*University Of Applied Sciences*

Fakultät Informationstechnik

*Fraunhofer Anwendungszentrum KEIM*

(*K*ompetenzzentrum für *e*nergetische und *i*nformationstechnische 
*M*obilitätsschnittstellen)


Raum F01.405

Flandernstr. 101

73732 Esslingen

Email: emanuel.reichsoell...@hs-esslingen.de 



Tel.: 0711/397-4207

Web: http://www.hs-esslingen.de 




___
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] libsumo.libsumo.FatalTraCIError: A network was not yet constructed.

2022-09-07 Thread Michael Behrisch

Hi,
it may also be that you did call start but the parameters were invalid. 
Do you change the sumo config / the input files between the runs? So you 
may accidentally give an invalid input in the 232nd run.


Best regards,
Michael

Am 04.09.22 um 20:04 schrieb Hriday Sanghvi via sumo-user:

Hello,

I have been running SUMO along with a reinforcement learning algorithm 
that reruns a TraCI simulation from scratch each episode. When I was 
placing a static blockage (stopped vehicle) in the same location every 
episode, it was working just fine. But now that I am changing the 
location and size of this blockage every episode, after a certain number 
of 'episodes' (232, to be precise), SUMO throws an error:


File "/.../marlenvironment.py", line 797, in step
     for vh in self.simulation.traci_handler.vehicle.getIDList(): #
Set LC mode from the beginning
*libsumo.libsumo.FatalTraCIError: A network was not yet constructed.*

are the SUMO-relevant lines from the stack trace that causes the system 
to stop functioning.


My understanding of this is that it is telling me that I am calling 
traci.start() before a traci.close() was called on a previous 
traci.start() - But I am unsure how to debug this and cannot see how 
this could have happened with the change I mentioned above, and why it 
happens only after 232 runs of the simulation?


Please advise. Thank you.

Sincerely,
Hriday

___
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] Emission models problem

2022-07-14 Thread Michael Behrisch

Hi Ali,
thanks for picking it up again. So here is what we currently do:
Whenever the deceleration is small enough and the speed is still above 
some threshold we assume the vehicle is coasting and set all emissions 
to 0. We essentially copied this behavior from the PHEMlight model but 
now that I think of it again I am not really sure why this is a good 
idea (i.e. why we do not use the idling emissions for a standing vehicle 
here). I just double checked and the behavior is still there in the 
newest PHEMlight so at least it is consistent. I opened a ticket here:

https://github.com/eclipse/sumo/issues/11198

Best regards,
Michael

On 14.07.22 17:07, ali mirzaei wrote:

Hi,
I also try that scenario with SUMO latest release (version 1.14.0) but 
some zero values are observed again. Could you tell me what is happening?

Best regards,
Ali


On Tue, Jul 5, 2022 at 3:23 PM Michael Behrisch <mailto:o...@behrisch.de>> wrote:


Can you share your scenario or at least describe in more detail what is
happening?

Best regards,
Michael

Am 01.07.22 um 23:24 schrieb ali mirzaei:
 > I installed the " https://sumo.dlr.de/daily/sumo-win64-git.msi
<https://sumo.dlr.de/daily/sumo-win64-git.msi>
 > <https://sumo.dlr.de/daily/sumo-win64-git.msi
<https://sumo.dlr.de/daily/sumo-win64-git.msi>> " version but the
issues
 > still remain.
 >
 > On Fri, Jul 1, 2022 at 4:48 PM Jakob Erdmann
mailto:namdre.s...@gmail.com>
 > <mailto:namdre.s...@gmail.com <mailto:namdre.s...@gmail.com>>> wrote:
 >
 >     The problems are resolved but you need to use the latest
development
 >     version
(https://sumo.dlr.de/docs/Downloads.php#nightly_snapshots
<https://sumo.dlr.de/docs/Downloads.php#nightly_snapshots>
 >     <https://sumo.dlr.de/docs/Downloads.php#nightly_snapshots
<https://sumo.dlr.de/docs/Downloads.php#nightly_snapshots>>)
 >
 >     Am Fr., 1. Juli 2022 um 13:56 Uhr schrieb ali mirzaei
 >     mailto:alimrz...@gmail.com>
<mailto:alimrz...@gmail.com <mailto:alimrz...@gmail.com>>>:
 >
 >         Hi,
 >         According to
"https://github.com/eclipse/sumo/issues/10441
<https://github.com/eclipse/sumo/issues/10441>
 >         <https://github.com/eclipse/sumo/issues/10441
<https://github.com/eclipse/sumo/issues/10441>>",  I want to know
 >         if the problem of reporting zero emissions is resolved.
If then,
 >         why does my simulation report zero emissions during
coasting or
 >         decelerating yet?  I use SUMO's latest release (version
1.13.0).
 >         Best regards,
 >           Ali
 >         ___
 >         sumo-user mailing list
 > sumo-user@eclipse.org <mailto:sumo-user@eclipse.org>
<mailto:sumo-user@eclipse.org <mailto:sumo-user@eclipse.org>>
 >         To unsubscribe from this list, visit
 > https://www.eclipse.org/mailman/listinfo/sumo-user
<https://www.eclipse.org/mailman/listinfo/sumo-user>
 >         <https://www.eclipse.org/mailman/listinfo/sumo-user
<https://www.eclipse.org/mailman/listinfo/sumo-user>>
 >
 >     ___
 >     sumo-user mailing list
 > sumo-user@eclipse.org <mailto:sumo-user@eclipse.org>
<mailto:sumo-user@eclipse.org <mailto:sumo-user@eclipse.org>>
 >     To unsubscribe from this list, visit
 > https://www.eclipse.org/mailman/listinfo/sumo-user
<https://www.eclipse.org/mailman/listinfo/sumo-user>
 >     <https://www.eclipse.org/mailman/listinfo/sumo-user
<https://www.eclipse.org/mailman/listinfo/sumo-user>>
 >
 >
 > ___
 > sumo-user mailing list
 > sumo-user@eclipse.org <mailto:sumo-user@eclipse.org>
 > To unsubscribe from this list, visit
https://www.eclipse.org/mailman/listinfo/sumo-user
<https://www.eclipse.org/mailman/listinfo/sumo-user>
___
sumo-user mailing list
sumo-user@eclipse.org <mailto:sumo-user@eclipse.org>
To unsubscribe from this list, visit
https://www.eclipse.org/mailman/listinfo/sumo-user
<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] Emission models problem

2022-07-05 Thread Michael Behrisch
Can you share your scenario or at least describe in more detail what is 
happening?


Best regards,
Michael

Am 01.07.22 um 23:24 schrieb ali mirzaei:
I installed the " https://sumo.dlr.de/daily/sumo-win64-git.msi 
 " version but the issues 
still remain.


On Fri, Jul 1, 2022 at 4:48 PM Jakob Erdmann > wrote:


The problems are resolved but you need to use the latest development
version (https://sumo.dlr.de/docs/Downloads.php#nightly_snapshots
)

Am Fr., 1. Juli 2022 um 13:56 Uhr schrieb ali mirzaei
mailto:alimrz...@gmail.com>>:

Hi,
According to "https://github.com/eclipse/sumo/issues/10441
",  I want to know
if the problem of reporting zero emissions is resolved. If then,
why does my simulation report zero emissions during coasting or
decelerating yet?  I use SUMO's latest release (version 1.13.0).
Best regards,
  Ali
___
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] Motorbike emissions

2022-05-20 Thread Michael Behrisch

Hi,
the way Jakob described it works here as well. I renamed now the folder 
to PHEMlight5 to have a better correspondence between model name and 
folder name. Please try again with the nightly build of tomorrow.
Also please make double sure that you are using the latest nightly build 
and have no typos in your input files (maybe also send your input files).


Best regards,
Michael

Am 20.05.22 um 14:26 schrieb Alejandro Rodríguez Sánchez:

I can confirm that the mentioned files are present in the folder.

Also, after running some tests, I've become with another issue.
If I define the following emission class, using the naming of the 
PHEMlight5 files: PHEMlight5/RT_EUIII_D_I, I get the same "emissionClass 
not found" error. However, when I use the naming from the documentation 
(i.e.: PHEMlight5/HDV_RT_I_D_EU3 ), documentation I get no error. This 
doesn't work with the motorbikes, I get the error using both nomenclatures.



El vie, 20 may 2022 a las 13:16, Jakob Erdmann (>) escribió:


Can you confirm that the folder data/emissions/PHEMlight/V5/ holds
the following files?:

MC_2S_EU1_G.csv
MC_2S_EU1_G_FC.csv
MC_2S_EU1_G.PHEMLight.veh

for me, this is sufficient to use


Am Fr., 20. Mai 2022 um 13:01 Uhr schrieb Alejandro Rodríguez
Sánchez mailto:alrod...@ucm.es>>:

Hello again Jakob,

Although your previous message was useful to correct the
PHEMlight prefix to PHEMlight5, it is still not working for me
with the latest development version:

Error: emissionClass with name 'PHEMlight5/MC_2S_EU1_G' doesn't
exist.

I'm a bit confused about why SUMO isn't finding these emission
classes neither when all the files are in the folder 
data/emissions/PHEMlight/V5/ nor in the

folder data/emissions/PHEMlight. However, for passenger cars and
LCV vehicles it works fine.

Kind regards,
Alejandro.


El jue, 19 may 2022 a las 11:10, Jakob Erdmann
(mailto:namdre.s...@gmail.com>>) escribió:

After running my own tests I can confirm the following:
- Version 4 of PHEMLight does not contain any motorcycles
(as I mistakenly assumed in my previous comment)
- Version 5 of PHEMLight does contain 66 motorcycle classes
in the licensed data set (i.e. "PHEMlight5/MC_2S_EU0_G")

If you use the PHEMLight 5 data, it's recommended to use the
development version since it contains a bugfix for coasting.

regards,
Jakob

Am Do., 19. Mai 2022 um 08:34 Uhr schrieb Alejandro
Rodríguez Sánchez mailto:alrod...@ucm.es>>:

Thanks Jakob. So the following remarks appearing on the
documentation:

  *

MC_2S*
*motorcycles - 2 stroke (not included)

  *

MC_4S*
*motorcycles - 4 stroke (not included)

Motor cycles are only available for the old data set
(pre 2016)

do not indicate the impossibility of using motorcycles
data sets, right?
And can you confirm the following is the correct
nomenclature to call the motorcycles emission classes?

MR_G_EU0_2T MR_G_EU0_4T

This is the nomenclature that is shown in the
documentation but it raises the error

/Error: emissionClass with name 'PHEMlight/MR_G_EU1_2T'
doesn't exist./
/
/
For any other vehicle types (passenger, light and heavy
duty) there are no problems using the nomenclature from
the documentation.

Cheers,
Alejandro

El mié., 18 may. 2022 14:29, Jakob Erdmann
mailto:namdre.s...@gmail.com>>
escribió:

The current version of PHEMLight should include
motorbikes in the licensed dataset:

https://sumo.dlr.de/docs/Models/Emissions/PHEMlight.html#phemlight_emission_classes_for_motor_cycles




Am Mi., 18. Mai 2022 um 13:57 Uhr schrieb Alejandro
Rodríguez Sánchez mailto:alrod...@ucm.es>>:

Hello,

Reading the documentation I've noticed that
motorbike are not included when using the
licensed data from PHEMlight to compute the
emissions. Is there any reason for that? It will
be included in the future?

Best regards,
   

Re: [sumo-user] R: GTFS problem

2022-05-13 Thread Michael Behrisch

Hi,
how did you install SUMO. Maybe the script is not able to find 
netconvert. Did you see any netconvert related output something like

Warning: Found sharp turn with radius 8.17 at the end of edge '-207790933'?

Best regards,
Michael


Am 12.05.22 um 15:26 schrieb Saverio Picarelli:
Thanks for the reply. My network is an OSM-derived base network with 
“highway” edges types. Is there a list with accepted edges? Thank you.


*Da: *Jakob Erdmann 
*Inviato: *giovedì 12 maggio 2022 13:29
*A: *Sumo project User discussions 
*Oggetto: *Re: [sumo-user] GTFS problem

The two warnings are unrelated:

- "No mapping library found"  can be ignored. There is an option that 
permits using a proprietary map matching engine but the 'tracemapper' 
default should work fine.
- "No net resources\gtfs\bus.net.xml" indicates that the filtered 
mapping networks (i.e. one for bus, one for tram) could not be created. 
The filtering currently assumes an OSM-derived base network with edge 
types such as "highway.primary" or "railway.tram"). If your network 
comes from a different source, this process will fail.


Am Do., 12. Mai 2022 um 12:14 Uhr schrieb Saverio Picarelli 
mailto:saveriopicare...@hotmail.it>>:


Hello everybody, I have already sent this mail but the mail server
says the attachment was too big (I had also attached my sumo
network). If the previous email was delivered, I apologize for this
second email.

I have a problem with GTFS file import. I’m trying to import my GTFS
file with the following command :

python tools/import/gtfs/gtfs2pt.py -n mynet.net.xml --gtfs gtfs.zip
--date 20220509 --modes bus --vtype-output pt_vtypes.xml

but the output is:

Warning! No mapping library found, falling back to tracemapper

Warning! No net resources\gtfs\bus.net.xml

and an empty .rou.xml file

Someone has an idea to solve the problem? I’m attaching my GTFS file.

Thank you very much.

Saverio Picarelli

___
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] Typing with Pylance with parallelized simulations

2022-03-16 Thread Michael Behrisch

Hi Patrick,
currently the traci library dynamically inserts the domains into the 
connection using setattr. This confuses most autocompletion tools which 
only do static analysis. Maybe this thread helps:

https://stackoverflow.com/questions/63436496/is-it-possible-to-have-python-ides-offer-autocompletion-for-dynamically-generate

If this does not help please consider opening a ticket at 
https://github.com/eclipse/sumo/issues and we will try refactoring the code.


Best regards,
Michael

Am 16.03.22 um 08:50 schrieb Patrick Göttsch:

Hello,

I run multiple parallelized sumo simulations using traci. This works out 
quite fine.


To mitigate the need to use always the traci switch command, I store for 
each simulation a traci.Connection object using traci_object: 
traci.Connection = traci.getConnection(id). This works fine.


But my issue with that way is, that in VS Code where I write my python 
code to interface SUMO using traci gives nice code completion when I use 
traci.vehicle.getSpeed(id) but not with 
traci_object.vehicle.getSpeed(id). There it does not offer 
vehicle.getSpeed(id) and marks it as "Cannot access member vehicle for 
type Connection". What would be the right way to write the code?


Thanks a lot,

Kind regards,

Patrick

___
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] sumo nightly install via python issues

2022-02-11 Thread Michael Behrisch

Hi Rob,
thanks for the feedback. I think the best way to install the python 
wheels is in a virtual environment, just as mentioned on the download 
page, especially if you try out the nightly builds. Everything else 
messes in unpredictable ways with your local installation.


Best regards,
Michael

PS: Yes, I would be interested in a (bug) report about errors on loading 
additional files.


Am 11.02.22 um 12:06 schrieb Rob Maris:

On my Linux notebook, all goes exactly well when I execute:

pip install -i https://test.pypi.org/simple/ eclipse-sumo


however, when I execute the same on my linux desktop, the following is 
reported:


rob@rob-desktop:/media/hdd/rob/ProRad/Themen/Innenstadtring/Details/Simulation/SUMO/sumo-prorad 


$ pip install -i https://test.pypi.org/simple eclipse-sumo
Looking in indexes: https://test.pypi.org/simple
Collecting eclipse-sumo
   Downloading 
https://test-files.pythonhosted.org/packages/c3/a7/6c4b9e76af1a9b0c4e78436ee5d59d423ab4823aac7645a19761f68dfa92/eclipse_sumo-1.12.0.post430-py2.py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl 
(42.9 MB)

  || 42.9 MB 1.8 MB/s
Installing collected packages: eclipse-sumo
   WARNING: The scripts activitygen, dfrouter, duarouter, 
emissionsDrivingCycle, emissionsMap, jtrrouter, marouter, netconvert, 
netedit, netgenerate, od2trips, polyconvert, sumo and sumo-gui are 
installed in '/home/rob/.local/bin' which is not on PATH.
   Consider adding this directory to PATH or, if you prefer to suppress 
this warning, use --no-warn-script-location.

Successfully installed eclipse-sumo-1.12.0.post430

When I install here with sudo, all goes okay. But on my notebook, it 
went okay without sudo. Without changing PATH.
The difference - as I found out: On the notebook, miniconda3 is 
installed. In this case, the whole sumo stuff is pythonway installed in 
~/miniconda3/bin/. And the path is already okay.


I'd suggest to advice the users (on the download page) to use sudo in 
order to simplify things.
Hi 
When I install miniconda3 on the desktop, the install without sudo (a 
necessary condition to keep a package manager based install upright) 
goes without warning - which confirms that the finding is correct.


ANOTHER FINDING:
When the package manager based install is removed, after starting 
sumo-gui fom python install, a load error occurs on loading an 
additionals file. Very curious. Some Details I could supply separately.

___
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] SUMO 1.11.0 update released (log4j vulnerability)

2021-12-15 Thread Michael Behrisch
Dear friends and users,
although only a small part of the SUMO universe is running with Java,
we are not entirely unaffected by the most recent events. Good news
first: If you are not using lisum-gui
(https://sumo.dlr.de/docs/Tools/LiSuM.html) or not even know what it is
you can stop reading now.

For all the others:
Please note that due to the log4j vulnerability
(https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-44228) the
lisum-gui.jar in the distribution 1.11.0 has been replaced. Until today
it contained a vulnerable version of the library. All other files are as
in the original release. So if you are a lisum-gui user please download
and install the release again. You can also download an updated
lisum-gui.jar directly: https://sumo.dlr.de/daily/lisum-gui.jar. Please
note that no other part of SUMO (not even lisum-core.jar) is affected
and also our web server https://sumo.dlr.de is not running Java code.

(Older releases however still contain the vulnerable code in
lisum-gui.jar and will not be replaced.)

So now enjoy your holidays if there are any ahead of you and keep
simulating!

Best regards,
Michael (for the SUMO team)

Am 23.11.21 um 09:17 schrieb Jakob Erdmann:
> Dear friends and users,
> we are happy to announce the release of SUMO version 1.11.0.
> The download links are at https://sumo.dlr.de/docs/Downloads.html
> 
>
> Have fun with the new release,
> Angelo, Laura, Pablo, Jakob, Robert, Melanie, Johannes, Matthias,
> Michael and Yun-Pang.
> 
> ___
> sumo-announce mailing list
> sumo-annou...@eclipse.org
> To unsubscribe from this list, visit 
> https://www.eclipse.org/mailman/listinfo/sumo-announce
> 

___
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] Using AADT Data To Determine Traffic Count In OSM Web Wizard

2021-11-28 Thread Michael Behrisch
Hi,
you need to put quotation marks around the command because you have
whitespace in the path:
> python "%sumo_home%\tools\routeSampler.py" -c rscfg.txt

Best regards,
Michael

Am 28.11.21 um 13:32 schrieb Brandon Cedric Patangan via sumo-user:
> Hi Jakob,
> 
> Thank you so much for the explanation! I've tried running this command: 
> 
> C:\Users\Cedric\Sumo\2021-11-24-20-35-01> python
> %sumo_home%\tools\routeSampler.py -c rscfg.txt
> 
> but unfortunately, it simply returns "python: can't open file
> 'C:\\Program': [Errno 2] No such file or directory". Does this mean that
> the directory is somehow misconfigured? I just ran it from the command
> line directly in the folder containing the osm simulation, and the file
> rscfg.txt is already inside that folder, like was done in the conference
> video.
> 
> Many thanks,
> Brandon
> 
> On Thu, Nov 25, 2021 at 2:53 AM Jakob Erdmann  > wrote:
> 
> routeSampler.py is a python tool which must be run on the command line:
> > %sumo_home%\tools\routeSampler.py -c rscfg.txt
> or
> > %sumo_home%\tools\routeSampler.py --edgedata-files edgecounts.xml
> --route-files vehroutes.xml --output-file out.rou.xml
> 
> See
> https://sumo.dlr.de/docs/Tools/index.html#how_to_use_python_tools
> 
> 
> Am Mi., 24. Nov. 2021 um 16:48 Uhr schrieb Brandon Cedric Patangan
> via sumo-user mailto:sumo-user@eclipse.org>>:
> 
> Hi again, sorry to send another message. I used Notepad ++ to
> run a text file named rscfg.txt where I typed in the same
> configuration as in theconference tutorial
> :
> 
> image.png
> 
> However when I try to run it using the "Run" Windows batch file,
> I get the following error: "Error: Could not access
> configuration 'osm.sumocfg'.
> Quitting (on error)." which is the name of the OSM file. 
> 
> image.png
> 
> I also tried running it using "Build" but it only opened the
> command prompt very quickly and closed it.
> 
> image.png
> 
> Would anybody know what I'm doing wrong? Thanks so much!
> 
> Brandon
> 
> 
> 
> 
> On Wed, Nov 24, 2021 at 10:27 PM Brandon Cedric Patangan
> mailto:bcpatan...@up.edu.ph>> wrote:
> 
> Hi Jakob,
> 
> Thank you so much, it's a very big help. I was able to
> follow the user tutorial up until the part where it talks
> about the rscfg file (around 37:46 in the tutorial), and was
> able to save my dataset with the road ID included for clarity:
> 
> Capture 3.PNG
> 
> I was not able to find a rscfg file in the SUMO files
> anywhere, and I didn't quite catch from the video what
> command was used to run routeSampler.py. My apologies if
> there's so many questions, I'm truly trying to learn this
> for the first time! 
> 
> Thank you so much,
> Brandon
> 
> On Wed, Nov 24, 2021 at 3:24 PM Jakob Erdmann
> mailto:namdre.s...@gmail.com>> wrote:
> 
> Counts can be defined visually for an existing network
> using netedit. See https://youtu.be/aiOQbaB-pWo
> 
> You can define count values per mode by defining
> multiple count attributes for each edge. Then run
> routeSampler.py multiple times with different values for
> option --edgedata-attribute and option --prefix.
> see
> https://sumo.dlr.de/docs/Tools/Turns.html#edge_counts
> 
> 
> Am Mi., 24. Nov. 2021 um 02:45 Uhr schrieb Brandon
> Cedric Patangan via sumo-user  >:
> 
> Thank you Jakob. I apologize for asking once again,
> as I am very new to Python and not well-versed in
> scripting (I'm an Economics major), but suppose I
> wanted to use the AADT values in the simulation. I
> have the following road traffic info, as well as
> count values for those survey sites per mode:
> 
> Available Survey Sites.PNG
> 
> 
> Can I edit this directly on the imported OSM file
> from the Web Wizard, or do I have to manually create
> my own network? Also, am I able to specify count
> values per mode, and not just the total vehicle count? 
> 
> My last question is, how exactly would I accomplish
> this, should I decide to use it in an 

Re: [sumo-user] [EXTERNAL] Re: traci execution speed

2021-11-20 Thread Michael Behrisch
Hi,
the fastest way is to use command line sumo without any external control
but libsumo should be right next.

Best regards,
Michael

Am 17.11.21 um 18:45 schrieb Pradeep Viyaluru Harinath:
> Thank you , it works now. 
> 
> But the speed isn’t as quick it is in general with command prompt. What
> is the fastest method in SUMO , is using lib sumo quickest of all?
> 
> Thanks and regards,
> V.H.Pradeep
> 
> ----
> *From:* Michael Behrisch 
> *Sent:* Wednesday, November 17, 2021 5:53 AM
> *To:* Sumo project User discussions; Pradeep Viyaluru Harinath
> *Subject:* Re: [sumo-user] [EXTERNAL] Re: traci execution speed
>  
> Hi,
> Libsumo ist picky about types. So you need to convert everything to a
> string before calling setParameter.
> 
> Best regards,
> Michael
> 
> Am 17. November 2021 01:41:08 MEZ schrieb Pradeep Viyaluru Harinath
> :
> 
> Thank you for your response.
> 
> I have used the command “ libsumo as traci “ but to only get the
> following error. I have tried importing the libsumo as package and
> then running it, even then I face the same error. Can I know what
> could have been the reason for this error since I have not got that
> error while using traci
> 
>  
> 
> Regards,
> 
> V.H.Pradeep
> 
>  
> 
> *From:* sumo-user  *On Behalf Of
> *Jakob Erdmann
> *Sent:* Tuesday, November 16, 2021 3:39 AM
> *To:* Sumo project User discussions 
> *Subject:* [EXTERNAL] Re: [sumo-user] traci execution speed
> 
>  
> 
> *  **_EXTERNAL EMAIL_***
>   This email originated outside of The University of Texas at San
> Antonio.
>   Please exercise caution when clicking on links or opening attachments.
> 
>  
> 
> Each individual traci command costs time because data must be passed
> between your code and sumo.
> 
> - reduce the number of traci commands (i.e. by caching values that
> do not change or by using subscriptions)
> 
> - switch to libsumo https://sumo.dlr.de/docs/Libsumo.html
> 
> <https://nam11.safelinks.protection.outlook.com/?url=https%3A%2F%2Fsumo.dlr.de%2Fdocs%2FLibsumo.html=04%7C01%7Cpradeep.viyaluruharinath%40utsa.edu%7C1a35f840ed5a4454066008d9a9c0d16b%7C3a228dfbc64744cb88357b20617fc906%7C0%7C1%7C637727467903389588%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000=YpvyRvsxWmNArYoCUp3%2FvvZE9jj9eyeLZCFTHOqPDRY%3D=0>
> 
>  
> 
> regards,
> 
> Jakob
> 
>  
> 
> Am Di., 16. Nov. 2021 um 02:28 Uhr schrieb Pradeep Viyaluru Harinath
>  <mailto:pradeep.viyaluruharin...@utsa.edu>>:
> 
> Hello All,
> 
> I am running a python code which allows traci to iterate for
> about 100 times. I notice that as the simulation time increases
> the traci slows down considerably and it takes forever to
> produce the output. However when I run using the command prompt
> it hardly takes a minute to run simulation but when I use traci
> it takes close to 10 mins to complete the simulation run.
> 
>  
> 
> Let me know if there is something I need to work on to improve
> the processing speed.
> 
>  
> 
> Regards,
> 
> V.H.Pradeep
> 
>  
> 
> ___
> sumo-user mailing list
> sumo-user@eclipse.org <mailto:sumo-user@eclipse.org>
> To unsubscribe from this list, visit
> https://www.eclipse.org/mailman/listinfo/sumo-user
> 
> <https://nam11.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.eclipse.org%2Fmailman%2Flistinfo%2Fsumo-user=04%7C01%7Cpradeep.viyaluruharinath%40utsa.edu%7C1a35f840ed5a4454066008d9a9c0d16b%7C3a228dfbc64744cb88357b20617fc906%7C0%7C1%7C637727467903399585%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000=CIYmapL4tpHpHNxSaU5F7aiR6E0VdZE%2Bk%2FRjS2wn%2Bk4%3D=0>
> 
> -- 
> Diese Nachricht wurde von meinem Android-Gerät mit K-9 Mail gesendet.

___
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] [EXTERNAL] Re: traci execution speed

2021-11-17 Thread Michael Behrisch
Hi,
Libsumo ist picky about types. So you need to convert everything to a string 
before calling setParameter.

Best regards,
Michael

Am 17. November 2021 01:41:08 MEZ schrieb Pradeep Viyaluru Harinath 
:
>Thank you for your response.
>I have used the command " libsumo as traci " but to only get the following 
>error. I have tried importing the libsumo as package and then running it, even 
>then I face the same error. Can I know what could have been the reason for 
>this error since I have not got that error while using traci
>
>Regards,
>V.H.Pradeep
>
>From: sumo-user  On Behalf Of Jakob Erdmann
>Sent: Tuesday, November 16, 2021 3:39 AM
>To: Sumo project User discussions 
>Subject: [EXTERNAL] Re: [sumo-user] traci execution speed
>
>  **EXTERNAL EMAIL**
>  This email originated outside of The University of Texas at San Antonio.
>  Please exercise caution when clicking on links or opening attachments.
>
>
>Each individual traci command costs time because data must be passed between 
>your code and sumo.
>- reduce the number of traci commands (i.e. by caching values that do not 
>change or by using subscriptions)
>- switch to libsumo 
>https://sumo.dlr.de/docs/Libsumo.html
>
>regards,
>Jakob
>
>Am Di., 16. Nov. 2021 um 02:28 Uhr schrieb Pradeep Viyaluru Harinath 
>mailto:pradeep.viyaluruharin...@utsa.edu>>:
>Hello All,
>I am running a python code which allows traci to iterate for about 100 times. 
>I notice that as the simulation time increases the traci slows down 
>considerably and it takes forever to produce the output. However when I run 
>using the command prompt it hardly takes a minute to run simulation but when I 
>use traci it takes close to 10 mins to complete the simulation run.
>
>Let me know if there is something I need to work on to improve the processing 
>speed.
>
>Regards,
>V.H.Pradeep
>
>___
>sumo-user mailing list
>sumo-user@eclipse.org
>To unsubscribe from this list, visit 
>https://www.eclipse.org/mailman/listinfo/sumo-user

-- 
Diese Nachricht wurde von meinem Android-Gerät mit K-9 Mail gesendet.___
sumo-user mailing list
sumo-user@eclipse.org
To unsubscribe from this list, visit 
https://www.eclipse.org/mailman/listinfo/sumo-user


[sumo-user] Upcoming SUMO 1.11.0

2021-11-04 Thread Michael Behrisch
Dear SUMO friends, users and developers,
we recently promised to inform earlier about upcoming releases, so this
is to announce that we are planning to release SUMO 1.11.0 on 23.11.2021.
So please do heavy testing of your scenarios and code with a nightly
build _now_ to let us repair all the glitches and have a shiny release.

Please note that the Linux repositories on the open build service have
changed and we are now residing on
https://build.opensuse.org/project/show/science:dlr. The links on the
download page https://sumo.dlr.de/docs/Downloads.php are already updated.

The easiest way to check out a nightly build without messing up your
existing SUMO installation is probably to use a python virtual
environment. Here are the commands to do so:

python -m venv sumo_test
cd sumo_test
. bin/activate (or activate.bat on Windows)
pip install -i https://test.pypi.org/simple/ eclipse-sumo

We are looking forward to yur feedback!

Best regards,
Michael (for the SUMO team)
___
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] Assert Error in traci method

2021-10-15 Thread Michael Behrisch
Hi,
I suppose you are using this input:
https://github.com/LucasAlegre/sumo-rl ? If I start a similar script
here it works just fine.
Here is my code:

#!/usr/bin/env python
from __future__ import print_function
from __future__ import absolute_import
import os
import sys

sys.path.append(os.path.join(os.environ.get("SUMO_HOME", SUMO_HOME),
"tools"))
import traci  # noqa
import sumolib  # noqa

traci.start([sumolib.checkBinary('sumo'), '-n', '4x4.net.xml'])
ts_ids = traci.trafficlight.getIDList()
print(ts_ids)
traci.trafficlight.getRedYellowGreenState(ts_ids[0])
programs = traci.trafficlight.getAllProgramLogics(ts_ids[0])
traci.close()

Can you try this one with your setup?
Can you report your platform and your sumo version?

Best regards,
Michael

Am 14.10.21 um 12:33 schrieb Akhlaq Ahmed:
> 
> 
> 
> *From:* Akhlaq Ahmed
> *Sent:* Thursday, October 14, 2021 3:29 PM
> *To:* sumo-...@eclipse.org 
> *Subject:* Assert Error in traci method
>  
> Hi, I hope you all be doing good, I am a student at a university and I
> am working on a research project related to Urban traffic optimization.
> I am using SUMO for the simulation.
> 
> When I am trying to use the following method:
> 
> traci.trafficlight.getCompleteRedYellowGreenDefinition(ts_id[0])
> 
> I am getting an 
> 
> AssertionError
> 
> 
> I have searched internet but didn't found a solution
> 
> I have attached the related files with this email, 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


Re: [sumo-user] Problem: vehicles go through each other at an intersection

2021-10-14 Thread Michael Behrisch
Hi,
there are various ways to enforce this. Can you give some context or
even share your scenario?

Best regards,
Michael

Am 14.10.21 um 00:31 schrieb Hariqi:
> Hello SUMO users,
> 
> I am trying to solve an unrealistic behaviour of vehicles going through
> each other at intersections. See GIF attached. Any idea on what causes
> this behaviour? Thank you. 
> SUMO.gif
> 
> 
> ___
> 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] Feeding SUMO with Time Series data

2021-10-13 Thread Michael Behrisch
Hi,
if your network is properly connected (meaning there are indeed more
than five or six edges which can be reached) you should try to generate
more random trips as input.

Best regards,
Michael

Am 13.10.21 um 21:21 schrieb Toprak Fırat:
> Hello,
> 
> After sometime I figured how to use routeSampler.py. To test, I selected
> a road and created an edge-count data file by giving a random qPKW value
> for the road that I’ve picked. Every car that is generated is being
> spawned on the road that I’ve initially selected, as I desired, so this
> was successful. However, they are not going to different destinations
> but instead there are 5-6 destinations that they all go to, what am I
> doing wrong? As far as I understood, routeSampler picks the routes that
> are generated by randomtrips.py and tries to generate agents with
> respect to the edge-count data. So, is this caused by randomtrips not
> generating enough route variety from the road that I picked for my test?
> How can I solve this? 
> 
> Regards,
> 
> 
>> On 6 Oct 2021, at 18:40, Jakob Erdmann > > wrote:
>>
>> see
>> https://sumo.dlr.de/docs/Demand/Routes_from_Observation_Points.html
>> 
>> I recommend routeSampler.py for the highways.
>>
>> Am Mi., 6. Okt. 2021 um 16:01 Uhr schrieb Toprak Fırat
>> mailto:atoprakfi...@gmail.com>>:
>>
>> I have time series data of some highways but don’t have any
>> information about inner city roads etc. I want to feed the
>> highways on the network with that data and simulate the traffic on
>> inner city roads with SUMO. How can I achieve this, do I have to
>> manually create routes and demands?
>>
>> Thanks a lot!
>> ___
>> 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] Mapping of GTFS data to network error

2021-10-13 Thread Michael Behrisch
Hi,
the first warning about the tracemapper can be ignored but the second is
strange, it basically says that it either could not find data for busses
in the GTFS or no edges alllowing busses in the network and thus
generated no bus network. Since the GTFS import is quite new and all
data providers implement the standard a little bit differently, can you
share your inputs?

Best regards,
Michael

Am 12.10.21 um 08:43 schrieb Genaro Jr. Peque:
> Hi all,
> 
> I am currently trying to map my GTFS data to the OSM network I
> downloaded using OSMnx (network_type=drive). I converted the OSM data
> (only nodes and edges) to the sumo network file via netconvert.
> 
> I don't know exactly how the gtfs2pt.py script works but I am getting
> this error message after running it with this command:
> 
> Command:
> /python "C:\Program Files
> (x86)\Eclipse\Sumo\tools\import\gtfs\gtfs2pt.py" -n tokyo_drive.net.xml
> --gtfs BUS-GTFS_20211007.zip --date 20211103
> /
> 
> Error:
> /Success.
> Warning! No mapping library found, falling back to tracemapper.
> Warning! No net resources\gtfs\bus.net.xml/
> 
> Am I correct to assume that the gtfs2pt.py script is trying to map each
> bus stop to an edge by using a map matching algorithm? Or does the
> mapping rely on geometries (e.g. public_transport=bus_stop)? 
> 
> Since I can't seem to make it work, I was planning to manually extract
> the data from the GTFS file and match the bus stop to each edge by
> finding the nearest edge using the closest euclidean distance of its
> (lat, lon) pair. The challenge is on how to know which lane of the edge
> to match it to and the order of the edges that the buses will traverse
> within the assigned route. I was hoping to get some insight into how the
> gtfs2pt.py script is calculating it.
> 
> 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


Re: [sumo-user] Changing view settings via Traci

2021-10-13 Thread Michael Behrisch
Hi,
if you save the view settings beforehand you can set the coloring scheme
via traci.gui.setSchema(viewID, schemaName).

Best regards,
Michael

Am 12.10.21 um 19:24 schrieb Hervé Diedie:
>  Hi all,
> I want to change via TraCI some view settings especially, vehicles'
> color according to their types.
> Can someone help me ?
> 
> Best regards.
> 
> ___
> 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] Modeling Vehicle Powertrain in SUMO

2021-10-13 Thread Michael Behrisch
Hi,
SUMO can model the consumption for you but you can also adapt the
current state of the battery using traci to override this. You might
want to read https://sumo.dlr.de/docs/Models/Electric.html

Best regards,
Michael

Am 11.10.21 um 22:07 schrieb vincentobiako:
> Hello everyone
> 
>  
> 
> I was looking through the documentation to see how to model the fueling
> powertrain of a vehicle in SUMO by using TraCI. However, I seem to be
> confused on how vehicle consumption should be modeled. Is it through the
> implementation of the equation seen in the documentation (as seen below)
> placed into TraCI or is consumption innately or naturally calculated in
> SUMO?
> 
>  
> 
>  
> 
> What I am trying to do is have vehicles refuel at a charging/refueling
> station when they reach about 20% of their assigned fuel capacity.
> 
>  
> 
> Thank you in advance
> 
> Ifezue
> 
>  
> 
> Sent from Mail  for Windows
> 
>  
> 
> 
> ___
> 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] Deprecating 32bit build for windows

2021-10-11 Thread Michael Behrisch
Dear friends and SUMO users,
I just noticed this question might be of interest to the wider SUMO
users community as well. So please speak up if you still use the 32bit
Windows build of SUMO.

Best regards,
Michael

Am 05.10.21 um 20:26 schrieb Michael Behrisch:
> Dear friends and SUMO hackers,
> in an effort to clean up our build environments we strongly consider
> phasing out the Windows 32bit build and tests. You probably noticed that
> Microsoft plans to do the same with Windows 11. Please send us a note if
> you are nevertheless still using it and want to continue to do so in the
> future.
> 
> Best regards,
> Michael (for the SUMO team)
> ___
> sumo-dev mailing list
> sumo-...@eclipse.org
> To unsubscribe from this list, visit 
> https://www.eclipse.org/mailman/listinfo/sumo-dev
> 

___
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] TracI fails randomly after running for quite a while

2021-10-11 Thread Michael Behrisch
Hi,
please try to isolate the error by finding the sources of randomness.
Usually SUMO delivers repeatable results even with multiple clients if
it is not set to random behavior (i.e. the option --random is not used)
and if the client scripts themselves do not use randomness.

Best regards,
Michael

Am 11.10.21 um 03:02 schrieb Mahbubul Alam Palash:
> Hi,
> I'm running a simulation where multiple TracI client from multiple
> devices are interacting with Sumo Simulation and periodically sets a
> custom device value and call the Simulationstep() at the end. However,
> after running the simulation for a while one of the tracI client shows
> the error :
> *#Error: received status response to command: 0 but expected: 164
> and* the simulation pauses. The expected value changes randomly though
> it's not always 164. And the simulation stops randomly at different
> times not after a specific time. 
> 
>  However, if I run all the tracI client in same same device there is no
> error. The error occurs only when I try to connect multiple tracI client
> from multiple devices. I would appreciate if anybody can give me some
> insight on the error. I'm building Sumo from source so it's probably a
> recent one.
> 
> 
> Thanks,
> Palash
> 
> ___
> 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] How to install nightly versions in Ubuntu

2021-10-05 Thread Michael Behrisch
Hi,
please try whether
 pip install -i https://test.pypi.org/simple/ eclipse-sumo
works for you. The best way to do this is inside a virtual environment.
Something like
$ virtualenv sumo_nightly
$ cd sumo_nightly
$ . bin/activate
$ pip install -i https://test.pypi.org/simple/ eclipse-sumo

works fine here.

Best regards,
Michael

Am 25.09.21 um 10:09 schrieb Jakob Erdmann:
> You can either download/checkout the source and build yourself:
> https://sumo.dlr.de/docs/Installing/Linux_Build.html
> 
> Or you can add a repository from the open build service and install
> 'sumo_nightly'.
> See
> https://build.opensuse.org/package/show/home:behrisch/sumo_nightly
> 
> https://openbuildservice.org/help/manuals/obs-user-guide/art.obs.bg.html#sec.obsbg.uc.install-from-obs
> 
> 
> Am Sa., 25. Sept. 2021 um 08:39 Uhr schrieb Usama Shahdah
> mailto:usama.elr...@gmail.com>>:
> 
> Hi everyone, 
> 
> How to install nightly versions in Ubuntu?
> 
> Thanks in advance.
> 
> 
> ___
> 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] Unable to run simulation in loop

2021-06-12 Thread Michael Behrisch
Hi,
does the code work if you omit the loop?

Best regards,
Michael

Am 03.06.21 um 01:42 schrieb Shah Sultan:
> Hello to all
> 
> My basic simulation code is written below. While I am running the same code
> without restarting the Kernel, the following error message pops up.
> 
> *Could not connect to TraCI server at localhost:57376 [WinError 10061] No
> connection could be made because the target machine actively refused it*
> 
> What I understand from this error, there should be some way of closing the
> port which is in my code. And due to this error, I am unable to run the code
> in the loop. I also
> checked for the firewall. There is nothing except "Windows Defender" which I
> do not want to close. Is there any mistake in the code that I can rectify?
> 
> 
> import os, sys
> if 'SUMO_HOME' in os.environ:
> tools = os.path.join(os.environ['SUMO_HOME'], 'tools')
> sys.path.append(tools)
> shapes = os.path.join(os.environ['SUMO_HOME'], 'tools','sumolib',
> 'shapes')
> sys.path.append(shapes)
> else:
>  sys.exit("please declare environment variable 'SUMO_HOME'")
> 
> import time
> import random
> 
> start_time=time.time()
> sumoBinary = "C:\Program Files (x86)/Eclipse/Sumo/bin/sumo-gui"
> sumoCmd = [sumoBinary, "-c", "roundabout-1.sumocfg", "--start"]
> 
> for i in range (5):
>
> random.seed()
> 
>
> import traci
> traci.start(sumoCmd)
> print("Starting SUMO")
> traci.gui.setSchema("View #0", "real world")
> traci.gui.setZoom("View #0", 190)
> vehID = traci.vehicle.getIDList();
> lights=traci.trafficlight.getIDList();
> junctionID=traci.junction.getIDList();
> 
> South_Light='1886728151'
> North_Light='2273469505'
> West_Light='268032054'
> East_Light='454336319'
>
> print ("Simulation has been started")
>
> traci.trafficlight.setProgram(East_Light,1)
> for step in range(5400):
> traci.simulationStep()
>
> traci.close(sumoCmd)
>
> print ("finish",'\n')
> 
> 
> 
> --
> Sent from: http://sumo-user-mailing-list.90755.n8.nabble.com/
> ___
> 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] Assorted errors when using threads (1 new simulation per thread)

2021-05-16 Thread Michael Behrisch
Hi,
I added now another parameter to traci.start which can prevent switching
to the new connection. It works here with your example. Please try with
a nightly build (or git pull) whether it now solves your problem if you
set switch=False in traci.start.

Best regards,
Michael

Am 16.05.21 um 09:18 schrieb Michael Behrisch:
> Hi,
> I could reproduce the error, see
> https://github.com/eclipse/sumo/issues/8630 but I am not sure yet what
> causes it. A possible workaround is to use traci.connect instead of
> traci.start but I agree that this is inconvenient because you would need
> to do the sumo startup yourself.
> 
> Best regards,
> Michael
> 
> Am 12.05.21 um 18:16 schrieb Marcelo Andrade Rodrigues D Almeida:
>> Hi Harald
>>
>> Thank you for giving it a try
>>
>> This version gives the same error output for me. I'm hoping it has the
>> same root cause from the errors I found in the previous code version.
>> Thank you for the additional information
>>
>>
>> Michael, could you reproduce the error? Let me know if you found or need
>> anything
>>
>>
>> Thank you all once again
>>
>> Sincerely,
>>
>> Marcelo d'Almeida
>>
>>
>>
>>
>>
>>
>>
>>
>>
>> On Wed, May 12, 2021 at 4:04 AM Harald Schaefer > <mailto:fechs...@gmail.com>> wrote:
>>
>> Hi Michael and Marcelo,
>>
>> with the latest version of the example I could reproduce the error.
>>
>> With some changes to sumo_env.py
>>
>> *** sumo_env.py 2021-05-12 08:29:23.260183300 +0200
>> --- sumo_env.py.orig    2021-05-10 14:22:32.0 +0200
>> ***
>> *** 283,287 
>>   sumo_binary = self.get_sumo_binary(gui=False)
>> ! sumo_cmd = []
>> ! sumo_cmd.extend(['gdb', '-ex', 'run', '--args'])
>> ! sumo_cmd.extend([sumo_binary, *sumocfg_parameters_list])
>>  
>> --- 283,285 
>>   sumo_binary = self.get_sumo_binary(gui=False)
>> ! sumo_cmd = [sumo_binary, *sumocfg_parameters_list]
>>
>>  I run all sumo's with gdb and I got
>>
>> SUMO VERSION SUMO v1_9_1+0287-bf4d10a8fa
>> Step #0.00Error: Answered with error to command 0xa4: Vehicle
>> '-gneE1__gneE0__light.0' is not known.
>> Error: Answered with error to command 0xa4: Vehicle
>> '-gneE1__gneE0__light.0' is not known.
>> Error: Answered with error to command 0xa4: Vehicle
>> '-gneE1__gneE0__light.0' is not known.
>> Error: Answered with error to command 0xa4: Vehicle
>> '-gneE1__gneE0__light.0' is not known.
>> Error: Answered with error to command 0xa4: Vehicle
>> '-gneE1__gneE0__light.0' is not known.
>> Error: Answered with error to command 0xa4: Vehicle
>> '-gneE1__gneE0__light.0' is not known.
>> Error: Answered with error to command 0xa4: Vehicle
>> '-gneE1__gneE0__light.0' is not known.
>> Error: Answered with error to command 0xa4: Vehicle
>> '-gneE1__gneE0__light.0' is not known.
>> Error: Answered with error to command 0xa4: Vehicle
>> '-gneE1__gneE0__light.0' is not known.
>> Error: Answered with error to command 0xa4: Vehicle
>> '-gneE1__gneE0__light.0' is not known.
>> Error: Answered with error to command 0xa4: Vehicle
>> '-gneE1__gneE0__light.0' is not known.
>> Error: Answered with error to command 0xa4: Vehicle
>> '-gneE1__gneE0__light.0' is not known.
>> Error: Answered with error to command 0xa4: Vehicle
>> '-gneE1__gneE0__light.0' is not known.
>> Error: Answered with error to command 0xd4: Could not add
>> subscription. Vehicle '-gneE1__gneE0__light.0' is not known.Vehicle
>> '-gneE1__gneE0__light.0' is not known.Vehicle
>> '-gneE1__gneE0__light.0' is not known.Vehicle
>> '-gneE1__gneE0__light.0' is not known.Vehicle
>> '-gneE1__gneE0__light.0' is not known.Vehicle
>> '-gneE1__gneE0__light.0' is not known.Vehicle
>> '-gneE1__gneE0__light.0' is not known.Vehicle
>> '-gneE1__gneE0__light.0' is not known.Vehicle
>> '-gneE1__gneE0__light.0' is not known.Vehicle
>> '-gneE1__gneE0__light.0' is not known.Vehicle
>> '-gneE1__gneE0__light.0' is not known.Vehicle
>> '-gneE1__gneE0__light.0' is not known.Vehicle
>> '-gneE1__gneE0__light.0' is not known.
>> Error: Storage::writeUnsignedByte(): Invalid value, not in [0, 255]
>> Quitting (on error).
>> [Thread 0x735f0640 (LWP 9453) exited]
>>   

Re: [sumo-user] Assorted errors when using threads (1 new simulation per thread)

2021-05-16 Thread Michael Behrisch
try=6) at
> ../sysdeps/unix/sysv/linux/raise.c:49
> #1  0x76f93864 in __GI_abort () at abort.c:79
> #2  0x76ff6736 in __libc_message
> (action=action@entry=do_abort, fmt=fmt@entry=0x7711bb9c "%s\n")
> at ../sysdeps/posix/libc_fatal.c:155
> #3  0x76fff08c in malloc_printerr
> (str=str@entry=0x7711df68 "malloc_consolidate(): unaligned
> fastbin chunk detected") at malloc.c:5628
> #4  0x7700076c in malloc_consolidate
> (av=av@entry=0x7714dba0 ) at malloc.c:4709
> #5  0x77000f80 in _int_free (av=0x7714dba0 ,
> p=0x5663a230, have_lock=) at malloc.c:4633
> #6  0x770047a8 in __GI___libc_free (mem=) at
> malloc.c:3309
> #7  0x77df4662 in
> xercesc_3_2::ValidationContextImpl::~ValidationContextImpl() () from
> /lib/x86_64-linux-gnu/libxerces-c-3.2.so <http://libxerces-c-3.2.so>
> #8  0x77df467d in
> xercesc_3_2::ValidationContextImpl::~ValidationContextImpl() () from
> /lib/x86_64-linux-gnu/libxerces-c-3.2.so <http://libxerces-c-3.2.so>
> #9  0x77e6ca27 in xercesc_3_2::SchemaInfo::~SchemaInfo() ()
> from /lib/x86_64-linux-gnu/libxerces-c-3.2.so
> <http://libxerces-c-3.2.so>
> #10 0x77ddaed8 in
> xercesc_3_2::RefHash2KeysTableOf xercesc_3_2::StringHasher>::removeAll() () from
> /lib/x86_64-linux-gnu/libxerces-c-3.2.so <http://libxerces-c-3.2.so>
> #11 0x77dd578e in xercesc_3_2::IGXMLScanner::cleanUp() ()
> from /lib/x86_64-linux-gnu/libxerces-c-3.2.so
> <http://libxerces-c-3.2.so>
> #12 0x77dd581b in xercesc_3_2::IGXMLScanner::~IGXMLScanner()
> () from /lib/x86_64-linux-gnu/libxerces-c-3.2.so
> <http://libxerces-c-3.2.so>
> #13 0x77dd584d in xercesc_3_2::IGXMLScanner::~IGXMLScanner()
> () from /lib/x86_64-linux-gnu/libxerces-c-3.2.so
> <http://libxerces-c-3.2.so>
> #14 0x77e27163 in xercesc_3_2::SAX2XMLReaderImpl::cleanUp()
> () from /lib/x86_64-linux-gnu/libxerces-c-3.2.so
> <http://libxerces-c-3.2.so>
> #15 0x77e29a66 in
> xercesc_3_2::SAX2XMLReaderImpl::~SAX2XMLReaderImpl() () from
> /lib/x86_64-linux-gnu/libxerces-c-3.2.so <http://libxerces-c-3.2.so>
> #16 0x77e29a7d in
> xercesc_3_2::SAX2XMLReaderImpl::~SAX2XMLReaderImpl() () from
> /lib/x86_64-linux-gnu/libxerces-c-3.2.so <http://libxerces-c-3.2.so>
> #17 0x55cb0d9c in SUMOSAXReader::~SUMOSAXReader() ()
> #18 0x55cc45b4 in XMLSubSys::close() ()
> #19 0x55d0a097 in SystemFrame::close() ()
> #20 0x5574c388 in main ()
> 
> Running with valgrind I got
> 
> connection closed by SUMO
> ==15450== Invalid write of size 8
> ==15450==    at 0x433D64: TraCIServer::cleanup() (in
> /usr/local/bin/sumo)
> ==15450==    by 0x437089: TraCIServer::~TraCIServer() (in
> /usr/local/bin/sumo)
> ==15450==    by 0x4373DC: TraCIServer::~TraCIServer() (in
> /usr/local/bin/sumo)
> ==15450==    by 0x437408: TraCIServer::close() (in /usr/local/bin/sumo)
> ==15450==    by 0x300382: main (in /usr/local/bin/sumo)
> ==15450==  Address 0x9fd9130 is 0 bytes inside a block of size 112
> free'd
> ==15450==    at 0x484584F: operator delete(void*) (in
> /usr/libexec/valgrind/vgpreload_memcheck-amd64-linux.so)
> ==15450==    by 0x437060: TraCIServer::~TraCIServer() (in
> /usr/local/bin/sumo)
> ==15450==    by 0x4373DC: TraCIServer::~TraCIServer() (in
> /usr/local/bin/sumo)
> ==15450==    by 0x437408: TraCIServer::close() (in /usr/local/bin/sumo)
> ==15450==    by 0x300382: main (in /usr/local/bin/sumo)
> ==15450==  Block was alloc'd at
> ==15450==    at 0x4842FB3: operator new(unsigned long) (in
> /usr/libexec/valgrind/vgpreload_memcheck-amd64-linux.so)
> ==15450==    by 0x43CD8B: TraCIServer::TraCIServer(long long, int,
> int) (in /usr/local/bin/sumo)
> ==15450==    by 0x43FD87: TraCIServer::openSocket(std::map (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less,
> std::allocator tcpip::Storage&, tcpip::Storage&)> > > const&) (in /usr/local/bin/sumo)
> ==15450==    by 0x5348CF: NLBuilder::init(bool) (in /usr/local/bin/sumo)
> ==15450==    by 0x300286: main (in /usr/local/bin/sumo)
> 
> I hope this helps
> 
> Best regards, Harald
> 
> Am 10.05.21 um 19:35 schrieb Marcelo Andrade Rodrigues D Almeida:
>> Hi Michael
>>
>> See the slightly changed attached example.
>>
>> Thank you
>>

Re: [sumo-user] Assorted errors when using threads (1 new simulation per thread)

2021-05-09 Thread Michael Behrisch

Hi,
I just ran it from the command line not in an IDE. I probably won't be 
able to reproduce it if it just occurs in an IDE. Does it occur at all 
if you run from the command line (or without breakpoints)?


Best regards,
Michael

Am 06.05.21 um 17:27 schrieb Marcelo Andrade Rodrigues D Almeida:

Hi Michael

Thank you for your reply

I tested again with the daily version and the errors still happen when 
putting a breakpoint (e.g., sumo_env.py l. 111)


The errors occur more frequently when using Pycharm (2020.1.5 community) 
than using vscode (1.56.0). I'm not sure why. I'm using Python 3.6 on 
Linux (Ubuntu 20.04).


Did you test with breakpoints too?

Thank you


Sincerely,

Marcelo d'Almeida


On Mon, May 3, 2021 at 10:05 AM Michael Behrisch <mailto:o...@behrisch.de>> wrote:


Hi,
I ran your example here (Python 3.6 on Linux), with the most recent
SUMO
(built today) changing max_workers to 2 and experienced no problems.

Can you give more details on your environment?

Best regards,
Michael

Am 29.04.21 um 15:19 schrieb Marcelo Andrade Rodrigues D Almeida:
 > Thank you for your response
 >
 > See new attached version
 >
 >
 > Sincerely,
 >
 > Marcelo d'Almeida
 >
 >
 > On Thu, Apr 29, 2021 at 10:12 AM Michael Behrisch
mailto:o...@behrisch.de>
 > <mailto:o...@behrisch.de <mailto:o...@behrisch.de>>> wrote:
 >
 >     Hi,
 >     in your example code the synchronization_util is missing. Can you
 >     add it
 >     and resend the zip?
 >
 >     Best regards,
 >     Michael
 >
 >     Am 25.04.21 um 22:45 schrieb Marcelo Andrade Rodrigues D Almeida:
 >      > Hi everyone
 >      >
 >      > I'm having trouble using multiple simulations in different
threads
 >      >
 >      > The difference can be perceived by changing max_workers to
1 and 2.
 >      > "        with
 >     ThreadPoolExecutor(max_workers=len(possible_actions)) as
 >      > executor:" (planning_only_agent.py, line 100)
 >      >
 >      > [See attached example (a very simplified version of what I'm
 >     actually
 >      > using)]
 >      >
 >      > With max_workers=1, it works just fine.
 >      >
 >      > With 2, it gives all sort of errors:
 >      >
 >      > "bad char in struct format"
 >      > "unpack requires a buffer of [x] bytes"
 >      > A lot of times it just hangs
 >      > "Received answer 0 for command 211."
 >      >
 >      >
 >      > The easiest way I found to reproduce is to add a
breakpoint into a
 >      > subscribe call and hit continue several times. It is
likely to crash
 >      > when threads stop at the same command, although it occurs
eventually
 >      > without breaking points.
 >      >
 >      > Tested in version 1.9.0 (specifically v1_9_0+0210-fa53508669)
 >      >
 >      > Thank you in advance
 >      >
 >      >
 >      > Sincerely,
 >      >
 >      > Marcelo d'Almeida
 >      >
 >      > ___
 >      > sumo-user mailing list
 >      > sumo-user@eclipse.org <mailto:sumo-user@eclipse.org>
<mailto:sumo-user@eclipse.org <mailto:sumo-user@eclipse.org>>
 >      > To unsubscribe from this list, visit
 > https://www.eclipse.org/mailman/listinfo/sumo-user
<https://www.eclipse.org/mailman/listinfo/sumo-user>
 >     <https://www.eclipse.org/mailman/listinfo/sumo-user
<https://www.eclipse.org/mailman/listinfo/sumo-user>>
 >      >
 >     ___
 >     sumo-user mailing list
 > sumo-user@eclipse.org <mailto:sumo-user@eclipse.org>
<mailto:sumo-user@eclipse.org <mailto:sumo-user@eclipse.org>>
 >     To unsubscribe from this list, visit
 > https://www.eclipse.org/mailman/listinfo/sumo-user
<https://www.eclipse.org/mailman/listinfo/sumo-user>
 >     <https://www.eclipse.org/mailman/listinfo/sumo-user
<https://www.eclipse.org/mailman/listinfo/sumo-user>>
 >
 >
 > ___
 > sumo-user mailing list
 > sumo-user@eclipse.org <mailto:sumo-user@eclipse.org>
 > To unsubscribe from this list, visit
https://www.eclipse.org/mailman/listinfo/sumo-user
<https://www.eclipse.org/mailm

Re: [sumo-user] Assorted errors when using threads (1 new simulation per thread)

2021-05-03 Thread Michael Behrisch

Hi,
I ran your example here (Python 3.6 on Linux), with the most recent SUMO 
(built today) changing max_workers to 2 and experienced no problems.


Can you give more details on your environment?

Best regards,
Michael

Am 29.04.21 um 15:19 schrieb Marcelo Andrade Rodrigues D Almeida:

Thank you for your response

See new attached version


Sincerely,

Marcelo d'Almeida


On Thu, Apr 29, 2021 at 10:12 AM Michael Behrisch <mailto:o...@behrisch.de>> wrote:


Hi,
in your example code the synchronization_util is missing. Can you
add it
and resend the zip?

Best regards,
Michael

Am 25.04.21 um 22:45 schrieb Marcelo Andrade Rodrigues D Almeida:
 > Hi everyone
 >
 > I'm having trouble using multiple simulations in different threads
 >
 > The difference can be perceived by changing max_workers to 1 and 2.
 > "        with
ThreadPoolExecutor(max_workers=len(possible_actions)) as
 > executor:" (planning_only_agent.py, line 100)
 >
 > [See attached example (a very simplified version of what I'm
actually
 > using)]
 >
 > With max_workers=1, it works just fine.
 >
 > With 2, it gives all sort of errors:
 >
 > "bad char in struct format"
 > "unpack requires a buffer of [x] bytes"
 > A lot of times it just hangs
 > "Received answer 0 for command 211."
 >
 >
 > The easiest way I found to reproduce is to add a breakpoint into a
 > subscribe call and hit continue several times. It is likely to crash
 > when threads stop at the same command, although it occurs eventually
 > without breaking points.
 >
 > Tested in version 1.9.0 (specifically v1_9_0+0210-fa53508669)
 >
 > Thank you in advance
 >
 >
 > Sincerely,
 >
 > Marcelo d'Almeida
 >
 > ___
 > sumo-user mailing list
 > sumo-user@eclipse.org <mailto:sumo-user@eclipse.org>
 > To unsubscribe from this list, visit
https://www.eclipse.org/mailman/listinfo/sumo-user
<https://www.eclipse.org/mailman/listinfo/sumo-user>
 >
___
sumo-user mailing list
sumo-user@eclipse.org <mailto:sumo-user@eclipse.org>
To unsubscribe from this list, visit
https://www.eclipse.org/mailman/listinfo/sumo-user
<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] Assorted errors when using threads (1 new simulation per thread)

2021-04-29 Thread Michael Behrisch

Hi,
in your example code the synchronization_util is missing. Can you add it 
and resend the zip?


Best regards,
Michael

Am 25.04.21 um 22:45 schrieb Marcelo Andrade Rodrigues D Almeida:

Hi everyone

I'm having trouble using multiple simulations in different threads

The difference can be perceived by changing max_workers to 1 and 2.
"        with ThreadPoolExecutor(max_workers=len(possible_actions)) as 
executor:" (planning_only_agent.py, line 100)


[See attached example (a very simplified version of what I'm actually 
using)]


With max_workers=1, it works just fine.

With 2, it gives all sort of errors:

"bad char in struct format"
"unpack requires a buffer of [x] bytes"
A lot of times it just hangs
"Received answer 0 for command 211."


The easiest way I found to reproduce is to add a breakpoint into a 
subscribe call and hit continue several times. It is likely to crash 
when threads stop at the same command, although it occurs eventually 
without breaking points.


Tested in version 1.9.0 (specifically v1_9_0+0210-fa53508669)

Thank you in advance


Sincerely,

Marcelo d'Almeida

___
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] [WinError 10061]

2021-04-29 Thread Michael Behrisch

Hi,
is there an active firewall on your machine?

Best regards,
Michael

Am 29.04.21 um 14:44 schrieb Shah Sultan:

Yes. after importing traci in my python script I am using
*"traci.start(sumoCmd,traceFile="traci.log")"*. Is there anything else
should I do?



--
Sent from: http://sumo-user-mailing-list.90755.n8.nabble.com/
___
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] LiSuM - how to get traffic lights running

2021-04-25 Thread Michael Behrisch
Hi,
thanks for your PRs! I implemented a slightly different solution. It
would be great if you and of course all other LiSuM users could check
whether the nightly build works as expected, since I do not have the
"real thing" here.

Best regards,
Michael

Am 23.04.21 um 20:48 schrieb Käufer, Philippe:
> Hey,
> 
> i finally found my problem in a commit [0]. Version differences...
> I developed a ​​​solution suggestion [1]. Further discussion on github
> are welcome.
> 
> Cheers,
> Philippe
> 
> [0] 
> https://github.com/eclipse/sumo/commit/5dee0724d99683b7bdbcb9800a24a433deb1cd5f#diff-d57f2ead2c9812e76750c671e15beaef7b828d3915e68213faab7078e177ea90
> [1] https://github.com/eclipse/sumo/issues/8065
> 
> 
> Am Fr. 23. April 2021 14:16 CEST, schrieb Käufer, Philippe
> :
>  
>> Hey,
>>
>> First of all: Thanks a lot to all of you for your great work in the
>> sumo project. I appreciate it every time when working with SUMO.
>>
>> In my master thesis, I want to evaluate different scenarios for
>> emergency vehicles with car2x communication. The emergency vehicle
>> should communicate with traffic lights.
>>
>> For that, I want to use a LISA traffic light definition of the local
>> transport authorities. Therefore, I follow the wiki [0] and hustled a
>> week to get all run *J* Finally gui is back running [1] and
>> communication between SUMO (tried Version 1.9 and 1.1) <-> LiSuM (1.1
>> from sumo Master Branch [2]) <-> Virtual LISA+ TLS Controller (from
>> here [3]) is generally running.
>>
>> When starting the SUMO Project via LiSuM gui the OmlFgServer are
>> showing some exceptions [Logs-0].
>>
>> In both example projects [3] the traffic light is switching to
>> blue/off in simulation step 1 and stays there forever. As described in
>> [4] page 148: In LiSuM Log [Logs-1] and [Logs-2] the respond of signal
>> states are all always “0”.
>>
>> Originally, it seems that the example projects worked in [5]. Does
>> anybody of you have a example where the traffic lights are working or
>> any hints where to investigate next?
>>
>> Cheers,
>> Philippe
>>
>> [0] https://sumo.dlr.de/docs/Tools/LiSuM.html
>> [1] https://github.com/eclipse/sumo/pull/8542
>> 
>> [2] https://github.com/eclipse/sumo/tree/master/tools/contributed/lisum
>> [3] https://github.com/maxidigital/LisumExamples.git
>> 
>> [4]
>> https://www.dlr.de/ts/Portaldata/16/Resources/projekte/sumo/Proceedings_SUMO2017.pdf
>> [5] https://elib.dlr.de/112830/
>>
>>  [Logs-0]: OmlFgServer:
>> Apr 23, 2021 1:02:37 PM
>> org.apache.cxf.binding.http.interceptor.DispatchInterceptor handleMessage
>> INFORMATION: Invoking POST on /getObjectList
>> Apr 23, 2021 1:06:06 PM
>> org.apache.cxf.binding.http.interceptor.DispatchInterceptor handleMessage
>> INFORMATION: Invoking POST on /getObjectList
>> Apr 23, 2021 1:03:15 PM
>> org.apache.cxf.binding.http.interceptor.DispatchInterceptor handleMessage
>> INFORMATION: Invoking POST on /getObjectList
>> Apr 23, 2021 1:06:12 PM
>> org.apache.cxf.binding.http.interceptor.URIParameterInInterceptor
>> handleMessage
>> INFORMATION: URIParameterInterceptor handle message on path
>> [/getObjectList] with content-type [text/plain; charset=UTF-8]
>> Apr 23, 2021 1:06:12 PM
>> org.apache.cxf.binding.http.interceptor.URIParameterInInterceptor
>> handleMessage
>> INFORMATION: URIParameterInterceptor handle message on path
>> [/getObjectList] with content-type [text/plain; charset=UTF-8]
>> Apr 23, 2021 1:06:12 PM
>> org.apache.cxf.binding.http.interceptor.URIParameterInInterceptor
>> handleMessage
>> INFORMATION: URIParameterInterceptor handle message on path
>> [/getObjectList] with content-type [text/plain; charset=UTF-8]
>> 2021-04-23 13:06:12,454 DEBUG [btpool0-3] (?:?) - Executing getObjectList
>> 2021-04-23 13:06:12,454 DEBUG [btpool0-1] (?:?) - Executing getObjectList
>> 2021-04-23 13:06:12,454 DEBUG [btpool0-2] (?:?) - Executing getObjectList
>> 2021-04-23 13:06:12,487 ERROR [btpool0-2] (?:?) -
>> java.lang.NullPointerException
>> java.lang.NullPointerException
>>     at oml.plus.C.V.A(Unknown Source)
>>     at oml.plus.C.V.setObjs(Unknown Source)
>>     at oml.plus.B.G.A(Unknown Source)
>>     at oml.plus.B.G.A(Unknown Source)
>> Apr 23, 2021 1:06:12 PM org.apache.cxf.phase.PhaseInterceptorChain
>> doIntercept
>> INFORMATION: Application has thrown exception, unwinding now:
>> de.schlothauer.omtc.services.GetObjsFaultMsg:
>> java.lang.NullPointerException
>> Apr 23, 2021 1:06:12 PM org.apache.cxf.phase.PhaseInterceptorChain
>> doIntercept
>> INFORMATION: Application has thrown exception, unwinding now:
>> org.mortbay.jetty.EofException: Could not send Message.
>> Apr 23, 2021 1:06:12 PM org.apache.cxf.phase.PhaseInterceptorChain
>> doIntercept
>> INFORMATION: Interceptor has thrown exception, unwinding now
>> org.apache.cxf.interceptor.Fault: Could not send Message.
>>     at
>> 

Re: [sumo-user] randomTrips.py creates trips for invalid routes

2021-03-27 Thread Michael Behrisch
Hi,
you cannot. You either need to check your network beforehand (you can
try to use https://sumo.dlr.de/docs/Tools/Net.html#netcheckpy for that)
or increase the number of vehicles (decrease the period) and then remove
some of the generated trips auntil you reach your desired number.

Best regards,
Michael


Am 27.03.21 um 12:30 schrieb Hema Latha:
> Hello,
> 
> I have created a box network of roads. Using randomTrips.py, I have to
> insert 240 cars/min. Done that using parameters -e 3600 and -p 15. This
> creates a trips.trips.xml file with 240 trips. However, some vehicle IDs
> are missing from trips.alt.xml because they are not routed through
> connected edges. The following warnings and error pop up in between
> simulation
> 
> Warning: No connection between edge '1' and edge '4' found.
> Warning: No route for vehicle '8' found.
> Error: Vehicle '8' has no valid route.
> 
> How do I tell randomTrips.py to configure routes on connected edges only?
> 
> Thanks,
> Hemalatha
> 
> ___
> 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] Simulation stops working

2021-03-27 Thread Michael Behrisch
Hi,
please try to post your scenario.

Best regards,
Michael

Am 15.03.21 um 11:47 schrieb jlange:
> Now I think the image is big enough.
> 
>  
> 
> 
> 
> --
> Sent from: http://sumo-user-mailing-list.90755.n8.nabble.com/
> ___
> 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] there is an error in the building of sumo-1.8.0

2021-03-09 Thread Michael Behrisch

Hi,
swig4 cannot handle very long file names. So you either need to 
downgrade your swig by checking out SUMOLibraries at 
d470317335c91a9c8964e9ad828c896c3d6324d8 or disable Java bindings if you 
don't need them by setting ENABLE_JAVA_BINDINGS=OFF in the cmake call 
(or directly in the cache file). It is also fixed in the nightly build.


Best regards,
Michael

Am 07.03.21 um 05:08 schrieb bruce Wang:

hello everyone, why?
[453/1003] cmd.exe /C "cd /D
D:\Users\Administrator\Source\sumo\out\build\x64-Release\src\libtraci &&
"D:\Program Files (x86)\Microsoft Visual
Studio\2019\Community\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\bin\cmake.exe"
-E make_directory
D:/Users/Administrator/Source/sumo/out/build/x64-Release/src/libtraci/java
D:/Users/Administrator/Source/sumo/out/build/x64-Release/src/libtraci/java
&& "D:\Program Files (x86)\Microsoft Visual
Studio\2019\Community\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\bin\cmake.exe"
-E env
SWIG_LIB=D:/Users/Administrator/Source/SUMOLibraries/swigwin-4.0.2/Lib
D:/Users/Administrator/Source/SUMOLibraries/swigwin-4.0.2/swig.exe -java
-package org.eclipse.sumo.libtraci -outdir
D:/Users/Administrator/Source/sumo/out/build/x64-Release/src/libtraci/java
-c++
-ID:/Users/Administrator/Source/SUMOLibraries/googletest-1.8.0/googletest/include
-ID:/Users/Administrator/Source/SUMOLibraries/xerces-c-3.2.3/include
-ID:/Users/Administrator/Source/SUMOLibraries/proj-7.2.0/include
-ID:/Users/Administrator/Source/SUMOLibraries/fox-1.6.57/include
-ID:/Users/Administrator/Source/SUMOLibraries/freetype-2.10.4/include/freetype2
-ID:/Users/Administrator/Source/SUMOLibraries/3rdPartyLibs/zlib-1.2.11/include
-ID:/Users/Administrator/Source/SUMOLibraries/gdal-3.2.1/include
-ID:/Users/Administrator/Source/SUMOLibraries/FFMPEG-4.2.0/include
-ID:/Users/Administrator/Source/SUMOLibraries/OSG-3.6.5/include
-ID:/Users/Administrator/Source/SUMOLibraries/gl2ps-1.4.0/include
-ID:/Users/Administrator/Source/SUMOLibraries/eigen-3.3.9
-ID:/Users/Administrator/Source/sumo/out/build/x64-Release/src
-ID:/Users/Administrator/Source/sumo/src "-IC:/Program Files
(x86)/Java/jdk1.8.0_71/include" "-IC:/Program Files
(x86)/Java/jdk1.8.0_71/include/win32" -o
D:/Users/Administrator/Source/sumo/out/build/x64-Release/src/libtraci/java/libtraciJAVA_wrap.cxx
D:/Users/Administrator/Source/sumo/src/libtraci/libtraci.i"
   FAILED: src/libtraci/java/libtraciJAVA_wrap.cxx
src/libtraci/java/libtraci.java src/libtraci/java/libtraciJNI.java
   cmd.exe /C "cd /D
D:\Users\Administrator\Source\sumo\out\build\x64-Release\src\libtraci &&
"D:\Program Files (x86)\Microsoft Visual
Studio\2019\Community\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\bin\cmake.exe"
-E make_directory
D:/Users/Administrator/Source/sumo/out/build/x64-Release/src/libtraci/java
D:/Users/Administrator/Source/sumo/out/build/x64-Release/src/libtraci/java
&& "D:\Program Files (x86)\Microsoft Visual
Studio\2019\Community\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\bin\cmake.exe"
-E env
SWIG_LIB=D:/Users/Administrator/Source/SUMOLibraries/swigwin-4.0.2/Lib
D:/Users/Administrator/Source/SUMOLibraries/swigwin-4.0.2/swig.exe -java
-package org.eclipse.sumo.libtraci -outdir
D:/Users/Administrator/Source/sumo/out/build/x64-Release/src/libtraci/java
-c++
-ID:/Users/Administrator/Source/SUMOLibraries/googletest-1.8.0/googletest/include
-ID:/Users/Administrator/Source/SUMOLibraries/xerces-c-3.2.3/include
-ID:/Users/Administrator/Source/SUMOLibraries/proj-7.2.0/include
-ID:/Users/Administrator/Source/SUMOLibraries/fox-1.6.57/include
-ID:/Users/Administrator/Source/SUMOLibraries/freetype-2.10.4/include/freetype2
-ID:/Users/Administrator/Source/SUMOLibraries/3rdPartyLibs/zlib-1.2.11/include
-ID:/Users/Administrator/Source/SUMOLibraries/gdal-3.2.1/include
-ID:/Users/Administrator/Source/SUMOLibraries/FFMPEG-4.2.0/include
-ID:/Users/Administrator/Source/SUMOLibraries/OSG-3.6.5/include
-ID:/Users/Administrator/Source/SUMOLibraries/gl2ps-1.4.0/include
-ID:/Users/Administrator/Source/SUMOLibraries/eigen-3.3.9
-ID:/Users/Administrator/Source/sumo/out/build/x64-Release/src
-ID:/Users/Administrator/Source/sumo/src "-IC:/Program Files
(x86)/Java/jdk1.8.0_71/include" "-IC:/Program Files
(x86)/Java/jdk1.8.0_71/include/win32" -o
D:/Users/Administrator/Source/sumo/out/build/x64-Release/src/libtraci/java/libtraciJAVA_wrap.cxx
D:/Users/Administrator/Source/sumo/src/libtraci/libtraci.i"
   Unable to open file
D:\Users\Administrator\Source\sumo\out\build\x64-Release\src\libtraci\java\SWIGTYPE_p_std__mapT_std__string_std__mapT_std__string_std__mapT_int_std__shared_ptrT_libsumo__TraCIResult_t_std__lessT_int_t_t_std__lessT_std__string_t_t_std__lessT_std__string_t_t.java:
No such file or directory



--
Sent from: http://sumo-user-mailing-list.90755.n8.nabble.com/
___
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] osmWebWizard.py error

2021-02-27 Thread Michael Behrisch
Hi,
Anaconda always brings its own libraries in different versions. If you
can please try to run with a vanilla Python.

Best regards,
Michael

Am 25.02.21 um 00:48 schrieb Usama Shahdah:
> Hi All,
> I am getting the below error when trying to run the osmWebWizard.py script.
> 
> I just installed the latest development version (as of Feb 24, 2021).
> 
> I will appreciate it if someone can help me to run the script.
> 
> Best regards,
> 
> 
> + Error Message ++
> C:\Users\Usama\D\test>python  "D:\SUMO\Sumo_Directory\tools\osmWebWizard.py"
> Traceback (most recent call last):
>   File "D:\SUMO\Sumo_Directory\tools\osmWebWizard.py", line 43, in 
>     from webWizard.SimpleWebSocketServer import SimpleWebSocketServer,
> WebSocket
>   File "D:\SUMO\Sumo_Directory\tools\webWizard\__init__.py", line 19, in
> 
>     from . import SimpleWebSocketServer  # noqa
>   File
> "D:\SUMO\Sumo_Directory\tools\webWizard\SimpleWebSocketServer.py", line
> 18, in 
>     import ssl
>   File "C:\ProgramData\Anaconda3\lib\ssl.py", line 98, in 
>     import _ssl             # if we can't import it, let the error propagate
> ImportError: DLL load failed while importing _ssl: The specified module
> could not be found.
> + End of the Error message ++
> 
> -- 
> Usama E. Shahdah
> 
> 
> ___
> 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] NETCONVERT freezes on very large networks

2021-02-23 Thread Michael Behrisch
Hi,
if it occurs only with the latest nightly build but not with 1.8 it
might as well be https://github.com/eclipse/sumo/issues/8270. It does
not freeze it just takes very long, I also noticed that with the Berlin
network.

Best regards,
Michael

Am 19.02.21 um 07:48 schrieb Jakob Erdmann:
> My guess would be that this isn't about size but somewhere in that big
> network is a piece of input which triggers a bug. You could try to split
> your input in half and convert each individually to check this hypothesis.
> 
> regards,
> Jakob
> 
> 
> Am Do., 18. Feb. 2021 um 21:34 Uhr schrieb Sasan Amini
> mailto:amini...@gmail.com>>:
> 
> Dear all,
> 
> I am trying to convert a very large OSM file to a SUMO network using
> NETCONVERT. When I set --geometry.remove, the processes freezes when
> trying to remove empty nodes and never ends. Is this a memory issue
> or somehow NETCONVERT doesn't like to remove that many nodes? btw, I
> have 40GB of RAM and 12 CPU cores and without --geometry.remove I
> get the network in less than 5 minutes.
> 
> Thanks,
> Sasan
> image.png
> ___
> 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] [Installation] Obsolete SUMO on Debian

2021-02-17 Thread Michael Behrisch

Hi,
I think the build should work even with gcc 4.8, so please try to find 
which package provides the missing headers. StackOverflow mentions 
build-essential as a good candidate.


Best regards,
Michael

Am 10.02.21 um 11:28 schrieb smariani:

I know, but unfortunately I have not total freedom over the server...will try
;D



--
Sent from: http://sumo-user-mailing-list.90755.n8.nabble.com/
___
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] How to add new parameters on Sumo Gui network:Parameters

2021-02-17 Thread Michael Behrisch

Hi,
it is not clear what you are trying to achieve. do you want to display 
arbitrary additional lines in this view and modify them via TraCI 
similar to the vehicle parameters?


Best regards,
Michael

PS: Please do not crosspost.

Am 17.02.21 um 12:42 schrieb selçuk ildem:

Hello,

I want to add traci other parameters to the blank lines in the attached 
picture, but I don't know where to change it.I request your support on 
the subject.


Best Regards,


___
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] Address already in use: Race condition between isolated executions

2020-12-09 Thread Michael Behrisch
Hi,
that looks different indeed. Such buffer problems usually indicate that
your client uses a different traci version than the server. Please check
that they are on the same version and you do not have any old versions
in your PATH/PYTHONPATH.

Best regards,
Michael

Am 04.12.20 um 18:08 schrieb Marcelo Andrade Rodrigues D Almeida:
> Thank you for the clarification
> 
> After trying the original test with version 1.8.0, I still receive the
> same error
> (that somewhat differs from the simple test as it is also accompanied by
> "unpack requires a buffer of 4 bytes" error)
> 
> Perhaps the original problem is other than the simple test was reproducing.
> 
> See attached log with the noticed behavior.
> 
> Is there anything I can try to test what the cause is and make it easily
> reproducible?
> 
> This behavior is happening in a fairly complex application (few parallel
> simulations created several times) with docker executions on a ubuntu
> remote server.
> 
> 
> Thank you in advance
> 
> 
> Sincerely,
> 
> Marcelo d'Almeidas
> 
> On Fri, Nov 27, 2020 at 1:45 PM Michael Behrisch  <mailto:o...@behrisch.de>> wrote:
> 
> Hi,
> yes it is the intended behavior. We noticed that there is no point in
> leaving the port open once all clients have connected. So we just close
> it and it is available to be used again. This should also help in
> avoiding conflicts since the ports are not open very long.
> 
> Best regards,
> Michael
> 
> Am 26.11.20 um 13:02 schrieb Marcelo Andrade Rodrigues D Almeida:
> > Sorry for the very late reply and thank you for working on it
> >
> > I built it from the source and tested it with the simple example above
> >
> >
> > I was expecting it to leave an exception telling that the address was
> > already in use, instead of hanging the process.
> >
> > The behavior now is that the second connection is successful even
> though
> > the same port was used.
> >
> > When inspecting the system tcp ports with 'netstat -atn', it seems
> that
> > both are created with a 'double-mapping' (port 5)
> >
> > (base) marcelo@Lenovo-Legion-5-15IMH05H:~$ netstat -atn
> > Active Internet connections (servers and established)
> > Proto Recv-Q Send-Q Local Address           Foreign Address      
>   State
> > tcp        0      0 0.0.0.0:34463 <http://0.0.0.0:34463>
> <http://0.0.0.0:34463 <http://0.0.0.0:34463>>           
> > 0.0.0.0:*               LISTEN
> > tcp        0      0 127.0.0.53:53 <http://127.0.0.53:53>
> <http://127.0.0.53:53 <http://127.0.0.53:53>>           
> > 0.0.0.0:*               LISTEN
> > tcp        0      0 127.0.0.1:631 <http://127.0.0.1:631>
> <http://127.0.0.1:631 <http://127.0.0.1:631>>           
> > 0.0.0.0:*               LISTEN
> > tcp        0      0 127.0.0.1:5 <http://127.0.0.1:5>
> <http://127.0.0.1:5 <http://127.0.0.1:5>>
> > 127.0.0.1:45794 <http://127.0.0.1:45794> <http://127.0.0.1:45794
> <http://127.0.0.1:45794>>         ESTABLISHED
> > tcp        0      0 192.168.1.5:48216 <http://192.168.1.5:48216>
> <http://192.168.1.5:48216 <http://192.168.1.5:48216>>
> > 216.58.202.142:443 <http://216.58.202.142:443>
> <http://216.58.202.142:443 <http://216.58.202.142:443>>      ESTABLISHED
> > tcp        0      0 192.168.1.5:55908 <http://192.168.1.5:55908>
> <http://192.168.1.5:55908 <http://192.168.1.5:55908>>
> > 3.85.152.15:443 <http://3.85.152.15:443> <http://3.85.152.15:443
> <http://3.85.152.15:443>>         ESTABLISHED
> > tcp        0      0 127.0.0.1:60188 <http://127.0.0.1:60188>
> <http://127.0.0.1:60188 <http://127.0.0.1:60188>>
> > 127.0.0.1:59996 <http://127.0.0.1:59996> <http://127.0.0.1:59996
> <http://127.0.0.1:59996>>         TIME_WAIT
> > tcp        0      0 127.0.0.1:45794 <http://127.0.0.1:45794>
> <http://127.0.0.1:45794 <http://127.0.0.1:45794>>
> > 127.0.0.1:5 <http://127.0.0.1:5> <http://127.0.0.1:5
> <http://127.0.0.1:5>>         ESTABLISHED
> > tcp        0      0 127.0.0.1:60192 <http://127.0.0.1:60192>
> <http://127.0.0.1:60192 <http://127.0.0.1:60192>>
> > 127.0.0.1:59996 <http://127.0.0.1:59996> <http://127.0.0.1:59996
> 

[sumo-user] SUMO 2020 papers and videos available

2020-12-08 Thread Michael Behrisch
Dear friends and users,
finally we made most of the papers and videos from the conference
available on the conference page:
https://www.eclipse.org/sumo/conference/
You can find the videos also in a playlist:
https://www.youtube.com/playlist?list=PLy7t4z5SYNaSbneWArP9heFSFI2ARNZrM

Be sure to check out Jakob's great tutorial:
https://www.youtube.com/watch?v=aiOQbaB-pWo=PLy7t4z5SYNaSbneWArP9heFSFI2ARNZrM=1
and the winner of the best presentation award Georg Merz on AI disposition:
https://www.youtube.com/watch?v=h9hxio9_aeo

Thanks for joining us in this great experience and be sure to come back
(or visit for the first time) next year, probably from 13th to 15th of
September 2021.

Best regards,
Michael (for the SUMO team)
___
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] Version UNKNOWN

2020-12-08 Thread Michael Behrisch
Hi Jose,
no it is not, but usually it should be set automatically. Please check
whether tools/build/version.py can be executed and look into the build
log for something like

Generating version.h
generating /home/delphi/gcc/sumo/build/gcc4_64/src/version.h from
revision in /home/delphi/gcc/sumo/.git/index

Are you using a download or a git clone?

Best regards,
Michael

Am 08.12.20 um 20:46 schrieb Jose Monreal Bailey:
> Hey everyone,
> 
> Is version UNKNOWN a problem when running sumo? Is there an automatic
> way to set the version when compiling from source code?
> 
> Best regards,
> José
> 
> ___
> 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] Sumo 1.8.0 python package vs direct install

2020-12-03 Thread Michael Behrisch
Hi,
it depends a little on the system you are on and which way of "direct"
installation you choose. For Linux the functionality and licensing
prerequisites of the different packages (rpm/deb) differ slightly
depending of the available packages, see here:
https://sumo.dlr.de/docs/Downloads.php#note_on_licensing
The python package contains the plain SUMO (without extras) but it comes
with its own libraries, so you will not benefit from updates of
libraries on your system but also do not have the risk of breaking
things by updating other libraries. Furthermore the python package is
easier to be installed as a normal user and by using virtual
environments it is easy to have several parallel versions of sumo
installed. On the other hand it is not as well integrated into the
system, e.g. the binaries are in a different location than usual, which
makes it less suited for multi-user installations. The libraries and
sumo can also not benefit from optimizations the compiling process
applies during packaging.

So in short: If you have admin rights, you don't need multiple parallel
SUMO versions, and there is a package for your system use that one.

For Windows the contents of the SUMO installer and the python package
are identical, it is just the system integration that differs. The
python package does not set SUMO_HOME or adapt the PATH (although this
may be taken care of by pip or your python installation) and you don't
can double click sumocfg files to start. Concerning user installation
and virtual environments the Linux remarks apply here as well.

Best regards,
Michael

Am 02.12.20 um 18:28 schrieb Marcelo Andrade Rodrigues D Almeida:
> Hi everyone
> 
> What is the exact difference between installing sumo directly in the
> system and/or using sumo through eclipse-sumo python package? What are
> the implications?
> 
> Thank you
> 
> 
> Sincerely,
> 
> Marcelo d'Almeida
> 
> ___
> 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] SUMO 1.8.0 released

2020-12-03 Thread Michael Behrisch
Hi Karl,
Lisum needs Java11 now and we do not want to use different Java versions
for our components. But if you recompile yourself this should not be a
problem and it maybe even possible to use it with Java8 as is.

Concerning the interface: We did not do all the type conversions we did
for Python for Java yet because we do not have a project or active user
which/who uses them and not even a good test suite. Patches are welcome :-)

Best regards,
Michael

Am 03.12.20 um 20:19 schrieb Schrab, Karl:
> Hi Jakob,
> 
>  
> 
> Thanks for this one! :)
> 
>  
> 
> I just noticed that the libsumojni.jar has been compiled with Java 11,
> whereas the previous versions have been compiled with Java 8. Is there a
> reason for this? We try to keep our target level as low as possible and
> therefore require Java 8 libraries or lower during compile time.
> 
>  
> 
> Furthermore, I tried to use Vehicle.getLeader(String) with the
> libsumojni, and the only thing that is returned is a
> SWIGTYPE_p_std__pairT_std__string_double_t. Is there any documentation
> which explains how to deal with those kind of types? Or is the SWIG
> wrapper for this method not fully implemented?
> 
>  
> 
> Kind regards,
> 
> Karl
> 
>  
> 
>  
> 
>  
> 
> *Von:* sumo-user-boun...@eclipse.org  *Im
> Auftrag von *Jakob Erdmann
> *Gesendet:* Mittwoch, 2. Dezember 2020 09:21
> *An:* Sumo project User discussions ; sumo
> developer discussions ; sumo-annou...@eclipse.org
> *Betreff:* [sumo-user] SUMO 1.8.0 released
> 
>  
> 
> Dear friends and users,
> we are happy to announce the release of SUMO version 1.8.0.
> The download links are at https://sumo.dlr.de/docs/Downloads.html
> 
> 
> This release brings you a load of bug fixes but also some new simulation
> outputs, meso customization and railway tooling.
> There are many more 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 
> 
> === Bugfixes ===
>   - Fixed several issues related to conflict checking on junctions
>   - Option --ignore-junction-blocker is now working again (regression in
> 1.0.0)
>   - Fixed unsave insertion speed for IDM which was causing emergency braking
>   - Fixed issues with creation and usage of rescue lanes by emergency
> vehicles
>   - Battery model now works correctly with subeconds and handles
> additional power intake better.
>   - Fixed several crashes
>   - Fixed many inaccuracies when restoring saved simulation state
>   - Railway simulation safety fixes
>   - Taxi simulation fixes regarding dispatch and intermodal routing
>   - Several meso fixes including an invalid reduction in flow at traffic
> lights (regression in 1.7.0)
>   - Fixed several netconvert bugs that were causing unsafe junctions.
>   - Fixed netedit UI issues and some minor functionality bugs
>   - Fixed invalid intermodal plans generated by sumo and duarouter
>   - Fixed crash when using traci.vehicle.moveToXY in an intermodal
> network (regression in 1.7.0)
>   - Fixed routeSampler optimization when loading routes without counts
> 
> === Enhancements ===
>   - Meso Model parameters can now be customized per edge type
>   - Rail signals now support constraints on train ordering to enforce a
> transport schedule
>   - EdgeData output now includes attribute timeLoss.
>   - FCD-output can now optionally record gap,speed and id of the leader
> vehicle
>   - Stop for vehicles and persons can now be specified using attribute
> 'edge' instead of 'lane'
>   - Taxi device can now be used to simulate on-demand container transport.
>   - Netedit supports edge types when creating edges
>   - Rail signals now reveal the reason for switching to red via gui dialogs
>   - New netconvert option to help with merging networks
>   - traci.simulation.findIntermodalRoute supports taxi
>   - randomTrips.py can now avoid arrival and departure in the middle of
> a motorway
>   - Added railway simulation tools to compute schedule constraints and
> to validate schedule consistency
>   - macOS launchers added for sumo-gui, netedit and the osmWebWizard. This
>     allows to set sumo-gui as the default application to open .sumocfg files
>     and to open a simulation by double clicking
> 
> Have fun with the new release,
> 
> Melanie, Johannes, Matthias, Michael, Yun-Pang, Angelo, Laura, Pablo,
> Jakob, Robert and Giuliana
> 
>  
> 
>  
> 
> 
> ___
> 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] Address already in use: Race condition between isolated executions

2020-11-27 Thread Michael Behrisch
      0 ::1:631                 :::*                    LISTEN
tcp6       0      0 127.0.0.1:40919 <http://127.0.0.1:40919> 
127.0.0.1:34118 <http://127.0.0.1:34118>         FIN_WAIT2
tcp6       0      0 127.0.0.1:34165 <http://127.0.0.1:34165> 
127.0.0.1:56510 <http://127.0.0.1:56510>         ESTABLISHED



Is this the intended behavior?


Thank you once again


Sincerely,

Marcelo d'Almeida

On Tue, Nov 3, 2020 at 6:10 PM Michael Behrisch <mailto:o...@behrisch.de>> wrote:


Hi,
you are right, this behavior is not useful. I opened a ticket here:
https://github.com/eclipse/sumo/issues/7750
<https://github.com/eclipse/sumo/issues/7750>. It already has a
preliminary fix but this needs a little more testing. If you like, you
can try the nightly build (showing up tomorrow) or build yourself and
report your findings.

Best regards,
Michael

Am 03.11.20 um 18:08 schrieb Marcelo Andrade Rodrigues D Almeida:
 > Hi everyone
 >
 > Trying to open two simulations with the same port hangs the entire
 > execution, instead of raising an exception
 >
 > Error
 > "Error: tcpip::Socket::accept() Unable to create listening socket:
 > Address already in use
 > Quitting (on error)."
 >
 >
 > I'm currently running several experiments, simultaneously, in
isolated
 > docker containers. And inside every experiment, running several
parallel
 > simulations
 >
 > The problem is that my experiments can step (and eventually does)
into
 > address conflict problems (race condition) and the hanging
prevents any
 > chance of retrying it with a new port, suspending the entire
experiment
 > forever.
 >
 > The use of synchronization locks prevents address conflicts
inside one
 > experiment, so I'm basically limited to run one experiment at a time,
 > which is very time consuming.
 >
 >
 > As a workaround, I'm going to specify port ranges for each simulation
 > and check it for availability
 >
 > Let me know if there is a better solution as workaround
 >
 > And thank you in advance
 >
 >
 > P.S. I've included a trivial example to show the hanging
behavior, but
 > there is nothing special about it.
 >
 >
 > Sincerely,
 >
 > Marcelo d'Almeida
 >
 > ___
 > sumo-user mailing list
 > sumo-user@eclipse.org <mailto:sumo-user@eclipse.org>
 > To unsubscribe from this list, visit
https://www.eclipse.org/mailman/listinfo/sumo-user
<https://www.eclipse.org/mailman/listinfo/sumo-user>
 >


___
sumo-user mailing list
sumo-user@eclipse.org <mailto:sumo-user@eclipse.org>
To unsubscribe from this list, visit
https://www.eclipse.org/mailman/listinfo/sumo-user
<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] Creating a highway exit/entry scenario

2020-11-08 Thread Michael Behrisch
Hi Branka,
the generated plain file contains only one edge which has three lanes so
everything is fine.
Your definition of the third node is fine, you just need to split your
edge and let one part run from gneJ1 to gneJ3 and one from gneJ3 to
gneJ2. (You can achieve this in netedit as well by doing a right click
on the edge and select "split here".) Then add another node J4 and an
edge from gneJ3 to gneJ4.

Best regards,
Michael

Am 25.10.20 um 23:15 schrieb Branka Mirchevska:
> Hello Michael,
> 
> thanks a lot for your reply. I did what you suggested, but unfortunately
> when the template.edg.xml file is being created by running:
> 
> netconvert -s straight.net.xml --plain template
> 
> it somehow contains only one edge(lane) even though in straight.net.xml I
> have three. Do you know why?
> 
> Also in order to add an entry/exit lane, I thought I need to add a new node
> like this (the third one is the new one, since I want an exit/entry lane to
> start in the middle of the highway):
> 
> 
> 
> 
> 
> but I don't know how to make it an exit/entry lane and how to connect it to
> the outer existing lanes.
> 
> Attached I am sending the original straight_net.xml file, and the ones I
> generated with the netconvert plain.
>  
> Can you please help me add a smooth entry (or) exit lane in the middle of
> the 3 lane highway?
> They should be exactly the same as the existing ones, nothing fancy.
> 
> P.S. I am trying to prepare a video for a conference for which the deadline
> is next week. Every help is very much appreciated!!
> 
> Thank you!
> 
> Best,
> Branka
> 
> template.xml
>   
> template.xml
>   
> template.xml
>   
> template.xml
>   
> straight.xml
>   
> 
> 
> 
> --
> Sent from: http://sumo-user-mailing-list.90755.n8.nabble.com/
> ___
> 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] Error compiling sumo master

2020-11-08 Thread Michael Behrisch
Hi Jose,
the easiest way is probably to edit the CMakeCache.txt and adapt the
entries for GL2PS_INCLUDE_DIR and GL2PS_LIBRARY.

Best regards,
Michael

Am 02.11.20 um 11:20 schrieb Jose Monreal Bailey:
> Hi Michael,
> 
> Do you know what is the CMAKE flag to set the gl2ps to a local installation?
> 
> Best regards,
> Jose
> 
> On Sat, 31 Oct 2020 at 20:46, Michael Behrisch  <mailto:o...@behrisch.de>> wrote:
> 
> Hi,
> I think your version of gl2ps may be too old. The function it complains
> about has been introduced in 1.3.8 (7 years ago).
> If you don't need vector graphic screenshots, then you can just disable
> it (for instance by uninstalling the gl2ps-devel package and running
> cmake again).
> 
> Best regards,
> Michael
> 
> Am 31.10.20 um 21:18 schrieb Jose Monreal Bailey:
> > Hello everyone,
> >
> > I am having problems compiling the latest version of sumo. I also
> moved
> > to 1.5 and I get the same error message. Could it be that I am missing
> > some library?
> >
> > sumo/src/utils/gui/div/GLHelper.cpp:513:9: error: 'gl2psTextOptColor'
> > was not declared in this scope; did you mean 'gl2psTextOpt'?
> >   513 |         gl2psTextOptColor(text.c_str(), "Roboto", 10,
> align == 0
> > ? GL2PS_TEXT_C : align, (GLfloat) - angle, color);
> >       |         ^
> >       |         gl2psTextOpt
> > make[2]: ***
> > [src/utils/gui/div/CMakeFiles/utils_gui_div.dir/GLHelper.cpp.o]
> Error 1
> > make[1]: *** [src/utils/gui/div/CMakeFiles/utils_gui_div.dir/all]
> Error 2
> >
> >
> > Best regards,
> > Jose
> >
> > ___
> > sumo-user mailing list
> > sumo-user@eclipse.org <mailto:sumo-user@eclipse.org>
> > To unsubscribe from this list, visit
> https://www.eclipse.org/mailman/listinfo/sumo-user
> <https://www.eclipse.org/mailman/listinfo/sumo-user>
> >
> 
> 
> ___
> sumo-user mailing list
> sumo-user@eclipse.org <mailto:sumo-user@eclipse.org>
> To unsubscribe from this list, visit
> https://www.eclipse.org/mailman/listinfo/sumo-user
> <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] Why does vehicle start to use fuel when it is still standing on the lane?

2020-11-08 Thread Michael Behrisch
No, currently the model assumes zero emissions for coasting (negative
acceleration) but not for standing. But this is of course a model
assumption which is questionable for modern vehicles which switch off
the engine at every junction. So it basically depends on your
assumptions about the vehicle (fleet) you want to model.

Best regards,
Michael

Am 05.11.20 um 20:27 schrieb nohtyp:
> Hi,
> Will it be the same if i just set fuel and all other emissions to 0.0 if the
> vehicle's speed is 0.00 in this timestep in full output generated by sumo?
> 
> Thanks
> 
> 
> 
> --
> Sent from: http://sumo-user-mailing-list.90755.n8.nabble.com/
> ___
> 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] Address already in use: Race condition between isolated executions

2020-11-03 Thread Michael Behrisch
Hi,
you are right, this behavior is not useful. I opened a ticket here:
https://github.com/eclipse/sumo/issues/7750. It already has a
preliminary fix but this needs a little more testing. If you like, you
can try the nightly build (showing up tomorrow) or build yourself and
report your findings.

Best regards,
Michael

Am 03.11.20 um 18:08 schrieb Marcelo Andrade Rodrigues D Almeida:
> Hi everyone
> 
> Trying to open two simulations with the same port hangs the entire
> execution, instead of raising an exception
> 
> Error
> "Error: tcpip::Socket::accept() Unable to create listening socket:
> Address already in use
> Quitting (on error)."
> 
> 
> I'm currently running several experiments, simultaneously, in isolated
> docker containers. And inside every experiment, running several parallel
> simulations
> 
> The problem is that my experiments can step (and eventually does) into
> address conflict problems (race condition) and the hanging prevents any
> chance of retrying it with a new port, suspending the entire experiment
> forever.
> 
> The use of synchronization locks prevents address conflicts inside one
> experiment, so I'm basically limited to run one experiment at a time,
> which is very time consuming.
> 
> 
> As a workaround, I'm going to specify port ranges for each simulation
> and check it for availability
> 
> Let me know if there is a better solution as workaround
> 
> And thank you in advance
> 
> 
> P.S. I've included a trivial example to show the hanging behavior, but
> there is nothing special about it.
> 
> 
> Sincerely,
> 
> Marcelo d'Almeida
> 
> ___
> sumo-user mailing list
> sumo-user@eclipse.org
> To unsubscribe from this list, visit 
> https://www.eclipse.org/mailman/listinfo/sumo-user
> 




signature.asc
Description: OpenPGP digital signature
___
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] Why does vehicle start to use fuel when it is still standing on the lane?

2020-11-03 Thread Michael Behrisch
Hi,
the easiest workaround is probably to check the speed in every time step
and use setPreviousSpeed to adapt it to 0 once it gets smaller than 0.001.

Best regards,
Michael

Am 02.11.20 um 23:02 schrieb nohtyp:
> Thanks for the reply.
> Is there anyway I can workaround it with traci?
> 
> Best regards
> 
> 
> 
> --
> Sent from: http://sumo-user-mailing-list.90755.n8.nabble.com/
> ___
> sumo-user mailing list
> sumo-user@eclipse.org
> To unsubscribe from this list, visit 
> https://www.eclipse.org/mailman/listinfo/sumo-user
> 




signature.asc
Description: OpenPGP digital signature
___
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] [EXTERNAL] Re: Edge-based Traffic Measures (meandata) fail to detect left vehicle

2020-11-02 Thread Michael Behrisch
Hi,
there are some problems with the scenario but I think the most obviuos
is that there are very short edges around the junctions which have a
length which is larger than the visible length. I did not verify this in
detail yet but this could lead to vehicles being visually on the edge
when they are in fact not.

Best regards,
Michael

Am 27.10.20 um 06:17 schrieb Xun Liu:
> Hello Michael,
> 
> It seems like is not this problem. The error interval is from 240-270, I have 
> tried different time interval, such as from 239-273, but one car still can't 
> be detected. Therefore, the meandata exported data shows there is still one 
> car in the edge. But the SUMO-Gui shows all cars flow out. 
> 
> In the attachment is the network, route, additional and configuration 
> documents. Could you please check it? The problem edge is 104524034#0, the 
> error occurred at the 9th interval from 240-270s. Thanks!
> 
> Best,
> Xun
> -邮件原件-
> 发件人: sumo-user-boun...@eclipse.org 代表 Michael Behrisch
> 发送时间: 2020年10月24日 16:39
> 收件人: sumo-user@eclipse.org
> 主题: [EXTERNAL] Re: [sumo-user] Edge-based Traffic Measures (meandata) fail to 
> detect left vehicle
> 
> Hi Xun,
> is this an off by one error (i.e. the vehicle is detected in the next 
> interval)? Then please note that the meandata end time is excluded from the 
> interval. If not, please try to send your scenario for further inspection.
> 
> Best regards,
> Michael
> 
> Am 23.10.20 um 20:37 schrieb Xun Liu:
>> Hi everyone,
>>
>>  
>>
>> I am testing to use the Edge-based Traffic Measures 
>> <https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fsum
>> o.dlr.de%2Fdocs%2FSimulation%2FOutput%2FLane-_or_Edge-based_Traffic_Me
>> asures.htmldata=04%7C01%7Cxliu8%40villanova.edu%7C9c6da049ace7419
>> 9de9608d8785cde3b%7C765a8de5cf9444f09cafae5bf8cfa366%7C0%7C1%7C6373916
>> 87562379742%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMz
>> IiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000sdata=twuA7zhjiuY6R0nLaYAX
>> V5WoZeGBqoRjv7n4%2FR4Qqhk%3Dreserved=0>
>> (meandata) to export the number of vehicle that left the edges in the 
>> network during the designed interval. And I found that in some 
>> interval, this function can’t detect all the vehicles that left the 
>> edge, for example from the SUMO-GUI simulation, there are 2 vehicles 
>> left the edge but the output data shows only one. Has someone also 
>> occurred this problem and is there some suggestions to solve this problem?
>>
>>  
>>
>> Best,
>>
>> Xun
>>
>>
>> ___
>> sumo-user mailing list
>> sumo-user@eclipse.org
>> To unsubscribe from this list, visit 
>> https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.
>> eclipse.org%2Fmailman%2Flistinfo%2Fsumo-userdata=04%7C01%7Cxliu8%40villanova.edu%7C9c6da049ace74199de9608d8785cde3b%7C765a8de5cf9444f09cafae5bf8cfa366%7C0%7C1%7C637391687562389694%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000sdata=Xu81W2JlA3UuZSexBQAGZ5sZ6qGB9Aqu3lVsg5OoPpc%3Dreserved=0
>>
> 
> 
> 
> ___
> sumo-user mailing list
> sumo-user@eclipse.org
> To unsubscribe from this list, visit 
> https://www.eclipse.org/mailman/listinfo/sumo-user
> 




signature.asc
Description: OpenPGP digital signature
___
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] How do I cluster important traffic regions

2020-11-01 Thread Michael Behrisch
Hi,
no, it's not. This sounds more like a task for a GIS tool. Have a look
at https://www.qgis.org/de/site/ or if you are more into web based
solutions: https://leafletjs.com/ or https://kepler.gl/

Best regards,
Michael

Am 01.11.20 um 15:17 schrieb Moyukh Laha:
> Hello everyone,
> 
> I want to identify the most important regions of a city in terms of
> total traffic flow. The higher the traffic flow, the more the
> importance. And then cluster the nearby important regions together. Not
> sure about cluster size, need to figure it out.
> 
> Is it possible to do in SUMO? Note it's not cluster of the vehicles but
> of the nearby important regions.
> 
> Thanks and regards
> Moyukh
> 
> ___
> sumo-user mailing list
> sumo-user@eclipse.org
> To unsubscribe from this list, visit 
> https://www.eclipse.org/mailman/listinfo/sumo-user
> 




signature.asc
Description: OpenPGP digital signature
___
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] Error compiling sumo master

2020-10-31 Thread Michael Behrisch
Hi,
I think your version of gl2ps may be too old. The function it complains
about has been introduced in 1.3.8 (7 years ago).
If you don't need vector graphic screenshots, then you can just disable
it (for instance by uninstalling the gl2ps-devel package and running
cmake again).

Best regards,
Michael

Am 31.10.20 um 21:18 schrieb Jose Monreal Bailey:
> Hello everyone,
> 
> I am having problems compiling the latest version of sumo. I also moved
> to 1.5 and I get the same error message. Could it be that I am missing
> some library?
> 
> sumo/src/utils/gui/div/GLHelper.cpp:513:9: error: 'gl2psTextOptColor'
> was not declared in this scope; did you mean 'gl2psTextOpt'?
>   513 |         gl2psTextOptColor(text.c_str(), "Roboto", 10, align == 0
> ? GL2PS_TEXT_C : align, (GLfloat) - angle, color);
>       |         ^
>       |         gl2psTextOpt
> make[2]: ***
> [src/utils/gui/div/CMakeFiles/utils_gui_div.dir/GLHelper.cpp.o] Error 1
> make[1]: *** [src/utils/gui/div/CMakeFiles/utils_gui_div.dir/all] Error 2
> 
> 
> Best regards,
> Jose
> 
> ___
> sumo-user mailing list
> sumo-user@eclipse.org
> To unsubscribe from this list, visit 
> https://www.eclipse.org/mailman/listinfo/sumo-user
> 




signature.asc
Description: OpenPGP digital signature
___
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] Why does vehicle start to use fuel when it is still standing on the lane?

2020-10-31 Thread Michael Behrisch
Hi Piotr,
thanks for the scenario. The behavior has two different reasons, which
are tracked in the tickets https://github.com/eclipse/sumo/issues/7733
and https://github.com/eclipse/sumo/issues/7734
The main thing is that the internal acceleration value is still less
than 0 even if the printed velocity is already 0 (due to rounding) for
the first ten seconds of the stop. This makes the emission model assume
the vehicle is coasting.

Best regards and thanks for reporting,
Michael

Am 21.10.20 um 22:39 schrieb nohtyp:
> I created simulation with tls intersection.
> scenario.zip
>   
> In scenario.zip you can find sumo config files + plots + output generated by
> sumo-gui
> (simple.out.xml)
> 
> See tls_vehicle_1_motion.png and tls_vehicle_1_moment_fuel.png. Vehicle 1
> stops moving at 20 s and starts again at 45s.
> But this vehicle starts to use fuel at 30s. If it uses fuel when idling, why
> it doesnt use fuel from 20s to 30s? Could you explain this behaviour?
> 
> Best regards,
> Piotr 
> 
> 
> 
> --
> Sent from: http://sumo-user-mailing-list.90755.n8.nabble.com/
> ___
> sumo-user mailing list
> sumo-user@eclipse.org
> To unsubscribe from this list, visit 
> https://www.eclipse.org/mailman/listinfo/sumo-user
> 




signature.asc
Description: OpenPGP digital signature
___
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] SUMO with colab

2020-10-31 Thread Michael Behrisch
Hi,
you would need to install sumo and traci on the colab machine but this
should be possible
https://stackoverflow.com/questions/47276071/how-to-install-extra-packages-in-google-colaboratorys-vm

Best regards,
Michael


Am 31.10.20 um 07:00 schrieb Pallavi Mandhare:
> Hi all,
> Can we run sumo program(python + traci) on colab
> 
> thanks in advanced
> 
> -- 
> Thanks & Regards
> Pallavi Mandhare Burande
> 
> ___
> sumo-user mailing list
> sumo-user@eclipse.org
> To unsubscribe from this list, visit 
> https://www.eclipse.org/mailman/listinfo/sumo-user
> 




signature.asc
Description: OpenPGP digital signature
___
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] Edge-based Traffic Measures (meandata) fail to detect left vehicle

2020-10-24 Thread Michael Behrisch
Hi Xun,
is this an off by one error (i.e. the vehicle is detected in the next
interval)? Then please note that the meandata end time is excluded from
the interval. If not, please try to send your scenario for further
inspection.

Best regards,
Michael

Am 23.10.20 um 20:37 schrieb Xun Liu:
> Hi everyone,
> 
>  
> 
> I am testing to use the Edge-based Traffic Measures
> 
> (meandata) to export the number of vehicle that left the edges in the
> network during the designed interval. And I found that in some interval,
> this function can’t detect all the vehicles that left the edge, for
> example from the SUMO-GUI simulation, there are 2 vehicles left the edge
> but the output data shows only one. Has someone also occurred this
> problem and is there some suggestions to solve this problem?
> 
>  
> 
> Best,
> 
> Xun
> 
> 
> ___
> sumo-user mailing list
> sumo-user@eclipse.org
> To unsubscribe from this list, visit 
> https://www.eclipse.org/mailman/listinfo/sumo-user
> 




signature.asc
Description: OpenPGP digital signature
___
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] Creating a highway exit/entry scenario

2020-10-24 Thread Michael Behrisch
Hi Branka,
please do not modify the net directly. If you want to take your net as a
template, generate plain XML files from it by calling netconvert -s
straight.xml --plain template. Then modify the resulting plain.edg.xml
and plain.nod.xml and call netconvert again, as described here:
https://sumo.dlr.de/docs/Networks/PlainXML.html

Best regards,
Michael

Am 23.10.20 um 13:10 schrieb Branka Mirchevska:
> Hello,
> 
> I have a long straight highway scenario. I would like to easily modify it to
> include an entry lane, as well as another one that includes an exit lane.
> 
> I would like to do that by modifying the .xml file (attached) instead of
> using Netedit. Can I do that and how?
> 
> I have also included figures of how the scenario looks like now and what I
> want to achieve.
> 
> Thank you!
> 
> Best,
> Branka
> 
> straight.xml
>   
> 
>  
> 
>  
> 
>  
> 
> 
> 
> --
> Sent from: http://sumo-user-mailing-list.90755.n8.nabble.com/
> ___
> sumo-user mailing list
> sumo-user@eclipse.org
> To unsubscribe from this list, visit 
> https://www.eclipse.org/mailman/listinfo/sumo-user
> 




signature.asc
Description: OpenPGP digital signature
___
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] Generate traffic measure for a certain edge

2020-10-24 Thread Michael Behrisch
Hi Yushen,
please have a look at the detectors here:
https://sumo.dlr.de/docs/Simulation/Output.html#simulated_detectors

Best regards,
Michael

Am 23.10.20 um 10:37 schrieb #LONG YUSHEN#:
> Hi,
> 
>  
> 
> I understand that we can obtain traffic measure of all edges by adding
>  in the additional-file. My question is:
> 
>  
> 
> Is it possible to let SUMO generate traffic measure for a certain edge
> instead of all edges?
> 
>  
> 
> Thanks for your attention.
> 
>  
> 
> Best regards,
> 
> Yushen
> 
> **Disclaimer** The sender of this email does not represent Nanyang
> Technological University and this email does not express the views or
> opinions of the University.
> 
> ___
> sumo-user mailing list
> sumo-user@eclipse.org
> To unsubscribe from this list, visit 
> https://www.eclipse.org/mailman/listinfo/sumo-user
> 




signature.asc
Description: OpenPGP digital signature
___
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] Different probability flows between simulations

2020-10-21 Thread Michael Behrisch
Hi,
I just tested the most recent build with --random and it works as expected.

Best regards,
Michael

Am 21.10.20 um 20:32 schrieb Tiago Silva:
> Dear Andras and Lokesh,
> 
> Thanks for your reply! Unfortunately, even with seed and random my
> simulation is generating the same flow in different simulation runs. I
> tested this in v1_7_0 tag and in master branch with all current
> changes. Is this working for you? If so, it's probably a problem in my
> build...
> 
> thanks in advance!
> 
> Em qua., 21 de out. de 2020 às 13:56, Lokesh Das  > escreveu:
> 
> Hi Tiago,
> 
> From the heading, it seems that you want to change the vehicle
> injection probability in every simulation run. If it is, you can do
> it in two ways: i) manually- every time change probability value in
> route file or ii) dynamically- change it using TraCI API. However,
> if you want with the same probability every simulation should have
> given you a different flow, just change the default seed value
> (23423; see https://sumo.dlr.de/docs/Simulation/Randomness.html).
> You can do it using  in *.sumocfg file. It
> simply uses the system current time as a seed value. 
> 
> Thanks,
> Lokesh
> 
> On Wed, Oct 21, 2020 at 8:15 AM Tiago Silva
> mailto:tiago.silva1...@gmail.com>> wrote:
> 
> hello, 
> 
> I'm generating a flow of vehicles with probability='0.3' as seen
> in the code below:
> 
> /  probability='0.3' type='vehicleType_1'>
>           
> /
> 
> It works correctly and generates the random flows I need during
> the simulation. However, I noticed that if I execute the
> simulation again it will generate the same random flow as the
> previous execution. Can you tell me if this is the expected
> behavior of random flow? I need to generate different flows in
> each simulation execution. Is there any way to do this?
> 
> Thanks in advance!
> 
> -- 
> Att.
> Tiago Alves Silva
> 
> ___
> 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
> 
> 
> 
> -- 
> Att.
> Tiago Alves Silva
> 
> 
> ___
> sumo-user mailing list
> sumo-user@eclipse.org
> To unsubscribe from this list, visit 
> https://www.eclipse.org/mailman/listinfo/sumo-user
> 




signature.asc
Description: OpenPGP digital signature
___
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] geo-position of stops

2020-10-21 Thread Michael Behrisch
Hi Max,
in which way are the x,y coordinates wrong? Can you send your input files?
When converting from x,y to lon lat you need to leave out the last
parameter (True) which is only needed when converting raw UTM coordinates.

Best regards,
Michael


Am 21.10.20 um 12:09 schrieb Maximilian Socher:
> Hi Giuliana,
> 
> thanks for your reply. I am currently working on a script based on your
> input, however the coordinates I'm getting are way off.
> 
> I'm extracting the laneID and lanePos from my ptstops.add.xml. These are
> correct. The x and y-coordinates I recieve from
> /sumolib.geomhelper.positionAtShapeOffset(net.getLane(laneID).getShape(),
> lanePos)/ however are way off. 
> So are the lon and lat (obviously /net.convertXY2LonLat(x, y, True)/ already
> calculates on wrong x and y, but even with hardcoded correct coordinates the
> lon, lat I recieve are just off the coast of Ghana whereas my network is a
> city in northern Germany).
> 
> Any idea where I might have went wrong?
> 
> Regards,
> Max
> 
> 
> 
> --
> Sent from: http://sumo-user-mailing-list.90755.n8.nabble.com/
> ___
> sumo-user mailing list
> sumo-user@eclipse.org
> To unsubscribe from this list, visit 
> https://www.eclipse.org/mailman/listinfo/sumo-user
> 




signature.asc
Description: OpenPGP digital signature
___
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] Adding a new vehicle

2020-10-21 Thread Michael Behrisch
Hi,
it may be that the vehicle is not allowed to drive on the edge. Please
check the vclass of the vehicle type and the permissions. If the problem
persists, please send the scenario.

Best regards,
Michael

Am 19.10.20 um 08:40 schrieb 謝昀宸:
> Hello,
> I want to add vehicles randomly in the simulation. 
> I try traci.route.add and then traci.vehicle.add
> But when I run the simulation, an error message appears as follows:
> traci.exceptions.TraCIException: Invalid route 'i_r1' for vehicle 'i_v1'
> 
> I have confirmed that the route is error-free because even if there is
> only one edge left on the route, there is still this problem
> 
> What can I solve?
> 
> Many thanks,
> Yu Wang
> 
> ___
> sumo-user mailing list
> sumo-user@eclipse.org
> To unsubscribe from this list, visit 
> https://www.eclipse.org/mailman/listinfo/sumo-user
> 




signature.asc
Description: OpenPGP digital signature
___
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] Angle value in FCD output

2020-10-21 Thread Michael Behrisch
Hi,
the absoulte coordinate axes are the reference.

Best regards,
Michael

Am 19.10.20 um 08:24 schrieb Ishan Dindorkar:
> Dear SUMO Users,
> 
> I have a question regarding angle value which is generated as part of FCD 
> output. As per the description in official document, it is angle of vehicle 
> as per navigational standard in degrees. I would appreciate if you could 
> please help me in understanding what is the reference used for calculating 
> this value. Is it the absolute coordinate axes or the lane in which the 
> vehicle is moving.
> FYI, I have not enabled geo lat-long system as I am working with a synthetic 
> road network and hence the position of vehicle is in absolute Cartesian 
> coordinates.
> 
> Thank you for your support.
> 
> Sincerely,
> Ishan Dindorkar 
> ___
> sumo-user mailing list
> sumo-user@eclipse.org
> To unsubscribe from this list, visit 
> https://www.eclipse.org/mailman/listinfo/sumo-user
> 




signature.asc
Description: OpenPGP digital signature
___
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] Unable to see vehicle (Hello World)

2020-10-21 Thread Michael Behrisch
Hi,
concerning the missing vehicle, please check the log for any error
messages / warnings.
Concerning the netedit version, I would also assume that you have some
hidden second version or that the uninstall did not finish properly.
Does netedit show the right version when you start it from the start
menu or the command line?

Best regards,
Michael

Am 21.10.20 um 14:29 schrieb Shah Sultan:
> No, there is no any other SUMO version installed. A year and a half ago I
> installed SUMO. But then I did not get a chance to work on it. Before
> installing the latest version, I uninstalled the previous one. 
> 
> 
> 
> --
> Sent from: http://sumo-user-mailing-list.90755.n8.nabble.com/
> ___
> sumo-user mailing list
> sumo-user@eclipse.org
> To unsubscribe from this list, visit 
> https://www.eclipse.org/mailman/listinfo/sumo-user
> 




signature.asc
Description: OpenPGP digital signature
___
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] Cannot run state saved from previous version

2020-10-21 Thread Michael Behrisch
Hi Abdullah,
states are not meant for long term saving, so you cannot use a 1.3.1
state with sumo 1.7.0. Depending on the size there is a small chance you
might be able to convert it by hand but it is not something which is
easily done.
Usually new states contain more values which you will not be able to
recreate without rerunning the simulation.

Best regards,
Michael

Am 21.10.20 um 01:26 schrieb . Abdullah:
> Hi everyone,
> 
> I updated SUMO to 1.7.0 and now I get this error:
> 
> Loading configuration ... done.
> Warning: State was written with sumo version 1.3.1 (present: 1.7.0)!
> Traceback (most recent call last):
>   File "traci_demo.py", line 164, in 
>     traci.start([checkBinary('sumo'), "-c", "config.sumocfg",
> "--no-step-log","--load-state", simulation_file])
>   File "C:\Program Files (x86)\Eclipse\Sumo\tools\traci\main.py", line
> 158, in start
>     return init(sumoPort, numRetries, "localhost", label, sumoProcess)
>   File "C:\Program Files (x86)\Eclipse\Sumo\tools\traci\main.py", line
> 138, in init
>     return getVersion()
>   File "C:\Program Files (x86)\Eclipse\Sumo\tools\traci\main.py", line
> 242, in getVersion
>     return _connections[""].getVersion()
>   File "C:\Program Files (x86)\Eclipse\Sumo\tools\traci\connection.py",
> line 345, in getVersion
>     result = self._sendCmd(command, None, None)
>   File "C:\Program Files (x86)\Eclipse\Sumo\tools\traci\connection.py",
> line 178, in _sendCmd
>     return self._sendExact()
>   File "C:\Program Files (x86)\Eclipse\Sumo\tools\traci\connection.py",
> line 88, in _sendExact
>     raise FatalTraCIError("connection closed by SUMO")
> traci.exceptions.FatalTraCIError: connection closed by SUMO
> 
> Is there any way to get around this? Or do I have to resave my states
> again using the newer version of SUMO?
> 
> 
> -- 
> Thank you.
> Abdullah
> 
> ___
> sumo-user mailing list
> sumo-user@eclipse.org
> To unsubscribe from this list, visit 
> https://www.eclipse.org/mailman/listinfo/sumo-user
> 




signature.asc
Description: OpenPGP digital signature
___
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] pedestrian and vehicle simulation together

2020-10-15 Thread Michael Behrisch
Hi,
what happens if you try to run them together? Are there id clashes, then
use the prefix option of randomTrips. Please post the error message.

Best regards,
Michael

Am 15.10.20 um 17:23 schrieb homa:
> Hello everyone.
> I generated two route files one for vehicles and one for pedestrians with
> random trips but when I want to simulate in sumo I can choose only one of
> them, I need them to work together. I need emergency help could someone help
> me, please? I attach an image from all files that I generate. 
>  
> 
> 
> 
> 
> --
> Sent from: http://sumo-user-mailing-list.90755.n8.nabble.com/
> ___
> sumo-user mailing list
> sumo-user@eclipse.org
> To unsubscribe from this list, visit 
> https://www.eclipse.org/mailman/listinfo/sumo-user
> 




signature.asc
Description: OpenPGP digital signature
___
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] Loading simulation state resets flow traffic generation

2020-10-15 Thread Michael Behrisch
Hi,
maybe I misunderstand the problem, but here the traffic generation seems
to be just fine. There are no duplicate vehicle ids which would occur if
the flow started again from the beginning.

Best regards,
Michael

Am 02.10.20 um 22:21 schrieb Marcelo Andrade Rodrigues D Almeida:
> Hi everyone
> 
> At every step, I save the simulation state, load it separately with
> another traci connection, and run 20 steps of the later
> 
> I'm using flow to generate traffic and the problem is that the newly
> created connection repeats the traffic generation from the beginning and
> not from where it was loaded
> 
> Based on what I saw in the documentation
> https://sumo.dlr.de/docs/Simulation/SaveAndLoad.html
> and these two posts
> https://www.eclipse.org/lists/sumo-user/msg01162.html
> https://www.eclipse.org/lists/sumo-user/msg03476.html
> I understand that the flow should start from the same point it was left
> 
> See script attached
> 
> SUMO 1.7.0
> 
> Sincerely,
> 
> Marcelo d'Almeida
> 
> ___
> sumo-user mailing list
> sumo-user@eclipse.org
> To unsubscribe from this list, visit 
> https://www.eclipse.org/mailman/listinfo/sumo-user
> 




signature.asc
Description: OpenPGP digital signature
___
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] node-to-node routing during rerouting

2020-10-15 Thread Michael Behrisch
Then try it.

Am 15.10.20 um 22:55 schrieb Raheleh Zarei:
> No, I don't have this option in my configuration file.
> 
> On Thu, Oct 15, 2020 at 4:52 PM Michael Behrisch  <mailto:o...@behrisch.de>> wrote:
> 
> Hi,
> just guessing, but did you try "--device.rerouting.with-taz"?
> 
> Best regards,
> Michael
> 
> Am 13.10.20 um 17:54 schrieb Raheleh Zarei:
> > Hello,
> >
> > I noticed, in SUMO, when my route file configuration is fromJunction
> > toJunction (node-to-node routing) when rerouting happens, it runs the
> > compute function again but this time it computes the shortest
> > path(fastest path) in edge-to-edge mode. How can I change that to
> > node-to-node?
> >
> > Best,
> > Raheleh
> >
> > --
> > *RAZ*
> >
> > ___
> > sumo-user mailing list
> > sumo-user@eclipse.org <mailto: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 <mailto:sumo-user@eclipse.org>
> To unsubscribe from this list, visit
> https://www.eclipse.org/mailman/listinfo/sumo-user
> 
> 
> 
> -- 
> *RAZ*
> 
> ___
> sumo-user mailing list
> sumo-user@eclipse.org
> To unsubscribe from this list, visit 
> https://www.eclipse.org/mailman/listinfo/sumo-user
> 




signature.asc
Description: OpenPGP digital signature
___
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] result visualization - best way to export a scenario to some more versatile rendering tool like QGis

2020-10-15 Thread Michael Behrisch
Hi Gerald,
the most used tool in this context is probably the trace exporter:
https://sumo.dlr.de/docs/Tools/TraceExporter.html
Maybe that already helps.

Best regards,
Michael

Am 12.10.20 um 13:10 schrieb Richter Gerald:
> Hi all,
> 
> 
> as I am interested in playing with some scenario visualization options
> to explain things a bit better,
> 
> I was wondering if there are some good shortcuts / scripts
> to export the various scenario elements to e.g. QGis
> 
> 
> this would for example allow the on/off switching of several additionals
> layers, labelling, style changes
> and make the whole visual explanation a tad "more digestible"
> 
> 
> -of course there always needs to be a layer with the SUMO logo included
> on the display ;)
> 
> 
> thanks, best
> Gerald
> 
> 
> ___
> sumo-user mailing list
> sumo-user@eclipse.org
> To unsubscribe from this list, visit 
> https://www.eclipse.org/mailman/listinfo/sumo-user
> 




signature.asc
Description: OpenPGP digital signature
___
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] routing

2020-10-15 Thread Michael Behrisch
Hi,
yes, using those two options looks like the way to go.

Best regards,
Michael

Am 13.10.20 um 04:53 schrieb Raheleh Zarei:
> Thanks.
> Jakob, what should I do to implement the scenario below: 
> I want to update the edge weight in the road network in a specific
> interval, as vehicles are running in the network, and if there is a
> quicker path the vehicles change their route to the new route. (I don't
> want location-based rerouter)
> Do I need to use the combination of device.rerouting.period and
> device.rerouting.adaptation-interval? 
> 
> Best,
> Raheleh
> 
> On Sun, Oct 4, 2020 at 3:42 PM Jakob Erdmann  > wrote:
> 
> 1) in your simulation, vehicles that reroute more than once do so
> before insertion.  Pre-insertion rerouting happens multiple times
> for vehicles that cannot depart due to filled roads (default
> frequency of 60s). The way this is currently implemented, cost
> savings are not computed for pre-insertion rerouting (because in the
> case of rerouting a trip the savings are not meaningful)
> 2) Since vehicles may reroute multiple times before departure you
> get different numbers.
> 
> Am So., 4. Okt. 2020 um 17:44 Uhr schrieb Raheleh Zarei
> mailto:raheleh.za...@gmail.com>>:
> 
> Thank you Jakob.
> But my original question remained unanswered. Would you please
> help me with that too?
> 
> Thanks,
> Raheleh
> 
> On Sat, Oct 3, 2020 at 5:48 AM Jakob Erdmann
> mailto:namdre.s...@gmail.com>> wrote:
> 
> device.rerouting does not support conditional rerouting.
> For location-based rerouting you could use a rerouter with
> the timeThreshold parameter. This would trigger only for
> vehicles that have accumulated enough waitingTime:
> https://sumo.dlr.de/docs/Simulation/Rerouter.html
> Or you could trigger rerouting via TraCI based on your own
> jam detection.
> 
> Am Fr., 2. Okt. 2020 um 18:08 Uhr schrieb Lara Codeca
> mailto:lara.cod...@gmail.com>>:
> 
> Hi,
> 
> If the period is equal to the simulation step, it’s
> gonna recompile the best route every time.
> 
> Regards,
> Lara
> 
> On Fri 2 Oct 2020 at 16:58, Raheleh Zarei
>  > wrote:
> 
> Hello,
> 
> I want to use automatic rerouting, not periodic
> rerouting. We can't have automatic rerouting while a
> vehicle running in the network(In traffic jam
> condition)?
> 
> Best,
> Raheleh
> 
> On Fri, Oct 2, 2020 at 9:26 AM
>  > wrote:
> 
> Hi Raheleh,
> 
> __ __
> 
> I think the reason is that you are missing the
> option „--device.rerouting.period”, as it says
> in the Wiki: “Please note that if a vehicle gets
> a routing device only rerouting before insertion
> is active by default. In order to activate
> periodic rerouting en route set
> --device.rerouting.period.” (see
> 
> https://sumo.dlr.de/docs/Demand/Automatic_Routing.html#options).
> 
> __ __
> 
> Regards,
> 
> Giuliana
> 
> __ __
> 
> *From:*sumo-user-boun...@eclipse.org
> 
> [mailto:sumo-user-boun...@eclipse.org
> ] *On
> Behalf Of *Raheleh Zarei
> *Sent:* Dienstag, 29. September 2020 17:10
> *To:* Sumo project User discussions
> *Subject:* [sumo-user] routing
> 
> __ __
> 
> Hello,
> 
> __ __
> 
> I have two questions please.
> 
> - I have a sumo configuration file like this: 
> 
>  sumo.exe --routing-algorithm HL -n
> ./Mtl.net.xml -r ./RoutingSim1.rou.xml
> --junction-taz true
> --device.rerouting.adaptation-interval 100
> --tripinfo-output ./tripinfo.xml
> --vehroute-output ./vehroute.xml 
> --vehroute-output.cost true 
> 

Re: [sumo-user] node-to-node routing during rerouting

2020-10-15 Thread Michael Behrisch
Hi,
just guessing, but did you try "--device.rerouting.with-taz"?

Best regards,
Michael

Am 13.10.20 um 17:54 schrieb Raheleh Zarei:
> Hello,
> 
> I noticed, in SUMO, when my route file configuration is fromJunction
> toJunction (node-to-node routing) when rerouting happens, it runs the
> compute function again but this time it computes the shortest
> path(fastest path) in edge-to-edge mode. How can I change that to
> node-to-node?
> 
> Best,
> Raheleh
> 
> -- 
> *RAZ*
> 
> ___
> sumo-user mailing list
> sumo-user@eclipse.org
> To unsubscribe from this list, visit 
> https://www.eclipse.org/mailman/listinfo/sumo-user
> 




signature.asc
Description: OpenPGP digital signature
___
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] SUNO documentation

2020-10-15 Thread Michael Behrisch
Thanks, fixed.

Best regards,
Michael

Am 13.10.20 um 05:20 schrieb Chris Weinhaupl:
> Ref:
> https://sumo.dlr.de/docs/Demand/Shortest_or_Optimal_Path_Routing.html#trip_definitions
> 
> Shouldn't there be a "Attribute Name" of "type" in the table describing
> "Trip Definitions" ?
> 
> 
> Thanks
> 
> 
> ___
> sumo-user mailing list
> sumo-user@eclipse.org
> To unsubscribe from this list, visit 
> https://www.eclipse.org/mailman/listinfo/sumo-user
> 




signature.asc
Description: OpenPGP digital signature
___
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] rerouting algorithm

2020-10-15 Thread Michael Behrisch
Hi,
no, there are different algorithms used for rerouting. The standard one
is Dijkstra, see here:
https://sumo.dlr.de/docs/Simulation/Routing.html#routing_algorithms and
the links there.

Best regards,
Michael

Am 13.10.20 um 19:08 schrieb Jane Cheung:
> Dear all 
> One question about the rerouting algorithm.
> Could I find the rerouting algorithm in the publication
> *Simulation-Based Traffic Assignment(*https://sumo.dlr.de/pdf
> /GawronDiss.pdf*)*
> 。Rerouting use the static or dynamic assignment in this thesis?
> 
> 
> Best,
> 
> Jane
> 
> ___
> sumo-user mailing list
> sumo-user@eclipse.org
> To unsubscribe from this list, visit 
> https://www.eclipse.org/mailman/listinfo/sumo-user
> 




signature.asc
Description: OpenPGP digital signature
___
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] Parking area functionalities

2020-10-15 Thread Michael Behrisch
Hi,
it is still work in progress. See the docs here:
https://sumo.dlr.de/docs/TraCI/Object_Context_Subscription.html and
here: https://sumo.dlr.de/docs/TraCI/ParkingArea.html for what should be
working

Best regards,
Michael

Am 13.10.20 um 21:17 schrieb Shuyi Yin:
> Hi everyone,
> 
> When I try to study parking areas, SUMO says it has not implemented the
> functions in TraCI, although they are stated in the Pydoc page
> (https://sumo.dlr.de/daily/pydoc/traci._parkingarea.html).
> 
> Error raised:
> 
> traci.exceptions.TraCIException: Command not implemented in sumo
> 
> 
> Code:
> traci.parkingarea.subscribeContext('parking_area_1', 
> tc.CMD_GET_VEHICLE_VARIABLE,
> 100, [tc.VAR_TYPE])
> 
> Sincerely,
> Shuyi
> 
> ___
> sumo-user mailing list
> sumo-user@eclipse.org
> To unsubscribe from this list, visit 
> https://www.eclipse.org/mailman/listinfo/sumo-user
> 




signature.asc
Description: OpenPGP digital signature
___
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] Clarification

2020-10-15 Thread Michael Behrisch
Hi,
https://sumo.dlr.de/docs/Simulation/Output/SSM_Device.html#output states
that the conflict point is the entry point into the conflict area, so
the first point where a critical value has been reached. It may be
interpolated between vehicle positions while ego and foe position are
always positions the corresponding vehicles had at a distinct simulation
step.

Best regards,
Michael

Am 14.10.20 um 09:32 schrieb Ishan Dindorkar:
> Dear Community,
> 
> I would appreciate if someone could please help me understand difference 
> between attributes - egoPosition, foePosition and conflictPoint, recorded in 
> SSM log. To be precise, I would like to understand why conflictPoint value is 
> different than any of egoPosition and foePosition. What is definition of a 
> conflict point?
> 
> Thank you for your help.
> 
> Sincerely,
> Ishan Dindorkar 
> 
> Sent from my iPhone
> ___
> sumo-user mailing list
> sumo-user@eclipse.org
> To unsubscribe from this list, visit 
> https://www.eclipse.org/mailman/listinfo/sumo-user
> 




signature.asc
Description: OpenPGP digital signature
___
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] The route file generated by randomTrips cannot be used

2020-10-15 Thread Michael Behrisch
Hi,
are there any error messages appearing before the crash? Does the crash
also happen when you run without GUI? Can you share aour scenario /
script? Which SUMO version do you use?

Best regards,
Michael

Am 14.10.20 um 11:59 schrieb 謝昀宸:
> Hi,
> 
> I use randomTrip.py to create a random route file for a large map. I
> added the route file to the sumocfg file, and it works after testing.
> 
> But when I use python traci to get some driving data, the simulation
> program opened by python cannot start the simulation. The simulated
> window just stops until it crashes
> 
> How can I avoid this situation?
> 
> Many thanks,
> Chen
> 
> ___
> sumo-user mailing list
> sumo-user@eclipse.org
> To unsubscribe from this list, visit 
> https://www.eclipse.org/mailman/listinfo/sumo-user
> 




signature.asc
Description: OpenPGP digital signature
___
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] [EXTERNAL] Re: Define Input/Output Edges and Assign Random Traffic to Network

2020-10-15 Thread Michael Behrisch
Hi Xun,
I do not fully understand wha you are trying to achieve. The sources and
destinations are given and you want to assign them randomly to each
other? Or do you want random volumes between fixed pairs? The routes
should be shortest paths or the vehicles should turn randomly (according
to given probabilities) in the network but eventually reach a given
destination?

Best regards,
Michael

Am 14.10.20 um 23:51 schrieb Xun Liu:
> Hello Melanie,
> 
>  
> 
> Thanks for your response!
> 
>  
> 
> I have read this page about how to import O/D Matrices. The function
> that I am trying to accomplish is that a random traffic flow is assigned
> from the source edges and the traffic flow probabilities or directions
> inside the network(between source edges and interior edges, interior
> edges on different tier or from interior edges to the sink edges) would
> be determined based on the road network randomly and automatically. And
> at the end it would flow out from the respective sink edge.
> 
>  
> 
> I used the randomTrip.py and implemented an additional file with it. In
> the additional file I set up the TAZ with my source and sink edge
> information. However, the random route it generate still start from
> random edge, but not the assigned source edge. Do you have some advice
> to accomplish this function and could you please help me to solve this
> problem?
> 
>  
> 
> In the attachment is the additional file with TAZ information. Thanks!
> 
>  
> 
> Best,
> 
> Xun
> 
>  
> 
> *发件人:*sumo-user-boun...@eclipse.org *代表 *melanie.we...@dlr.de
> *发送时间:*2020年10月14日1:40
> *收件人:*sumo-user@eclipse.org
> *主题:*[EXTERNAL] Re: [sumo-user] Define Input/Output Edges and Assign
> Random Traffic to Network
> 
>  
> 
> Hello Xun,
> 
>  
> 
> Maybe  https://sumo.dlr.de/docs/Demand/Importing_O/D_Matrices.html
> 
> can help you.
> 
>  
> 
> Kind Regards,
> 
> Melanie
> 
>  
> 
> *Von:*sumo-user-boun...@eclipse.org
>   > *Im Auftrag von *Xun Liu
> *Gesendet:* Mittwoch, 14. Oktober 2020 01:28
> *An:* sumo-user@eclipse.org 
> *Betreff:* [sumo-user] Define Input/Output Edges and Assign Random
> Traffic to Network
> 
>  
> 
> Hello everyone,
> 
>  
> 
> I met a problem about how to define the In-/Output Edges of a network.
> Now I have the ID of the In- and Output edges, could I use Traffic
> Assignment Zone(TAZ) file to define the In- and Output. And how could I
> assign a random traffic flow from the Input Edges into the network?
> 
>  
> 
> Best,
> 
> Xun
> 
> 
> ___
> sumo-user mailing list
> sumo-user@eclipse.org
> To unsubscribe from this list, visit 
> https://www.eclipse.org/mailman/listinfo/sumo-user
> 




signature.asc
Description: OpenPGP digital signature
___
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] How to make car following less safe?

2020-10-15 Thread Michael Behrisch
Hi Jan,
the behavior you see is an artifact of conservative estimates in the
sumo code, see the comments here:
https://github.com/eclipse/sumo/blob/master/src/microsim/cfmodels/MSCFModel.cpp#L855
On the other hand there is https://github.com/eclipse/sumo/issues/4134
which seems to point in the opposite direction.

You could try the DriverState https://sumo.dlr.de/docs/Driver_State.html
to modify driver perception. This sdoes not apply to the accelerations
so it should not be affected by this estimation.

Best regards,
Michael

Am 15.10.20 um 02:15 schrieb grimm:
> Hi there, a question on the car-following parameter apparentDecel: I've
> been trying to change apparentDecel to values lower and higher than
> decel in order to adjust car following towards more risky and safer
> driving, respectively. While setting apparentDecel higher than decel
> (e.g. 1.1 times decel for each vehicle type), I indeed see a decrease in
> small time gaps, indicating safer driving. On the other hand, with lower
> apparentDecel (ranging down to 0.7 times decel), there is no difference
> (see chart below). Other parameters remain unchanged, mostly at their
> default values (except for speed distribution and lengths). I'm using
> the default car following and lange changing models with SUMO 1.6.0. My
> simulation scenario is a motorway section.
> 
> The following image shows the impact of the apparentDecel/decel ratio
> (called sensitivity factor) on the mean individual braking time risk
> (IBTR) in a motorway section, which increases with more frequent too-low
> time gaps.
> It appears that the car following model prevents this kind of unsafe
> driving, using decel of the preceeding vehicle instead of apparentDecel,
> although the documentation on
> https://sumo.dlr.de/docs/Simulation/Safety.html states otherwise. Is
> that possible?
> 
> My goal is not necessarily to cause accidents, but to decrease time gaps
> to a slightly unsafe level. Thus, I wouldn't disable the safety checks
> in car following. The only other way to provoke more risky car following
> would be to decrease tau slightly below action step length. However,
> this quickly leads to large numbers of emergency braking maneuvers.
> 
> Is there any other way to get higher numbers of risky time gaps I
> haven't thought of yet? (Hints on literature sources also appreciated)
> 
> Thank you very much!
> Kind regards
> Jan
> 
> Sent from the Sumo User Mailing List mailing list archive
>  at Nabble.com.
> 
> ___
> sumo-user mailing list
> sumo-user@eclipse.org
> To unsubscribe from this list, visit 
> https://www.eclipse.org/mailman/listinfo/sumo-user
> 




signature.asc
Description: OpenPGP digital signature
___
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] Loading simulation fails when collision has occurred

2020-10-15 Thread Michael Behrisch
Hi,
it is a bug, thanks for reporting. Now tracked here:
https://github.com/eclipse/sumo/issues/7696

Best regards,
Michael

Am 15.10.20 um 19:24 schrieb Marcelo Andrade Rodrigues D Almeida:
> Hi everyone,
> 
> When I save the simulation within collision stop time
> 'collision.stoptime', I cannot load it later
> 
> I receive the following when trying to load
> 
> "
> Error: Invalid start or end position for stop on lane ':gneJ0_17_0' in
> vehicle '-gneE1__gneE2__light.7'.
> Error: Invalid start or end position for stop on lane ':gneJ0_11_0' in
> vehicle '-gneE2__gneE0__light.10'.
> "
> 
> and the save state file problematic lines are the ones with stop tags
>  actualArrival="376.00"/>
>  actualArrival="375.00"/>
> 
> Fow now I will have to remove these lines 'manually' and add remaining
> stop time by hand, so collision configuration is respected
> 
> Is this somewhat related to some 'Know Issues' or something already
> reported?
> 
> Thank you in advance
> 
> Sincerely,
> 
> Marcelo d'Almeida
> 
> ___
> sumo-user mailing list
> sumo-user@eclipse.org
> To unsubscribe from this list, visit 
> https://www.eclipse.org/mailman/listinfo/sumo-user
> 




signature.asc
Description: OpenPGP digital signature
___
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] Different vehicle's distance results for different step-lenght

2020-10-04 Thread Michael Behrisch

Always expect the unexpected ;-)
Seriously, if we knew them, we would fix or at least track them but a 
good overview of known things is maybe: 
https://github.com/eclipse/sumo/issues?q=is%3Aissue+is%3Aopen+ballistic


In general there are places in the code especially in detectors which 
try to interpolate the vehicle position at a fraction of a step from 
speed and step length especially in detectors. Many of them have been 
adapted but not all.


Best regards,
Michael

Am 04.10.20 um 22:37 schrieb nohtyp:

What do you mean? Which kind of bugs can I expect with
--step-method.ballistic option?



--
Sent from: http://sumo-user-mailing-list.90755.n8.nabble.com/
___
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] Different vehicle's distance results for different step-lenght

2020-10-02 Thread Michael Behrisch
Am 01.10.20 um 14:26 schrieb nohtyp:
> So with --step-method.ballistic it will behave as I assumed?

Yes. Be aware however that this options is not as well tested as the
linear update.

> 
> Without this option is there uniform linear motion within step?

Yes

Best regards,
Michael



signature.asc
Description: OpenPGP digital signature
___
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] Different vehicle's distance results for different step-lenght

2020-10-01 Thread Michael Behrisch

Hi,
unfortunately your assumptions on the calculations are wrong. Unless you 
activate --step-method.ballistic sumo will first calculate the new speed

v = v0 + a*dt and then assume this speed for the whole step
s = s0 + v*dt.

Best regards,
Michael

Am 25.09.20 um 20:12 schrieb nohtyp:

Hi,

How does distance is calculated for vehicle. I notice that for the same
configuration except step-lenght, I got different results.
I attached sumo xml files. When vehicle is created i set its speed to
maximum.

sumo version 1.7.0
These are the results for my test:

step-length 0.005
[0] speed:0, distance:0
[1] speed:2.6, distance:1.3065
[2] speed:5.2, distance:5.213
[3] speed:7.8, distance:11.7195
[4] speed:10.4, distance:20.826

step-length 0.05
[0] speed:0, distance:0
[1] speed:2.6, distance:1.365
[2] speed:5.2, distance:5.33
[3] speed:7.8, distance:11.895
[4] speed:10.4, distance:21.06

step-length 0.1
[0] speed:0, distance:0
[1] speed:2.6, distance:1.43
[2] speed:5.2, distance:5.46
[3] speed:7.8, distance:12.09
[4] speed:10.4, distance:21.32

I assume that speed and distance are calculated by V = V0 + at and s = s0 +
V0*t + a*t^2/2 equations.
a = 2.6
v(0) = 0, s(0) = 0 s(t) = at^2/2
v(1) = 2.6 (ok), s(1) = 2.6 / 2 = 1.3 (even for step-length = 0.005 the
result is different
v(2) = 5.2 (ok), s(2) = 2.6 * 4 / 2 = 5.2 (not ok)

Best wishes

rtest.xml

ntest.xml

test.sumocfg




--
Sent from: http://sumo-user-mailing-list.90755.n8.nabble.com/
___
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] SUMO dataset availability of long duration

2020-10-01 Thread Michael Behrisch

Hi,
if you really need different mobility patterns (more shopping and 
leisure activities on weekends and more commutes on weekdays) you are 
probably out of luck. What we usually do is simple scaling by a constant 
factor for weekends and keeping weekdays identically.


Best regards,
Michael

Am 26.09.20 um 06:20 schrieb Moyukh Laha:

Hello everyone,
   I have been looking for a dataset of an urban area vehicular 
traffic of long duration as well as sufficient time resolution.


I know there are pretty good datasets available such as LuST, MoST, 
Cologne, Bologna, etc. But they are of short duration, mostly 24hrs. I 
want a more extended time where daily and weekly traffic pattern 
repetition (seasonality) is observable. My actual target is to make some 
decisions based on this repetitive pattern.


I also know about the PEMS dataset (California Department of 
Transportation) of such longer duration data. But mostly, they are just 
counts of some metrics (e.g., vehicle count at a fixed point), not of 
high resolution—neither SUMO data.


Is there any dataset available where both can be found? I don't need a 
large area dataset, just a small area with visible seasonality will do. 
Can anyone suggest me what to do?


Thanks.

___
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] What is the unit of fuel in Emission Output?

2020-10-01 Thread Michael Behrisch

Hi,

> Vehicle starts to move in 140 second of simulation.
> Vehicle starts to use fuel in 127 second of simulation.

I cannot explain this behavior. Can you share your scenario?

Best regards,
Michael

Am 29.09.20 um 21:57 schrieb nohtyp:

Thanks, I understand now.

Two more question about fuel used:
1.
motion.png

moment_fuel.png

fuel.png

I created simulation with tls intersection. I draw a charts for one vehicle.
On motion.png chart (see attachment) you can see vehicle's speed in
simulation time. On other two charts you can see moment fuel and sum fuel
used by vehicle from the begining of motion. Why does vehicle start to use
fuel when it is still standing on the lane (speed is equal 0). See 127s of x
axis in all charts.
It is unintuitive for me. Could you explain?

2. The length of gneE0_0 lane is 191m. Vehicle used about 4.5 ml of fuel. It
is about 2.4l / 100 km. It seems to be very small fuel usage for cars. What
do you think about this value?



--
Sent from: http://sumo-user-mailing-list.90755.n8.nabble.com/
___
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] Registration for SUMO 2020 is now open (free for everyone)

2020-09-23 Thread Michael Behrisch

Dear friends and users,

the next conference is just around the corner. From the 26th to the 28th 
of October we will have plenty of talks and discussions and everyone is 
invited to join. This is an online only event but we will try to 
socialize nevertheless with the famous SUMO Tutorial followed by an "Ask 
us Anything"-session and even an Online Quiz on day two.


For a preliminary agenda see here: 
https://www.eclipse.org/sumo/conference/#agenda.


If you want to register please do it here 
https://zoom.us/webinar/register/WN_9R7MuVewSs6aDGwI4i4big
The registration is free of charge but it is required to get the 
password for the session "rooms".


For the authors: Your session chair will contact you concerning the 
details for your talk. If you have any questions in advance, you can of 
course contact them as well (you find the name in the agenda).


Best regards and we hope to "see" you there,
Michael (for the conference team)

___
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] SUMO 1.7.0 released

2020-09-17 Thread Michael Behrisch

Dear friends and (Linux) users,
the packages on the ubuntu launchpad and the open build service
are now up to date as well. See 
https://sumo.dlr.de/docs/Downloads.php#linux_binaries for details how to 
get them.


Best regards,
Michael

Am 2020-09-09 08:26, schrieb Jakob Erdmann:

Dear friends and users,
we are happy to announce the release of SUMO version 1.7.0.
The download links are at http://sumo.dlr.de/wiki/Download

This release brings you a load of new traci functions and even new 
domains.

There are many more 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


=== Enhancements ===
- Simulation
  - Added option **--person-summary-output** which causes statistics on
person numbers and their travel modes to be written in every simulation
step.
  - Option **--scale** now also applies to persons.
  - Taxi pickup and drop-off location can now be restricted to public
transport stops
  - Added new taxi dispatch algorithm 'routeExtension'.

- netconvert
  - Added new node attribute 'tlLayout' to configure signal plan layout 
per

node.
  - Added new traffic light layout 'alternateOneWay' to model work 
zones

where each direction uses the interior of a joined traffic light
exclusively.
  - Added option --roundabouts.visibility-distance to set the default
visibility distance when entering a roundabout. The new default is 9 
meters

which leads to smoother flow.

- netedit
  - Elements can now be marked as 'front element' (F11) to facilitate
working with overlapped objects in move mode and traffic light mode.
  - Added junction context-menu option 'convert to roundabout'.
  - Vehicles and Flows with their own (unnamed) route can now be 
created

directly.
  - LaneAreaDetectors with multiple lanes can now be created.

- sumo-gui
  - A color legend for vehicle colors can now be enabled via the 
'Legend'

tab.
  - Vehicles can now be stopped and stops can be aborted via context 
menu.


- TraCI
  - Added new function 'simulation.loadState' for quick-loading a saved
simulation state.
  - Added new function 'vehicle.getStops'. This can be used to retrieve 
the

next or last n stops. The method returns a list of stop objects with
extended attributes.
  - The python client now supports the optional argument 'traceFile' in
function traci.start which records all traci commands to the given file
(also works for libsumo.start). The optional boolean argument
'traceGetters' can be used to switch off tracing of data retrieval
functions.
  - Added function 'vehicle.replaceStop' which replaces the upcoming 
stop

with the given index and automatically adapts the route to the new stop
edge.
  - Added function 'vehicle.getFollower' which works like getLeader but
looks backwards.
  - Function 'person.moveToXY' is now officially supported whenever a
person is walking or stopped. It can be used to move a person to an
arbitrary place and will update the route accordingly.
  - Added functionality for retrieving lane, position and stopped 
vehicles

for traci domains 'busstop', 'parkingarea', 'chargingstation' and
'overheadwire'.
  - Added functions 'routeprobe.sampleLastRouteID' and
'traci.routeprobe.sampleCurrentRouteID'.
  - Added function 'gui.track' which can be used to track persons.
  - Added functions 'gui.isSelected' and 'gui.toggleSelection' to 
retrieve

and modify selection status.

- Tools
  - Added new tool computeCoordination.py to compute the fraction of
delayed vehicles along a defined corridor.
  - Added new tool net2geojson for converting a .net.xml file into 
GeoJSON

format.
  - Added new tool addStopDelay.py to add random stop delays to a route
file.

=== Bugfixes ===

- Simulation
  - Fixed invalid amount of charged energy in subsecond simulation when
using battery device.
  - Fixed invalid error when setting vehicle stop.
  - Fixed bugs that were causing vehicle collisions.
  - Fixed deadlock on intersection.
  - Fixed bugs where pedestrians would step onto the road when it 
wasn't

safe.
  - Fixed various sublane model issues
  - CarFollowModel fixes: 'KraussPS' no longer stalls at steep 
inclines,

Multiple fixes to 'W99'
  - Person rides with a specified arrivalPos no longer exit their 
vehicle

prematurely.
  - Various fixes to waypoints
  - Various railway fixes related to collisions and emergency braking
  - Vehicles no longer get stuck when setting 'maxSpeedLatStanding=0'.

- netconvert
  - Fixed missing busStops when importing public transport lines from 
OSM.

  - Fixed invalid error when patching network with netdiff patches.
  - Fixed invalid keepClear state for intersections without 
cross-traffic.


- netedit
  - Fixed bugs that were causing crashes
  - Fixed bug where all passenger lanes changed their permissions when
adding a sidewalk.
  - Fixed bug that caused inconsistent output when modifying the 
traffic

light index of connections.

- TraCI
  - Fixed memory leaks when using 

Re: [sumo-user] Problems about installing SUMO on Linux from sources

2020-08-31 Thread Michael Behrisch
Hi,
> But the smooth-lane-change branch version of SUMO,
> https://github.com/octavdragoi/sumo, still cannot be installed
successfully,
> the error information is as below

Then you should probably try to contact the maintainer of that branch.
It seems to be a two year old fork. Maybe it branched at a point where
sumo was not able to handle the new proj API. You could also try to
install an older version of proj.

Best regards,
Michael

Am 31.08.20 um 14:07 schrieb mrayur:
> I try to install the master branch version of SUMO, it seems the installation
> is successful. 
> 
> [  0%] Built target generate-version-h
> [  0%] Built target foreign_tcpip
> [  0%] Built target mesogui
> [  1%] Built target foreign_phemlight
> [  3%] Built target libsumostatic
> [  4%] Built target mesosim
> [  9%] Built target microsim
> [ 10%] Built target microsim_actions
> [ 12%] Built target microsim_cfmodels
> [ 12%] Built target microsim_engine
> [ 15%] Built target microsim_devices
> [ 16%] Built target microsim_lcmodels
> [ 16%] Built target microsim_pedestrians
> [ 17%] Built target microsim_trigger
> [ 20%] Built target microsim_output
> [ 24%] Built target microsim_traffic_lights
> [ 25%] Built target osgview
> [ 26%] Built target utils_common
> [ 28%] Built target traciserver
> [ 29%] Built target netload
> [ 30%] Built target utils_distribution
> [ 30%] Built target utils_emissions
> [ 31%] Built target utils_geom
> [ 32%] Built target utils_iodevices
> [ 32%] Built target utils_importio
> [ 33%] Built target utils_options
> [ 35%] Built target utils_xml
> [ 36%] Built target utils_vehicle
> [ 37%] Built target utils_shapes
> [ 39%] Built target utils_gui_div
> [ 41%] Built target utils_foxtools
> [ 42%] Built target utils_gui_globjects
> [ 42%] Built target utils_gui_images
> [ 43%] Built target utils_gui_settings
> [ 44%] Built target utils_gui_tracker
> [ 44%] Built target utils_gui_shortcuts
> [ 44%] Built target utils_gui_cursors
> [ 45%] Built target utils_gui_windows
> [ 45%] Built target gui_dialogs
> [ 46%] Built target guinetload
> [ 48%] Built target gui
> [ 49%] Built target od
> [ 49%] Built target sumo
> [ 52%] Built target guisim
> [ 56%] Built target netbuild
> [ 56%] Built target foreign_eulerspiral
> [ 59%] Built target netimport
> [ 59%] Built target netimport_vissim
> [ 60%] Built target activitygen_activities
> [ 63%] Built target netimport_vissim_tempstructs
> [ 64%] Built target netwrite
> [ 71%] Built target netimport_vissim_typeloader
> [ 72%] Built target libsumo_swig_compilation
> [ 73%] Built target activitygen_city
> [ 75%] Built target router
> [ 75%] Built target emissionsMap
> [ 76%] Built target netgenerate
> [ 78%] Built target polyconvert
> [ 79%] Built target emissionsDrivingCycle
> [ 80%] Built target utils_traci
> [ 80%] Built target netedit_demandelements
> [ 80%] Built target testlibsumo
> [ 84%] Built target netedit_additionals
> [ 86%] Built target netedit_changes
> [ 88%] Built target netedit_dialogs
> [ 89%] Built target netedit_netelements
> [ 91%] Built target netedit_frames
> [ 92%] Built target testcommon
> [ 93%] Built target testgeom
> [ 93%] Built target testmicrosim
> [ 93%] Built target testfoxtools
> [ 94%] Built target testnetbuild
> [ 94%] Built target od2trips
> [ 94%] Built target netconvert
> [ 94%] Built target sumo-gui
> [ 95%] Built target activitygen
> [ 96%] Built target dfrouter
> [ 96%] Built target duarouter
> [ 97%] Built target jtrrouter
> [ 98%] Built target marouter
> [ 98%] Built target TraCITestClient
> [100%] Built target netedit
> [100%] Built target _libsumo
> 
> 
> john@john-virtual-machine:~/Documents/sumo/build/cmake-build$ make
> -j$(nproc)
> [  1%] Built target foreign_tcpip
> [  2%] Built target od
> [  3%] Built target generate-version-h
> [  4%] Built target utils_xml
> Scanning dependencies of target utils_importio
> [  5%] Built target utils_common
> [  6%] Built target utils_distribution
> [  6%] Building CXX object
> src/utils/geom/CMakeFiles/utils_geom.dir/GeoConvHelper.cpp.o
> Scanning dependencies of target utils_iodevices
> Scanning dependencies of target utils_options
> [  6%] Building CXX object
> src/utils/importio/CMakeFiles/utils_importio.dir/LineReader.cpp.o
> [  6%] Building CXX object
> src/utils/iodevices/CMakeFiles/utils_iodevices.dir/OutputDevice.cpp.o
> [  7%] Building CXX object
> src/utils/options/CMakeFiles/utils_options.dir/Option.cpp.o
> In file included from
> /home/john/Documents/sumo/src/utils/geom/GeoConvHelper.h:34,
>  from
> /home/john/Documents/sumo/src/utils/geom/GeoConvHelper.cpp:35:
> /usr/include/proj_api.h:37:2: error: #error 'To use the proj_api.h you must
> define the macro ACCEPT_USE_OF_DEPRECATED_PROJ_API_H'
>37 | #error 'To use the proj_api.h you must define the macro
> ACCEPT_USE_OF_DEPRECATED_PROJ_API_H'
>   |  ^
> [  7%] Building CXX object
> src/utils/importio/CMakeFiles/utils_importio.dir/NamedColumnsParser.cpp.o
> In file included from
> 

Re: [sumo-user] Installation of SUMO-1.6.0 Latest Release on Linux failure

2020-08-31 Thread Michael Behrisch
Hi,
try to give a fixed number after the -j such as make -j8.
The "make -j$(nproc)" below should limit the number of parallel
processes to the number of processors in your machine. If you just start
"make -j", the process will start as many parallel processes as it can,
resulting in overloading your main memory.

Best regards,
Michael


Am 31.08.20 um 21:17 schrieb Kevin Lin:
> Hi!
> 
> I'm on Ubuntu 18.04 and I'm installing sumo using the instructions below
> 
> |sudo apt-get install cmake python g++ libxerces-c-dev libfox-1.6-dev 
> libgdal-dev libproj-dev libgl2ps-dev swig
> git clone --recursive https://github.com/eclipse/sumo
>  export SUMO_HOME="$PWD/sumo"
>  mkdir sumo/build/cmake-build && cd sumo/build/cmake-build  cmake ../..
>  make -j$(nproc) |
> 
> (from https://sumo.dlr.de/docs/Installing/Linux_Build.html)
> 
>  cmake ../..  gives me:
> 
> (bayesian_traffic) thankyou-always@thankyou:~/sumo/build/cmake-build$
>  cmake ../..
> -- CMAKE_BINARY_DIR: /home/thankyou-always/sumo/build/cmake-build
> -- CMAKE_SOURCE_DIR: /home/thankyou-always/sumo
> -- 
> -- Platform:
> --     Host: Linux-5.4.0-42-generic x86_64
> --     Target: Linux-5.4.0-42-generic x86_64
> --     CMake: 3.10.2
> --     CMake generator: Unix Makefiles
> --     CMake build tool: /usr/bin/make
> --     Compiler: GNU 7.5.0
> -- 
> -- Found Python:
> /home/thankyou-always/anaconda3/envs/bayesian_traffic/bin/python
> -- Could NOT find GTest (missing: GTEST_LIBRARY GTEST_MAIN_LIBRARY)
> -- Found Proj: /usr/lib/x86_64-linux-gnu/libproj.so
> -- Found Fox: -L/usr/lib/x86_64-linux-gnu -lFOX-1.6 -lX11 -lXext
> -lfreetype -lfontconfig -lXft -lXcursor -lfreetype -lfontconfig
> -lfreetype -lGL -lGLU -ldl -lpthread -lrt -ljpeg -lpng -ltiff -lz -lGLU -lGL
> -- Could NOT find suitable FFmpeg.
> -- Could NOT find osgGA (missing: OSGGA_LIBRARY OSGGA_INCLUDE_DIR)
> -- Could NOT find osgViewer (missing: OSGVIEWER_LIBRARY
> OSGVIEWER_INCLUDE_DIR)
> -- Could NOT find osgUtil (missing: OSGUTIL_LIBRARY OSGUTIL_INCLUDE_DIR)
> -- Could NOT find osgDB (missing: OSGDB_LIBRARY OSGDB_INCLUDE_DIR)
> -- Could NOT find osgText (missing: OSGTEXT_LIBRARY OSGTEXT_INCLUDE_DIR)
> -- Could NOT find osg (missing: OSG_LIBRARY OSG_INCLUDE_DIR)
> -- Could NOT find OpenThreads (missing: OPENTHREADS_LIBRARY
> OPENTHREADS_INCLUDE_DIR)
> -- Could NOT find OpenSceneGraph (missing: OPENSCENEGRAPH_LIBRARIES
> OPENSCENEGRAPH_INCLUDE_DIR) (Required is at least version "3.4.0")
> -- Could NOT find Eigen3 (missing: EIGEN3_INCLUDE_DIR EIGEN3_VERSION_OK)
> (Required is at least version "3.2")
> -- Found Java: /usr/bin/java (found version "11.0.8") found components:
>  Development
> -- Found Java: /usr/bin/java (found version "11.0.8")
> -- Enabled features: Linux-5.4.0-42-generic x86_64 GNU 7.5.0 Release
> Proj GUI SWIG GDAL GL2PS
> -- Configuring done
> -- Generating done
> -- Build files have been written to:
> /home/thankyou-always/sumo/build/cmake-build
> 
> ---
> 
> My conda env has python 3.7.0. However, when I run, make -j, I get up to
> 67% and then my laptop freezes and shuts down. Would you know what might
> be wrong? 
> 
> Kevin
> 
> ___
> sumo-user mailing list
> sumo-user@eclipse.org
> To unsubscribe from this list, visit 
> https://www.eclipse.org/mailman/listinfo/sumo-user
> 




signature.asc
Description: OpenPGP digital signature
___
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] Previous stage output not available in TraCI

2020-08-22 Thread Michael Behrisch
Hi,
I am pretty sure there is some old version of sumolib on your system
which python is finding. Nevertheless I updated version.py now in a way
that it will at least continue in this case. Please retry after a git
pull or with a fresh download of the nightly zip tomorrow.

Best regards,
Michael

Am 18.08.20 um 06:08 schrieb Tripplanner Mumbai:
> Hello,
> 
> Hi,
> can you try to run tools/build/version.py manually and post the output?
> 
> version control file '/home/dhrien/sumo/.git/index' not found
> trying to generate version file /home/dhrien/sumo/src/version.h from
> existing header
> Traceback (most recent call last):
>   File "sumo/tools/build/version.py", line 86, in 
>     main()
>   File "sumo/tools/build/version.py", line 82, in main
>     create_version_file(versionFile, sumolib.version.fromVersionHeader())
> AttributeError: module 'sumolib.version' has no attribute
> 'fromVersionHeader'
>  
> 
> Also please make sure you do not have any old sumolib installed.
> 
> A series of files and folders are present under
> /usr/share/sumo/tools/sumolib/
> But SUMO is not installed as I tried to remove it through 'sudo apt
> remove --purge sumo'
> 
> 
> Best regards,
> Michael
> 
> Am 2020-08-17 14:55, schrieb Tripplanner Mumbai:
> > Hello Jakob,
> > I tried the version was updated on August 16 and found the same
> errors.
> > Then, as per your instructions, I ran "make clean" followed by "make
> > VERBOSE=1" inside cmake-build folder. Again, the ended in errors.
> > The output of "make VERBOSE=1" instruction is attached herewith. Note
> > that
> > I am using Ubuntu 18.04 as operating system.
> > thanks and regards,
> > Dillip Rout
> >
> >
> > On Mon, 17 Aug 2020 at 14:42, Jakob Erdmann  >
> > wrote:
> >
> >> in the cmake-build folder:
> >> Please run 'make clean'
> >> and then post the output of
> >> 'make VERBOSE=1'
> >>
> >> Am So., 16. Aug. 2020 um 18:35 Uhr schrieb Tripplanner Mumbai <
> >> tripplanner...@gmail.com >:
> >>
> >>> The message "Makefile:140: recipe for target 'all' failed" is a
> >>> summary
> >>> message.
> >>>
>  a) post the output of the make-run to the list
> 
>  sudo make -j$(grep -c ^processor /proc/cpuinfo) |& tee
>  makefile-output.txt
> 
> >>> Ended in following error:
> >>> Makefile:140: recipe for target 'all' failed
> >>> make: *** [all] Error 2
> >>>
> >>>
>  b) run step 5 twice (the second step compiles only the erroneous
>  step
>  again, so the second message might show up)
> 
>  sudo make -j$(grep -c ^processor /proc/cpuinfo)
> 
>  sudo make
> 
> >>> Ended in Error:
> >>> Makefile:140: recipe for target 'all' failed
> >>> make: *** [all] Error 2
> >>>
>  c) try a newer version
> 
> >>> All the above errors are respect to August 15 version.
> >>>
> >>> d) Someone else in this user group has an idea
> 
> 
> >>>
>  Hello Harald,
> 
>  No, I did not get any other errors. Should I try other version?
>  thanks and regards,
>  Dillip Rout
> 
>  On Fri, 7 Aug 2020 at 11:20, Harald Schaefer
> mailto:fechs...@gmail.com>>
>  wrote:
> 
> > Hello Dillip,
> >
> > there must be another error in the output of the makefile.
> >
> > If you run step 5 without the -j option (just sudo make), the
> other
> > error should be at the end too.
> >
> > Greetings, Harald
> > Am 07.08.20 um 07:06 schrieb Tripplanner Mumbai:
> >
> > Hello Jakob,
> > Thank you for taking so much of effort to correct the null
> pointer.
> >
> > I downloaded the latest version of August 5 and followed the
> > following
> > steps for installing SUMO on my Ubuntu 18.04 machine.
> >
> >    1.
> >
> >    sudo apt-get install cmake python g++ libxerces-c-dev
> > libfox-1.6-dev
> >    libgdal-dev libproj-dev libgl2ps-dev swig
> >    2.
> >
> >    export SUMO_HOME="$PWD/sumo"
> >    3.
> >
> >    sudo mkdir sumo/build/cmake-build && cd sumo/build/cmake-build
> >    4.
> >
> >    sudo cmake ../..
> >    5.
> >
> >    sudo make -j$(grep -c ^processor /proc/cpuinfo)
> >    6.
> >
> >    sudo make install
> >
> > However,Step-5 resulted in the following error while installation:
> > [  2%] Linking CXX static library libutils_xml.a [  2%] Built
> > target
> > utils_xml Makefile:140: recipe for target 'all' failed make: ***
> > 

Re: [sumo-user] modified the output file of SUMO

2020-08-22 Thread Michael Behrisch
Hi Jane,
there is no way to do this with sumo alone. Depending on the operating
system you use you could write the data to a socket or a named pipe and
read and filter it from there without an intermediate file. The
xml2csv.py might be an option as well.

Best regards,
Michael

Am 20.08.20 um 14:52 schrieb Jane Cheung:
> Dear all, 
> I have used the E2 detector to get some data measured and calculated by
> SUMO. With the increment of the simulation time, the size of the
> *e2output.file* is becoming larger and larger.  It is difficult for me
> to read it and extract the attribute that I want. 
> Could I use some commands with the *generateTLSE2Detectors.py *or*some
> other methods *to let SUMO just prints the
> attribute(e.g.,*meanIntervalHaltingDuration* ) that I want in the
> e2output.xml*?*
> *
> *
> 
> Any kindly advise would be appreciated.
> 
> Best regards,
> 
> Jane
> *
> *
> * *
> 
> 
> ___
> sumo-user mailing list
> sumo-user@eclipse.org
> To unsubscribe from this list, visit 
> https://www.eclipse.org/mailman/listinfo/sumo-user
> 




signature.asc
Description: OpenPGP digital signature
___
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] Emissions for "PC_Alternative"

2020-08-21 Thread Michael Behrisch

Hi,
PC_Alternative is somehow a collection of everything which is not Diesel 
or Gasoline,
so Biofuels, LPG, Hybrids, Hydrogen Fuel Cells and everything else you 
can think of.
The results here are probably not very transferable, since they were 
calculated with one

special fleet in mind and mix very different things.

Best regards,
Michael

Am 2020-08-21 09:52, schrieb marcelreppi:

Hello,

I wanted to know what emissions are calculated for the emission class
"PC_Alternative".
How does it differ from the other Diesel or Gasoline emission classes?

Thanks!

Best regards
Marcel



--
Sent from: http://sumo-user-mailing-list.90755.n8.nabble.com/
___
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


  1   2   3   4   5   >