SlideShare uma empresa Scribd logo
1 de 7
Baixar para ler offline
Network Simulation/ Third year
Al-Mamoun University College - Computer Engineering Techniques Dept. - Dr. Ahmed L. Khalaf
1
Introduction to Networks Simulation
Simulation serves to imitate a real system or process. A simulation allows us to
examine the system’s behavior under different scenarios, which are assessed
(evaluated) by re-enactment within a virtual computational world. Simulation
can be used, among other things, to identify bottle-necks in a process, provide a
safe and relatively cheaper (in term of both cost and time) test bed to evaluate
the side effects, and optimize the performance of the system-all before
realizing these systems in the physical world.
Today, modeling and simulation are used extensively. They are used not
just to find if a given system design works, but to discover a system design that
works best. More importantly, modeling and simulation are often used as an
inexpensive technique to perform exception and “what-if” analyses, especially
when the cost would be prohibitive when using the actual system. They are also
used as a reasonable means to carry out stress testing under exceedingly elevated
volumes of input data. Japanese companies use modeling and simulation to
improve quality, and often spend more than 50% of their design time in this
phase. The rest of the world is only now beginning to emulate this procedure.
Many American companies now participate in rapid prototyping, where computer
models and simulations are used to quickly design and test product concept ideas
before committing resources to real-world in-depth designs.
Key issues in simulation include acquisition of valid source information about
the referent, selection of key characteristics and behaviors, the use of simplifying
approximations and assumptions within the simulation, and fidelity and validity
of the simulation outcomes. Simulation enables goal-directed experimentation
with dynamical systems, i.e., systems with time-dependent behavior. It has
become an important technology, and is widely used in many scientific
Network Simulation/ Third year
Al-Mamoun University College - Computer Engineering Techniques Dept. - Dr. Ahmed L. Khalaf
2
research areas. In addition, modeling and simulation are essential stages in the
engineering design and problem-solving process and are undertaken before a
physical prototype is built. Engineers use computers to draw physical structures
and to make mathematical models that simulate the operation of a device or
technique. The modeling and simulation phases are often the longest part of the
engineering design process. When starting this phase, engineers keep several
goals in mind:
• Does the product/problem meet its specifications?
• What are the limits of the product/problem?
• Do alternative designs/solutions work better?
Table provides a summary of some typical uses of simulation modeling in
academia and industry to provide students and professionals with the right skill
set. Simulation provides a method for checking one’s understanding of the world
and helps in producing better results faster. A simulation environment like
MATLAB is an important tool that one can use to:
● Predict the course and results of certain actions.
● Understand why observed events occur.
● Identify problem areas before implementation.
● Explore the effects of modification.
● Confirm that all variables are known.
● Evaluate ideas and identify inefficiencies.
● Gain insight and stimulate creative thinking.
● Communicate the integrity and feasibility of one’s plans.
Network Simulation/ Third year
Al-Mamoun University College - Computer Engineering Techniques Dept. - Dr. Ahmed L. Khalaf
3
Simulation can be used in many situations, such as:
• When the analytical model/solution is not possible or feasible. In such
cases, experts resort to simulations.
• Many times, simulation results are used to verify analytical solutions in
order to make sure that the system is modeled correctly using analytical
approaches.
• Dynamic systems, which involve randomness and change of state with
time. An example is an electric car charging station where cars come and go
Network Simulation/ Third year
Al-Mamoun University College - Computer Engineering Techniques Dept. - Dr. Ahmed L. Khalaf
4
unpredictably to charge their batteries. In such systems, it is difficult (sometimes
impossible) to predict exactly what time the next car should arrive at the station.
• Complex dynamic systems, which are so complex that when analyzed
theoretically will require too many simplifications. In such cases, it is not possible
to study the system and analyze it analytically. Therefore, simulation is the best
approach to study the behavior of such a complex system.
Simulation should not be used in the following cases:
● The simulation requires months or years of CPU time. In this scenario, it
is probably not feasible to run simulations.
● The analytical solution exists and is simple. In this scenario, it is easier to
use the analytical solution to solve the problem rather than use simulation (unless
one wants to relax some assumptions or compare the analytical solution to the
simulation).
2. Simulator Vs. Emulator
The terms emulation and simulation are often used interchangeably. In
most cases, either term will generally get the point across, but there’s a big
difference between a network emulator and network simulator. A
simulator can perform tasks in abstract to demonstrate the behavior of a network
and its components, while an emulator can copy the behavior of a network to
functionally replace it.
2.1 Network Simulators
Simulators are software solutions and different types are available for different
applications. While used primarily for research and educational purposes, they
can also act as crucial testing tools in the design and development of a network.
Network Simulation/ Third year
Al-Mamoun University College - Computer Engineering Techniques Dept. - Dr. Ahmed L. Khalaf
5
Simulators, such as ns-3, are used to simulate networking and routing protocols.
OPNET also provided a standalone simulation environment.
Both of these network simulators use discrete event simulation which
chronologically queues and processes events like data flow. This allows a
network architect or engineer to build and evaluate an experimental model of a
network, including its topology and application flow. Since a variety of
theoretical scenarios can be introduced to a network where anything can be built
and applied, performance can be hypothesized before the network itself has even
been implemented within the real-world.
Although testing a network using simulators can save both time and money,
network simulators aren’t without their limitations. These highly complex
operations require a degree of experience and training to properly configure in
order to acquire reliable results.
2.2 Network Emulators
A network emulator is used to test the performance of a real network. These
devices can also be used for such purposes as quality assurance, proof of concept,
or troubleshooting. Available as hardware or software solutions, a network
emulator allows network architects, engineers, and developers to accurately
gauge an application’s responsiveness, throughput, and quality of end-user
experience prior to applying making changes or additions to a system.
Understanding the difference between a network simulator and a network
emulator will expand your testing tool kit and optimize your engineering efforts.
Both are useful and necessary tools and each serve their own distinct purpose.
A network simulator will help you design a network from the ground-up without
the need for physical appliances. Looking to develop a satellite communications
network from scratch? Use a network simulator. Once that network is designed
Network Simulation/ Third year
Al-Mamoun University College - Computer Engineering Techniques Dept. - Dr. Ahmed L. Khalaf
6
and built, a network emulator will help you test and validate application
performance, troubleshoot, and provide proof-of-concept.
3. Types of Simulation Techniques
The most important types of simulations described in the literature that are of
special importance to engineers are:
1. Emulation: The process of designing and building hardware or firmware
(i.e., prototype) that imitates the functionality of the real system.
2. Monte Carlo simulation: Any simulation that has no time axis.
Monte Carlo simulation is used to model probabilistic phenomena that do not
change with time, or to evaluate non-probabilistic
expressions using probabilistic techniques.
3. Trace-driven simulation: Any simulation that uses an ordered list of real-
world events as input.
4. Continuous-event simulation: In some systems, the state changes occur
all the time, not merely at discrete times. For example, the water level in a
reservoir (tank) with given in- and outflows may change all the time. In such cases
“continuous simulation” is more appropriate, although discrete-event simulation
can serve as an approximation.
5. Discrete-event simulation: A discrete-event simulation is characterized
by two features: (1) within any interval of time, one can find a subinterval in
which no event occurs and no state variables change; (2) the number of events is
finite. All discrete-event simulations have the following components:
• Event queue: A list that contains all the events waiting to happen (in
future). The implementation of the event list and the functions to be performed
on it can significantly affect the efficiency of the simulation program.
Network Simulation/ Third year
Al-Mamoun University College - Computer Engineering Techniques Dept. - Dr. Ahmed L. Khalaf
7
• Simulation clock: A global variable that represents the simulated
Simulation time can be advanced by time-driven or event-driven methods. In the
time-driven approach, time is divided into constant, small increments, and then
events occurring within each increment are checked. On the other hand, in the
event-driven approach, time is incremented to the time of the next imminent
event. This event is processed and then the simulation clock is incremented again
to the time of the next imminent event, and so on. This latter approach is the one
that is generally used in computer simulations.
• State variables: Variables that together completely describe the state of
the system.
• Event routines: Routines (fixed programs regularly followed) that handle
the occurrence of events. If an event occurs, its corresponding event routine is
executed to update the state variables and the event queue appropriately.
• Input routine: The routine that gets the input parameters from the user and
the supplies them to the model.
• Report generation routine: The routine responsible for calculating results
and printing them out to the end user.
• Initialization routine: The routine responsible for initializing the values of
the various state variables, global variables, and statistical variables at the
beginning of the simulation program.
• Main program: The program where the other routines are called. The main
program calls the initialization routine; the input routine executes various
iterations, finally calls the report generation routine, and terminates the
simulation.

