Castalia for wireless sensor network

163 views
Skip to first unread message

mohamed yehia

unread,
May 24, 2011, 1:38:05 PM5/24/11
to Castalia Simulator
could any one show me how to use castalia for WSN simulation?

thanks in advance

Christo Kleu

unread,
May 24, 2011, 1:43:20 PM5/24/11
to castalia-...@googlegroups.com
Documentation webpage: http://castalia.npc.nicta.com.au/documentation.php

Regards,
Christo Kleu


On Tue, May 24, 2011 at 7:38 PM, mohamed yehia <mohamed...@gmail.com> wrote:
could any one show me how to use castalia for WSN simulation?

thanks in advance

--
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.
To unsubscribe from this group, send email to castalia-simula...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/castalia-simulator?hl=en.


mohamed yehia

unread,
May 24, 2011, 3:29:50 PM5/24/11
to castalia-...@googlegroups.com
thank you very much for ur help
do you know an example of using it for simulation of wireless sensor network


Regards,
Mohamed

idrees alkocher

unread,
May 24, 2011, 10:59:31 PM5/24/11
to castalia-...@googlegroups.com
Castalia User Manual will guide you step by srep how to implement
examples God willing.

Idrees
Iraq

On 5/25/11, mohamed yehia <mohamed...@gmail.com> wrote:
> thank you very much for ur help
> do you know an example of using it for simulation of wireless sensor network
>
>
> Regards,
> Mohamed
>
> On Tue, May 24, 2011 at 7:43 PM, Christo Kleu <chris...@gmail.com> wrote:
>
>> Documentation webpage: http://castalia.npc.nicta.com.au/documentation.php
>> Castalia User

>> Manual<http://castalia.npc.nicta.com.au/pdfs/Castalia%20-%20User%20Manual.pdf>
>> Castalia Installation
>> Guide<http://castalia.npc.nicta.com.au/pdfs/Castalia%20-%20Installation.pdf>
>> <http://castalia.npc.nicta.com.au/documentation.php>

metoui naima

unread,
May 25, 2011, 9:59:44 AM5/25/11
to castalia-...@googlegroups.com
Where i can find file for extract the numbre of  packets received and lost packets
because i am interested to calculate the rate of loss

idrees alkocher

unread,
May 25, 2011, 10:58:09 AM5/25/11
to castalia-...@googlegroups.com
You may find the output file name such as 110525 123456.txt in your
Simulation folder with omnettpp.ini and Castalia-Trace.txt.
Please, refer to manual section 3.
Idrees
Iraq

Christo Kleu

unread,
May 25, 2011, 2:48:28 PM5/25/11
to Castalia Simulator
On page 25 (User Manual v3.2), there is an example that extracts the
Communication.Radio parameter called "RX pkt breakdown".
Otherwise, you could use Application layer parameters (if they exist).

As Idrees mentioned, you use the CastaliaResults (in combination with
CastaliaPlot) to extract valuable information after simulation (see
Section 3.3 "Using the Castalia and CastaliaResults script", page 20)

On May 25, 4:58 pm, idrees alkocher <alkoche...@gmail.com> wrote:
> You may find the output file name such as 110525 123456.txt in your
> Simulation folder with omnettpp.ini   and Castalia-Trace.txt.
> Please, refer to manual section 3.
> Idrees
> Iraq
>

metoui naima

unread,
May 25, 2011, 5:02:05 PM5/25/11
to castalia-...@googlegroups.com
thanks to help me 

metoui naima

unread,
May 26, 2011, 7:48:25 AM5/26/11
to castalia-...@googlegroups.com
please this file doesnt exist because when i do the simulation there are many file create 
i can delete this file and repeat simulation and  extact one of them 

Christo Kleu

unread,
May 26, 2011, 7:55:33 AM5/26/11
to castalia-...@googlegroups.com
Page 21 in the User Manual explains how to use CastaliaResults.

Remember, the output file name (results file) is encoded with the date and time of execution - thus, you will need to change the examples from the user manual, to suit the file generated on your system.

Regards,
Christo Kleu


On Thu, May 26, 2011 at 1:48 PM, metoui naima <metoui...@gmail.com> wrote:
please this file doesnt exist because when i do the simulation there are many file create 
i can delete this file and repeat simulation and  extact one of them 

metoui naima

unread,
May 26, 2011, 10:37:42 AM5/26/11
to castalia-...@googlegroups.com
i do the simulation of radioTest  i find this  results
where is the probleme please 

Castalia output files in current directory:
+-------------------+----------------------------------------------------------------+------------------+
|                   | Configuration                                                  | Date             |
+-------------------+----------------------------------------------------------------+------------------+
| 110526-161306.txt | [InterferenceTest1,InterferenceTest2]varyInterferenceModel (1) | 2011-05-26 16:13 |
| 110526-160848.txt | InterferenceTest1 (1)                                          | 2011-05-26 16:08 |
| 110526-160506.txt | General (1)                                                    | 2011-05-26 16:05 |
+-------------------+----------------------------------------------------------------+------------------+
NOTE: select from the available files using the -i option

Christo Kleu

unread,
May 26, 2011, 10:43:51 AM5/26/11
to castalia-...@googlegroups.com
There is no problem?

Select which file you want to use (as specified by the "NOTE" below the table)
In you current case:
"CastaliaResults -i 110526-161306.txt" OR
"CastaliaResults -i 110526-160848.txt" OR
"CastaliaResults -i 110526-160506.txt"

As specified on page 21 of the User Manual:
"You can use the –h option to get help on the arguments the script can take."

Please read Section 3.3 "Using the Castalia and CastaliaResults scripts" again. 

Regards,
Christo Kleu


metoui naima

unread,
May 26, 2011, 10:48:03 AM5/26/11
to castalia-...@googlegroups.com

must be chose the recently one
Reply all
Reply to author
Forward
0 new messages