seed-0-mt = 861
sim-time-limit = 1800s
############################################7#################################
# Network settings #
##############################################################################
**.constraintAreaMinX = 0m
**.constraintAreaMinY = 0m
**.constraintAreaMinZ = 0m
**.constraintAreaMaxX = 300m
**.constraintAreaMaxY = 300m
**.constraintAreaMaxZ = 0m
##############################################################################
# Mobility settings #
##############################################################################
**.sensor[*].mobilityType = "StationaryMobility"
**.mobility.initFromDisplayString = false
**.sensor[0].mobility.initialX = 150m
**.sensor[0].mobility.initialY = 150m
**.sensor[1].mobility.initialX = 65.14m
**.sensor[1].mobility.initialY = 65.14m
#**.sensor[2].mobility.initialX = 170m
#**.sensor[2].mobility.initialY = 33.8m
#**.sensor[3].mobility.initialX = 65.14m
#**.sensor[3].mobility.initialY = 234.86m
#**.sensor[4].mobility.initialX = 33.8m
#**.sensor[4].mobility.initialY = 150m
#**.sensor[5].mobility.initialX = 270m
#**.sensor[5].mobility.initialY = 150m
#**.sensor[6].mobility.initialX = 215.14m
#**.sensor[6].mobility.initialY = 234.86m
#**.sensor[6].mobility.initialX = 215.14m
#**.sensor[6].mobility.initialY = 65.14m
#**.sensor[7].mobility.initialX = 234.86m
#**.sensor[7].mobility.initialY = 234.8m
#**.sensor[8].mobility.initialX = 107m
#**.sensor[8].mobility.initialY = 50m
**.sensor[*].mobility.initialZ = 0m
##############################################################################
# Parameters for the application-layer (TrafGen) #
##############################################################################
**.sensor[0].app.isSink = true
**.sensor[0].app.packetSize = 10B
**.sensor[0].app.firstPacketTime = exponential(1s)
**.sensor[0].app.WBANSensorType ="Coordinator"
**.sensor[*].app.trafDest = "sensor[0]" # the default is "BROARDCAST"
**.sensor[1].app.isSink = false # the default is ture, if it is ture then the node doesn't send traffic
**.sensor[1].app.packetSize = 2.5B
**.sensor[1].app.interDepartureTime = exponential(1s)
**.sensor[1].app.firstPacketTime = exponential(1s)
#**.sensor[2].app.isSink = false # the default is ture, if it is ture then the node doesn't send traffic
#**.sensor[2].app.packetSize = 12.5B
#**.sensor[2].app.interDepartureTime = exponential(1s)
#**.sensor[2].app.firstPacketTime = exponential(1s)
#**.sensor[3].app.isSink = false # the default is ture, if it is ture then the node doesn't send traffic
#**.sensor[3].app.packetSize = 102B
#**.sensor[3].app.interDepartureTime = 0.6528s
#**.sensor[3].app.firstPacketTime = exponential(1s)
#**.sensor[4].app.isSink = false # the default is ture, if it is ture then the node doesn't send traffic
#**.sensor[4].app.packetSize = 12.5B
#**.sensor[4].app.interDepartureTime = 1s
#**.sensor[4].app.firstPacketTime = exponential(1s)
#**.sensor[5].app.isSink = false # the default is ture, if it is ture then the node doesn't send traffic
#**.sensor[5].app.packetSize = 20B
#**.sensor[5].app.interDepartureTime = 1s
#**.sensor[5].app.firstPacketTime = exponential(1s)
#**.sensor[6].app.isSink = false # the default is ture, if it is ture then the node doesn't send traffic
#**.sensor[6].app.packetSize = 12.5B
#**.sensor[6].app.interDepartureTime = exponential(1s)
#**.sensor[6].app.firstPacketTime = exponential(1s)
#**.sensor[7].app.isSink = false # the default is ture, if it is ture then the node doesn't send traffic
#**.sensor[7].app.packetSize = 45B
#**.sensor[7].app.interDepartureTime = 1s
#**.sensor[7].app.firstPacketTime = exponential(1s)
#**.sensor[8].app.isSink = false # the default is ture, if it is ture then the node doesn't send traffic
#**.sensor[8].app.packetSize = 100B
#**.sensor[8].app.interDepartureTime = 1s
#**.sensor[8].app.firstPacketTime = exponential(1s)
#**.sensor[9].app.isSink = false # the default is ture, if it is ture then the node doesn't send traffic
#**.sensor[9].app.packetSize = 110B
#**.sensor[9].app.interDepartureTime = 1s
#**.sensor[9].app.firstPacketTime = 1s
#**.sensor[10].app.isSink = false # the default is ture, if it is ture then the node doesn't send traffic
#**.sensor[10].app.packetSize = 62.5B
#**.sensor[10].app.interDepartureTime = 1s
#**.sensor[10].app.firstPacketTime = 1s
##############################################################################
# Parameters for the network-layer #
##############################################################################
**.sensor[0].net.isPANCoor = true # should be consistent with those in MAC
**.sensor[*].net.isPANCoor = false
##############################################################################
# Parameters for the network interface and IFqueue #
##############################################################################
#**.nic.ifqType = "PriorityQueue"
**.nic.ifqType = "DropTailQueue"
**.ifq.frameCapacity = 200000 #default is 100
##############################################################################
# Parameters for MAC layer #
##############################################################################
**.sensor[0].**.mac.isPANCoor = true
**.sensor[0].**.mac.WBANSensorType="Coordinator"
**.sensor[*].**.mac.isPANCoor = false
**.mac.panCoorName = "sensor[0]"
**.mac.BO = 8 # range [1,14]
**.mac.SO = 7 #range [0, BO)
**.sensor[*].**.mac.dataTransMode = 1 # 1: direct; 2: indirect; 3: GTS
# GTS settings
**.sensor[*].**.mac.ack4Gts = false
**.sensor[*].**.mac.gtsPayload = 0 # should be consistent with that in trafconfig.xml
**.sensor[*].**.mac.isRecvGTS = false # transmit GTS
##############################################################################
# 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
*.channelControl.propagationModel = "LogNormalShadowingModel"
##############################################################################
# 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) #
##############################################################################
**.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 = true
**.queueLength.vector-recording = true
##############################################################################
# Simulation runs #
##############################################################################