Hi,
Is there a reason why it is not possible to track the total time a tracked variable is at a certain value if the tracked variable can also have negative values? Attached is a small example model that includes one tracked variable on a token. This tracked variable has both the Track History and the Track Profile check boxes checked. The value of the tracked variable is then set to -1, 0 or 1 and the results are printed in the output console. You can see that after some time the current value of the tracked variable becomes -1, but if you request the total time at the value -1 you still get 0. All the time the tracked variable is at value -1 is logged as time at 0.
Is this by design or a bug? I have also tried the Categorical tracked variable type, this has the same problem.
Thank you for your time,
Patrick