question

Taro Y avatar image
0 Likes"
Taro Y asked Jeanette F commented

"count" and "value"

Do "count" and "value" give the same result?

These look the same result.



current.stats.output.count

current.stats.output.value


FlexSim 21.0.10
valuecount
· 1
5 |100000

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

Jeanette F avatar image Jeanette F ♦♦ commented ·

Hi @Taro Y, was Felix Möhlmann's answer helpful? If so, please click the "Accept" button at the bottom of their answer. Or if you still have questions, add a comment and we'll continue the conversation.

If we haven't heard back from you within 3 business days we'll auto-accept an answer, but you can always unaccept and comment back to reopen your question.

0 Likes 0 ·

1 Answer

Felix Möhlmann avatar image
0 Likes"
Felix Möhlmann answered

'Count' returns the number of times the variable has been set. 'Value' gives the current value.

Tracked Variable Class Reference

So for the input and output statistics this gives the same result, because those values are only ever incremented in steps of 1.

5 |100000

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