I have to create an elevator (for passengers) and imply some control strategies.
For example: A normal elevator navigate to the floor, where the signal came from. If the elevator drive down, so every signal, from floors which are lower then the first, will pick some people.
And I have to imply something like that: Between 7am and 9am, most people come to work, so the elevator has to be in the first floor, because everyone have to drive up in their office. In the evening, the elevator should be wait higher for signals, becauser people want to go home.
Maybe the waiting period could be shorter.
(I have to imply both of them, in to different models)
My construction is similar then this one https://www.bangsow.eu/detail.php?id=445
But my problem is to write the methods and tables, becuase i'm new in this subject.
Could anyone help me or give me some tips? Maybe some next steps or something like that.
Thank you very much for your help!
this is my construction.
Currently my elevator can pic people in the first floor and take them to the drain in floor nr.2.
What I want to do next is:
1) give the elements from the sources attributes (first floor, second floor, thrid floor)
2) after that i want to imply, that the eleveator recognize the signals and pick all of them
Can you unterstand what I mean?
Thank you very mutch!
you should have a basic idea regarding your control, otherwise you will build your model several times...
If you make one central control (that also pulls all passengers into the lift and push them out), you need only to register the passengers in the different levels (e.g. make an entry in a table with a exit control of the buffers) --> the control can observe the table --> if yDim > 0 --> start a new job.
If the passengers should have different destinations, you need a concept how to do this (e.g. see method z_demp).
The job of the lift is --> drive to the next level, select the passengers who will exit --> move them --> move the waiting passengers (if the destination of the passenger is in the right direction up/down)...
After the last passenger --> go to default position --> start new job
for changing the number of passengers you can use a trigger --> change source - interval (see help)
You can also read the first chapter of my german book Praxishandbuch Plant Simulation und SimTalk
thank you for your tips.
I tried do implement all of them.
This is my state of things.
What I want to do next is:
- to control the moveable objects like passengers
- send the elevator to a floor when someone call him
- implement that the elveator work off all calls in one direction
Some help would be great.
I didn't understand how I can create a method, to control the calls.
So what I want to do is, write a method to control the elevator. If someone arrives in (for example) floor one, so the elevator has to got to the floor where the call came from. After that, the elevator should drive to the target of the passenger and work off all calls, which are in the same direction. (like you describe it bevor)
But I don't know how to do it.
Because at the moment, my elevator drives from the start to the end an then back. At every floor, people climb in the elevator und get out in the provided floor.
Thank you and best regards,
Hi Mr. Bangsow,
thanks for your hint.
So I created a table for the randomly production of my objects. So every object gets an randomly attribut with the data type integer.
Now I want to create the requests from the buffers, but I don't know how to do it. Do you have an example or any help? That would be great!