Mais conteúdo relacionado

Mais procurados

System Modeling & Simulation Introduction
System Modeling & Simulation  IntroductionSystem Modeling & Simulation  Introduction
System Modeling & Simulation IntroductionSharmilaChidaravalli
 
02 20110314-simulation
02 20110314-simulation02 20110314-simulation
02 20110314-simulationSaad Gabr
 
Operations research lecture 5
Operations research lecture 5Operations research lecture 5
Operations research lecture 5Najmul Hoda
 
System simulation & modeling notes[sjbit]
System simulation & modeling notes[sjbit]System simulation & modeling notes[sjbit]
System simulation & modeling notes[sjbit]qwerty626
 
VTU 8th Sem Notes Simulation
VTU 8th Sem Notes SimulationVTU 8th Sem Notes Simulation
VTU 8th Sem Notes SimulationVivek Maurya
 
Modeling & simulation in projects
Modeling & simulation in projectsModeling & simulation in projects
Modeling & simulation in projectsanki009
 
Advantages and disadvantages of Simulation
Advantages and disadvantages of SimulationAdvantages and disadvantages of Simulation
Advantages and disadvantages of SimulationTilakpoudel2
 
Computer Simulation And Modeling
Computer Simulation And ModelingComputer Simulation And Modeling
Computer Simulation And ModelingPakistan Loverx
 
