Energy consumption, periodic messages and different transmission power

75 views
Skip to first unread message

Riccardo

unread,
May 21, 2013, 5:07:32 AM5/21/13
to castalia-...@googlegroups.com
Hi,
i don't understand how energy consumption is computed.
I made my own application, and i want to see what happen if i send a packet every 5s or every 20s, or if i send a packet with a power of 0dBm or a power of -10dBm.
The problem is that the energy consumption doesn't vary, i obtain always the same value of energy, if i use 5s or 20s or if i use 0dBm or -10dBm the energy consumption is always the same.
Some one could help me please!

regards,
riccardo

Thanassis Boulis

unread,
May 21, 2013, 6:24:22 AM5/21/13
to castalia-...@googlegroups.com
As we have written numerous times in this forum before, the energy depends on the state of radio and the time it spends on this state.
So the MAC becomes very important as it influences this directly. If you are using a MAC that does not put the radio to sleep, then sending a few more packets, or using a lower TX power has negligible effect, since the radio is just listening for the huge majority of the time anyway.

--
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 post to this group, send email to castalia-...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/castalia-simulator/bdb02cee-4a64-4c17-af95-b871a737711f%40googlegroups.com?hl=en-US.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

Riccardo

unread,
May 21, 2013, 9:36:28 AM5/21/13
to castalia-...@googlegroups.com
Dear Athanassios,
thank you so much for you answer.
I had understood that MAC is really important. Only with TMAC (default settings) is possible to see the effects of the parameters on the energy consumption. If I use 802.15.4 or TunableMAC (default settings) the parameters(interval send message, txPower) haven't effects.
So my problem is, which MAC i have to use to test my application?? Or better, i want to test my application without care about the MAC layer, i want a standard mac layer, it exists in castalia? which one is?

 

Il giorno martedì 21 maggio 2013 12:24:22 UTC+2, Athanassios (Thanassis) Boulis ha scritto:
As we have written numerous times in this forum before, the energy depends on the state of radio and the time it spends on this state.
So the MAC becomes very important as it influences this directly. If you are using a MAC that does not put the radio to sleep, then sending a few more packets, or using a lower TX power has negligible effect, since the radio is just listening for the huge majority of the time anyway.

On 21 May 2013 19:07, Riccardo <rickyp...@gmail.com> wrote:
Hi,
i don't understand how energy consumption is computed.
I made my own application, and i want to see what happen if i send a packet every 5s or every 20s, or if i send a packet with a power of 0dBm or a power of -10dBm.
The problem is that the energy consumption doesn't vary, i obtain always the same value of energy, if i use 5s or 20s or if i use 0dBm or -10dBm the energy consumption is always the same.
Some one could help me please!

regards,
riccardo

--
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-simulator+unsub...@googlegroups.com.

Thanassis Boulis

unread,
May 21, 2013, 9:40:28 PM5/21/13
to castalia-...@googlegroups.com
The default MAC for Castalia is bypassMAC which means no MAC. You do not want this.
You do have to care about the MAC you choose, there is no default or magical solution. Maybe you can stick to TMAC for now.

The default dutyCycle for TunaleMAC is 1.0 (i.e. 100%) that's why you do not see significant differences.
 

To unsubscribe from this group and stop receiving emails from it, send an email to castalia-simula...@googlegroups.com.

To post to this group, send email to castalia-...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages