[Smac-users] smac energy
Wei Ye
weiye at ISI.EDU
Fri Aug 5 10:51:43 PDT 2005
The new energy model already supports the radio energy breakdown in each
state in the trace file. Take a look at ns-2/tcl/test/test-output-
energy/brdcast0.Z for an example.
Regards,
Wei
On Tue, 2005-08-02 at 21:15 +0100, salehma at aston.ac.uk wrote:
> Following the update by Vijay Kakadia (extending the energy model) I
> obtained a snapshot of the new ns-2.
>
> I also tried the example script MyTest.tcl, on running i've obtained the
> trace file and can see the energy decreasing(nice), I also tried putting
> my own value's to see, so far so good.
>
> My question is if i want the trace file to show as:
>
> [energy 979.917000 ei 20.074 es 0.000 et 0.003 er 0.006] instead of what I
> get as which is just the energy total.
>
> s 1.000000000 _0_ AGT --- 0 cbr 512 [0.00 0 0] [energy 999.000000]
> ------- [0:0 1:0 32 0] [0] 0 0
> r 1.000000000 _0_ RTR --- 0 cbr 512 [0.00 0 0] [energy 999.000000]
> ------- [0:0 1:0 32 0] [0] 0 0
> s 1.000000000 _0_ RTR --- 0 cbr 512 [0.00 0 0] [energy 999.000000]
> ------- [0:0 1:0 32 0] [0] 0 0
>
> what do I need to change ? I've tried looking at NS-2 traces from this
> website= > http://k-lug.org/~griswold/NS2/ns2-trace-formats.html
>
> I'm also wondering if the updated snapshot really worked or not.
>
> Another thing is would i be able to visualize nam for this simulation ?
>
> please respond
>
> much appreciated
>
> Muhaned Saleh
> Internet Technology MSc
> ASTON UNIV.
>
>
>
>
>
> _______________________________________________
> Smac-users mailing list
> Smac-users at mailman.isi.edu
> http://mailman.isi.edu/mailman/listinfo/smac-users
More information about the Smac-users
mailing list