question

Titli D avatar image
0 Likes"
Titli D asked Titli D commented

How to do process time variation by part type

In my model, I have two source, 4 queue and 3 processors on e sink. I have selected the Arrival sequence and entered the part types, added a new label called time and entered the overall timings there in the time label. Now in the processor I want to do process time variation by part type and get that time from labels and return it. Please help me with the code.

FlexSim (other - please specify)
FlexSim (other)
labelsprocessortime
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

Monika Sokół avatar image
1 Like"
Monika Sokół answered Titli D commented

Hello,

If you had created a time label for each item you can use this label in Processing Time. It is enough to write: "item.time"


time.png (4.8 KiB)
· 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.

Titli D avatar image Titli D commented ·

Hi Monika,

Can you provide me a reference of a code related to the same scenario

0 Likes 0 ·
Monika Sokół avatar image Monika Sokół Titli D commented ·
20180327-model.fsm

This is a very simple example. If you have something more complicated please attach your model.

0 Likes 0 ·
20180327-model.fsm (17.6 KiB)
Titli D avatar image Titli D Titli D commented ·

The file is not supported in my FlexSim version 2017

0 Likes 0 ·
Monika Sokół avatar image Monika Sokół Titli D commented ·

This version should work properly.

20180328-model.fsm

0 Likes 0 ·
20180328-model.fsm (14.9 KiB)
Titli D avatar image Titli D commented ·

Hi Monika,

Can i use global table for process time variation?

0 Likes 0 ·
Monika Sokół avatar image Monika Sokół Titli D commented ·

Yes, of course. You need to select option "By Global Table Lookup" - see attached.

20180328-model.fsm

1 Like 1 ·
20180328-model.fsm (15.6 KiB)