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.

Connor A avatar image Connor A commented ·

Hi @Doris C, was Felix Möhlmann'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 ·

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.

Matthew Gillespie avatar image Matthew Gillespie ♦♦ commented ·

@Felix Möhlmann @Doris C Don't switch around the puller and value in the cpDistance expression. There are other activities (like Get the Current Floor CP) that use that expression and need it in the current order. Get Dest Floor CP needs to use cpBackDistance, but you'll have to add that as a new list expression field since it's not on the list in 19.0.

See my comment on your same question from a week ago:

https://answers.flexsim.com/questions/111735/elevator-image-error.html?childToView=111819#comment-111819

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.