question

Jyhjeng D2 avatar image
0 Likes"
Jyhjeng D2 asked Jyhjeng D2 commented

adjust the object's Pick Operator field

Hi:


I run a model according to the FlexSim 2022 Core Training Part 3 at the time frame 2:56:00 to 2:58:00.

https://www.flexsim.com/fr/vid%C3%A9os/flexsim-core-training-course-part-3/

The model is a simple queue model with an operator carrying from queue to processor 1.

However, when I set the setup time to be 3 in the processor 1 and used the operator to transport,

the following error message occurred.

In the video, nothing with an error occurred. What happened?

Can anyone help? Thanks.


The model can be downloaded from the link

https://drive.google.com/file/d/1AFu74ap8p72mi0-sxEG5e-H-IMZB13b9/view?usp=sharing


System Console

time: 17.634646 exception: FlexScript exception: Array index out of bounds at MODEL:/Processor1>variables/processdispatcher


Error Message Box

Processor1 could not reference an operator correctly.

Please adjust the object's Pick Operator field.


Here are the error images.

error01.jpg

error02.jpg

FlexSim 22.0.1
pick operator field
error01.jpg (161.2 KiB)
error02.jpg (90.0 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 Jyhjeng D2 commented

Your model is missing the centerport-connection between the operator and the processor.

Since the processor doesn't have any 'centerObjects' connected to it, the index '1' used in the Operator field is 'out of bounds', as the error message says.

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

Jyhjeng D2 avatar image Jyhjeng D2 commented ·

Thanks you. Your solution works.

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.