question

Steven Chen avatar image
0 Likes"
Steven Chen asked Phil BoBo commented

Issue Report : AGV Travel Home on Simulation Start

Hello,

I found an issue. AGV may cause error on simulation start if it travels home on resource available.

Use new condition of v20.1 may bring missing label error.

Use old condition of old version may cause error from distancetotravel().

agv_travel_home_error_v20.1.fsm

FlexSim 20.1.1
flexsim 20.1.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.

1 Answer

Phil BoBo avatar image
0 Likes"
Phil BoBo answered Phil BoBo commented

@steven.chen,

The missing label error is a bug with the header of the On Resource Available trigger. This has been fixed for the next bugfix release. You can fix it manually in your model by changing "Object resource" in the header to "Dispatcher resource."

The code is trying to access the taskSequences property on the Dispatcher class. When using an Object, it thinks that property is a label name instead.

agv-travel-home-error-v201_1.fsm


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