Modeling and Simulation Overview
Modeling and Simulation OverviewModeling and Simulation Overview
Modeling and Simulation Overviewmtraum
 
Simulation and Modeling
Simulation and ModelingSimulation and Modeling
Simulation and Modelinganhdbh
 
Simulation & Modelling
Simulation & ModellingSimulation & Modelling
Simulation & ModellingSaneem Nazim
 
simulation modeling in DSS
 simulation modeling in DSS simulation modeling in DSS
simulation modeling in DSSEnaam Alotaibi
 
Mathematical models and algorithms challenges
Mathematical models and algorithms challengesMathematical models and algorithms challenges
Mathematical models and algorithms challengesijctcm
 
An Approach to Software Testing of Machine Learning Applications
An Approach to Software Testing of Machine Learning ApplicationsAn Approach to Software Testing of Machine Learning Applications
An Approach to Software Testing of Machine Learning Applicationsbutest
 
An Implementation on Effective Robot Mission under Critical Environemental Co...
An Implementation on Effective Robot Mission under Critical Environemental Co...An Implementation on Effective Robot Mission under Critical Environemental Co...
An Implementation on Effective Robot Mission under Critical Environemental Co...IJERA Editor
 
Simulation concept, Advantages & Disadvantages
Simulation concept, Advantages & DisadvantagesSimulation concept, Advantages & Disadvantages
Simulation concept, Advantages & DisadvantagesPankaj Verma
 
TRANSFORMER DIAGNOSTICS BY AN EXPERT SYSTEM
TRANSFORMER DIAGNOSTICS BY AN EXPERT SYSTEMTRANSFORMER DIAGNOSTICS BY AN EXPERT SYSTEM
TRANSFORMER DIAGNOSTICS BY AN EXPERT SYSTEMGururaj B Rawoor
 

Mais procurados (20)

System Modeling & Simulation Introduction
System Modeling & Simulation  IntroductionSystem Modeling & Simulation  Introduction
System Modeling & Simulation Introduction
 
02 20110314-simulation
02 20110314-simulation02 20110314-simulation
02 20110314-simulation
 
Operations research lecture 5
Operations research lecture 5Operations research lecture 5
Operations research lecture 5
 
System simulation & modeling notes[sjbit]
System simulation & modeling notes[sjbit]System simulation & modeling notes[sjbit]
System simulation & modeling notes[sjbit]
 
VTU 8th Sem Notes Simulation
VTU 8th Sem Notes SimulationVTU 8th Sem Notes Simulation
VTU 8th Sem Notes Simulation
 
Modeling & simulation in projects
Modeling & simulation in projectsModeling & simulation in projects
Modeling & simulation in projects
 
Advantages and disadvantages of Simulation
Advantages and disadvantages of SimulationAdvantages and disadvantages of Simulation
Advantages and disadvantages of Simulation
 
Simulation
SimulationSimulation
Simulation
 
Computer Simulation And Modeling
Computer Simulation And ModelingComputer Simulation And Modeling
Computer Simulation And Modeling
 
Modeling and Simulation Overview
Modeling and Simulation OverviewModeling and Simulation Overview
Modeling and Simulation Overview
 
Simulation and Modeling
Simulation and ModelingSimulation and Modeling
Simulation and Modeling
 
Discrete event-simulation
Discrete event-simulationDiscrete event-simulation
Discrete event-simulation
 
Simulation & Modelling
Simulation & ModellingSimulation & Modelling
Simulation & Modelling
 
Simulation Powerpoint- Lecture Notes
Simulation Powerpoint- Lecture NotesSimulation Powerpoint- Lecture Notes
Simulation Powerpoint- Lecture Notes
 
