question

Mohamed Slama avatar image
1 Like"
Mohamed Slama asked Matthew Gillespie commented

how to get the output variable of a queue ?

In my model I need the value of the output of the queue during my simulation.

Can someone helps me to get this value with a code ? Something like 'getvarnum'...

Thank you

queueoutputstats
5 |100000

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

1 Answer

Joerg Vogel avatar image
1 Like"
Joerg Vogel answered Matthew Gillespie commented

int output = getoutput(node Queue); // node Queue is the reference to your queue-object

int output = getoutput(model().find("Queue100")); // if you use the find method.

· 2
5 |100000

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