question

Josué Islas avatar image
0 Likes"
Josué Islas asked Josué Islas commented

Issues Error in System Console & Wait for Event

Nice day!, I have two issues in the simulation that I share.

1) I am getting the following error in System Console: Exception Caught in ObjectFunction250__project_library_FlexSimObject_behaviour_eventfunctions_OnTimerEvent object, how can I fix it?1724824960113.png

2) How can I change my truck arrival logic so that the truck token waits for the queue at the dock where the loaded pallets were unloaded to empty (MuelleEntrada1 ... MuelleEntrada6)? I imagine I could use a "Wait for Event" element but in this case I don't know how to apply it.

1724825457421.png

IF Warehouse v1.8.fsm

FlexSim 22.1.4
process flowqueuesystem consolewaitforeventobjectfunction
1724824960113.png (12.9 KiB)
1724825457421.png (12.1 KiB)
if-warehouse-v18.fsm (467.6 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

Felix Möhlmann avatar image
0 Likes"
Felix Möhlmann answered Josué Islas commented

You are unloading the pallets to a temporary storage and then move them into it a second time with a Move Object activity. This results in two events for the minimum dwell time of the storage but the first missing the item reference because the pallet after the event was created.

Remove one of the two marked activities to fix the error.

capture1.png

You can use the "On Content Change" to await the queue becoming empty again. Here you can refer to it as the second outObject of the separator.

capture2.png


capture1.png (28.5 KiB)
capture2.png (19.6 KiB)
· 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.

Josué Islas avatar image Josué Islas commented ·

Thank you very much @Felix Möhlmann , both tips worked for me! :)

0 Likes 0 ·