Abstract
The previous chapter dealt with one of the tools for performance analysis—queueing theory. This chapter concentrates on another tool—simulation. In this chapter, we provide an overview of simulation: its historical background, importance, characteristics, and stages of development.
Science without religion is lame, religion without science is blind.
—Albert Einstein
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
References
S. V. Hoover and R. F. Perry, A Problem Solving Approach. New York: Addison-Wesley, 1989.
F. Neelamkavil, Computer Simulation and Modelling. Chichester: John Wiley & Sons, 1987, pp. 1-4.
M. H. MacDougall, Simulating Computer Systems: Techniques and Tools. Cambridge, MA: MIT Press, 1987, p. 1.
J. W. Schmidt and R. E. Taylor, Simulation and Analysis of Industrial Systems. Homewood, IL: R. D. Irwin, 1970, p. 5.
J. Banks and J. S. Carson, Discrete-event System Simulation. Englewood Cliffs, NJ: Prentice-Hall, 1984, pp. 3-16.
W. Delaney and E. Vaccari, Dynamic Models and Discrete Event Simulation. New York, Marcel Dekker, 1989, pp. 1,13.
G. S. Fishman, Concepts and Methods in Discrete Event Digital Simulation. New York: John Wiley & Sons, 1973, pp. 24-25.
W. J. Graybeal and U. W. Pooch, Simulation: Principles and Methods. Cambridge, MA: Winthrop Publishers, 1980, pp. 5-10.
T. G. Lewis and B. J. Smith, Computer Principles of Modeling and Simulation. Boston, MA: Houghton Mifflin, 1979, pp. 172-174.
M. N. O. Sadiku and M. Ilyas, Simulation of Local Area Networks. Boca Raton: CRC Press, 1995, pp. 44,45, 67-77.
A. M. Law and W. D. Kelton, Simulation of Modeling and Analysis. New York: McGraw-Hill, 2nd ed., 1991, pp. 420-457.
R. McHaney, Computer Simulation: a Practical Perspective. New York: Academic Press, 1991, pp. 91-95, 155-172.
H. Kobayashi, Modeling and Analysis: An Introduction to System Performance Evaluation Methodology. Reading, MA: Addison-Wesley, 1978
R. Jain, The Art of Computer Systems Performance Analysis. New York: John Wiley & Sons, 1991, pp. 474-501.
M.N.O. Sadiku and M. R. Tofighi, “A Tutorial on Simulation of Queueing Models,” International Journal of Electrical Engineering Education, vol. 36, 1999, pp. 102-120.
M. D. Fraser, “Simulation,” IEEE Potential, Feb. 1992, pp. 15-18.
M. H. Merel and F. J. Mullin, “Analytic Monte Carlo error analysis,” J. Spacecraft, vol. 5, no. 11, Nov. 1968, pp. 1304 -1308.
A. J. Chorin, “Hermite expansions in Monte-Carlo computation,” J. Comp. Phys., vol. 8, 1971, pp. 472 -482.
G. S. Fishman, Concepts and Methods in Discrete Event Digital Simulation. New York: John Wiley & Sons, 1973, pp. 92-96.
G. Gordon, “A General Purpose Systems Simulation Program,” Proc. EJCC, Washington D.C. New York: Macmillan, 1961.
J. Banks, J. S. Carson, and J. N. Sy, Getting Started with GPSS/H. Annandale, VA: Wolverine Software, 1989.
Minuteman Software: GPSS/PC Manual. Stow: MA, 1988.
B. Schmidt, The Simulator GPSS-FORTRAN Version 3. New York: Springer Verlag, 1987.
H. M. Markowitz, B. Hausner, and H. W. Karr, SIMSCRIPT: A Simulation Programming Language. Englewood Cliffs, NJ: Prentice-Hall, 1963.
P. J. Kiviat, R. Villaneuva, and H. M. Markowitz, The SIMSCRIPT II Programming Language. Englewood Cliffs, NJ: Prentice-Hall, 1968.
A. A. B. Pritsker, The GASP IV Simulation Language. New York: John Wiley & Sons, 1974.
A. A. B. Pritsker, Introduction to Simulation and SLAM II. New York: John Wiley & Sons, 2nd ed., 1984.
J. F. Kurose et al., “A graphics-oriented modeler’s workstation environment for the RESearch Queueing Package (RESQ),” Proc. ACM/IEEE Fall Joint Computer Conf., 1986.
I. Katzela, Modeling and Simulation Communication Networks. Upper Saddle River, NJ: Prentice Hall, 1999.
E. Aboelela, Network Simulation Experiments Manual. London, UK: Morgan Kaufmann, 2008, pp. 173–184.
T. Issarikakul and E. Hossain, “Introduction to Network Simulator NS2. Springer, 2009.
L. Fan and L. Taoshen, “Implementation and performance analyses of anycast QoS routing algorithm based on genetic algorithm in NS2,” Proceedings of Second International Conference on Information and Computing Science, 2009, pp. 368 – 371.
S. Xu and Y. Yang, “Protocols simulation and performance analysis in wireless network based on NS2,” Proceedings of International conference on Multimedia Technology (ICMT), 2011, pp. 638 – 641.
M. J. Rahimi et al., “Development of the smart QoS monitors to enhance the performance of the NS2 network simulator,” Proceedings of 13 th International Conference on computer and Information Technology, 2010, pp. 137-141.
R. Huang et al., “Simulation and analysis of mflood protocol in wireless network,” Proceedings of International Symposium on Computer Science and Computational Technology, 2008, pp. 658-662.
W. J. Graybeal and U. W. Pooch, Simulation: Principles and Methods. Cambridge, MA: Winthrop Publishers, 1980, p. 153.
J. R. Emshoff and R. L. Sisson, Design and Use of Computer Simulation Models. London: Macmillan, 1970, pp. 119-150.
D. Maki and M. Thompson, Mathematical modeling and Computer Simulation. Belmont, CA: Thomson Brooks/Cole, 2006, pp. 153-211.
Author information
Authors and Affiliations
Problems
Problems
-
5.1
Define simulation and list five attractive reasons for it?
-
5.2
Generate 10,000 random numbers uniformly distributed between 0 and 1. Find the percentage of numbers between 0 and 0.1, between 0.1 and 0.2, etc., and compare your results with the expected distribution of 10 % in each interval.
-
5.3
(a) Using the linear congruential scheme, generate ten pseudorandom numbers with a = 1573, c = 19, m = 1000, and seed value X0 = 89.
(b) Repeat the generation with c = 0.
-
5.4
Uniformly distributed random integers between 11 and 30, inclusive, are to be generated from the random numbers U shown below. How many of the integers are odd numbers?
0.2311
0.7919
0.2312
0.9218
0.6068
0.7382
0.4860
0.1763
0.8913
0.4057
0.7621
0.9355
0.4565
0.9169
0.0185
0.4103
0.8214
0.8936
0.4447
0.0579
-
5.5
Generate 500 random numbers, exponentially distributed with mean 4, using uniformly distributed random numbers U. Estimate the mean and the variance of the variate.
-
5.6
Using the rejection method, generate a random variable from
$$ f(x)=5{x}^2,\begin{array}{cc}\hfill \hfill & \hfill 0\le x\le 1\hfill \end{array} $$ -
5.7
(a) Using the idea presented in this chapter, generate 100 Gaussian variates with mean 3 and variance 2.
(b) Repeat part (a) using MATLAB command randn.
(c) By estimating the mean and variance, which procedure is more accurate?
-
5.8
The probability density function of Erlang distribution is
$$ f(x)=\frac{\alpha^k{x}^{k-1}}{\Gamma (k)}{e}^{-\alpha x},\begin{array}{cc}\hfill \hfill & \hfill x>0,\alpha >0\hfill \end{array} $$where Γ(k) = (k − 1)! and k is an integer. Take k = 2 and α = 1. Use the rejection method to describe a procedure for generating random variates from Erlang distribution.
-
5.9
Write a computer program to produce variates that follow hyperexponential distribution, i.e.
$$ f(x)= p\lambda {e}^{-\lambda x}+\left(1-p\right)\mu {e}^{-\mu x} $$Take p = 0.6, λ = 10, μ = 5.
-
5.10
Write a program to simulate the M/Ek/1 queueing system. Take k = 2. Compare the results of the simulation with those predicted by queueing theory.
-
5.11
A random sample of 50 variables taken from a normal population has a mean of 20 and standard deviation of 8. Calculate the error with 95 % confidence limits.
-
5.12
In a simulation model of a queueing system, an analyst obtained the mean waiting time for four simulation runs as 42.80, 41.60, 42.48, and 41.80 μs. Calculate the 98 % confidence interval for the waiting time.
-
5.13
Discuss the OPNET simulation results of Fig. 5.29 results?
-
5.14
Discuss the OPNET simulation comparison results of Figs. 5.30 and 5.31?
-
5.15
Discuss the OPNET simulation comparison results Figs. 5.32 through 5.35?
-
5.16
What are different purposes for C++ and OTcl languages in NS2?
-
5.17
What are the limitations of NS2?
Rights and permissions
Copyright information
© 2013 Springer International Publishing Switzerland
About this chapter
Cite this chapter
Sadiku, M.N.O., Musa, S.M. (2013). Simulation. In: Performance Analysis of Computer Networks. Springer, Cham. https://doi.org/10.1007/978-3-319-01646-7_5
Download citation
DOI: https://doi.org/10.1007/978-3-319-01646-7_5
Published:
Publisher Name: Springer, Cham
Print ISBN: 978-3-319-01645-0
Online ISBN: 978-3-319-01646-7
eBook Packages: Computer ScienceComputer Science (R0)