[ns] Help Required in 802.1Q Priority Tagging

2008-06-02 Thread Mahmood Qureshi


Hi Every Body 

Is there any tutorial or powerpoint slides related to implementation of
 the 802.1Q priority Tagging .

If any body know kindly send me the links or files.

Or

Guide me how to implement the priority tagging .

I will be grateful to you 

I hope you will reply me soon 


Engr. Mahmood Qureshi
HEC Scholar
Graduate Student: Computer Engineering
Myongji University, South-Korea
San 38-2
Nam-Dong
Yong-in
Gyunggi-Do (449-728)
South Korea
Mobile No. : +82-10-2891-7096
   


[ns] Help Required in 802.1Q Priority Tagging

2008-06-02 Thread Mahmood Qureshi


Hi Every Body 

Is there any tutorial or powerpoint slides related to implementation of
 the 802.1Q priority Tagging .

If any body know kindly send me the links or files.

Or

Guide me how to implement the priority tagging .

I will be grateful to you 

I hope you will reply me soon 

   


[ns] Substation Automation

2008-05-14 Thread Mahmood Qureshi


Hi Everyone
Is any body have Substation Automation File of IEC 61850. I want to
 simulate the IEC-61850 Standard in NS-2 ?
Any body help me to give me the file ?


Engr. Mahmood Qureshi
HEC Scholar
Graduate Student: Computer Engineering
Myongji University, South-Korea
San 38-2
Nam-Dong
Yong-in
Gyunggi-Do (449-728)
South Korea
Mobile No. : +82-10-2891-7096
   


[ns] Website Address Required

2008-04-22 Thread Mahmood Qureshi

Dear All

Is there any website exist in the internet. which do NS-2 Projects for money. 
i.e. i will pay money to that company. and they will do project for me. website 
other thn projectguideline. Help is greatly Appriciated

   
-
Be a better friend, newshound, and know-it-all with Yahoo! Mobile.  Try it now.


[ns] How to select the Exponential (Only) in TCL

2008-03-19 Thread Mahmood Qureshi

Hi everyone

I want to implement the Finite Queuing in NS-2 
according to the formula the Throughput can be calculated as 

Throughput = lambda(1-Pk)  // k is the queue length
and Pk = (e^k)*Po
and P0 = (1-e)/(1-e^(k+1)) 
which i have implemented in this code

if queue size is 2 then
throughput = 0.010144

Is it possible I can get the nearest of this value without using Random 
Variable ?
What Should I do ?
How to cancel the effect of random variable in the following code 

Kindly Help me .. It shall be greatly appreciated . 
In the given below i have provided the code . 

set ns [new Simulator]

set tf [open out.tr w]
$ns trace-all $tf

set lambda 30.0
set mu33.0
set qsize2
set duration200

set n1 [$ns node]
set n2 [$ns node]
set link [$ns simplex-link $n1 $n2 100kb 0ms DropTail]
$ns queue-limit $n1 $n2 $qsize

# generate random interarrival times and packet sizes
set InterArrivalTime [new RandomVariable/Exponential]
$InterArrivalTime set avg_ [expr 1/$lambda]
#line edited below one
#set pktSize 100
set pktSize [new RandomVariable/Exponential]
$pktSize set avg_ [expr 10.0/(8*$mu)]

set src [new Agent/UDP]
$src set packetSize_ 10
$ns attach-agent $n1 $src

# queue monitoring
set qmon [$ns monitor-queue $n1 $n2 [open qm.out w] 0.1]
$link queue-sample-timeout

proc finish {} {
global ns tf
$ns flush-trace
close $tf
exit 0
}

proc th_put {} {
global qsize InterArrivalTime

set eps 2.718281828

set qsize1  [expr $qsize +1]
set eps_qsize1[expr pow($eps,$qsize1)]
set eps_qsize[expr pow($eps, $qsize)]
set p0_1[expr 1-$eps]
set p0_2[expr 1-$eps_qsize1]

set p0[expr $p0_1/$p0_2]
set pk[expr $eps_qsize*$p0]

for {set i 1} {$i= 10} {incr i} {
set iat [$InterArrivalTime value]
puts  == IATe -- $iat ===  
# Throughput
set t_put [expr [expr 1 - $pk]* $iat]
puts Throughput  =$t_put

# Response Time
set res_time [expr $qsize1 / $t_put]
puts Response Time = $res_time
 } 

}


proc sendpacket {} {
global ns src InterArrivalTime pktSize
set time [$ns now]
$ns at [expr $time + [$InterArrivalTime value]] sendpacket
#edited line below one
#set bytes $pktSize
set bytes [expr round ([$pktSize value])]
$src send $bytes
}

set sink [new Agent/Null]
$ns attach-agent $n2 $sink
$ns connect $src $sink
$ns at 0.0001 sendpacket
$ns at 190 th_put
$ns at $duration finish



puts 
puts ===Testing
puts Processing ... 
$ns run


Engr. Mahmood Qureshi
HEC Scholar
Graduate Student: Computer Engineering
Myongji University, South-Korea
San 38-2
Nam-Dong
Yong-in
Gyunggi-Do (449-728)
South Korea
Mobile No. : +82-10-2891-7096
   
-
Looking for last minute shopping deals?  Find them fast with Yahoo! Search.


[ns] Node and TCP files help required

2008-03-14 Thread Mahmood Qureshi

Is any body send the detail description file related to the following file

node.cc
node.h

tcl.h
tcl.cc

tcp.cc

If any body have the description file ( Describe each functions and how it is 
working ) so kindly give me ..
Or any other help is greatly appreciated

PS: I dont want this kind of discription 
http://www.auto-nomos.de/ns2doku/node_8cc.html

I need detail description of each functions e.g. in case of tcp how tcp 
functions are working .

I shall be grateful to you

   
-
Looking for last minute shopping deals?  Find them fast with Yahoo! Search.


[ns] How to build my own packet

2008-03-11 Thread Mahmood Qureshi


I m new in NS-2 I studied NS-manual but did not get the point. I
 installed NS-2 on Linux (Fedora 5) and working efficiently

Even I implemented an example of OTCL Linkage

Now I want to build my own packet with each and everything is defined
 by me i.e. of GOOSE Packet but have no idea how to do it. 
Please guide me and I think it is best if you provide the help with
 example. (You can create your own packet any specification ) 

Help on this topic is greatly appreciated. I would be thankful to you

   


Engr. Mahmood Qureshi
HEC Scholar
Graduate Student: Computer Engineering
Myongji University, South-Korea
San 38-2
Nam-Dong
Yong-in
Gyunggi-Do (449-728)
South Korea
Mobile No. : +82-10-2891-7096
   
-
Be a better friend, newshound, and know-it-all with Yahoo! Mobile.  Try it now.