Elevator simulator design

Download these free elevator simulator software and operate elevators in real-time. You can operate elevators in various cases, customize various parameters, and do a lot more with these software. Besides this, you can also vary the number of people going to travel in an elevator. One of these elevator simulators comes with four different controllers. These four controllers operate elevators in a different manner. Out of these four controllers, two are basic controllers and two are advanced ones.

The latest controller of this software controls and operates the elevator in the same manner as the real elevator operates.

Elevator Simulator is my favorite software. It comes with a lot of customization options. You can vary the number of floors, number of elevators, number of people, elevator capacityetc. After the completion of the simulation, you can view the waiting time, travel time, and total time of each person.

Moreover, it also displays the travel distance and number stops for each elevator. You can also try Skyscraper. It is the only software which features 3D graphics. The software offers a walk-through mode for simulation, hence, provides a real experience. Some buildings of this software have more than floors. Furthermore, it also has a lot of customization options for elevators. Elevator Simulatoras the name suggests, is a free software for elevator simulation.

It is a Java-based elevator simulator. Lets checkout how it works. Launch this software and go to File menu. It provides few sample elevator cases to start with, such as random rider insertion, three-person elevator, three-person two elevator, morning traffic rider insertion, etc.

You can select any of the available cases. After that, you can customize various parameters including number of floors, number of elevators, elevator capacity, rider insertion time mscontroller, random seed, up destination, down destination, etc. Remember, these parameters vary for different cases of elevator use. You can also mention time factor. It now starts real-time elevator simulation. The event occurred like door opened, arrival, etc. After the simulation ends, you can view waiting timetravel timeand total time for each person.

In addition to that, it computes and displays minimum, average, and maximum waiting, travel, and total time. In the Car tab of the software, you can view the travel distance and number stops of each elevator separately. Besides this, it also displays the total travel distance, total number of stops, minimum distance, minimum stops, maximum distance, maximum stops, average distance, and average stops of all elevators. It also displays travel distances and number of stops for each elevator.

All in all, it is one of my favorite elevator simulator as it provides desired simulation results.

4 Best Free Elevator Simulator Software For Windows

Also, it is a portable application which works without installation.GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together. If nothing happens, download GitHub Desktop and try again.

If nothing happens, download Xcode and try again. If nothing happens, download the GitHub extension for Visual Studio and try again. The simulation implements an elevator solution then determines the average wait time and the average travel time it takes for passengers. The simulation is run twice, one for each elevator taking 10 seconds to move between each floor, and the other for each elevator taking 5 seconds instead. Skip to content. Dismiss Join GitHub today GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.

Sign up. Simulates four elevators available to take passengers up and down a floor building. Branch: master. Find file. Sign in Sign up. Go back. Launching Xcode If nothing happens, download Xcode and try again. Latest commit. Latest commit 51bd Nov 13, Simulation mechanics: There are 4 elevators available to take passengers up and down the floors of a floor building.

Each Elevator can be stopped, stopping, moving up, or moving down. It takes an elevator 2 seconds of stopping to be stopped. It takes each elevator 10 seconds of moving to move between each floor.

There is a maximum of 8 passengers allowed in a single elevator. The elevator data file determines when passengers ask for an elevator, their starting floor, and their destination floor. A passenger arrives at the start floor at the start fime, waits for the elevator to arrive and stays on the elevator until arriving at the end floor.

When a elevator arrives at a floor, it picks up all of the passengers waiting at the floor, up to the maximum capacity of 8, and then starts moving to the End Floors. Passengers are queued waiting, if necessary, for elevators. The simulation performs one loop each simulated second. During each loop, each object decides what to do. If stopped and current time is equal to or greater than the next start time, the elevator either begins moving up or moving down depending on the direction needed to pick up the passenger.You seem to have CSS turned off.

Please don't fill out this field. An experiment in paired-programming to simulate elevator behaviour. Development is done entirely in Java. The finished product will provide a framework for additional simulations and some ability to test different elevator behaviours. Elevator Simulator Web Site. Calibre has the ability to view, convert, edit, and catalog e-books of almost any e-book format. Please provide the ad click URL, if possible:. Help Create Join Login.

Operations Management. IT Management. Project Management. Services Business VoIP. Resources Blog Articles Deals. Menu Help Create Join Login. Elevator Simulator Brought to you by: mousemannmckellarstephlebl. Add a Review. Get project updates, sponsored content from our select partners, and more.

Full Name. Phone Number. Job Title. Company Size Company Size: 1 - 25 26 - 99 - - 1, - 4, 5, - 9, 10, - 19, 20, or More. Get notifications on updates for this project. Get the SourceForge newsletter. JavaScript is required for this form. No, thanks. Project Activity. Categories Simulation. Calibre is a cross-platform open-source suite of e-book software.