simulation modeling in DSS
 simulation modeling in DSS simulation modeling in DSS
simulation modeling in DSS
 
Mathematical models and algorithms challenges
Mathematical models and algorithms challengesMathematical models and algorithms challenges
Mathematical models and algorithms challenges
 
An Approach to Software Testing of Machine Learning Applications
An Approach to Software Testing of Machine Learning ApplicationsAn Approach to Software Testing of Machine Learning Applications
An Approach to Software Testing of Machine Learning Applications
 
An Implementation on Effective Robot Mission under Critical Environemental Co...
An Implementation on Effective Robot Mission under Critical Environemental Co...An Implementation on Effective Robot Mission under Critical Environemental Co...
An Implementation on Effective Robot Mission under Critical Environemental Co...
 
Simulation concept, Advantages & Disadvantages
Simulation concept, Advantages & DisadvantagesSimulation concept, Advantages & Disadvantages
Simulation concept, Advantages & Disadvantages
 
TRANSFORMER DIAGNOSTICS BY AN EXPERT SYSTEM
TRANSFORMER DIAGNOSTICS BY AN EXPERT SYSTEMTRANSFORMER DIAGNOSTICS BY AN EXPERT SYSTEM
TRANSFORMER DIAGNOSTICS BY AN EXPERT SYSTEM
 

Semelhante a Introduction to networks simulation

Introduction to System, Simulation and Model
Introduction to System, Simulation and ModelIntroduction to System, Simulation and Model
Introduction to System, Simulation and ModelMd. Hasan Imam Bijoy
 
A Survey on Wireless Network Simulators
A Survey on Wireless Network SimulatorsA Survey on Wireless Network Simulators
A Survey on Wireless Network SimulatorsjournalBEEI
 
Unit 6 Simulation.pptx
Unit 6 Simulation.pptxUnit 6 Simulation.pptx
Unit 6 Simulation.pptxHafiz20006
 
Simulation of traffic engg.
Simulation of traffic engg.Simulation of traffic engg.
Simulation of traffic engg.vijay reddy
 
A Novel Approach to Derive the Average-Case Behavior of Distributed Embedded ...
A Novel Approach to Derive the Average-Case Behavior of Distributed Embedded ...A Novel Approach to Derive the Average-Case Behavior of Distributed Embedded ...
A Novel Approach to Derive the Average-Case Behavior of Distributed Embedded ...ijccmsjournal
 
Introduction to simulation and modeling
Introduction to simulation and modelingIntroduction to simulation and modeling
Introduction to simulation and modelingantim19
 
Introduction to modeling_and_simulation
Introduction to modeling_and_simulationIntroduction to modeling_and_simulation
Introduction to modeling_and_simulationAysun Duran
 
Introduction to modeling_and_simulation
Introduction to modeling_and_simulationIntroduction to modeling_and_simulation
Introduction to modeling_and_simulationmukmin91
 
Final Year Project Report Example
Final Year Project Report ExampleFinal Year Project Report Example
Final Year Project Report ExampleMuhd Mu'izuddin
 
Automatic Test Generation for Space
Automatic Test Generation for SpaceAutomatic Test Generation for Space
Automatic Test Generation for SpaceUlisses Costa
 
2. leiviskä k (1996) simulation in pulp and paper industry. february 1996
2. leiviskä k (1996) simulation in pulp and paper industry. february 19962. leiviskä k (1996) simulation in pulp and paper industry. february 1996
2. leiviskä k (1996) simulation in pulp and paper industry. february 1996Huy Nguyen
 
An Overview of Performance Evaluation & Simulation
An Overview of Performance Evaluation & SimulationAn Overview of Performance Evaluation & Simulation
An Overview of Performance Evaluation & Simulationdasdfadfdsfsdfasdf
 
Unit 1 introduction
Unit 1 introductionUnit 1 introduction
Unit 1 introductionraksharao
 
Modeling&Simulation_Ch01_part 3.pptx
Modeling&Simulation_Ch01_part 3.pptxModeling&Simulation_Ch01_part 3.pptx
Modeling&Simulation_Ch01_part 3.pptxMaiGaafar
 
Strategy for Social Media MK Plan by Slidesgo.pptx
Strategy for Social Media MK Plan by Slidesgo.pptxStrategy for Social Media MK Plan by Slidesgo.pptx
Strategy for Social Media MK Plan by Slidesgo.pptxjshwyi
 

Semelhante a Introduction to networks simulation (20)

Introduction to System, Simulation and Model
Introduction to System, Simulation and ModelIntroduction to System, Simulation and Model
Introduction to System, Simulation and Model
 
