Sale!

ELEC 3500: Laboratory 1 solved

Original price was: $35.00.Current price is: $30.00. $25.50

Category:

Description

5/5 - (5 votes)

1
ELEC3500 TELECOMMUNICATIONS NETWORKS
Simulation Experiment 1
Experiment: Introduction to OMNeT Modelling
Required Reading Materials: The “Introduction to ELEC3500 Laboratory Work” document from
Blackboard, and the online OMNeT++ Tic-Toc tutorial are the two basic documents you need to use
for this experiment. The Tic-Toc document is available through the OMNET++ website using the
following link: https://docs.omnetpp.org/tutorials/tictoc/
Objective: This laboratory session will introduce the basic use of the OMNeT++ simulation package
by going through the basic tutorial document. Also, you will need to make minor modification to the
code to obtain several results and different model outcomes.
Procedure: This laboratory work will go through the sixteen steps described in the Tic-Toc tutorial
document. You will learn basic steps of developing a network model and statistics collection
techniques by going through 16 steps of the tic-toc tutorial. Follow the codes and instructions
provided in the tutorial documents. Note that the Tic-Toc code is NOT located in the ELEC3500
projects directory, it is located up one level in the folder hierarchy, in the OMNeT++ samples folder.
The main outcome of each step is listed below.
Step 1: Understand how the modules are defined and connected.
Step 2: Enhancing node2, refining graphics and debugging output.
Step 3: Adding state variables, adding a packet counter.
Step 4: Addition control parameters to control message transfer.
Step 5: Inheriting parameters from different modules.
Step 6: Modelling processing delay, adding time parameters.
Step 7: Use of random numbers to vary the delay. Check the statistics collection section below
and collect those results before proceeding to the next step.
Step 8: Introduce use of timers and timeout procedures.
Step 9: Packet retransmission techniques.
Step 10: Adding additional nodes to increase the network size. In this step modify the model so
that tic[0] sends data to tic[1] and tic[2]. List the changed code in the common section
of the report.
Step 11: Introducing new channels with specific parameters.
Step 12: Introduce two way connections (bidirectional communications).
Step 13: Defining message class, converting into a real network model.
Step 14: Adding statistics collection features
Step 15: Further statistics collection features
Step 16: Statistics collection without modifying models
End to End Delay Calculation:
Message creation time and arrival time can be respectively obtained by using the getCreationTime()
and getArrivalTime() functions of the message object (e.g. msg->getCreationTime(), msg-
>getArrivalTime()). The difference is the end-to-end delay.
Model modifications and result collections for the report:
Collect the following statistics for your common section report.
ELEC3500: Laboratory Instruction, Laboratory 1
2
1. Go back to step 7 of the tic-toc tutorial, gather following statistics from simulation log of the run
window using the default distributions.
a. Maximum, minimum and average message wait time.
b. Modify the distribution values, use a different value of your own choice and obtain above
results.
c. Modify the model to use a single distribution, use exponential only distribution using the
default vale. Compare results with the scenario a.
Report Structure:
Each group need to submit a report containing two sections.
Section I is the common section of the report. For this report the common section will consist of
following subsections:
 Objectives of the Laboratory session: Brief description of simulation work carried out in
the laboratory session. Maximum ½ A4 page description.
 Model and File Structure: Briefly describe the structure of the simulation model including
the file structures and their relationships. Use the last model (step 13) for the description.
Maximum 1 A4 page description.
 Model Modifications: Describe how you modified the model/code to make the changes in
step 10. Maximum 1/4 A4 page description.
 Results: results obtained in step 7. Also, provide a brief analysis of the results explaining the
variations. Maximum 6 plots. Use appropriate units, axis title and legends.
Section II isthe individual section of the report. In this section answer following questions by analysing
collected simulation results, understanding of simulation processes and modelling techniques.
1. Explain the roles of the .ned, .ini and .cc files in the simulation model.
[10]
2. What do the initialize( ) and handleMessage( ) functions do in the simulation code?
[10]
3. Explain the role of random number generators in the network model you have used.
[10]
4. Explain why the message wait time varies in step 7 when exponential and truncated normal
distributions are used.
[10]
5. Explain what information are provided by the scalar and vector result files.
[10]
6. Do you think the statistical distribution functions are useful for modelling communication
network? Explain reasons to support your answer.
[10]
The lab report is due on Friday at 11.59pm of the following week after the lab is performed. Submit
your report via the Assessment tab of the blackboard. One of the group member’s submission should
have the common section. Write the group members name on both reports. Please include the
university assessment cover sheet with your submission.