question

Marzanne avatar image
0 Likes"
Marzanne asked Braydn T converted comment to answer

Best way to assign 80+ labels based on percentages?

I'm working on a decently complicated model and I'm quite new to FlexSim, so all recommendations will be extremely appreciated!

The most complicated part of my model, so far, has been the high volume of different labels that I would like to use. For the first half of the process that I'm modeling, the incoming items are sent to 1 of 80 different destinations. I have used historical data to determine the percent of time that an item is sent to each particular destination, which ranges from 0 to almost 8%. I tried to put all of these values in a Global Table, but I'm worried that the table is only registering three digits (0.01, for example, when the true value is 0.0058). My first concern is that I will not be able to find a method that can assign values to labels with percentages less than 1 percent.

The second concern that I have is where to assign these labels, and how exactly to go about that. I have tried to create string labels for each destination that is the 3-character code for that destination, but I haven't quite figured out where those need to be referenced yet. This first part of my model is pretty simple- one source attached to a queue that pushes to a list ("Ready Items"), and processors (represent the 80 destinations) that pull those items from that list. I would like each processor/destination to pull only the items that match the destination assigned at creation.

Thanks in advanced for any recommendations/advice!

Edited to add: How should I connect the Global Table (assuming this is the best way to do this) to the list(s) that the queue pushes to and the destinations/sources pull from?

FlexSim 19.0.0
label assignmentassign labelsassignpercentages
· 7
5 |100000

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

Jeff Nordgren avatar image Jeff Nordgren commented ·

@Marzanne DDA,

The answer to your first question is easy. In the main menu Edit>Model Settings, you can click on the green + icon at the right side of the Decimal Precision field. That will allow you to edit the number of decimal points that you want in your model.

The second question is really tough to answer specifically without seeing your model or a sample model of the problem area. Is there anyway you could send us your model or a sample? If you don't want anyone seeing your model but FlexSim, you can create another question and mark it "Private". That way no one else will be able to see your question but FlexSim employees.

0 Likes 0 ·
Marzanne avatar image Marzanne Jeff Nordgren commented ·

I'm glad to hear that there's a simple answer to one of my questions!

I've attached what I've been working on-- I've been focused on only one of the areas (1HL) that will be covered by this simulation instead of all 5, but I've left the other ones in there since I'm not sure if taking the processors out will affect the Global Table I've created with the percentages. Some of the logic might be kind of a mess because I've been changing and replacing a lot of things to try and find out what works best.

Thank you for your response!

deliverymodel.fsm

0 Likes 0 ·
deliverymodel.fsm (43.2 KiB)
Joshua S avatar image Joshua S Marzanne commented ·

Some values are still showing up as 0, can you change the model settings to the decimal places to the amount you want, or are they supposed to be 0?

0 Likes 0 ·
Show more comments

1 Answer

·
Joshua S avatar image
0 Likes"
Joshua S answered

Also here is a sample model with the data you provided that shows you the distribution based on percentages works. Run the model and look in the table, the last column of each row shows the actual percentage, and it will even out to the value you provided over time.

test-case.fsm


test-case.fsm (34.5 KiB)
5 |100000

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

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

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