MODELING & SIMULATION.docx
MODELING & SIMULATION.docxMODELING & SIMULATION.docx
MODELING & SIMULATION.docx
 
A Survey on Wireless Network Simulators
A Survey on Wireless Network SimulatorsA Survey on Wireless Network Simulators
A Survey on Wireless Network Simulators
 
Unit 6 Simulation.pptx
Unit 6 Simulation.pptxUnit 6 Simulation.pptx
Unit 6 Simulation.pptx
 
lecture 1.pptx
lecture 1.pptxlecture 1.pptx
lecture 1.pptx
 
Simulation of traffic engg.
Simulation of traffic engg.Simulation of traffic engg.
Simulation of traffic engg.
 
Microkontroler
MicrokontrolerMicrokontroler
Microkontroler
 
A Novel Approach to Derive the Average-Case Behavior of Distributed Embedded ...
A Novel Approach to Derive the Average-Case Behavior of Distributed Embedded ...A Novel Approach to Derive the Average-Case Behavior of Distributed Embedded ...
A Novel Approach to Derive the Average-Case Behavior of Distributed Embedded ...
 
Soumya
SoumyaSoumya
Soumya
 
Introduction to simulation and modeling
Introduction to simulation and modelingIntroduction to simulation and modeling
Introduction to simulation and modeling
 
Introduction to modeling_and_simulation
Introduction to modeling_and_simulationIntroduction to modeling_and_simulation
Introduction to modeling_and_simulation
 
Introduction to modeling_and_simulation
Introduction to modeling_and_simulationIntroduction to modeling_and_simulation
Introduction to modeling_and_simulation
 
Final Year Project Report Example
Final Year Project Report ExampleFinal Year Project Report Example
Final Year Project Report Example
 
Automatic Test Generation for Space
Automatic Test Generation for SpaceAutomatic Test Generation for Space
Automatic Test Generation for Space
 
2. leiviskä k (1996) simulation in pulp and paper industry. february 1996
2. leiviskä k (1996) simulation in pulp and paper industry. february 19962. leiviskä k (1996) simulation in pulp and paper industry. february 1996
2. leiviskä k (1996) simulation in pulp and paper industry. february 1996
 
An Overview of Performance Evaluation & Simulation
An Overview of Performance Evaluation & SimulationAn Overview of Performance Evaluation & Simulation
An Overview of Performance Evaluation & Simulation
 
Unit 1 introduction
Unit 1 introductionUnit 1 introduction
Unit 1 introduction
 
Modeling&Simulation_Ch01_part 3.pptx
Modeling&Simulation_Ch01_part 3.pptxModeling&Simulation_Ch01_part 3.pptx
Modeling&Simulation_Ch01_part 3.pptx
 
Strategy for Social Media MK Plan by Slidesgo.pptx
Strategy for Social Media MK Plan by Slidesgo.pptxStrategy for Social Media MK Plan by Slidesgo.pptx
Strategy for Social Media MK Plan by Slidesgo.pptx
 
Simulation
SimulationSimulation
Simulation
 

Último

UNIT-III FMM. DIMENSIONAL ANALYSIS
UNIT-III FMM.        DIMENSIONAL ANALYSISUNIT-III FMM.        DIMENSIONAL ANALYSIS
UNIT-III FMM. DIMENSIONAL ANALYSISrknatarajan
 
UNIT-V FMM.HYDRAULIC TURBINE - Construction and working
UNIT-V FMM.HYDRAULIC TURBINE - Construction and workingUNIT-V FMM.HYDRAULIC TURBINE - Construction and working
UNIT-V FMM.HYDRAULIC TURBINE - Construction and workingrknatarajan
 
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...Christo Ananth
 
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLS
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLSMANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLS
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLSSIVASHANKAR N
 
Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...
Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...
Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...roncy bisnoi
 
Introduction to Multiple Access Protocol.pptx
Introduction to Multiple Access Protocol.pptxIntroduction to Multiple Access Protocol.pptx
Introduction to Multiple Access Protocol.pptxupamatechverse
 
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...ranjana rawat
 
CCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete Record
CCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete RecordCCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete Record
CCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete RecordAsst.prof M.Gokilavani
 
Coefficient of Thermal Expansion and their Importance.pptx
Coefficient of Thermal Expansion and their Importance.pptxCoefficient of Thermal Expansion and their Importance.pptx
Coefficient of Thermal Expansion and their Importance.pptxAsutosh Ranjan
 
