Record which Processor an item went when using random method

Record which Processor an item went when using random method

kkkk
Not applicable
56 Views
4 Replies
Message 1 of 5

Record which Processor an item went when using random method

kkkk
Not applicable

[ FlexSim 21.2.4 ]

Hi there,

I’ve got a question with global list. I set the item of source be pushed in the list and the processors to pull from the list. As I set the backorder as random like the following picture.

1689223766421.png

Is there any method to record which processor did the items went from the source? The reason that I want to record the flow the item is that I want to do some adjustment to the way that task executers carry. I'm thinking of using the method in this website (https://answers.flexsim.com/questions/132476/how-to-set-the-travel-destination-depending-by-the.html) to label my processors so that every processor will have a unique label I can use to record.


Thank you for any of your assistance

0 Likes
Accepted solutions (1)
57 Views
4 Replies
Replies (4)
Message 2 of 5

support5CRPZ
Advocate
Advocate
Accepted solution

@kkkk You can solve your issue to assign Sequence Number to flowitem and record the sequence number of the item in the global table or in the processor on entering into the processor.

0 Likes
Message 3 of 5

kkkk
Not applicable

Hi, thank you for your help! But what I need for the model is to record which random processor was chosen. I wonder if I can use the labeling method (https://answers.flexsim.com/questions/132476/how-to-set-the-travel-destination-depending-by-the.html) so that my processors will have a unique label I can use to record, if possible I wonder how can I record it.

Since I need to use the record data to adjust the job sequence that task executer carry, I'm wondering if I collect the data in the global table, can it be used in the process flow? That my concern is that if I push to list directly it'll be too late to adjust the job sequence.

0 Likes
Message 4 of 5

moehlmann_fe
Explorer
Explorer

How are the items pulled?

If in a process flow, after the pull the token should have a reference to both the item and the processor. Meaning you can add a label to the item that contains information about the processor.

If the items are pulled via the Pull option on the processor, the reference to the pulling object will be available in the Use Transport field of the 'sending' object.

In the attached model, the destination object is assigned to a label on the item and the item is colored either red or blue depending on the processor that pulled it.

(The destination being assigned to a label on the item is actually the default when pushing to an item list in the Use Tnrasport field)

destinationAssignment-fm.fsm

0 Likes
Message 5 of 5

natalie_white
Not applicable

Hi @kkkk, was David Seo's answer helpful? If so, please click the "Accept" button at the bottom of their answer. Or if you still have questions, add a comment and we'll continue the conversation.

If we haven't heard back from you within 3 business days we'll auto-accept an answer, but you can always comment back to reopen your question.

0 Likes