To view this discussion on the web visit https://groups.google.com/d/msgid/castalia-simulator/69babca3-2e00-4cc5-906b-53ba040b76f7%40googlegroups.com.--
You received this message because you are subscribed to a topic in the Google Groups "Castalia Simulator" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/castalia-simulator/B9YfJRhNkzQ/unsubscribe.
To unsubscribe from this group and all its topics, send an email to castalia-simula...@googlegroups.com.
To post to this group, send email to castalia-...@googlegroups.com.
Dear all,
I am trying to simulate a body area network with more than 6 nodes and I couldn't find a data set with pathloss values that fit the simulator (this
http://nrg.nicta.com.au/people/current/david-smith/ didn't help me).
Therefore I decided to increase the number by placing more than one nodes on the same body parts as the initial simulation model.
For example if I want to simulate 30 nodes instead of just 6 I extended the pathLossMap file as follows:
#0, 10, 20 are R-hip
#1, 6, 11, 16, 21, 26 are L-wrist
#2, 7, 12, 17, 22, 27 are R-wrist
#3, 8, 13, 18, 23, 28 are L-ankle
#4, 9, 14, 19, 24, 29 are R-ankle
#5, 10, 15, 25 are chest
In the pathLossMap.txt file it stated that: 0>1:56 and therefore I added 10>11:56, 20>21:56, 10>21 :56, 20>11:56 and so on, since the nodes 10, 20 and 11, 21 are placed where the nodes 0 and 1 are places respectively.
In the pathLossMap.txt file it stated that: 0>1:56 and therefore I added 10>11:56, 20>21:56, 10>21 :56, 20>11:56 and so on, since the nodes 10, 20 and 11, 21 are placed where the nodes 0 and 1 are places respectively.
Not sure what "so on" means. Have you created a pathloss map with 30x30 = 900 values?
You noticed how the original map has 36 values for all 6x6 possible path combinations. If you need to extend the pathloss to 30 nodes where groups of 5 nodes are bundled in one spot, then you can use these 36 original values, and copy them in approprate places of this 30x30 combinations pathloss map.
If you do not include a combination, I think it is taken as a pathloss of 0 (not sure, you'll have to look it up)
David does not provide files that are ready to be used with Castalia, but rather provides a lot of raw measurements, that can help you infer/calculate/create Castalia-compatible pathloss maps. I would start with this information.
By declaring N number of nodes and no pathloss map file or no location for each node, one does use pathloss values of 0, since a node's location is by default (0,0,0) on the simulator's coordinate system. Therefore all N nodes have 0 distance from each other and, according to the pathloss equation in WirelessChannel.cc, 0 pathloss between them.
Knowing this one has two options:
1. Declare N nodes with the respective location of each and use (by default) the lognormal shadowing model implemented in WirelessChannel.cc file.
2. Use a pathloss map file with NxN values and skip the model mentioned in (1).
Since it is stated in the User manual that the lognormal shadowing model does not produce good results for BAN I should go with the second option.
David does not provide files that are ready to be used with Castalia, but rather provides a lot of raw measurements, that can help you infer/calculate/create Castalia-compatible pathloss maps. I would start with this information.I have studied the dataset you propose, but for increased number of nodes (the maximum number of nodes used in these measurements is 15) the carrier frequency used is 820MHz. I am only interested in 2.4GHz and for this carrier frequency there are no measurements for a number of nodes larger than 6.