Calibre supports organizing existing e-books into virtual libraries, displaying, editing, creating and converting e-books, as well as syncing e-books with a variety of e-readers. Learn More. User Reviews Be the first to post a review of Elevator Simulator! Report inappropriate content. Oh no!

Some styles failed to load. Thanks for helping keep SourceForge clean. X You seem to have CSS turned off. Briefly describe the problem required :.For Project 2 you will be working with an Elevator Simulator. Below is an illustration of the Elevator Simulator:. It will be your responsibility to write the control software for the elevator. You need to control the motor, brakes, and doors. This is an example of a controls applicationwhere you will be responsible for making a hardware system work correctly through code you write.

This project must be compiled and executed on a machine with an X-Server and wxWidgets. This is true for the Linux lab machines. I make no guarantee about personal machines and it is unlikely that you can work on this project remotely given the animation it uses. It is best to work on this project in the lab.

We have reduced support for legacy browsers.

First, create a directory named project2 in your Linux account. Remember, you use the mkdir command to create a directory. You can put this under cse or under the root directory, wherever you want to put it. Then download the file Elevator.

You can right click on the link in the browser and choose Save Link As Then, using a terminal window in the directory where you put Elevator.

elevator simulator design

This project uses a make file to automate the building process. Thus, we do not use the gcc command directly. Instead, we use a Makefile to automate the process.

elevator simulator design

Since some of the machines we use are still bit machines, and others namely the remote CSE machines arctic, pacific, black, etc are bit machines, there are two different commands that can be used to compile the project, make elevator32 builds the bit version of the code this should be used in the lab, and possibly on personal computerswhile make elevator64 builds the bit version of the code this should be used on the remote logon machine and possibly on personal computers.

You should see output something like this:.

elevator simulator design

If your output does not look like this, look at the error messages. If the compiler is complaining about i or i code, then you are trying the bit build on a bit machine. If you get a significant amount of gibberish, then you are trying the bit build on a bit machine. As always, reading the error messages is helpful.By using our site, you acknowledge that you have read and understand our Cookie PolicyPrivacy Policyand our Terms of Service.

The dark mode beta is finally here. Change your preferences any time. Stack Overflow for Teams is a private, secure spot for you and your coworkers to find and share information. I'm having trouble finishing a basic elevator simulator in Java.

What I have so far is an option that lets the user input whether they want to choose a floor, to pull a fire alarm, or to quit the simulation.

4 Best Free Elevator Simulator Software For Windows

When they choose select floor, they can pick any floor from 1 toexcept What I can't figure out how to do is to get the simulation to track their current floor so that they can go down. This is what I have so far:. Then, in selectFlooryou need to find the direction. Also, in selectFloorthe else if is unnecessary. Give your Elevator object a class variable by adding a private int floor; directly under the class opening tag.

Above the Elevator class constructor. This variable will be tied directly to the Elevator object that contains it. That way when you create your Elevator by using new Elevator you'll also have an int value always available to hold the floor. To access this value, build a getter and setter method. They should look like the following:. You can then call these two methods to set the floor number and get the floor number. To keep track, in your selectFloor method you'll need to use setFloor and pass it the floor number after a valid selection is made.

You could then use getFloor to determine whether it would be going up or down. To have your constructor set the floor variable at 1 when a new Elevator object is created. Simply change your constructor to look like this:. Hope this helps! If you have any questions on how those things are working let me know, I'll try to provide more details. I just inserted a new method called backToBasement and tied it into your selectFloor method. Hope its helpful. Learn more. Elevator Simulator help in Java Ask Question.

Asked 7 years ago. Active 2 years, 6 months ago. Viewed 11k times. Keppil Can't you add an instance variable for storing the currentFloor? Thanks all. I got it working great!

Active Oldest Votes. The Elevator should have a currentFloor field, like so: private int currentFloor; Then, in selectFlooryou need to find the direction. Kyle Kyle I'm not entirely sure how to implement the getFloor and setFloor into my selectFloor method. Chris Chris 12k 14 14 gold badges 47 47 silver badges 67 67 bronze badges.This paper describes the design and development of a system that simulates the operation of an elevator model.

The objects required to build the model will be identified, and a system will be developed that simulates the model. Each of the objects will act independently and manage its own data.

One or more objects will manage the user interface. The model allows the user to specify how many of the principal objects the simulation should include on a given run. The output of the model will be a report showing the activity of the major objects. Elevator simulators come in a variety of shapes and forms. They typically simulate passenger flow, but have also simulated only elevator movement. The passenger flow simulators typically perform one or a combination of three scenarios:.

For our model to simulate an elevator and provide meaningful information, the output will determine, for a given number of elevators, how many passengers per hour that it can carry from the lobby to the upper floors of the building. The number of elevators in the building will be determined by the user. The building will contain a fixed number of floors.

