power consumed

24 views
Skip to first unread message

prakash dey

unread,
Nov 18, 2009, 5:20:33 AM11/18/09
to Castalia Simulator
hello everyone,
1. why power consumed by all node in the network irrespective of their
position in the network is same?
sir Dimos
I have tried as you suggested me how to stop simulation using
endSimulation()
as in this reference :

http://groups.google.com/group/castalia-simulator/browse_thread/thread/bd41fe9e2e70fa5d/88e4eabb961401ba?lnk=gst&q=stop+simulation#88e4eabb961401ba

but i got some errors.. please help

with regards
prakash

Athanassios Boulis

unread,
Nov 18, 2009, 7:56:14 AM11/18/09
to castalia-...@googlegroups.com
Why would the position made a difference? Do you mean topological position?
(e.g., nodes close to the sink)
Anyway as mentioned in several other posts in this forum, power consumption
is based on the time the radio is on (either listening, transmiting, or receiving)
If two nodes have the same "on" time then they will have the same energy consumed.

Prakash Dey

unread,
Nov 21, 2009, 2:03:08 AM11/21/09
to castalia-...@googlegroups.com
thank you sir

can you suggest me how to use endSimulation() to stop simulation?
because i got the following error mesg. after i used endSimulation() function.

simulation stops giving following message in 
Castalia-primaryoutput.txt file 

<!> Module (ResourceGenericManager) SN.node[7].nodeResourceMgr: 
Simulation stopped with endSimulation(). 

Calling finish() at end of Run #1... 

<!> Error in module (ResourceGenericManager) 
SN.node[0].nodeResourceMgr: Simulation stopped with endSimulation(). 

undisposed: (MAC_ControlMessage) 
SN.node[7].networkInterface.Radio.state command strobe MAC->radio 
undisposed: (MAC_GenericFrame) SN.node[7].networkInterface.Radio.MAC 
Data frame (1614.644523) 

End run of OMNeT++ 






--

You received this message because you are subscribed to the Google Groups "Castalia Simulator" group.
To post to this group, send email to castalia-...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/castalia-simulator?hl=.

Reply all
Reply to author
Forward
0 new messages