NTNUJAVA Virtual Physics LaboratoryEnjoy the fun of physics with simulations! Backup site http://enjoy.phy.ntnu.edu.tw/ntnujava/
September 21, 2020, 08:01:12 pm
 Welcome, Guest. Please login or register.Did you miss your activation email? 1 Hour 1 Day 1 Week 1 Month Forever Login with username, password and session length

 Home Help Search Login Register
Wisdom consists of the anticipation of consequences. ..."Norman Cousins(1913-1990, American author)"

 Pages: [1]   Go Down
 Author Topic: High way traffic simulation  (Read 19863 times) 0 Members and 1 Guest are viewing this topic. Click to toggle author information(expand message area).
Fu-Kwun Hwang
Administrator
Hero Member

Offline

Posts: 3085

 « Embed this message on: February 09, 2011, 03:58:08 pm » posted from:Taipei,T'ai-pei,Taiwan

This is a three lanes high way traffic simulation.
You can adjust number of cars with slider when it is paused.
The color turn yellow when it is accelerating, turn red when hit brake, turn green when in the same speed.
It turn into blue when changing lanes.

You can click one of the car to change id and use slider to change it's maximum speed when in pause mode.

n1 slider is the maximum number of cars per line: the simulation will be initialized when n1 is changed.

Checkbox:
if "change" is checked: Car can change lane when there is car too close in front.
if "pushed" is checked: Car can change lane when there is car tracing behind it.
if "safe" is checked: reaction time for each driver is considered. (minimum distance between cars= velocity * reaction time)

Have fun!

Adding more information: 2011/02/18
1. add segments to represent the displacement(angle circulate the path). The color of each segment represent it's lane (red-green-blue: red segment mean innermost lane).
2. add arrow to represent maximum velocity for each car (yellow dot to show velocity V(t))--- (move mouse to the tip of the arrow to show/modify properties for that car).

Embed a running copy of this simulation

Embed a running copy link(show simulation in a popuped window)
Full screen applet or Problem viewing java?Add http://www.phy.ntnu.edu.tw/ to exception site list
Press the Alt key and the left mouse button to drag the applet off the browser and onto the desktop. This work is licensed under a Creative Commons Attribution 2.5 Taiwan License
• Please feel free to post your ideas about how to use the simulation for better teaching and learning.
• Post questions to be asked to help students to think, to explore.
• Upload worksheets as attached files to share with more users.
Let's work together. We can help more users understand physics conceptually and enjoy the fun of learning physics!
 highwaytraffic2.jpg (27.73 KB, 734x337 - viewed 857 times.)  highway20110226.jpg (14.29 KB, 357x245 - viewed 2160 times.)  highway20110226C.jpg (17.21 KB, 353x238 - viewed 1918 times.) Logged
Fu-Kwun Hwang
Administrator
Hero Member

Offline

Posts: 3085

 « Embed this message Reply #1 on: March 27, 2014, 03:01:57 pm » posted from:,,Satellite Provider

Related simulation from the web
http://www.traffic-simulation.de/
 Logged
Kasey00
Newbie

Offline

Posts: 2

 « Embed this message Reply #2 on: December 04, 2019, 10:13:47 pm » posted from:Kolkata,West Bengal,India

This is a three lanes high way traffic simulation.
You can adjust number of cars with slider when it is paused.
The color turn yellow when it is accelerating, turn red when hit brake, turn green when in the same speed.
It turn into blue when changing lanes.

You can click one of the car to change id and use slider to change it's maximum speed when in pause mode.

n1 slider is the maximum number of cars per line: the simulation will be initialized when n1 is changed.

Checkbox:
if "change" is checked: Car can change lane when there is car too close in front.
if "pushed" is checked: Car can change lane when there is car tracing behind it.
if "safe" is checked: reaction time for each driver is considered. (minimum distance between cars= velocity * reaction time)

Have fun!

Adding more information: 2011/02/18
1. add segments to represent the displacement(angle circulate the path). The color of each segment represent it's lane (red-green-blue: red segment mean innermost lane).
2. add arrow to represent maximum velocity for each car (yellow dot to show velocity V(t))--- (move mouse to the tip of the arrow to show/modify properties for that car).

This looks amazing . Really fine work done. How can I relocate the cars?
 Logged

Fu-Kwun Hwang
Administrator
Hero Member

Offline

Posts: 3085

 « Embed this message Reply #3 on: December 05, 2019, 02:42:56 pm » posted from:,,Satellite Provider

May I know why you need to relocate cars? I can try to re-program so that car can be relocated if it is necessary!
 Logged
 Pages: [1]   Go Up
Wisdom consists of the anticipation of consequences. ..."Norman Cousins(1913-1990, American author)"
Jump to:

 Related Topics Subject Started by Replies Views Last post Ejs version of traffic control simulation Kinematics Fu-Kwun Hwang 28 82553 January 28, 2010, 08:47:18 pm by Fu-Kwun Hwang Traffic Light Simulation (Java) Request for physics Simulations null404 9 40633 April 22, 2008, 08:59:13 am by Fu-Kwun Hwang Ejs version of traffic control simulation kinematics ahmedelshfie 1 5741 September 27, 2010, 05:46:30 pm by ahmedelshfie Mesoscopic traffic light simulation Simulations from other web sites Ifeanyi 2 14918 December 09, 2011, 07:14:35 am by Ifeanyi Physics simulation research:Advanced systems of traffic lights can be more effic Request for physics Simulations steve12131 1 5059 July 30, 2013, 04:25:45 pm by Mitchel
Page created in 0.064 seconds with 22 queries.since 2011/06/15