BSides Seattle 2024 - Stopping Ethan Hunt From Taking Your Data.pptx
BSides Seattle 2024 - Stopping Ethan Hunt From Taking Your Data.pptxBSides Seattle 2024 - Stopping Ethan Hunt From Taking Your Data.pptx
BSides Seattle 2024 - Stopping Ethan Hunt From Taking Your Data.pptxfenichawla
 
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...Dr.Costas Sachpazis
 
MANUFACTURING PROCESS-II UNIT-1 THEORY OF METAL CUTTING
MANUFACTURING PROCESS-II UNIT-1 THEORY OF METAL CUTTINGMANUFACTURING PROCESS-II UNIT-1 THEORY OF METAL CUTTING
MANUFACTURING PROCESS-II UNIT-1 THEORY OF METAL CUTTINGSIVASHANKAR N
 
UNIT - IV - Air Compressors and its Performance
UNIT - IV - Air Compressors and its PerformanceUNIT - IV - Air Compressors and its Performance
UNIT - IV - Air Compressors and its Performancesivaprakash250
 
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur Escorts
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur EscortsCall Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur Escorts
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur High Profile
 
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...ranjana rawat
 
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur EscortsHigh Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur High Profile
 
Online banking management system project.pdf
Online banking management system project.pdfOnline banking management system project.pdf
Online banking management system project.pdfKamal Acharya
 
The Most Attractive Pune Call Girls Manchar 8250192130 Will You Miss This Cha...
The Most Attractive Pune Call Girls Manchar 8250192130 Will You Miss This Cha...The Most Attractive Pune Call Girls Manchar 8250192130 Will You Miss This Cha...
The Most Attractive Pune Call Girls Manchar 8250192130 Will You Miss This Cha...ranjana rawat
 
Glass Ceramics: Processing and Properties
Glass Ceramics: Processing and PropertiesGlass Ceramics: Processing and Properties
Glass Ceramics: Processing and PropertiesPrabhanshu Chaturvedi
 

Último (20)

UNIT-III FMM. DIMENSIONAL ANALYSIS
UNIT-III FMM.        DIMENSIONAL ANALYSISUNIT-III FMM.        DIMENSIONAL ANALYSIS
UNIT-III FMM. DIMENSIONAL ANALYSIS
 
UNIT-V FMM.HYDRAULIC TURBINE - Construction and working
UNIT-V FMM.HYDRAULIC TURBINE - Construction and workingUNIT-V FMM.HYDRAULIC TURBINE - Construction and working
UNIT-V FMM.HYDRAULIC TURBINE - Construction and working
 
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
 
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLS
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLSMANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLS
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLS
 
Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...
Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...
Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...
 
Introduction to Multiple Access Protocol.pptx
Introduction to Multiple Access Protocol.pptxIntroduction to Multiple Access Protocol.pptx
Introduction to Multiple Access Protocol.pptx
 
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
 
CCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete Record
CCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete RecordCCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete Record
CCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete Record
 
Coefficient of Thermal Expansion and their Importance.pptx
Coefficient of Thermal Expansion and their Importance.pptxCoefficient of Thermal Expansion and their Importance.pptx
Coefficient of Thermal Expansion and their Importance.pptx
 
DJARUM4D - SLOT GACOR ONLINE | SLOT DEMO ONLINE
DJARUM4D - SLOT GACOR ONLINE | SLOT DEMO ONLINEDJARUM4D - SLOT GACOR ONLINE | SLOT DEMO ONLINE
DJARUM4D - SLOT GACOR ONLINE | SLOT DEMO ONLINE
 
BSides Seattle 2024 - Stopping Ethan Hunt From Taking Your Data.pptx
BSides Seattle 2024 - Stopping Ethan Hunt From Taking Your Data.pptxBSides Seattle 2024 - Stopping Ethan Hunt From Taking Your Data.pptx
BSides Seattle 2024 - Stopping Ethan Hunt From Taking Your Data.pptx
 
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
 
MANUFACTURING PROCESS-II UNIT-1 THEORY OF METAL CUTTING
MANUFACTURING PROCESS-II UNIT-1 THEORY OF METAL CUTTINGMANUFACTURING PROCESS-II UNIT-1 THEORY OF METAL CUTTING
MANUFACTURING PROCESS-II UNIT-1 THEORY OF METAL CUTTING
 
UNIT - IV - Air Compressors and its Performance
UNIT - IV - Air Compressors and its PerformanceUNIT - IV - Air Compressors and its Performance
UNIT - IV - Air Compressors and its Performance
 
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur Escorts
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur EscortsCall Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur Escorts
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur Escorts
 
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
 
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur EscortsHigh Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
 
