simulation execution problem
Hello Dear developers and Castalia Users and experts, I hope that you are doing well.
I am working on path loss modeling in Body area Networks between a coordinator and 5 sensor nodes. I implemented my own path loss model under Wireless channel module in Castalia 3.3 simulator. I defined all the necessary configurations in my omnetpp.ini file. But the problem that when I call my path loss in the command line with the terminal, the simulation does not run and I obtain an empty txt results file.
Do you have any idea how to solve this problem related to omnetpp.ini file and the call of the channel models ?
it's the content of my configuration file : how to call the implemented channel models ! there is something wrong in my file ?
Any help will be grateful
Best regards
[General]
#simulation longeur d'une personne 1.7 m
# ==========================================================
# Always include the main Castalia.ini file
# ==========================================================
include ../Parameters/Castalia.ini
sim-time-limit = 51s # 50 secs of data + 1 sec of MAC setup
SN.field_x = 5 # meters
SN.field_y = 5 # meters
SN.field_z = 5 # meters
SN.numNodes = 6
# node deployment makes them apart in a 3D space
SN.wirelessChannel.onlyStaticNodes = true
#coordinator (Body Waist)
SN.node[0].xCoor = 0
SN.node[0].yCoor = 0
SN.node[0].zCoor = 0
# Pulse rate (Left Wrist)
SN.node[1].xCoor = 0.3
SN.node[1].yCoor = - 0.1
SN.node[1].zCoor = 0.05
#ECG (left chest)
SN.node[2].xCoor = 0.2
SN.node[2].yCoor = 0.35
SN.node[2].zCoor = 0.1
#spO2 (left index)
SN.node[3].xCoor = 0.27
SN.node[3].yCoor = - 0.4
SN.node[3].zCoor = 0.05
#EMG (left tight)
SN.node[4].xCoor = 0.15
SN.node[4].yCoor = - 0.6
SN.node[4].zCoor = 0.1
#EEG (Head)
SN.node[5].xCoor = 0
SN.node[5].yCoor = 0.7
SN.node[5].zCoor = 0.15
#Mypathmaploss models
#SN.wirelessChannel.pathLossMapFile = "../Parameters/WirelessChannel/BANmodels/pathLossMap.txt"
SN.wirelessChannelName = "defaultChannel" #David channel
#SN.wirelessChannelName = "goswamiChannel" #BNS channel
#SN.wirelessChannelName = "alphaChannel" #Our channel model
#SN.wirelessChannel.pathLossMapFile = "../Parameters/WirelessChannel/BANmodels/cm3map3D.txt"
#SN.wirelessChannel.pathLossMapFile = "../Parameters/WirelessChannel/BANmodels/alpha3dMap.txt"
#SN.wirelessChannel.pathLossMapFile = "../Parameters/WirelessChannel/BANmodels/logmap3D.txt"
#SN.wirelessChannel.pathLossMapFile = "../Parameters/WirelessChannel/BANmodels/alphabodyChannel"
#temporal model
SN.wirelessChannel.temporalModelParametersFile = "../Parameters/WirelessChannel/BANmodels/TemporalModel.txt"
#radio parameters
SN.node[*].Communication.Radio.RadioParametersFile = "../Parameters/Radio/BANRadio.txt"
#SN.node[*].Communication.Radio.RadioParametersFile = "../Parameters/Radio/BANRadio2.txt"
SN.node[*].Communication.Radio.state = "RX" #par défaut
SN.node[*].Communication.Radio.mode = "high"
SN.node[*].Communication.Radio.symbolsForRSSI = 16
SN.node[*].Communication.Radio.sleepLevel = "idle" #for power consumed values
SN.node[*].Communication.Radio.carrierFreq = 2400 #par défaut
SN.node[*].Communication.Radio.CCAthreshold = -95.0 #Par défaut
SN.node[*].Communication.Radio.collisionModel = 2
SN.node[*].Communication.Radio.TxOutputPower = "-10dBm"
# Choose a radio and set the Tx power
#SN.node[0].Communication.Radio.TxOutputPower = "-10dBm"
#SN.node[1..3].Communication.Radio.TxOutputPower = "-15dBm"
#SN.node[4].Communication.Radio.TxOutputPower = "-10dBm"
#SN.node[5].Communication.Radio.TxOutputPower = "-10dBm"
#SN.node[*].Communication.MAC.collectTraceInfo = true
#SN.node[*].Application.collectTraceInfo = true
#SN.node[*].ResourceManager.baselineNodePower = 0
#ThroughputTest application
#nodes are going to send traffic to the coordinator
# packets to node 0 (which by default is the receiving node)
SN.node[*].ApplicationName = "ThroughputTest"
SN.node[*].Application.startupDelay = 1 #wait for 1sec before starting sending packets
#SN.node[0].Application.packet_rate = 5
SN.node[*].Application.packet_rate = 120
SN.node[0].Application.latencyHistogramMax = 600
SN.node[0].Application.latencyHistogramBuckets = 30
#SN.node[*].Application.constantDataPayload = 40
#Capacité des modules
# These tests use big packets (2kb) to show interference clearly
# This requires to set the max pkt size in all communication layers
SN.node[*].Communication.Routing.maxNetFrameSize = 2500
SN.node[*].Communication.MAC.maxMACFrameSize = 2500
SN.node[*].Communication.Radio.maxPhyFrameSize = 2500
#Resource manager module
SN.node[*].ResourceManager.periodicEnergyCalculationInterval = 1000
SN.node[*].ResourceManager.baselineNodePower = 6
SN.node[*].ResourceManager.initialEnergy = 18720
SN.node[*].ResourceManager.sigmaCPUClockDrift = 0.00003
# IEEE 802.15.6 standard BAN protocol
SN.node[*].Communication.MACProtocolName = "BaselineBANMac"
SN.node[*].Communication.MAC.phyDataRate = 1024
SN.node[0].Communication.MAC.isHub = true
SN.node[*].Communication.MAC.beaconPeriodLength = 32
SN.node[*].Communication.MAC.macBufferSize = 48
SN.node[*].Communication.MAC.enableRAP = false
SN.node[*].Communication.MAC.RAP1Length = 32
SN.node[*].Communication.MAC.pollingEnabled = true
SN.node[*].Communication.MAC.allocationSlotLength = 10
SN.node[*].Communication.MAC.naivePollingScheme = true
SN.node[*].Communication.MAC.scheduledAccessLength = 4
SN.node[*].Communication.MAC.scheduledAccessPeriod = 1
SN.node[*].Communication.MAC.maxPacketTries = 4
--
You received this message because you are subscribed to the Google Groups "Castalia Simulator" group.
To unsubscribe from this group and stop receiving emails from it, send an email to castalia-simula...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/castalia-simulator/d03a6274-8720-4aba-b4bb-3319b78bb626n%40googlegroups.com.