question

yiliang A avatar image
0 Likes"
yiliang A asked Joerg Vogel commented

Releaseitem causes Flow Item to jump backwards

When using releaseitem from a processor, the flow item gets released by the releaseitem command first and when the process time is completed, the processor re-release the item.

In the set up I used to duplicate this problem, the source will produce 1 item every 100 sec. All 4 processors adds up to a total of 60 sec. The first processor will use releaseitem command roughly 3 sec after it received an item. And right before the flow item reaches processor3, it will be pulled back to the first conveyor belt.

The process time of the processors are as follows:

processor1: 20

processor2: 10

processor3: 20

processor4: 10

How should I utilise releaseitem to prevent such an erratic behaviour without changing the process time? Eventually I want to releaseitem based on machine status.

releasebug.fsm

FlexSim 18.2.2
processorcustom codereleaseitem
releasebug.fsm (32.2 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.

1 Answer

Joerg Vogel avatar image
1 Like"
Joerg Vogel answered Joerg Vogel commented

DO NOT USE releaseitem in 3D-Triggers on items still in processing state! NEVER! Or you have the ability and knowledge how the FlexSim engine really works!

Please do the Tutorials to learn ProcessFlow. Then use the ProcessFlow template:

  • Add a fixed Resource Process Flow > Basic Processor
  • Replace the standard 3D Processors with the Basic Processor of the Process Flow Library of the 3D-Model. (It is now visual in a sub library in 3D Model library)
  • Adjust the Process Flow template such that it lets the items process like you want.
· 1
5 |100000

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

Joerg Vogel avatar image Joerg Vogel commented ·

@yiliang A, please read my comment on the subject releaseitem, when the item is ready to transfer.

0 Likes 0 ·