elevator image error

elevator image error

doris_c
Not applicable
602 Views
3 Replies
Message 1 of 4

elevator image error

doris_c
Not applicable

[ FlexSim 19.0.9 ]

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

0 Likes
Accepted solutions (1)
603 Views
3 Replies
Replies (3)
Message 2 of 4

moehlmann_fe
Collaborator
Collaborator
Accepted solution

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.

0 Likes
Message 3 of 4

Matthew_Gillespie
Autodesk
Autodesk

@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-11...



Matthew Gillespie
FlexSim Software Developer

0 Likes
Message 4 of 4

connor_a
Not applicable

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