question

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

Time Exception Error 3

Hi, there. This is an update of the posted problem with title of “Time Exception Error 2” in which I made a mistake on the uploaded file. Below is the correct one.

Recently I watched a video of the FlexSim 2020 Tutorial Part 3,

https://www.youtube.com/watch?v=uWAqVmvbabY

At the time frame 14:37~19:20, there is an example of using a token in the process flow to control the flow item in the 3D model. There are three processors. The token should go from queue 1 to processor 1 and all the way to processor 3 and lastly to sink. I follow the steps in the video exactly. However, some of the steps are not shown clearly in the video.

When I run the program, the time exception occurred as follows.

time: 11.215140 exception: Error: Bad Task Executer reference in create task sequence activity FlowItem to Processor 1/Create TS: Assign Task Sequence to Processor 1 in process flow "ProcessFlow"

time: 26.187525 exception: Error: Bad Task Executer reference in create task sequence activity FlowItem to Processor 1/Create TS: Assign Task Sequence to Processor 1 in process flow "ProcessFlow"

time: 31.746102 exception: Error: Bad Task Executer reference in create task sequence activity FlowItem to Processor 1/Create TS: Assign Task Sequence to Processor 1 in process flow "ProcessFlow"

time: 46.944389 exception: Error: Bad Task Executer reference in create task sequence activity FlowItem to Processor 1/Create TS: Assign Task Sequence to Processor 1 in process flow "ProcessFlow"

Can anyone help me solve the time exception problem?

The FlexSim file can be downloaded here.

https://drive.google.com/file/d/1XU2MYAR1QxtlO7B83npvGwHUWVQcrCxc/view?usp=sharing

Thanks.

FlexSim 22.0.1
exception error
· 2
5 |100000

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

Andrew O avatar image Andrew O ♦ commented ·

Hi @Jyhjeng D2, was Jason Lightfoot'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.

0 Likes 0 ·
Jyhjeng D2 avatar image Jyhjeng D2 Andrew O ♦ commented ·

Dear Andrew:

This one is the correct reply. Please ignore the previous. The link in the previous is wrong.

Thank you for caring about the progress of my problem. Mr. Jason Lightfoot's answer is not helpful. Since the tutor Cliff of Tutorial 2020 Part 3 did not explain well in his talk, I would like someone could modify the attached 3D model file and adjust the correct parameters to make the program works. His talk is in the video of the FlexSim 2020 Tutorial Part 3,

https://www.youtube.com/watch?v=uWAqVmvbabY

at the time frame 14:37~19:20.

The FlexSim file can be downloaded here.

https://drive.google.com/file/d/1vBEymgV0qHcrU2MQ8mR47jEK_NtlmhfM/view?usp=sharing

If someone could explain the details of the parameters of each activity of two blocks in the following image, it would be even better. Thanks.

time-exception-error-3.jpg


0 Likes 0 ·
Jyhjeng D2 avatar image
0 Likes"
Jyhjeng D2 answered

Finally, after a lengthy study, I provided my solution to my problem. The layout of my answer is below.

solution.jpg

The 3D model and process flow can be downloaded below.

https://drive.google.com/file/d/15hT0kj9RkryPP8ezEfxGyfuKLdh6_2vT/view?usp=sharing


solution.jpg (331.3 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.

Jason Lightfoot avatar image
0 Likes"
Jason Lightfoot answered Jason Lightfoot converted comment to answer

The task executer is (I assume) the operator and not the Processor.

In your Create/TS you have Model.find("Processor1") for the TaskExecuter.

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

Your suggestion did not work! I have changed the Task Executor to Operator 1, but the error message is

"An invalid task has been encountered.

Object: Operator 1

Task Number: 3

Task Type: Travel

Involved 1: NULL

Involved 2: NULL

Try profiling the task sequence using profiletasksequence(),

and then review how the task sequence was created."

Please see the image file.model-2-image2.jpg

0 Likes 0 ·
model-2-image2.jpg (239.2 KiB)
Jason Lightfoot avatar image Jason Lightfoot ♦ Jyhjeng D2 commented ·

It wasn't a suggestion - it was a statement of fact relating directly to the error messages you included in you question.


The new message is telling you the travel destination is NULL - you need to give it a valid pointer to a destination.

1 Like 1 ·
Jason Lightfoot avatar image Jason Lightfoot ♦ Jyhjeng D2 commented ·

In your model you have set each processor to use transport and use operator. Since the process flow is doing the transport and ties the operator to the task sequence you don't need to do either of these.

Also - you don't need to duplicate the block for all processors and the sink - just have one subflow to take the item to the next station and change a single label 'nextStation' between each subflow call.

1662121489848.png

Now say, if you wanted to change the process to set the operator to a utilized state each time, you only need to add that once to the subflow instead of pasting it 4 times.

The description of the process is in the name of the activities.

Model attached (remove the .pdf extension to use).

Part3_WarmUp1_Model_2_jl.fsm.pdf

0 Likes 0 ·
Jyhjeng D2 avatar image Jyhjeng D2 Jason Lightfoot ♦ commented ·

Dear Jason:

Thanks for help. However, the file can not be downloaded.jason01.jpg

0 Likes 0 ·
jason01.jpg (50.2 KiB)
Show more comments

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.