The number of passengers that can fit into the elevator will be fixed. The passengers will be counted as they leave the elevator at their destination floor.

The destination floor will be determined using a "random" Poisson interval. When all of the passengers in the elevator have reached their destination floors, the elevator will return to the lobby to pickup more passengers.

The simulation will continue until the user cancels it via keystroke. A report will be generated showing the activity of the elevators and passengers. The first step of identifying objects and classes began by generating a set of candidate classes and objects using the classical approach and behavior analysis. The eligible classes and objects generated using the classical approach are shown in Table 1.

Abstractions that relate to system function points revealed during behavior analysis are shown in Table 2. After perusing the list of possible objects, the elevator is determined to be a primary object. The roles and responsibilities that this abstraction should encompass is then considered.

The elevator is responsible for keeping track of which floor it is on, which direction it is traveling, the passengers on board, and the state of operation. Responsibilities such as direction, floor number, and state may seem like overkill for a simple lobby-to-floor elevator simulation; however, in anticipation of possible reuse or expansion, they are included.

These responsibilities are turned into services so that the user interface or other objects can acquire this information. These services provide the return of current information. Other services needed for the elevator include loading and unloading of passengers. The abstraction of the elevator class is summarized as follows:. Instances of this class have a dynamic life cycle, which can be expressed in the state transition diagram shown in Figure 1. Here it can be seen that upon initialization, an instance of this class moves to the idle state, where it begins checking for passengers.Last updated: June 11, H it the top button on the elevator and prepare yourself for a long ride: in just a few days you'll be waving back from space!

Elevators that can zoom up beyond Earth have certainly captured people's imagination in the decade or so since space scientists first proposed them—and it's no wonder.

But in their time ordinary office elevators probably seemed almost as radical. It wasn't just brilliant building materials such as steel and concrete that allowed modern skyscrapers to soar to the clouds: it was the invention, inof the safe, reliable elevator by a man named Elisha Graves Otis of Yonkers, New York.

Otis literally changed the face of the Earth by developing a machine he humbly called an "improvement in hoisting apparatus," which allowed cities to expand vertically as well as horizontally. That's why his invention can rightly be described as one of the most important machines of all time. Let's take a closer look at elevators and find out how they work!

Photo: How far will the top button take you? All the way to space? NASA is already working on an elevator that could carry materials from the surface of Earth up to geostationary Earth orbit, 35,km 22, miles up. Photo: A typical, modern, electronically controlled elevator. If you wait for the cars to move out of the way, you can often see some of the workings and figure out which bits do what.

The annoying thing about elevators if you're trying to understand them is that their working parts are usually covered up. From the viewpoint of someone traveling from the lobby to the 18th floor, an elevator is simply a metal box with doors that close on one floor and then open again on another. For those of us who are more curious, the key parts of an elevator are:.

elevator simulator design

Scientifically, elevators are all about energy. To get from the ground to the 18th floor walking up stairs you have to move the weight of your body against the downward-pulling force of gravity. The energy you expend in the process is mostly converted into potential energyso climbing stairs gives an increase in your potential energy going up or a decrease in your potential energy going down.

This is an example of the law of conservation of energy in action. You really do have more potential energy at the top of a building than at the bottom, even if it doesn't feel any different. To a scientist, an elevator is simply a device that increases or decreases a person's potential energy without them needing to supply that energy themselves: the elevator gives you potential energy when you're going up and it takes potential energy from you when you're coming down.

In theory, that sounds easy enough: the elevator won't need to use much energy at all because it will always be getting back as much when it goes down as it gives out when it goes up.

Unfortunately, it's not quite that simple. If all the elevator had were a simple hoist with a cage passing over a pulley, it would use considerable amounts of energy lifting people up but it would have no way of getting that energy back: the energy would simply be lost to friction in the cables and brakes disappearing into the air as waste heat when the people came back down.

Subscribe to RSS

Photo: Elevators don't just hang from a single cable: there are several strong cables supporting the car in case one breaks.

If the worst does happen, you'll find there's often an emergency intercom telephone you can use inside an elevator car to call for assistance. If an elevator has to lift an elephant weighing let's say kg a distance of maybe 20m into the air, it has to supply the elephant withjoules of extra potential energy.

If it does the lift in 10 seconds, it has to work at a rate of 50, joules per second or 50, watts, which is about 20 times as much power as a typical electric toaster uses. In fact, the elevator wouldn't be percent efficient: all the energy it took from the electricity supply wouldn't be completely converted into potential energy in rising elephants. Some would be lost to friction, soundheatair resistance dragand other losses in the mechanism.

So the real energy consumption would be somewhat greater. That sounds like a huge amount of energy—and it is. But much of it can be saved by using a counterweight.


thoughts on “Elevator simulator design

Leave a Reply

Your email address will not be published. Required fields are marked *