Hm, I sometimes use 'sumo' instead of the 'sumo-gui' variant, but in both cases I get the same behavior here. Ruud
On Fri, Feb 24, 2023 at 12:31 PM Tareef Sahhary <[email protected]> wrote: > 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 < > [email protected]>: > >> 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 <[email protected]> >> 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 < >>> [email protected]>: >>> >>>> 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 < >>>> [email protected]> 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 < >>>>> [email protected]>: >>>>> >>>>>> 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 < >>>>>> [email protected]>: >>>>>> >>>>>>> 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 >>>>>>> [email protected] >>>>>>> To unsubscribe from this list, visit >>>>>>> https://www.eclipse.org/mailman/listinfo/sumo-user >>>>>>> >>>>>> _______________________________________________ >>>>>> sumo-user mailing list >>>>>> [email protected] >>>>>> To unsubscribe from this list, visit >>>>>> https://www.eclipse.org/mailman/listinfo/sumo-user >>>>>> >>>>> _______________________________________________ >>>>> sumo-user mailing list >>>>> [email protected] >>>>> To unsubscribe from this list, visit >>>>> https://www.eclipse.org/mailman/listinfo/sumo-user >>>>> >>>> _______________________________________________ >>>> sumo-user mailing list >>>> [email protected] >>>> To unsubscribe from this list, visit >>>> https://www.eclipse.org/mailman/listinfo/sumo-user >>>> >>> _______________________________________________ >>> sumo-user mailing list >>> [email protected] >>> To unsubscribe from this list, visit >>> https://www.eclipse.org/mailman/listinfo/sumo-user >>> >> _______________________________________________ >> sumo-user mailing list >> [email protected] >> To unsubscribe from this list, visit >> https://www.eclipse.org/mailman/listinfo/sumo-user >> > _______________________________________________ > sumo-user mailing list > [email protected] > To unsubscribe from this list, visit > https://www.eclipse.org/mailman/listinfo/sumo-user >
_______________________________________________ sumo-user mailing list [email protected] To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/sumo-user
