network = inet.examples.wpan.StarNet.Ieee802154StarNetsim-time-limit = 5h
cmdenv-express-mode = true
#tkenv-default-run=1
# debug switch**.coreDebug = false # defined by channel control**.app.debug = false **.battery.debug = false**.net.debug = false**.mac.debug = true**.phy.debug = false**.debug = false
############################################################################### Network settings ###############################################################################**.numHosts = 7
**.constraintAreaMinX = 0m**.constraintAreaMinY = 0m**.constraintAreaMinZ = 0m**.constraintAreaMaxX = 500m**.constraintAreaMaxY = 500m**.constraintAreaMaxZ = 0m
############################################################################### Mobility settings ###############################################################################**.host[*].mobilityType = "StationaryMobility"**.mobility.initFromDisplayString = false**.host[0].mobility.initialX = 50m**.host[0].mobility.initialY = 100m
**.host[1].mobility.initialX = 250m**.host[1].mobility.initialY = 50m
**.host[2].mobility.initialX = 450m**.host[2].mobility.initialY = 120m
**.host[3].mobility.initialX = 350m**.host[3].mobility.initialY = 250m
**.host[4].mobility.initialX = 250m**.host[4].mobility.initialY = 180m
**.host[5].mobility.initialX = 130m**.host[5].mobility.initialY = 280m
**.host[6].mobility.initialX = 200m**.host[6].mobility.initialY = 400 m
**.host[*].mobility.initialZ = 0m
############################################################################### Parameters for the application-layer (TrafGen) ###############################################################################
**.host[1].app.isSink = true**.host[*].app.isSink = false**.app.packetSize= 35B **.app.interDepartureTime= exponential(10s) #time between two consecutive packets**.app.firstPacketTime=exponential(5s) #Time that the first packet is sent**.host[*].app.trafDest="host[1]"
############################################################################### Parameters for the network-layer ###############################################################################**.host[1].net.isPANCoor = true # should be consistent with those in MAC**.host[*].net.isPANCoor = false
############################################################################### Parameters for the network interface and IFqueue ###############################################################################**.nic.ifqType = "DropTailQueue"**.ifq.frameCapacity = 35
############################################################################### Parameters for MAC layer ###############################################################################**.host[1].**.mac.isPANCoor = true**.host[*].**.mac.isPANCoor = false**.mac.panCoorName = "host[1]"**.mac.BO = 8 # range [1,14]**.mac.SO = 4 #range [0, BO)# GTS settings**.host[*].**.mac.ack4Gts = true**.host[*].**.mac.gtsPayload = 10 # should be consistent with that in trafconfig.xml**.host[*].**.mac.dataTransMode = 3 # 1: direct; 2: indirect; 3: GTS#**.host[0].**.mac.isRecvGTS = false# transmit GTS#**.host[2].**.mac.isRecvGTS = false#**.host[3].**.mac.isRecvGTS = false#**.host[4].**.mac.isRecvGTS = false#**.host[5].**.mac.isRecvGTS = false#**.host[6].**.mac.isRecvGTS = false**.host[1].**.mac.isRecvGTS = true# receive GTS**.host[*].**.mac.isRecvGTS = false # ignored
############################################################################### Parameters for PHY layer ###############################################################################**.phy.channelNumber = 11 # default 2.4G, (range [0, 26])**.phy.transmitterPower = 1mW #[mW]**.phy.sensitivity = -92dBm #[dBm]**.phy.thermalNoise = - 110dBm #[dBm]**.phy.pathLossAlpha = 2**.phy.snirThreshold = 4dB
############################################################################### Parameters for the channel control ################################################################################ channel physical parameters*.channelControl.carrierFrequency = 2.4GHz*.channelControl.pMax = 20mW*.channelControl.sat = -85dBm*.channelControl.alpha = 2 *.channelControl.numChannels = 16############################################################################### Parameters for the display module in the hosts ################################################################################ display parameters (same as channelControl parameters and mac parameters)**.disp.carrierFrequency = 2.4GHz**.disp.pMax = 20mW**.disp.sat = -85dBm #[dBm]**.disp.alpha = 2**.disp.numChannels = 16**.disp.transmitterPower = 1mW #[mW]**.disp.sensitivity = -85dBm #[dBm]
############################################################################### Parameters for the Energy Model (units: mAh and mA) ################################################################################**.battery.batteryCapacity = 25 #[mAh]#**.battery.meanTimeToFailure = -1s#**.battery.usage_radio_idle = 1.38mA #[mA]#**.battery.usage_radio_recv = 9.6mA #[mA]#**.battery.usage_radio_sleep = 0.06mA #[mA]#**.phy.transmitterPower = 1.0mW #[mW]**.phy.usageCpuActive = 15**.phy.usageCpuSleep = 0.055# sleep hibernat 0.007x10^-3 mA ## 3.3 mA for IDLE mode, 0.237 mA for Standby
**.phy.usage_radio_idle = 1.38mA #[mA]**.phy.usage_radio_recv = 9.6mA #[mA]**.phy.usage_radio_sleep = 0.06mA #[mA]
**.battery.nominal = 25**.battery.capacity = 25**.battery.voltage = 3.5**.battery.resolution = 1s**.battery.publishDelta = 0.5
**.battery.publishTime = 20s
############################################################################### Output vectors ###############################################################################**.End-to-end delay.vector-recording = true**.Mean end-to-end delay.vector-recording = true**.vector-recording = false
############################################################################### Simulation runs ## #############################################################################
Nhập mã vào đây...
hii work on this sample too. i don't know your answer. but i have question a bout this sample.why end to end delay and Throughput( that it between app and net module) just measure for host1 ,2?when I run star net, Throughput for another hosts are 0 !I truly appreciate your help
--
You received this message because you are subscribed to a topic in the Google Groups "OMNeT++ Users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/omnetpp/LhvobaCdwz8/unsubscribe.
To unsubscribe from this group and all its topics, send an email to omnetpp+u...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
hii work on this sample too. i don't know your answer. but i have question a bout this sample.why end to end delay and Throughput( that it between app and net module) just measure for host1 ,2?when I run star net, Throughput for another hosts are 0 !I truly appreciate your help
On Sunday, November 23, 2014 at 6:10:41 AM UTC-8, Đạt Lê khánh wrote:
--
You received this message because you are subscribed to a topic in the Google Groups "OMNeT++ Users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/omnetpp/LhvobaCdwz8/unsubscribe.
To unsubscribe from this group and all its topics, send an email to omnetpp+u...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
**.host[1].app.trafDest="host[2]"
**.host[*].app.trafDest="host[1]"
First the specific, later the generic
If you set this
**.host[*].app.trafDest="host[1]"
**.host[1].app.trafDest="host[2]"
All nodes, including the host[1] will send the traffic to the node host[1]
De: omn...@googlegroups.com [mailto:omn...@googlegroups.com] En nombre de Elnaz
Enviado el: jueves, 23 de abril de 2015 21:03
Para: omn...@googlegroups.com
Asunto: [Omnetpp-l] Re: The problem of simulation results - end to end delay
Hi
Thank you very much for your help
yes, my sample is original.
surry I am new user of omnet and realy beginner.
I have another question:
my traffic is **.host[0].app.trafDest="host[1]"
**.host[1].app.trafDest="host[2]"
if my numHost=6
I want to another hosts send Data to host[1]"PAN coordinator"
how can I do it!
my opinion is:
I have to type these:
**.host[*].app.trafDest="host[1]"
**.host[*].**.mac.isRecvGTS = true # receive GTS
Is it right?
Thank you in advance
Best Regards
On Sunday, November 23, 2014 at 6:10:41 AM UTC-8, Đạt Lê khánh wrote:
Hi everyone,This picture below is my end to end delay result when i run starnet module in inetmanet/examples/wpan. As you see that, at first, the graph goes up, reaching the highest point and then stabilize at 410.In my opinion, I think, after reaching a peak, the graph must go down to a point and then stabilize. Can you explain to me why my graph is stable at the highest point? My simulation result is true or false? and what is a unit of delay?