question

Khalid Kayal avatar image
0 Likes"
Khalid Kayal asked Sam Stubbs answered

How to use arrival time in resource schedules ?

I'm trying to use the following schedule at a resource:

Arrival 1 : 0 seconds

Arrival 2: 5 seconds

Arrival 3: 0 Seconds

Now the way I want it to work is that arrival 1 and 3 will arrive at zero and arrival 2 arrives after 5 seconds. However, the way flexsim works is that arrival 2 and 3 will arrive at 5 seconds; sequential manner. Is there a way I can use this function with independent arrival times? please see attached.

scheduledresource.fsm

Choose One
resources
· 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.

Sam Stubbs avatar image Sam Stubbs ♦ commented ·

Is there a reason why you can't organize your arrivals by arrival time?

0 Likes 0 ·
Khalid Kayal avatar image Khalid Kayal Sam Stubbs ♦ commented ·

Yes because I'm using a more complicated model with a processflow where I'm setting a label based on rownumber at the scheduled source.

0 Likes 0 ·

1 Answer

·
Sam Stubbs avatar image
0 Likes"
Sam Stubbs answered

So unfortunately the schedule is designed to handle items based upon their chronological arrival time. However, I still think we could find a way to set the correct label within process flow, and still have a the scheduled source create items in chronological order. How are you setting the label at the row number and what is the label? Rather than trying to index your tokens to match the row number of the schedule, could you not have the Process Flow create tokens based on an Event Triggered source? That would allow the tokens have a direct reference to that item, and then you'd be able to organize them based on chronological order. Would that work for your model?

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

Khalid Kayal avatar image Khalid Kayal commented ·

Sam, Thanks for your reply, I will get around it as suggested, but I was just wondering if there is something built in already.

0 Likes 0 ·
Sam Stubbs avatar image Sam Stubbs ♦ Khalid Kayal commented ·

Okay. If you get stuck or have any questions about setting this up, let us know, we'd be happy to help. Good luck.

0 Likes 0 ·

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.