question

Kevin Megee avatar image
0 Likes"
Kevin Megee asked Matthew Gillespie commented

Process time by case values

This is probably a simple solution, but I'm having trouble getting my processor to process different "lots" at different speeds. I have one processor that will have 7 flow items pass through it at the process times of 700, 700, 700, 700, 1100, 1100, 1500. I enter theses times under each case value but it doesn't work. What an I missing? Thanks!

FlexSim 17.1.2
process time
5 |100000

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

1 Answer

Matthew Gillespie avatar image
1 Like"
Matthew Gillespie answered Matthew Gillespie commented

What are you using for your Case Function? I'm assuming you want the process time to sequentially use those times and then start over on the 8th, right? In that case set the Case Function to be:

(getinput(current)-1) % 7 + 1

Here's an example that has the process time be really fast for 4 flowitems then slow for the next 3, then back to fast for the next 4, etc.


· 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.

Kevin Megee avatar image Kevin Megee commented ·

@matthewgillispie Thank you very much. What if I wanted to "snake" the times. Such as after the 1500 time, it reverses order? is that possible?

0 Likes 0 ·
Matthew Gillespie avatar image Matthew Gillespie ♦♦ Kevin Megee commented ·

Yes, just add more cases and then adjust the mod value, i.e change % 7 to % n, where n is the number of cases.

0 Likes 0 ·