question

Md Sofiul Alam Hridoy avatar image
0 Likes"
Md Sofiul Alam Hridoy asked Md Sofiul Alam Hridoy commented

Errors in operators task

Model 4.fsmHello,

In my model, I am having errors with the operators. Operator2 is not moving much and operator1 is working more. I want both of them to work equally. And the errors check bellow-

time: 0.000000 exception: FlexScript exception: Array index out of bounds at MODEL:/Operator2>variables/onresourceavailable

time: 0.191809 exception: FlexScript exception: Array index out of bounds at MODEL:/Operator1>variables/onresourceavailable

time: 18.274490 exception: FlexScript exception: Array index out of bounds at MODEL:/Operator1>variables/onresourceavailable

time: 34.680520 exception: FlexScript exception: Array index out of bounds at MODEL:/Operator1>variables/onresourceavailable

FlexSim 19.0.9
flexsim 19.0.9flexsim 19.0.8
model-4.fsm (93.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

Joerg Vogel avatar image
0 Likes"
Joerg Vogel answered Md Sofiul Alam Hridoy commented

Travel to Home object on Resource gets available trigger: Please select current and NOT

current.inObjects[1]

You want that the operator himself goes home and not that the dispatcher does it.

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

Md Sofiul Alam Hridoy avatar image Md Sofiul Alam Hridoy commented ·

Thank you so much. It is working perfectly.

0 Likes 0 ·