question

Doris C avatar image
0 Likes"
Doris C asked Connor A commented

elevator image error

These problems have been solved in the past.
However, the Flexsim version has been changed and the previously resolved method is not working. What should I do? I can't remember the previous version in detail. The current version is 19.0.9. Elevator-Bug-model.fsm

FlexSim 19.0.9
agvflexsim 19.0.9agvelevator
· 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

Felix Möhlmann avatar image
0 Likes"
Felix Möhlmann answered Felix Möhlmann edited

The distance that is used to choose the "destFloorCP" is the wrong. FlexSim seems to use the distance from the final destination CP to the floor CP, rather than the other way around. I think the assumption here was, that each floor would have it's own AVG loop so the direction the distance is measured in wouldn't matter. But because in your case the elevators are part of one big one way loop the wrong floor cp is chosen (starting from the destination the cp on the starting floor is closer).

Either switch around the "puller" and "value" in the cpDistance expression or use the "cpBackDistance" in the "Get Dest Floor CP" query (AVG Elevator Process Flow).

1638293737707.png

1638293713279.png

Edit: Thanks for the note. Switching the parameters is indeed wrong, I didn't think of the other activities.


1638293713279.png (4.1 KiB)
1638293737707.png (18.2 KiB)
· 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.