Hello,
realizing such an exact function can only be realized by scripting the
simulation using an external program.
You can connect to your simulation via TraCI and patch the speed on the
edge based on the number of vehicles.
see http://sumo-sim.org/wiki/TraCI
regards,
Jakob

PS: you could play with vType attributes sigma  and speedDev to get a
stronger relationship between number of vehicles and average speed in an
unscripted simulation.




2014-04-26 21:53 GMT+02:00 Boyu Li <[email protected]>:

> Hi,
>
> i'm trying to build an edge with a weight function, something like: t =
> T/100 where t is the travel time and T is the number of travelers. This
> means that as the number of vehicles increases, the travel time for each
> vehicle increases. How can I realize this in SUMO?
>
> Thanks for your help,
>
> Best regards,
>
> Jason
>
> This message and any attachment are intended solely for the addressee and
> may contain confidential information. If you have received this message in
> error, please send it back to me, and immediately delete it.   Please do
> not use, copy or disclose the information contained in this message or in
> any attachment.  Any views or opinions expressed by the author of this
> email do not necessarily reflect the views of the University of Nottingham.
>
>
>
> This message has been checked for viruses but the contents of an attachment
>
> may still contain software viruses which could damage your computer
> system, you are advised to perform your own checks. Email communications
> with the University of Nottingham may be monitored as permitted by UK
> legislation.
>
>
>
>
>
>
>
>
>
>
> ------------------------------------------------------------------------------
> Start Your Social Network Today - Download eXo Platform
> Build your Enterprise Intranet with eXo Platform Software
> Java Based Open Source Intranet - Social, Extensible, Cloud Ready
> Get Started Now And Turn Your Intranet Into A Collaboration Platform
> http://p.sf.net/sfu/ExoPlatform
> _______________________________________________
> sumo-user mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/sumo-user
>
------------------------------------------------------------------------------
"Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE
Instantly run your Selenium tests across 300+ browser/OS combos.  Get 
unparalleled scalability from the best Selenium testing platform available.
Simple to use. Nothing to install. Get started now for free."
http://p.sf.net/sfu/SauceLabs
_______________________________________________
sumo-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sumo-user

Reply via email to