⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 omnetpp.ini

📁 this is source code for adhoc network using omnet
💻 INI
字号:
#omnetpp.ini[General]network = worldini-warnings = nosnapshot-file = snapShot.snaoutput-vector-file = xputVect.vecoutput-scalar-file = yputVect.scasim-time-limit = 1htotal-stack-kb = 32768num-rngs=5[Cmdenv]module-messages =noevent-banners =noruns-to-execute = 1express-mode = yesstatus-frequency= 500000default-run = 1[Tkenv]default-run= 1slavelog = yesslavelog-file = slave.loguse-mainwindow = yesmodmsgs-to-console = yesanimation-speed = 2.0[Parameters]	#world moduleworld.height = 700world.width = 700world.dim = 25	#mobility model;include Ini/avrSpeed.ini;world.mobileHost[*].mobilityModel = "RandomWalk";include Ini/randWalk.ini;world.mobileHost[*].mobilityModel = "RestrictedRandWalk";include Ini/resRWalk.iniworld.mobileHost[*].mobilityModel = "RandomWP"include Ini/randWP.ini;world.mobileHost[*].mobilityModel = "RandomDirection";include Ini/rDir.ini;world.mobileHost[*].mobilityModel = "Pursuit";include Ini/pursuit.ini;world.mobileHost[*].mobilityModel = "Normal";include Ini/normal.ini	#mobile host moduleworld.mobileHost[*].x = intuniform(5,195)world.mobileHost[*].y = intuniform(5,195)world.mobileHost[*].routeAlgorithm = "AODV"world.mobileHost[*].macAlgorithm = "SimpleMac"	#pyisic moduleworld.mobileHost[*].physic.txPower =  uniform(9000,9900)world.mobileHost[*].physic.rxThreshold =  1world.mobileHost[*].physic.channelDelay = 0.0001world.mobileHost[*].physic.channelDatarate = 11.04858e+6world.mobileHost[*].physic.channelError = 0.000001	#mac moduleworld.mobileHost[*].mac.promisqueMode = true;world.mobileHost[*].mac.inBufferSize = 8.38864e6	#application module;pakets per secodworld.mobileHost[*].app.rate = 3;pakets of 512 byte = 4096 bitworld.mobileHost[*].app.pktSize = 4096;time elapsed  between two data burstworld.mobileHost[*].app.burstInterval = truncnormal(2,1.0);indicate the active hosts, they will generate traffic in all the;simulator run.;Due to the different random position of each node;fixing the host name that will work will not cause any;statistical problemworld.mobileHost[1].app.active = 1world.mobileHost[3].app.active = 1world.mobileHost[7].app.active = 1world.mobileHost[10].app.active = 1world.mobileHost[4].app.active = 1world.mobileHost[*].app.active = 0;include all the execution'seeds;include Ini/seeds.ini;it is necessary to add this due to a probable bug;[Run 100000];gen0-seed = 214083097;gen1-seed = 205794765;gen2-seed = 29509128;gen3-seed = 81373507;gen4-seed = 96999983

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -