The problem of simulation results - end to end delay

857 views
Skip to first unread message

Đạt Lê khánh

unread,
Nov 23, 2014, 9:10:41 AM11/23/14
to omn...@googlegroups.com


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?


[General]
network = inet.examples.wpan.StarNet.Ieee802154StarNet
sim-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...


Đạt Lê khánh

unread,
Nov 23, 2014, 9:11:50 AM11/23/14
to omn...@googlegroups.com

This is mean e2e delay

Vào 21:10:41 UTC+7 Chủ nhật, ngày 23 tháng mười một năm 2014, Đạt Lê khánh đã viết:
Message has been deleted

Lê Khánh Đạt

unread,
Apr 23, 2015, 6:20:01 AM4/23/15
to omn...@googlegroups.com
Hi Elnaz,
Do you declare throughput in inetmanet/src/application?  I declare how to implement in rar file. Hope this helpful for you. 

On Wed, Apr 22, 2015 at 1:05 AM, Elnaz <e.baghe...@gmail.com> wrote:
hi 
i 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.



--
---------------Le Khanh Dat
--------Student of K56D-FET-UET-VNU
-----Tel: 0164.874.1193
Application.rar

Lê Khánh Đạt

unread,
Apr 23, 2015, 6:25:49 AM4/23/15
to omn...@googlegroups.com
Are your sample original? If you dont edit this sample, i guest, packet was sent from host 0, host 1 receive and send packet to host 2, therefore end2end delay and throughtput measure for host1 and host 2.

On Wed, Apr 22, 2015 at 1:05 AM, Elnaz <e.baghe...@gmail.com> wrote:
hi 
i 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.

Elnaz

unread,
Apr 23, 2015, 3:03:24 PM4/23/15
to omn...@googlegroups.com
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:

Alfonso Ariza Quintana

unread,
Apr 24, 2015, 3:34:22 AM4/24/15
to omn...@googlegroups.com

**.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?

 

Elnaz

unread,
Apr 24, 2015, 7:29:08 AM4/24/15
to omn...@googlegroups.com
Thank you.


On Sunday, November 23, 2014 at 6:10:41 AM UTC-8, Đạt Lê khánh wrote:

Elnaz

unread,
May 9, 2015, 12:14:45 PM5/9/15
to omn...@googlegroups.com
Hi
I have another question,
Iwant to fixed BO=1 & So =0(in inetmanet/wpan/starnet) .
my ini file is:
[General]
network = inet.examples.wpan.StarNet.Ieee802154StarNet
sim-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 = 14

**.constraintAreaMinX = 0m
**.constraintAreaMinY = 0m
**.constraintAreaMinZ = 0m
**.constraintAreaMaxX = 600m
**.constraintAreaMaxY = 400m
**.constraintAreaMaxZ = 0m

##############################################################################
#       Mobility settings                                                    #
##############################################################################
**.host[*].mobilityType = "StationaryMobility"
**.mobility.initFromDisplayString = false
**.host[0].mobility.initialX = 150m
**.host[0].mobility.initialY = 200m

**.host[1].mobility.initialX = 250m
**.host[1].mobility.initialY = 150m

**.host[2].mobility.initialX = 350m
**.host[2].mobility.initialY = 200m

**.host[3].mobility.initialX = 250m
**.host[3].mobility.initialY = 100m

**.host[4].mobility.initialX = 50m
**.host[4].mobility.initialY = 50m

**.host[5].mobility.initialX = 100m
**.host[5].mobility.initialY = 50m

**.host[6].mobility.initialX = 250m
**.host[6].mobility.initialY = 250m

**.host[7].mobility.initialX = 400m
**.host[7].mobility.initialY = 50m

**.host[8].mobility.initialX = 100m
**.host[8].mobility.initialY = 350m

**.host[9].mobility.initialX = 500m
**.host[9].mobility.initialY = 300m

**.host[10].mobility.initialX = 500m
**.host[10].mobility.initialY = 200m

**.host[11].mobility.initialX = 400m
**.host[11].mobility.initialY = 350m

**.host[12].mobility.initialX = 350m
**.host[12].mobility.initialY = 280m

**.host[*].mobility.initialZ = 0m


