Interactive Learning Objects for Computer Modeling and Simulation
To open any applet, click on the respective image.
1. M/M/1 Waiting-Line Simulation
This applet demonstrates the way how to simulate simple discrete-event systems. Besides the concept of queuing system itself, it shows the difference between the time-slice and next-event time advance mechanisms in computer simulation. Also the linked description gives an example of computer model validation which is a critically important step in any simulation study.
Suggested student exercises:
1. Adding limited waiting line length constraint (almost no-brainer; very little of extra coding)
2. Adding Time in the queue and Time in the system performance indicators (needs substantial extra coding)
2. Using two or more servers in the system (needs substantial extra coding)
The source code is inside.
2. Tao of Soccer v. 2.x
A 2D soccer game simulator with 3D viewing capability implemented in Java. This real-time distributed system could be used in student research projects and teaching different courses in IT/CS curricula. Good learning object for a capstone project (e.g. reverse engineering and/or enhancing functionality). Teams of students can compete for better grade by playing in a tournament with their improved soccer players.
3. Generating 2D Normal Random Vector
This applet generates 2D Normal random vector with correlated components. Vectors can be viewed as points scattered on a plane. By changing the correlation coefficient and other parameters of the probability distribution, user can see how they affect the scatter pattern.
4. Stochastic Process Viewer
This Java applet allows generating and viewing different type stochastic (random) processes: stationary ergoric and non-ergodic and non-stationary. User can select different kinds of marginal distribution and choose different correlation time of the process. By exploring the source code, one can learn how to generate some random processes with desired properties.
More applets to follow ...