150 likes | 291 Views
http://www.mobireal.net/. Random Mobility in Simulation. You cannot simulate appropriately with this mobility. That is,. next-generation simulator for MANET which can create realistic pedestrian flow and dynamic action. Traffic jam occurs far ahead.
E N D
Random Mobility in Simulation You cannot simulate appropriately with this mobility
That is, next-generation simulator for MANET which can create realistic pedestrian flow and dynamic action Traffic jam occurs far ahead
Behavior Simulator Network Simulator Simulation Area Input Mobility Models Simulation Scenario • Positions of mobile nodes • User’s input to network applications • Output from network applications Input Network Applications
Behavior Simulator Network SImulator Simulation Area Input Mobility Models Simulation Scenario • Positions of mobile nodes • User’s input to network applications • Output from network applications Input Network Applications
Source code for behavior simulator is generated Specifying Simulation Area
Behavior Simulator Network Simulator Simulation Area Input Mobility Models Simulation Scenario • Positions of nodes • User’s input to network applications • Output from network applications Input Network Applications
… if(crowded()&& prob(0.8)){ dst.r = detour_path(); return; }… … if(crowded() && prob(0.8)){ dst.r = detour_path(); return; }… … if(crowded() && prob(0.8)){ dst.r = detour_path(); return; }… 店 I received information of the shop sale go to the shop … if(receive_from_net(“ad”)){ put(dst); dst = destination(shop); dst.r = shortest_path(); return; }… … if(receive_from_net(“ad”)){ put(dst); dst = destination(shop); dst.r = shortest_path(); return; }… … if(receive_from_net(“ad”)){ put(dst); dst = destination(shop); dst.r = shortest_path(); return; }… Forward is crowded take another path
Behavior Simulator Network Simulator Simulation Area Input Mobility Models Simulation Scenario • Positions of nodes • User’s input to network applications • Output from network applications Input Network Applications
Specifying Simulation Scenario - Urban Pedestrian Flow - • Input:density of nodes on the roads • Input:routes of pedestrians • get ratio of nodes following each route compute LP
Source code for behavior simulator is generated Specifying Simulation Scenario - Urban Pedestrian Flow -
Behavior Simulator trace file Compile … if(crowded()&& prob(0.8)){ dst.r = detour_path(); return; }… Network Simulator Source cords Simulation Animation Simulation
Demo : DSR Real-Time Communication • Upper-left node communicates with lower-right node • Packet • Black • communicating • (data packet) • Pink • finding routes • (route request) • Yellow • link down • (route error) • Green • find a route • (route reply)