[Solved] ELEC3500 Experiment1-Introduction to OMNeT Modelling

$25

File Name: ELEC3500_Experiment1_Introduction_to_OMNeT_Modelling.zip
File Size: 489.84 KB

SKU: [Solved] ELEC3500 Experiment1-Introduction to OMNeT Modelling Category: Tag:
5/5 - (1 vote)
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 featuresStep 15: Further statistics collection featuresStep 16: Statistics collection without modifying modelsEnd 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.
1
ELEC3500: Laboratory Instruction, Laboratory 1 1. Go back to step 7 of the tic-toc tutorial, gather following statistics from simulation log of th 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 a results.c. Modify the model to use a single distribution, use exponential only distribution usin 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 consi following subsections: Objectives of the Laboratory session: Brief description of simulation work carried o the laboratory session. Maximum A4 page description. Model and File Structure: Briefly describe the structure of the simulation model inclu the file structures and their relationships. Use the last model (step 13) for the descrip Maximum 1 A4 page description. Model Modifications: Describe how you modified the model/code to make the chang step 10. Maximum 1/4 A4 page description. Results: results obtained in step 7. Also, provide a brief analysis of the results explainin variations. Maximum 6 plots. Use appropriate units, axis title and legends.Section II is the individual section of the report. In this section answer following questions by analy 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. 2. What do the initialize( ) and handleMessage( ) functions do in the simulation code?3. Explain the role of random number generators in the network model you have used. 4. Explain why the message wait time varies in step 7 when exponential and truncated no distributions are used. 5. Explain what information are provided by the scalar and vector result files.6. Do you think the statistical distribution functions are useful for modelling communic network? Explain reasons to support your answer. e runbove g the st ofut indingtion. es in g thesing[10][10][10] rmal[10][10] ation[10] bmit ould the
2

Reviews

There are no reviews yet.

Only logged in customers who have purchased this product may leave a review.

Shopping Cart
[Solved] ELEC3500 Experiment1-Introduction to OMNeT Modelling[Solved] ELEC3500 Experiment1-Introduction to OMNeT Modelling
$25