could you plz try to use 'sumo' instead of 'sumo-gui' with the option '--quit-on-end' and check if the cmd window is going to be closed at the end? it works only with 'sumo-gui' in my case!
Am Fr., 24. Feb. 2023 um 12:10 Uhr schrieb Ruud van Gaal < r.vang...@cruden.com>: > Hi Tareef, > > Glad to hear that works. > I'm afraid I don't have any clue about EV vehicles though. Perhaps Jakob > does. > > Cheers, > Ruud > > On Fri, Feb 24, 2023 at 12:07 PM Tareef Sahhary <tareef.sahh...@gmail.com> > wrote: > >> Hi Ruud, >> it works! Thaks alot. I have set the option on the wrong place! >> >> Do you know if i can change the capacity and initial battary capacity of >> a certain ev dynamicaly during the simulation? The same question for the >> power of a certain charging station. >> >> Thanks >> Tareef >> >> Am Fr., 24. Feb. 2023 um 11:59 Uhr schrieb Ruud van Gaal < >> r.vang...@cruden.com>: >> >>> Hi Tareef, >>> >>> You'd say something like this: >>> >>> system(['sumo' ' -c ' projectPath ' --remote-port 8813' ' --step-length >>> 1' ' --quit-on-end ' ' --start &']); >>> >>> Adding the argument works at my place, admittedly in C++, not MATLAB. >>> >>> Cheers, >>> Ruud >>> >>> >>> On Fri, Feb 24, 2023 at 11:53 AM Tareef Sahhary < >>> tareef.sahh...@gmail.com> wrote: >>> >>>> Hello Jakob, >>>> >>>> it is not working! >>>> Where would you set the option --quit-on-end in my code? >>>> system(['sumo' ' -c ' projectPath ' --remote-port 8813' ' >>>> --step-length 1' ' --start &']); >>>> Thanks >>>> Tareef >>>> >>>> Am Fr., 24. Feb. 2023 um 09:10 Uhr schrieb Jakob Erdmann < >>>> namdre.s...@gmail.com>: >>>> >>>>> You can set sumo option --quit-on-end (or -Q) to automatically close >>>>> the gui. Consider using 'sumo' instead of 'sumo-gui' if you are running >>>>> many simulations without actually looking at them. >>>>> >>>>> Am Do., 23. Feb. 2023 um 23:21 Uhr schrieb Tareef Sahhary < >>>>> tareef.sahh...@gmail.com>: >>>>> >>>>>> Dear sumo experts, >>>>>> >>>>>> i am using sumo with matlab and looking for a method to close the >>>>>> sumo gui from Matlab. >>>>>> I know how to disconnect the traci using *traci.close();* >>>>>> is there any way to close the gui window? I need to do long >>>>>> simulation using for loop, in which the simulation is going to be called >>>>>> many times. >>>>>> >>>>>> Thanks, >>>>>> Tareef >>>>>> >>>>>> >>>>>> >>>>>> _______________________________________________ >>>>>> 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 >>> >> _______________________________________________ >> 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