##############################################################################
#       Parameters for the application-layer (TrafGen)                       #
##############################################################################

**.host[0].app.isSink = false # if it is ture then the node doesn't send traffic
**.host[1].app.isSink = false
**.host[*].app.isSink = false # if it is ture then the node doesn't send traffic


**.app.packetSize= 10B 
**.app.interDepartureTime= exponential(5s) #time between two consecutive packets
**.app.firstPacketTime=exponential(20s)    #Time that the first packet is sent
**.host[0].app.trafDest="host[1]" 
**.host[1].app.trafDest="host[2]"
**.host[1].app.trafDest="host[3]"
**.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 = 10

##############################################################################
#       Parameters for MAC layer                             #
##############################################################################
**.host[1].**.mac.isPANCoor = true
**.host[*].**.mac.isPANCoor = false
**.mac.panCoorName = "host[1]"
**.mac.BO = 1 # range [1,14]
**.mac.SO = 0 #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[3].**.mac.isRecvGTS = false #  transmit GTS
**.host[4].**.mac.isRecvGTS = false #  transmit GTS
**.host[5].**.mac.isRecvGTS = false #  transmit GTS
**.host[6].**.mac.isRecvGTS = false #  transmit GTS
**.host[11].**.mac.isRecvGTS = false #  transmit GTS

**.host[2].**.mac.isRecvGTS = true # receive GTS

**.host[7].**.mac.isRecvGTS = true # receive GTS
**.host[8].**.mac.isRecvGTS = true # receive GTS
**.host[9].**.mac.isRecvGTS = true # receive GTS
**.host[10].**.mac.isRecvGTS = true # receive GTS
**.host[12].**.mac.isRecvGTS = true # receive GTS

**.host[*].**.mac.isRecvGTS = true # ignored


##############################################################################
#       Parameters for PHY layer                                    #
##############################################################################
**.phy.channelNumber = 11 # default 2.4G, (range [0, 26])
**.phy.transmitterPower = 1.0mW   #[mW]
**.phy.sensitivity = -85dBm #[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 = 2.0mW
*.channelControl.sat = -85dBm
*.channelControl.alpha = 2 
*.channelControl.numChannels = 27
##############################################################################
#       Parameters for the display module in the hosts                       #
##############################################################################
# display parameters (same as channelControl parameters and mac parameters)
**.disp.carrierFrequency = 2.4GHz
**.disp.pMax = 2.0mW
**.disp.sat = -85dBm #[dBm]
**.disp.alpha = 2
**.disp.numChannels = 27
**.disp.transmitterPower = 1.0mW   #[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 = 7.6
**.phy.usageCpuSleep = 0.237 ## 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 = 10
**.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
**.queueLength.vector-recording           = true
########################## 
# Statistics Recording 
########################## 
**.udpApp[*].scalar-recording = true     # record scalar statistics for our UDP-Apps 
**.endToEndDelay.scalar-recording   = true # record the End-to-end- delays 
**.manetRouting.scalar-recording    = true 
**.udpApp[*].scalar-recording = true
**.udpApp[*].vector-recording = true
**.channel.throughput.result-recording-modes = all
**.host[0..20].**.module-eventlog-recording= true
**.host[*].networkLoad.param-record-as-scalar= true

##############################################################################
# Thrughput
##############################################################################
**.thruputMeterI.maxInterval = 20s
**.thruputMeterO.maxInterval = 20s

##############################################################################
#       Simulation runs                                                      #
##############################################################################
**.batteryType = "InetSimpleBattery"



when numHost=3 simulation runs. but when numHost=14 simulation have this error:



<!> Error in module (Ieee802154Mac) Ieee802154StarNet.host[0].nic.mac (id=27) at event #74, t=0.000608372935: Model error: [GTS]: request for GTS failed!.

undisposed object: (Ieee802154BeaconFrame) Ieee802154StarNet.host[0].nic.mac.Ieee802154BEACON -- check module destructor End.



why happen this problem?! 
any help will be appreciated.
Best Regards

Antonis Arvanitis

unread,
Jun 17, 2016, 5:27:39 AM6/17/16
to OMNeT++ Users, datl...@gmail.com
Hi all,

did you find any solution to your problem??
Reply all
Reply to author
Forward
0 new messages