question

carlo.t avatar image
1 Like"
carlo.t asked Joerg Vogel answered

Is there any example on traffic control object?

Is there a function which allows users to know the number of task executers working bewteen two nodes in a network path? Thanks in advance for your answers.

FlexSim 7.7.2
traffic controladvanced functions
5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.

Jeff Nordgren avatar image
3 Likes"
Jeff Nordgren answered

@carlo.timossi

Carlo,

You can get the number of network travelers between two network nodes by using the Traffic Control object.

The number of travelers is stored in the tree of the Traffic Controller.

And can be retrieved by using the getvarnum() command as in this script.

Here is the sample model: tc-model-jn1.fsm

If you have any questions, please let us know.


tc-model.png (54.1 KiB)
tc-model-tree.png (17.0 KiB)
tc-model-jn1.fsm (20.8 KiB)
5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.

Joerg Vogel avatar image
4 Likes"
Joerg Vogel answered

Please look in the commands for trafficcontrolinfo

5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.