Fakhrusy Sf avatar image
Fakhrusy Sf asked Jeanette F commented

how to change the token id to product name as in mixer recipe?


My recipe in mixer is currently as below...



based on the picture above, how to sync the token id and the mixer recipe?

Can @Patrick Zweekhorst assist me??

Can you just give me a simple program to simulate the fundamental...

FlexSim 18.2.3
1656608909695.png (84.0 KiB)
1656608946209.png (11.8 KiB)
· 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.

Joerg Vogel avatar image Joerg Vogel commented ·
A token ID is not useable for an order of tokens. A model may contain hidden process flows for statical analyses. Each process can create tokens. Their IDs are unique over a model, but not in a strict sequence for a process. You only knows new ID is larger then previous ID. The difference is unknown. As @Patrick Zweekhorst said, you should use a label at your token to create an own ID. Please call the label differently.

You increment a label in your process, which value you assign to any new token in your process at your own ID label on your token.
In cases where you create an amount of tokens at once more than one you have to test on your own how you can assign a right value as an ordered ID to your tokens.

0 Likes 0 ·
Jeanette F avatar image Jeanette F ♦♦ commented ·

Hi @Fakhrusy Sf, was Patrick Zweekhorst'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

Patrick Zweekhorst avatar image
1 Like"
Patrick Zweekhorst answered
Hi @Fakhrusy Sf ,

The token Id is just an unique id each token gets. If you would create more tokens before the tokens that go to the mixer all the tokens that go to the mixer will have a different id.

You can probably use one of the labels on the token, or some information from the mixer. I am just not sure what information you want in your table? And since there is no model attached we can't take a look at the model to check the labels on the token

· 6
5 |100000

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

Jason Lightfoot avatar image Jason Lightfoot ♦ commented ·
Also you're free to rename the tokens if you just want to see something more meaningful than "token".
0 Likes 0 ·
Fakhrusy Sf avatar image Fakhrusy Sf commented ·

Alright, I understand the fundamental of token ID..


This my current statistic collector, I want to add one more column which are the "Product" column to indicate which product that there are currently processing...

How to assign label based on the production schedule and mixer table??

I attached my model as below...


0 Likes 0 ·
1656856399729.png (16.0 KiB)
Jason Lightfoot avatar image Jason Lightfoot ♦ Fakhrusy Sf commented ·
Could you re-upload the model?
0 Likes 0 ·
Fakhrusy Sf avatar image Fakhrusy Sf Jason Lightfoot ♦ commented ·
0 Likes 0 ·
Show more comments