Hi FlexSim Support Team,
Could you please see why I am getting this error while running the model?
Exception Caught in ObjectFunction250__project_library_FlexSimObject_behaviour_eventfunctions_OnTimerEvent object: /Rack31 class: /Rack31
Hi FlexSim Support Team,
Could you please see why I am getting this error while running the model?
Exception Caught in ObjectFunction250__project_library_FlexSimObject_behaviour_eventfunctions_OnTimerEvent object: /Rack31 class: /Rack31
Hi anonymous user, was Phil BoBo'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 unaccept and comment back to reopen your question.
The "ObjectFunction250" part of the error isn't important. The important part of the error message is "OnTimerEvent object: /Rack31".
You are moving the item out of the Rack31 before it is ready. Your Event-triggered Source is listening to the Rack's OnEntry and loading the item. The Rack has "Use as Fixed Resource" checked, so when an item enters, it evaluates the Minimum Dwell Time and then creates an event to release the item after the returned dwell time has expired. You are removing the item from the rack, and then the rack is trying to finish processing the item and send it to the next fixed resource, but the item is no longer in the rack so it throws an exception.
Instead of listening to OnEntry, change your Event-triggered Source to listen to SendToPort. Then the item will have finished its processing and be ready to leave the rack and be loaded by the task executer.
2 People are following this question.
© 1993- FlexSim Software Products, Inc. All Rights Reserved.
FlexSim is a fully 3D simulation software environment. FlexSim can be used to simulate any process in any industry.
FlexSim®, FlexSim Healthcare™, Problem Solved.®, the FlexSim logo, the FlexSim X-mark, and the FlexSim Healthcare logo with stylized Caduceus mark are trademarks of FlexSim Software Products, Inc. All rights reserved.