question

Erik Gerritse avatar image
0 Likes"
Erik Gerritse asked Adam C commented

Exception on reset when using 'Apply MTBF to a set of states'

hi all,

I'm making a model which contains a set of belt conveyors. When I choose the option 'Apply MTBF to a set of states' I always get an exception when I reset the model (see code below). If I deselect this option, the problem disappears. Anyone know why this happens?

exception: Exception Caught in MTBFMTTR::onReset() object: /Tools/MTBFMTTR/MTBFMTTR_BeltConveyor_Intake_2
exception: Exception Caught in ObjectFunction264__project_library_MTBFMTTR_behaviour_eventfunctions_OnReset object: /Tools/MTBFMTTR/MTBFMTTR_BeltConveyor_Intake_2 class: /Tools/MTBFMTTR/MTBFMTTR_BeltConveyor_Intake_2


exception: Exception caught in TreeNode::receivemessage()
exception: Executive::__reset()
exception: int Executive::reset()
exception: reset

FlexSim 17.2.3
mtbf mttrexception
· 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.

Erik Gerritse avatar image Erik Gerritse commented ·

update: this also seems to set the state of the belt conveyors to 'other' at the start of the model.

0 Likes 0 ·

1 Answer

·
Jacob Gillespie avatar image
1 Like"
Jacob Gillespie answered Adam C commented

The 'Apply MTBF to a set of states' feature uses the OnStateChange event. Conveyors seem to be missing this event even though they have states.

I have added in this event so it will be available in the next bugfix: 17.2.4 and 17.0.11

· 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.

Adam C avatar image Adam C commented ·

@Jacob Gillespie

I have encountered this same issue with a Station object on a conveyor in version 18.08.

0 Likes 0 ·

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

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