Branches transactions to one of two outputs.
GeneratesSTMM_TRANSACTION_TYPE
transactions at the OUTPUT1 or OUTPUT2 port. When an INPUT arrives, the component generates a uniform real number between 0.0 and 100.0.
●
Less than or equal to
PROB1
,OUTPUT1
is set toINPUT
.
●
Greater than
PROB1
,OUTPUT2
is set toINPUT
.When you insert theSTM_BRANCH_2
component into an activity chart, the component is represented by the following graphic image.
If you set ANALYZE, the following statistics are gathered:
OUTPUT1 arrival
interval
OUTPUT2 arrival
interval
Number of OUTPUT1
transactions
Number of OUTPUT2
transactions
To access these values in the panels or in the simulation monitor, use the following naming convention:<Component_Name>^value_name
For example, you access theT_TRANSACTIONS_OUTPUT1
for componentBRANCH
asBRANCH^T_TRANSACTIONS_OUTPUT1
.CLEAR
clears the statistics.