Hi Jakob,
I have add the option numTries=100 to traci.start(),but the error is still
exist.Could you please tell me is there a approach to repeat my simulation
in the same traci ?Then ,I don't need to connect the server again and
again,my problem solved.
Best regards,
Zhiqiang
Jakob Erdmann
Hi Jakob,
Thank you,it works.But the problem is also exist,it retries for 101 times
then closed and I'm sure that my computer's memory is enough.And I also
occurred the error that "connection closed by SUMO",If you want more
details,tell me.
Best regards,
Zhiqiang
Jakob Erdmann 于2018年7月11日周三
traci.start([sumoBinary, "--start","-c", "data/cross.sumocfg",
"--tripinfo-output", "tripinfo.xml"],
numTries=100)
2018-07-10 16:46 GMT+02:00 胡志强 :
> Hi,
> Could you please tell me how add the option numTries=100 to traci.start()?
>
> Best regards,
> Zhiqiang
>
> Jakob
- Possibly the simulation cannot start in time because the computer is
still busy from closing the previous simulations. You could add the option
numTries=100 to traci.start() to diagnose this
- Possibly, the simulation cannot start successfully because your computer
is out of memory (which might
Hi,
My SUMO version is 0.32.0,and I write a loop to simulate for many times, I
start SUMO like this:
for i in range(2):
traci.start([sumoBinary, "--start","-c", "data/cross.sumocfg",
"--tripinfo-output", "tripinfo.xml"])
...
...
traci.close()
At the
At the beginning ,it works well,but some time later,it may disconnect with
the sever.So ,what's the possible reasons?
Best regards,
Zhiqiang
Menno van der Woude 于2018年7月10日周二 下午8:44写道:
> Hi Zhiqiang,
>
> it seems like SUMO is not running, since the the client cannot connect
> to the TCP
Hi Menno,
At the beginning ,it works well,but some time later,it may disconnect with
the sever.So ,what's the possible reasons?
Best regards,
Zhiqiang
Menno van der Woude 于2018年7月10日周二 下午8:44写道:
> Hi Zhiqiang,
>
> it seems like SUMO is not running, since the the client cannot connect
> to the
Hi Zhiqiang,
it seems like SUMO is not running, since the the client cannot connect
to the TCP server. Make sure you start SUMO with the --remote-port
option as described here: http://sumo.dlr.de/wiki/TraCI#SUMO_startup.
If you need to simulate many runs, you will have to automate starting