question

PequodLZ avatar image
0 Likes"
PequodLZ asked Jeanette F commented

How to make the elevator behave like a building elevator

So i'm basically trying to mimic your standard building elevator which focuses on serving in one direction first, dropping off passengers by floor order as well as picking up other passengers along the way (who are going in the same direction of the elevator) for as long it isnt full capacity and finally once it has served the last customer going up, it starts servicing downward doing the same.


The elevators behavior, by default, seems to be prioritizing whichever object appeared first. I'm assuming i'm supposed to use object task flow, but i'm not that knowledgeable on it, and i dont even know where to start. I've also set up triggers that assign a label name on the items Floor Origin and Floor Destination. If FloorDestination - FloorOrigin is positive then the item wants to go upwards, if negative then downwards. I dont know if that even helps though.


Elevators.fsm

FlexSim 23.2.2
elevatorelevators
elevators.fsm (35.9 KiB)
· 3
5 |100000

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

Joerg Vogel avatar image Joerg Vogel commented ·
@PequodLZ, please do this kind of model with the "People" library objects!
0 Likes 0 ·
PequodLZ avatar image PequodLZ Joerg Vogel commented ·

Hello, I tried my hand at it but I'm quite stuck on how to get them to actually use the elevator. At first they would just magically walk on air towards another floor, then i thought of using a grid (to separate floors) and now they just magically vanish. I actually want to use multiple elevators, if i got them to start using one would they also start using the others once they're available? or would i have to set something up to make them use the others?

PeopleElevator.fsm


I also got a look at this simulation (elevatorsequencetravel-rc.fsm) from the thread below:

How to use Elevator Bank in People Process Flow, using Network Node?

Still trying to wrap my head around it, but playing around with my initial simulation (the one with Man as items) made me realize that item labels dont translate to token labels (i think)

0 Likes 0 ·
Jeanette F avatar image Jeanette F ♦♦ commented ·

Hi @PequodLZ, was Joerg Vogel'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 comment back to reopen your question.

0 Likes 0 ·

1 Answer

Joerg Vogel avatar image
0 Likes"
Joerg Vogel answered

A 3D elevator is just a taskexecuter Class member object. If you want to load and unload more items from or to an object you break to other tasksequences that are kept in an tasksequence queue of dispatcher or the elevator object itself.
I would not begun tasksequences to a partitioned list. The partition is the loading station. Once an item gets into the elevator I would push the now begun tasksequence to a different partitioned list, which is partitioned by unload stations. At each station I pull first all stored tasksequences from the already begun list one by one and unload the items. Then I do the same for the items to load. You can let travel the elevator to a next station then.

5 |100000

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