Skip to main content

Simulation

  • Chapter
  • First Online:
Performance Analysis of Computer Networks

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

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 39.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 54.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info
Hardcover Book
USD 54.99
Price excludes VAT (USA)
  • Durable hardcover edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

References

  1. S. V. Hoover and R. F. Perry, A Problem Solving Approach. New York: Addison-Wesley, 1989.

    Google Scholar 

  2. F. Neelamkavil, Computer Simulation and Modelling. Chichester: John Wiley & Sons, 1987, pp. 1-4.

    Google Scholar 

  3. M. H. MacDougall, Simulating Computer Systems: Techniques and Tools. Cambridge, MA: MIT Press, 1987, p. 1.

    Google Scholar 

  4. J. W. Schmidt and R. E. Taylor, Simulation and Analysis of Industrial Systems. Homewood, IL: R. D. Irwin, 1970, p. 5.

    Google Scholar 

  5. J. Banks and J. S. Carson, Discrete-event System Simulation. Englewood Cliffs, NJ: Prentice-Hall, 1984, pp. 3-16.

    MATH  Google Scholar 

  6. W. Delaney and E. Vaccari, Dynamic Models and Discrete Event Simulation. New York, Marcel Dekker, 1989, pp. 1,13.

    MATH  Google Scholar 

  7. G. S. Fishman, Concepts and Methods in Discrete Event Digital Simulation. New York: John Wiley & Sons, 1973, pp. 24-25.

    Google Scholar 

  8. W. J. Graybeal and U. W. Pooch, Simulation: Principles and Methods. Cambridge, MA: Winthrop Publishers, 1980, pp. 5-10.

    MATH  Google Scholar 

  9. T. G. Lewis and B. J. Smith, Computer Principles of Modeling and Simulation. Boston, MA: Houghton Mifflin, 1979, pp. 172-174.

    Google Scholar 

  10. M. N. O. Sadiku and M. Ilyas, Simulation of Local Area Networks. Boca Raton: CRC Press, 1995, pp. 44,45, 67-77.

    Google Scholar 

  11. A. M. Law and W. D. Kelton, Simulation of Modeling and Analysis. New York: McGraw-Hill, 2nd ed., 1991, pp. 420-457.

    Google Scholar 

  12. R. McHaney, Computer Simulation: a Practical Perspective. New York: Academic Press, 1991, pp. 91-95, 155-172.

    Google Scholar 

  13. H. Kobayashi, Modeling and Analysis: An Introduction to System Performance Evaluation Methodology. Reading, MA: Addison-Wesley, 1978

    MATH  Google Scholar 

  14. R. Jain, The Art of Computer Systems Performance Analysis. New York: John Wiley & Sons, 1991, pp. 474-501.

    MATH  Google Scholar 

  15. 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.

    Article  Google Scholar 

  16. M. D. Fraser, “Simulation,” IEEE Potential, Feb. 1992, pp. 15-18.

    Google Scholar 

  17. M. H. Merel and F. J. Mullin, “Analytic Monte Carlo error analysis,” J. Spacecraft, vol. 5, no. 11, Nov. 1968, pp. 1304 -1308.

    Article  Google Scholar 

  18. A. J. Chorin, “Hermite expansions in Monte-Carlo computation,” J. Comp. Phys., vol. 8, 1971, pp. 472 -482.

    Article  MathSciNet  MATH  Google Scholar 

  19. G. S. Fishman, Concepts and Methods in Discrete Event Digital Simulation. New York: John Wiley & Sons, 1973, pp. 92-96.

    Google Scholar 

  20. G. Gordon, “A General Purpose Systems Simulation Program,” Proc. EJCC, Washington D.C. New York: Macmillan, 1961.

    Google Scholar 

  21. J. Banks, J. S. Carson, and J. N. Sy, Getting Started with GPSS/H. Annandale, VA: Wolverine Software, 1989.

    Google Scholar 

  22. Minuteman Software: GPSS/PC Manual. Stow: MA, 1988.

    Google Scholar 

  23. B. Schmidt, The Simulator GPSS-FORTRAN Version 3. New York: Springer Verlag, 1987.

    Book  MATH  Google Scholar 

  24. H. M. Markowitz, B. Hausner, and H. W. Karr, SIMSCRIPT: A Simulation Programming Language. Englewood Cliffs, NJ: Prentice-Hall, 1963.

    Google Scholar 

  25. P. J. Kiviat, R. Villaneuva, and H. M. Markowitz, The SIMSCRIPT II Programming Language. Englewood Cliffs, NJ: Prentice-Hall, 1968.

    Google Scholar 

  26. A. A. B. Pritsker, The GASP IV Simulation Language. New York: John Wiley & Sons, 1974.

    MATH  Google Scholar 

  27. A. A. B. Pritsker, Introduction to Simulation and SLAM II. New York: John Wiley & Sons, 2nd ed., 1984.

    Google Scholar 

  28. 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.

    Google Scholar 

  29. I. Katzela, Modeling and Simulation Communication Networks. Upper Saddle River, NJ: Prentice Hall, 1999.

    Google Scholar 

  30. E. Aboelela, Network Simulation Experiments Manual. London, UK: Morgan Kaufmann, 2008, pp. 173–184.

    Google Scholar 

  31. http://www.opnet.com/

  32. T. Issarikakul and E. Hossain, “Introduction to Network Simulator NS2. Springer, 2009.

    Google Scholar 

  33. http://www.isi.edu/nsnam/ns/

  34. 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.

    Google Scholar 

  35. 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.

    Google Scholar 

  36. 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.

    Google Scholar 

  37. 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.

    Google Scholar 

  38. W. J. Graybeal and U. W. Pooch, Simulation: Principles and Methods. Cambridge, MA: Winthrop Publishers, 1980, p. 153.

    Google Scholar 

  39. J. R. Emshoff and R. L. Sisson, Design and Use of Computer Simulation Models. London: Macmillan, 1970, pp. 119-150.

    Google Scholar 

  40. D. Maki and M. Thompson, Mathematical modeling and Computer Simulation. Belmont, CA: Thomson Brooks/Cole, 2006, pp. 153-211.

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Problems

Problems

  1. 5.1

    Define simulation and list five attractive reasons for it?

  2. 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.

  3. 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.

  4. 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.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.

  6. 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} $$
  7. 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?

  8. 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.

  9. 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.

  10. 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.

  11. 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.

  12. 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.

  13. 5.13

    Discuss the OPNET simulation results of Fig. 5.29 results?

  14. 5.14

    Discuss the OPNET simulation comparison results of Figs. 5.30 and 5.31?

  15. 5.15

    Discuss the OPNET simulation comparison results Figs. 5.32 through 5.35?

  16. 5.16

    What are different purposes for C++ and OTcl languages in NS2?

  17. 5.17

    What are the limitations of NS2?

Rights and permissions

Reprints 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)

Publish with us

Policies and ethics