Hi all

I am trying to use the multi state error model for me ns simulations.
I am having difficulty in understaing what the parameters are. I have
attached a sample script but I dont understamd how to change the
parameters if anyone can help that would be great thanx..


#Create a Loss Module
#--------------------------------------------------------------------------------------------------

set tmp [new ErrorModel/Uniform 0 pkt]
set tmp1 [new ErrorModel/Uniform 0.63 pkt]
set tmp2 [new ErrorModel/Uniform 0 pkt]


# Array of states (error models)
#--------------------------------------------------------------------------------------------------

set m_states [list $tmp $tmp1 $tmp2]

# Durations for each of the states, tmp, tmp1 and tmp2, respectively
#--------------------------------------------------------------------------------------------------

set m_periods [list 0 0.0075 0.00375] <--- ??

# Transition state model matrix
#--------------------------------------------------------------------------------------------------

set m_transmx { {0.95 0.05 0} <--- what does this mean??
{0 0 1}
{1 0 0} }
set m_trunit pkt

# Use time-based transition
#--------------------------------------------------------------------------------------------------

set m_sttype time
set m_nstates 3
set m_nstart [lindex $m_states 0]
set loss_module [new ErrorModel/MultiState $m_states $m_periods $m_transmx
$m_trunit $m_sttype $m_nstates $m_nstart]

#-----------------------------------------------

Reply via email to