Online banking management system project.pdf
Online banking management system project.pdfOnline banking management system project.pdf
Online banking management system project.pdf
 
The Most Attractive Pune Call Girls Manchar 8250192130 Will You Miss This Cha...
The Most Attractive Pune Call Girls Manchar 8250192130 Will You Miss This Cha...The Most Attractive Pune Call Girls Manchar 8250192130 Will You Miss This Cha...
The Most Attractive Pune Call Girls Manchar 8250192130 Will You Miss This Cha...
 
Glass Ceramics: Processing and Properties
Glass Ceramics: Processing and PropertiesGlass Ceramics: Processing and Properties
Glass Ceramics: Processing and Properties
 

Introduction to networks simulation

  • 1. Network Simulation/ Third year Al-Mamoun University College - Computer Engineering Techniques Dept. - Dr. Ahmed L. Khalaf 1 Introduction to Networks Simulation Simulation serves to imitate a real system or process. A simulation allows us to examine the system’s behavior under different scenarios, which are assessed (evaluated) by re-enactment within a virtual computational world. Simulation can be used, among other things, to identify bottle-necks in a process, provide a safe and relatively cheaper (in term of both cost and time) test bed to evaluate the side effects, and optimize the performance of the system-all before realizing these systems in the physical world. Today, modeling and simulation are used extensively. They are used not just to find if a given system design works, but to discover a system design that works best. More importantly, modeling and simulation are often used as an inexpensive technique to perform exception and “what-if” analyses, especially when the cost would be prohibitive when using the actual system. They are also used as a reasonable means to carry out stress testing under exceedingly elevated volumes of input data. Japanese companies use modeling and simulation to improve quality, and often spend more than 50% of their design time in this phase. The rest of the world is only now beginning to emulate this procedure. Many American companies now participate in rapid prototyping, where computer models and simulations are used to quickly design and test product concept ideas before committing resources to real-world in-depth designs. Key issues in simulation include acquisition of valid source information about the referent, selection of key characteristics and behaviors, the use of simplifying approximations and assumptions within the simulation, and fidelity and validity of the simulation outcomes. Simulation enables goal-directed experimentation with dynamical systems, i.e., systems with time-dependent behavior. It has become an important technology, and is widely used in many scientific
  • 2. Network Simulation/ Third year Al-Mamoun University College - Computer Engineering Techniques Dept. - Dr. Ahmed L. Khalaf 2 research areas. In addition, modeling and simulation are essential stages in the engineering design and problem-solving process and are undertaken before a physical prototype is built. Engineers use computers to draw physical structures and to make mathematical models that simulate the operation of a device or technique. The modeling and simulation phases are often the longest part of the engineering design process. When starting this phase, engineers keep several goals in mind: • Does the product/problem meet its specifications? • What are the limits of the product/problem? • Do alternative designs/solutions work better? Table provides a summary of some typical uses of simulation modeling in academia and industry to provide students and professionals with the right skill set. Simulation provides a method for checking one’s understanding of the world and helps in producing better results faster. A simulation environment like MATLAB is an important tool that one can use to: ● Predict the course and results of certain actions. ● Understand why observed events occur. ● Identify problem areas before implementation. ● Explore the effects of modification. ● Confirm that all variables are known. ● Evaluate ideas and identify inefficiencies. ● Gain insight and stimulate creative thinking. ● Communicate the integrity and feasibility of one’s plans.
  • 3. Network Simulation/ Third year Al-Mamoun University College - Computer Engineering Techniques Dept. - Dr. Ahmed L. Khalaf 3 Simulation can be used in many situations, such as: • When the analytical model/solution is not possible or feasible. In such cases, experts resort to simulations. • Many times, simulation results are used to verify analytical solutions in order to make sure that the system is modeled correctly using analytical approaches. • Dynamic systems, which involve randomness and change of state with time. An example is an electric car charging station where cars come and go
  • 4. Network Simulation/ Third year Al-Mamoun University College - Computer Engineering Techniques Dept. - Dr. Ahmed L. Khalaf 4 unpredictably to charge their batteries. In such systems, it is difficult (sometimes impossible) to predict exactly what time the next car should arrive at the station. • Complex dynamic systems, which are so complex that when analyzed theoretically will require too many simplifications. In such cases, it is not possible to study the system and analyze it analytically. Therefore, simulation is the best approach to study the behavior of such a complex system. Simulation should not be used in the following cases: ● The simulation requires months or years of CPU time. In this scenario, it is probably not feasible to run simulations. ● The analytical solution exists and is simple. In this scenario, it is easier to use the analytical solution to solve the problem rather than use simulation (unless one wants to relax some assumptions or compare the analytical solution to the simulation). 2. Simulator Vs. Emulator The terms emulation and simulation are often used interchangeably. In most cases, either term will generally get the point across, but there’s a big difference between a network emulator and network simulator. A simulator can perform tasks in abstract to demonstrate the behavior of a network and its components, while an emulator can copy the behavior of a network to functionally replace it. 2.1 Network Simulators Simulators are software solutions and different types are available for different applications. While used primarily for research and educational purposes, they can also act as crucial testing tools in the design and development of a network.
  • 5. Network Simulation/ Third year Al-Mamoun University College - Computer Engineering Techniques Dept. - Dr. Ahmed L. Khalaf 5 Simulators, such as ns-3, are used to simulate networking and routing protocols. OPNET also provided a standalone simulation environment. Both of these network simulators use discrete event simulation which chronologically queues and processes events like data flow. This allows a network architect or engineer to build and evaluate an experimental model of a network, including its topology and application flow. Since a variety of theoretical scenarios can be introduced to a network where anything can be built and applied, performance can be hypothesized before the network itself has even been implemented within the real-world. Although testing a network using simulators can save both time and money, network simulators aren’t without their limitations. These highly complex operations require a degree of experience and training to properly configure in order to acquire reliable results. 2.2 Network Emulators A network emulator is used to test the performance of a real network. These devices can also be used for such purposes as quality assurance, proof of concept, or troubleshooting. Available as hardware or software solutions, a network emulator allows network architects, engineers, and developers to accurately gauge an application’s responsiveness, throughput, and quality of end-user experience prior to applying making changes or additions to a system. Understanding the difference between a network simulator and a network emulator will expand your testing tool kit and optimize your engineering efforts. Both are useful and necessary tools and each serve their own distinct purpose. A network simulator will help you design a network from the ground-up without the need for physical appliances. Looking to develop a satellite communications network from scratch? Use a network simulator. Once that network is designed
  • 6. Network Simulation/ Third year Al-Mamoun University College - Computer Engineering Techniques Dept. - Dr. Ahmed L. Khalaf 6 and built, a network emulator will help you test and validate application performance, troubleshoot, and provide proof-of-concept. 3. Types of Simulation Techniques The most important types of simulations described in the literature that are of special importance to engineers are: 1. Emulation: The process of designing and building hardware or firmware (i.e., prototype) that imitates the functionality of the real system. 2. Monte Carlo simulation: Any simulation that has no time axis. Monte Carlo simulation is used to model probabilistic phenomena that do not change with time, or to evaluate non-probabilistic expressions using probabilistic techniques. 3. Trace-driven simulation: Any simulation that uses an ordered list of real- world events as input. 4. Continuous-event simulation: In some systems, the state changes occur all the time, not merely at discrete times. For example, the water level in a reservoir (tank) with given in- and outflows may change all the time. In such cases “continuous simulation” is more appropriate, although discrete-event simulation can serve as an approximation. 5. Discrete-event simulation: A discrete-event simulation is characterized by two features: (1) within any interval of time, one can find a subinterval in which no event occurs and no state variables change; (2) the number of events is finite. All discrete-event simulations have the following components: • Event queue: A list that contains all the events waiting to happen (in future). The implementation of the event list and the functions to be performed on it can significantly affect the efficiency of the simulation program.
  • 7. Network Simulation/ Third year Al-Mamoun University College - Computer Engineering Techniques Dept. - Dr. Ahmed L. Khalaf 7 • Simulation clock: A global variable that represents the simulated Simulation time can be advanced by time-driven or event-driven methods. In the time-driven approach, time is divided into constant, small increments, and then events occurring within each increment are checked. On the other hand, in the event-driven approach, time is incremented to the time of the next imminent event. This event is processed and then the simulation clock is incremented again to the time of the next imminent event, and so on. This latter approach is the one that is generally used in computer simulations. • State variables: Variables that together completely describe the state of the system. • Event routines: Routines (fixed programs regularly followed) that handle the occurrence of events. If an event occurs, its corresponding event routine is executed to update the state variables and the event queue appropriately. • Input routine: The routine that gets the input parameters from the user and the supplies them to the model. • Report generation routine: The routine responsible for calculating results and printing them out to the end user. • Initialization routine: The routine responsible for initializing the values of the various state variables, global variables, and statistical variables at the beginning of the simulation program. • Main program: The program where the other routines are called. The main program calls the initialization routine; the input routine executes various iterations, finally calls the report generation routine, and terminates the simulation.