{"id":89,"date":"2012-06-11T11:13:35","date_gmt":"2012-06-11T03:13:35","guid":{"rendered":"http:\/\/matnet.my\/blog\/?p=89"},"modified":"2012-07-25T00:31:41","modified_gmt":"2012-07-24T16:31:41","slug":"arq-simulation-with-depend-of-ber-value-using-omnet","status":"publish","type":"post","link":"https:\/\/matnet.my\/blog\/2012\/06\/arq-simulation-with-depend-of-ber-value-using-omnet\/","title":{"rendered":"ARQ simulation with depends of BER value using OMNET++"},"content":{"rendered":"<p>This article is for my fellows class mate.<\/p>\n<p>1. I think you all have no problem with OMNET++ installation &#8211; just running the installer if you are using Windows, for Mac OS X please refer my previous article.<\/p>\n<p>2. Then download the Inet Framework, if you are using Mac OS X please refer previous post. If you are using windows please make sure you had installed winpcap driver first. Do download it at http:\/\/www.winpcap.org and download the installer.<\/p>\n<p>3. Extract the Inet Framework on your omnet++ workspace.<\/p>\n<p>4. Go to the Inet parent directory, then please READ the INSTALL file for further understanding.<\/p>\n<p>5. Now import or compile your Inet with omnet++. For Mac OS X please refer my previous post. For windows you can do it using command prompt or using the IDE.<\/p>\n<p>6. For IDE just follow the INSTALL file instruction. As follows<\/p>\n<p>i. Open the OMNeT++ IDE and choose the workspace where you have extracted the inet directory. The extracted directory must be a subdirectory of the workspace dir.<\/p>\n<p>ii. Import the project using: File | Import | General | Existing projects into Workspace.Then select the workspace dir as the root directory, and be sure NOT to check the &#8220;Copy projects into workspace&#8221; box. Click Finish.<\/p>\n<p>6. The inet folder should appear on you Project Explorer<\/p>\n<p>7. Expand the explorer tree : Inet &#8211; examples &#8211; inet &#8211; ber<\/p>\n<p>8. Click on omnet.ini &#8211; in the form wizard click on Event Log &#8211; Thick Enable eventlog recording &#8211; this is for record all of your results into results folder. The graph will automatic generated with the recorded data.<\/p>\n<p>9. Click the source of omnet.ini and edit the BER value as follow:<\/p>\n<p>The default value is zero &#8220;0&#8221;<\/p>\n<p># BER (bit error rate)<\/p>\n<p>**.n = ${ber=0, 1e-7, 2e-7 &#8230;and so on&#8230;<\/p>\n<p>so change the ber=0 to what do you want, example 0.1<\/p>\n<p>**.n = ${ber=0.1 &#8230;. then save as the .ini file with others name example omnet-kosong-point-satu.ini<\/p>\n<p>so now we know that this config file is for BER value 0.1<\/p>\n<p>10. Next is create others config file with the other value 0.01 , 0.001 and 0.0001.<\/p>\n<p>11. To run the simulation, select respective config file and click the green PLAY button. Wait for a while and then.. tadaa&#8230; now you should have the animation and click RUN (pastu ada gerak2) \ud83d\ude42<\/p>\n<p>12. After finish the simulation, close down the simulation window and go to the results folder and click on your result log file and you will get the graph \ud83d\ude42<\/p>\n<p>13. What to do now ? Hope you guys can deeply study the graph all about and then share what you get in our next class ..<\/p>\n<p>-EoF-<\/p>\n","protected":false},"excerpt":{"rendered":"<p>This article is for my fellows class mate. 1. I think you all have no problem with OMNET++ installation &#8211; &hellip; <a href=\"https:\/\/matnet.my\/blog\/2012\/06\/arq-simulation-with-depend-of-ber-value-using-omnet\/\" class=\"more-link\">More <span class=\"screen-reader-text\">ARQ simulation with depends of BER value using OMNET++<\/span> <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[6,5],"tags":[10],"class_list":["post-89","post","type-post","status-publish","format-standard","hentry","category-bsd-nix","category-cs778","tag-arq-ber-omnet","standard"],"_links":{"self":[{"href":"https:\/\/matnet.my\/blog\/wp-json\/wp\/v2\/posts\/89","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/matnet.my\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/matnet.my\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/matnet.my\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/matnet.my\/blog\/wp-json\/wp\/v2\/comments?post=89"}],"version-history":[{"count":6,"href":"https:\/\/matnet.my\/blog\/wp-json\/wp\/v2\/posts\/89\/revisions"}],"predecessor-version":[{"id":110,"href":"https:\/\/matnet.my\/blog\/wp-json\/wp\/v2\/posts\/89\/revisions\/110"}],"wp:attachment":[{"href":"https:\/\/matnet.my\/blog\/wp-json\/wp\/v2\/media?parent=89"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/matnet.my\/blog\/wp-json\/wp\/v2\/categories?post=89"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/matnet.my\/blog\/wp-json\/wp\/v2\/tags?post=89"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}