Re: [sumo-user] TraCI command

2015-07-22 Thread amir nasiri
Thank you Michael for your response, But I don't understand your comment in description of ticket, (what are netto and brutto) and how to fix it that traci returns the value that GUI does. On Wed, Jul 22, 2015 at 4:07 PM, Michael Behrisch < behri...@users.sourceforge.net> wrote: > Hi Amir, >

[sumo-user] TraCI command

2015-07-21 Thread amir nasiri
Hi everyone, When I using Traci command (traci.lane.getLastStepOccupancy(laneID)), the output result is not same with the value that I exploit from GUI(right click on the lane and show parameter, occupancy)! Traci result is less than from GUI and I think that the GUI value is closest to thing tha

[sumo-user] traffic light

2015-07-12 Thread amir nasiri
Hi everyone, I have one question. When we create net file from osm, it doesn't contain all of traffic light (by real) and other hand for example from 500 traffic light , net file includes just less than 10 traffic light. Where is problem? osm file or sumo scripts or other thing! Is there a soluti

Re: [sumo-user] mean waiting time

2015-05-05 Thread amir nasiri
Thank you very much. On Tue, May 5, 2015 at 10:52 AM, Jakob Erdmann wrote: > Then you're better of calling traci.edge.getLastStepHaltingNumber() and > aggregating over the chosen time interval yourself. > > 2015-05-05 8:06 GMT+02:00 amir nasiri : > >> Hello Jakob, I us

Re: [sumo-user] mean waiting time

2015-05-04 Thread amir nasiri
t; Use traci.trafficlights.getPhase(). The returned integer corresponds to > the order of the phases in the tlLogic definition (starting at 0). > regards, > Jakob > > 2015-05-05 7:26 GMT+02:00 amir nasiri : > >> Hi everyone, >> >> I want to calculate the mean waiting time

[sumo-user] mean waiting time

2015-05-04 Thread amir nasiri
Hi everyone, I want to calculate the mean waiting time on the lanes related to a junction and obtain the value of it at each phase of traffic light. For example, If we have 4 phase, so I want to know in first phase, what is the value of the waiting time and the second one and to the last one. I di

Re: [sumo-user] (no subject)

2015-05-03 Thread amir nasiri
rds, > Jakob > > 2015-05-03 8:23 GMT+02:00 amir nasiri : > >> Hi everyone, >> >> Is it possible to obtain value of mean Halting Duration by TraCI in the >> previous time step or general in specific interval that is variable in >> simulation? I need it by thi

[sumo-user] (no subject)

2015-05-02 Thread amir nasiri
Hi everyone, Is it possible to obtain value of mean Halting Duration by TraCI in the previous time step or general in specific interval that is variable in simulation? I need it by this way not by output from detectors that will get at specific frequency and is fix. Thanks in advance, Amir --

Re: [sumo-user] (no subject)

2015-04-24 Thread amir nasiri
tep using > stepLength * (vmax-v)/vmax > (without using detectors at all) > > 2015-04-23 19:13 GMT+02:00 amir nasiri : > >> Hi everyone, >> When I want to evaluate performance of actuated algorithm on the traffic >> lights, I need to check the values of the detectors at the

[sumo-user] (no subject)

2015-04-23 Thread amir nasiri
Hi everyone, Is there a traci command or other tools that returns list of detectors of laid in a specific junction? ( input: id junction, output: list of detectors) Of course, I wrote a script that will extract this list but I want to know is there something that acts faster than my script? Tha

[sumo-user] (no subject)

2015-04-23 Thread amir nasiri
Hi everyone, When I want to evaluate performance of actuated algorithm on the traffic lights, I need to check the values of the detectors at the past time, but the problem be occurred when for example, the frequency of it (detector) is some value like 30 sec and it generates the output at interval

[sumo-user] (no subject)

2015-04-22 Thread amir nasiri
Hello everyone, I am now working on the optimizing traffic lights, so I decided to use the data which extracted from output of e2Detector. But in the almost of cases, the attributes value is zero ( that means there aren't vehicles on the detector) and this is not good. I don't know what to do? f

Re: [sumo-user] (no subject)

2015-04-22 Thread amir nasiri
er options (i.e. randomTrips.py --period) > regards, > Jakob > > 2015-04-22 14:01 GMT+02:00 amir nasiri : > >> Hi everyone, >> Is it possible to increase the number of vehicle that will depart in >> simulation ( the number of vehicles at each step)? If yes, how

Re: [sumo-user] (no subject)

2015-04-22 Thread amir nasiri
specific hours at a day)? Thanks in advance, amir On Wed, Apr 22, 2015 at 5:19 PM, amir nasiri wrote: > Thank you. > > On Wed, Apr 22, 2015 at 5:08 PM, Jakob Erdmann > wrote: > >> Yes. >> the easiest way is to use option --scale with a value larger than 1. >&

[sumo-user] (no subject)

2015-04-22 Thread amir nasiri
Hi everyone, Is it possible to increase the number of vehicle that will depart in simulation ( the number of vehicles at each step)? If yes, how to configure it? Best regards, Amir -- *Good luck to you.* -- BPM Camp - Fr

[sumo-user] (no subject)

2015-04-21 Thread amir nasiri
Hi everyone, As the output of detector is not standard xml file, I can't extract data from it by python. Is there a way that fix this problem? Thanks in advance -- *Good luck to you.* -- BPM Camp - Free Virtual Workshop

[sumo-user] Change freq Attribute in Lanearea Detectors

2015-04-21 Thread amir nasiri
Hi everyone, I want to optimize traffic light and for example if condition of available in junction would be better, I add some seconds to the current phase and in the continue, I should to analyze data which gathered from detector. Hence, I must change fre Attribute of it ( the previous time + so

[sumo-user] [Error 10057] when TraCI is running

2015-03-30 Thread amir nasiri
Hi everyone, When I run my script of TraCI, SUMO would be trigger but in middle of it's running, I encountered with mentioned error in subject. I attached a screenshot of what has occurred in command line. How to fix this problem? Any help would greatly be appreciated. Best regards, Amir -- *Goo

[sumo-user] I don't know how to work with TraCI

2015-03-26 Thread amir nasiri
Hi everyone, In regarding to concept TraCI, for example I followed the TraCI4Traffic_Lights but I am confused when running the example with executing python runner.py. When I executed the above script from command line, SUMO-GUI will trigger and in following I don't know what to do step by step. I

[sumo-user] Error in running /docs/tutorial/traci_tls/runner.py

2015-03-25 Thread amir nasiri
Hello everyone, When I run this script, it results to the following error: Traceback (most recent call last): File "C:\Users\Amirreza\Src\sumo-0.22.0\docs\tutorial\traci_tls\runner.py", line 127, in sumoProcess = subprocess.Popen([sumoBinary, "-c", "data/cross.sumocfg", "--tripinfo-output",

Re: [sumo-user] problem of sumo-gui

2015-03-20 Thread amir nasiri
I also have this problem and by following given link, it didn't solved. furthermore, I updated my openGL driver, but it did not help me! On Thu, Mar 19, 2015 at 9:55 AM, Jakob Erdmann wrote: > possibly: > > http://sumo.dlr.de/wiki/FAQ#SUMO-GUI_windows_and_buttons_appear_but_no_net.2Fcars_are_vi

[sumo-user] (no subject)

2015-03-16 Thread amir nasiri
Hi everyone, Why in both cases, when I'm using "generateTLSE2Detectors.py" and "generateTLSE3Detectors.py" scripts, the output file (--results-file) don't be writed? On the other hand, this file don't be created and if I create it manually, even it will not be changed? Does anyone know what goes