310 likes | 533 Views
1. J-Sim Urban Traffic Simulator. J-Sim based, XML using grafical and console simulation tool. David Hartman ZČU-FAV-KIV. JUTS. JSim Urban Traffic Simulator. 2. Introduction. Goals Road model definition Simulation map definition Results collecting XML load. JUTS.
E N D
1 J-Sim Urban Traffic Simulator J-Sim based, XML using grafical and console simulation tool. David Hartman ZČU-FAV-KIV JUTS JSim Urban Traffic Simulator
2 Introduction • Goals • Road model definition • Simulation map definition • Results collecting • XML load JUTS JSim Urban Traffic Simulator
3 Goals • Simulation properties • global traffic networks consideration • detailed dynamic simulation • Simulation entities • from data configurable • easy but good graphical output JUTS JSim Urban Traffic Simulator
4 Road model definition • Microscopic models • Mezoscopic models • Macroscopic models JUTS JSim Urban Traffic Simulator
5 Microscopic models • Each vehicle consideration • system entities are objects with specific decision-making • detailed entities interactions simulation • Advantages and disadvantages • difficult implementation and tune • most realistic JUTS JSim Urban Traffic Simulator
6 Mesoscopic models • No specific vehicle consideration • vehicles making decision itself but like pattern (no objects) • interactions are on characteristic level • Advantages and disadvantages • better interactions tunning • attributes of vehicle not consider JUTS JSim Urban Traffic Simulator
7 Macroscopic models • Vehicle flow consideration • vehicle distribution function • flow equation • Advantages and disadvantages • microscopic details not included • Lot of calculations but fast • only for global traffic network JUTS JSim Urban Traffic Simulator
8 Cellular Automata model • Definition • microscopic model; detailed interactions • Nagel-Schreckenberg(NaSch); moving rules • Lane Division JUTS JSim Urban Traffic Simulator
9 Basic minimal NaSch rules • (lane change decision and making) • Acceleration vn -> min(vn+1;vmax) • Break vn -> min(vn, gn+1) • Randomization vn -> max(vn-1,0) [p] • Move xn -> xn + vn JUTS JSim Urban Traffic Simulator
10 Model extensions • VDR model • Velocity Dependent Randomization • probability is function of gab,speed,etc. • Anticipation models • consider leading vehicle attributes at speed adaptation JUTS JSim Urban Traffic Simulator
11 JUTS road model • VDR and anticipation types based • Cell 2.5m moving refresh period 1s • Vehicle length consideration • Leading head algorithm JUTS JSim Urban Traffic Simulator
12 Leading head algorithm • Head makes footmarks and other pieces are tracking • Easy lane change and map moves JUTS JSim Urban Traffic Simulator
13 Simulation map definition • XML loadable • Global system definition with structured approach • Easy collection of data JUTS JSim Urban Traffic Simulator
Roads Crossroads Roundabouts Parkings Generators Terminators 14 Map segments JUTS JSim Urban Traffic Simulator
15 Segments connection • Connection places • general segment connection • sending vehicles through • Direction plus path • places are targets • vehicle path aiming JUTS JSim Urban Traffic Simulator
16 Connection scheme JUTS JSim Urban Traffic Simulator
17 Road segment • Traffic Lanes shifts • Rail lanes • Separation barrier • Signs container • Acceptors and emitters JUTS JSim Urban Traffic Simulator
18 Crossroad segment • Crossroad places • Vehicle jumping • Lights Container JUTS JSim Urban Traffic Simulator
19 Roundabout segment • Round road • Lane property • Less objects JUTS JSim Urban Traffic Simulator
Generating vehicles Sending to network Accepting vehicles from network Finalizing process 20 Generators and terminators JUTS JSim Urban Traffic Simulator
21 Parking segment • Storage for vehicles • Capacity and occupancy • Vehicle are not active inside JUTS JSim Urban Traffic Simulator
22 Moving process • Segment server calls update function • Update function calls model rules for all heads of vehicles. • Vehicles proceed on of their moving methods according to actual place JUTS JSim Urban Traffic Simulator
23 Traffic Lights • Static vs. dynamic • Deep detail • Signal program • Phase schema • Phase transitions • Signal groups JUTS JSim Urban Traffic Simulator
24 Result collecting • Special collector objects • Vehicle movements, traffic characteristic • Cyclic update; time elements • Send output to stream in XML • For each vehicle, for each step • Stream redirections JUTS JSim Urban Traffic Simulator
25 XML structure • Project file definitions • Map definition • Time progress definition • Initialization definition • Project file outputs • Vehicles moves • Characteristic JUTS JSim Urban Traffic Simulator
26 XML data loading • XML define objects • Connections with ID • Like structure, like loading process; all objects XML definable JUTS JSim Urban Traffic Simulator
27 Time progress objects • Timed value generators • Tree structure; time axis • Blocks are referenced • Probability trends • For changing probability during time • Same tree structure JUTS JSim Urban Traffic Simulator
28 Application • Two regimes of running • Offline • Online • Graphical definitions • Segments • Vehicles movements JUTS JSim Urban Traffic Simulator
28 Future expectations • Simulation features • Model global validation • Connection with other system (Lights strategies,…) • Map features • Map XML editor • GIS or other map data using JUTS JSim Urban Traffic Simulator
29 The End JUTS JSim Urban Traffic Simulator