Announcements
Autodesk Community will be read-only between April 26 and April 27 as we complete essential maintenance. We will remove this banner once completed. Thanks for your understanding

Set labels by % is inaccurate

Ramiz_Albadran
Explorer Explorer
0 Views
10 Replies
Message 1 of 11

Set labels by % is inaccurate

Ramiz_Albadran
Explorer
Explorer

[ FlexSim 23.2.2 ]

Set labels by %.fsm Trying to set labels by percentage and get the exact percentage (80% & 20%) but never get it. Also, the throughput chart has 3 types instead of 2 , I don't know why. I was trying many times but never succeed. Please see attached


Any help or modify the model is appreciated.
0 Likes
Accepted solutions (1)
1 View
10 Replies
Replies (10)
Message 2 of 11

joerg_vogel
Not applicable
@rheem, it is a desired feature to get a deviation if you use a statistical distribution. You get nearer to a ratio for millions of events.
0 Likes
Message 4 of 11

Ramiz_Albadran
Explorer
Explorer

i was trying to change it but unable to get it work. Could you please modify the file and send it back to me if that possible. I will use it as reference for my project . Please see attached

Set labels by %.fsm

0 Likes
Message 5 of 11

joerg_vogel
Not applicable
@rheem, this is not my intention. Please describe, what your problem is! Maybe someone is able to help.
0 Likes
Message 6 of 11

Ramiz_Albadran
Explorer
Explorer

What you sent was ok but didn't help that much. No worries, will try another way to fix this issue.

0 Likes
Message 7 of 11

Ramiz_Albadran
Explorer
Explorer

I didn't accept this answer. It was a general information and didn't help me at all.

0 Likes
Message 8 of 11

jason_lightfootVL7B4
Autodesk
Autodesk

You can only get an exact percentage that matches 80/20 split in multiples of 5 items. One way of making that happen for as few items as possible is to create a repeating schedule like this:

1702677427834.png

The reason you have 3 types is that Station7 and 19 are relabelling items from a uniform distribution:

1702677500619.png

Changed model attached.

set-labels-byPercent_jl.fsm

0 Likes
Message 9 of 11

philboboADSK
Autodesk
Autodesk
Accepted solution

Your Station19 and Station7 objects have an On Process Finish trigger that sets the item's Type label to a random number 1-3.

1702677726303.png

So any items that go to those stations have their type overridden as a random value uniformly distributed between 1 and 3.

Remove those Set Label triggers to fix your problem.



Phil BoBo
Sr. Manager, Software Development
0 Likes
Message 10 of 11

Ramiz_Albadran
Explorer
Explorer

Good catch. Thank you Phil

0 Likes
Message 11 of 11

Ramiz_Albadran
Explorer
Explorer
Thank you Jason
0 Likes

Type a product name