Hello,
there currently is not such functionality in TraCI but it wouldn't mind if
it was added.
We commonly use this check to see if there are no more vehicles in the
input:
traci.simulation.getMinExpectedNumber() == 0

regards,
Jakob

2016-02-29 15:34 GMT+01:00 Didac Busquets <[email protected]
>:

> Hi,
>
> How can I detect that the simulation has finished (i.e. it has reached the
> "end" time specified in the sumo configuration file) via TraCI (ideally
> TraCI4j)?
>
> Thanks,
>
>                Didac
>
> ---------------------------------------------
>
> Didac Busquets, PhD
> Senior Technologist
>
> Transport Systems Catapult
> 3rd floor, The Pinnacle
> 170 Midsummer Boulevard
> Milton Keynes
> MK9 1BP
>
> Tel: +44 (0) 1902 359 999 Ext: 1126
> Email: [email protected]<mailto:
> [email protected]>
> Web: ts.catapult.org.uk
>
> The Transport Systems Catapult is one of a network of elite technology and
> innovation centres established by Innovate UK as a long-term investment in
> the UK's economic capability. Applying business-led research, Catapults
> help businesses transform great ideas into valuable products and services
> to compete in the global markets of tomorrow. Transport Systems Catapult is
> a company limited by guarantee, registered in England and Wales with
> company number 08041919. Registered office: The Pinnacle, Midsummer
> Boulevard, Milton Keynes, Bucks, MK9 1BP. This email and any attachments
> are confidential and intended solely for the use of the recipient(s) to
> whom they are addressed. If you have received it in error, please destroy
> all copies and inform the sender.
>
> ------------------------------------------------------------------------------
> Site24x7 APM Insight: Get Deep Visibility into Application Performance
> APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
> Monitor end-to-end web transactions and take corrective actions now
> Troubleshoot faster and improve end-user experience. Signup Now!
> http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140
> _______________________________________________
> sumo-user mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/sumo-user
>
------------------------------------------------------------------------------
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140
_______________________________________________
sumo-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sumo-user

Reply via email to