Anylogic - Creating an Elevator System with Pedestrians - simulation

I am currently trying to recreate my university dorm elevator system in AnyLogic, however I am unsure how to even start with pedestrians and elevators, as the lifts in the program are only used by transporter fleets.

Very hard to do elevators, you will have to code that yourself. It is possible but requires fairly advanced skills in OOP and coding. Here is an example using elevators to get you started.

Related

AS/RS simulation in Anylogic Simulation Software

I need to simulate a fully functional AS/RS in warehousing. Moreover, I am a complete beginner in this field. Can some please let me know if I could get readymade simulation file? Or if not, please let me know how to learn to do it.
I have checked out the Anylogic website and it's tutorials (They are too lengthy).
fortunately for you, i have developed an AS/RS example that is a ready-made downloadable model for you, available at https://cloud.anylogic.com/model/1f5c7d1f-8782-40ac-957d-d3ba97bf6bf0?mode=SETTINGS
In general, when you want a model example, the first thing you should do is check the anylogic cloud, and if you are lucky the model is downloadable. Unfortunately, most people don't share
It really depends on what type of ASRS you are modeling (shuttle versus unit load) and level of detail you need. Do you need specific slotting and inventory tracking, or simplier black box delays with the assumption inventory is always available? The level of detail you need depends on questions you are asking, and should be addressed prior to starting development. If results from the model are critical and urgent, and you need anything more than simple black box delays, you should consider outsourcing to an experienced professional until you can get your AnyLogic skills up to speed.

How to assign waiters to a restaurant operation simulation in AnyLogic

i'm new to AnyLogic and i started using it for a restaurant operations simulation. Right now i've figured out how to use the pedestrian library to simulate customers coming into my restaurant and go to attractors placed around the dining tables and make them stop there for a period of time. However, i need help assigning a few waiters who go to each of the customers at least once after they have "sat down at their seats" (or simply means reaching and stopping at the attractors). i cannot figure out whether i can keep using pedestrian library or i have to use another library like a process handling library or create new agents as i am not familiar with the software. any help is much appreciated!
attached below are screenshots of the model and the blocks i currently have done:
model: https://imgur.com/a/3Sumwu8
blocks: https://imgur.com/a/gKD5VSB
I assume there are a lot of ways to do this... Normally you would use waiters as resources, but I think you can't make resources behave like pedestrians if you mix it with the Process Modeling Library... If you can do it smoothly maybe someone will answer it
What you can do is something like this:
On this model you have a separate flow for the waiters, who are your resources and you have to use some JAVA to seize the waiters for a particular table and allow them to do something... do what? I don't know, that depends on your model.
This is just a guideline for one possible solution but there are a lot of implications on how to actually implement it correctly.

Agent based modeling for Supply Chain Management

I am a final year student of Computer System Engineering.My FYP is Agent Based Modeling for Supply Chain Management. I don't know how to start it or which software should I use. Repast? Netlogo? Anylogic?
Please guide me how to proceed with my project.
Even though this question is opinion-based, I was part of a project whose objective was to compare exactly the softwares you mentioned here: Repast, Netlogo and AnyLogic. What I did in this study was to create AnyLogic models. Someone else was creating the models in Netlogo and Repast.
There is no paper with the conclusions yet, but the person who did this study told me that AnyLogic was better in terms of easy to use and scalability than the others and Repast has the steepest learning curve. Nevertheless for small scale projects, AnyLogic and Netlogo are equally suited so it doesn't matter which one you choose.
Nevertheless, remember that AnyLogic on its free version allows you to use only 10 agents, which is a lot, but if your project is really big and you want everything for free, you may encounter a problem there.
As a platform that allows to work with agents that include in the same platform: editing code, show the area of simulation and generate graphics. I think Netlogo platform is suitable for this reason. you can also link it with other programming languages like python and R.

Arduino CAD Simulation in real time

I have the following scenario: i am building a animatronic hand using some flex sensor, arduino board and 5 servo. No problem on this side.
But i have the following idea: to build a 3D CAD model of the hand in Catia, or in any other CAD program, and in real time the virtual hand to copy the movements of the real hand in real time.
I used something in Matlab when i did some plots in real time with some data from some sensor. It is posible to do that in a CAD program? To get the data from arduino and based on that data to simulate the movements of the virtual hand in real time. Can you tell if it posibile in wich program can i do the simulation?
Lucian
This is absolutely possible with Catia as long as your can get your arduino data into the computer. Likely a lot of other CAD software packages too. Such as Solidworks, AutoCAD, UX, etc. They offer an API which would allow you to update the cad model from a script in "real-time" based on your animatronic hand. You could probably go both ways, CAD-drives-Hand and Hand-drives-CAD. The one issue I see happening with a CAD software is the real-time aspect. Depending on the how graphically intensive your CAD model is, there is a computational time overhead to re-draw/update the model position. So, if your hand is moving quickly with complex gestures and you have a complex 3D model, there might be some delay in the movements on screen.
Lastly, you might want to look at animation/cad/rendering software that has a more powerful native rendering engine, like Maya, or Rhino to accomplish this. (I would try Rhino first).
If you choose Catia, please ask a different question or update this one specifically regarding how to control a 3D model via the API and I could help to answer that also.

Robot simulation environments

I would like to make a list of remarkable robot simulation environments including advantages and disadvantages of them. Some examples I know of are Webots and Player/Stage.
ROS will visualize your robot and any data you've recorded from it.
Packages to check out would rviz and nav_view
This made me remember the breve project.
breve is a free, open-source software package which makes it easy to build 3D simulations of multi-agent systems and artificial life.
There is also a wikipage listing Robotics simulators
Microsoft Robotics Studio/Microsoft Robotics Developer Studio 2008
Also read this article on MSDN Magazine
It all depends on what you want to do with the simulation.
I do legged robot simulation, I am coming from a perspective that is different than mobile robotics, but...
If you are interested in dynamics, then the one of the oldest but most difficult to use is sd/fast. The company that originally made it was acquired by a large cad outfit.
You might try heading to : http://www.sdfast.com/
It will cost you a bit of money, but I trust the accuracy of the simulation. There is no contact or collision model, so you have to roll you own. I have used it to simulate bipeds, swimming fish, etc.. There is also no visualization. So, it is for the hardcore programmer. However, it is well respected among us old folk.
OpenDynamics engine is used by people http://www.ode.org/ for "easier" simulation. It comes with an integrator and a primitive visualization package. There are python binding (Hurray for python!).
The build in friction model.. is ... well not very well documented. And did not make sense. Also, the simulations can suddenly "fly apart" for no apparent reason. The simulations may or may not be accurate.
Now, MapleSoft (in beautiful Waterloo Canada) has come out with maplesim. It will set you back a bit of money but here is what I like about it:
It goes beyond just robotics. You can virtually anything. I am sure you can simulate the suspension system on a car, gears, engines... I think it even interfaces with electrical circuit simulation. So, if you are building a high performance product, than MapleSim is a strong contender. Goto www.maplesoft.com and search for it.
They are pretty nice about giving you an eval copy for 30 days.
Of course, you can go home brew. You can solve the Lagrange-Euler equations of motion for most simple robots using a symbolic computation program like maple or mathematica.
EDIT: Have not be able to elegantly do certain derivatives in Maple. I have to resort to a hack.
However, be aware of speed issue.
Finally for more biologically motivated work, you might want to look at opensim (not to be confused with OpenSimulator).
EDIT: OpenSim shares a team member with SD/Fast.
There a lots of other specialized simulators. But, beware.
In sum here are the evaluation criteria for a simulator for robot oriented work:
(1) What kind of collision model do you have ? If it is a very stiff elastic collision, you may have problem in numerical stability during collisions
(2) Visualization- Can you add different terrains, etc..
(3) Handy graphical building tools so you don't have to code then see-what-you-get.
Handling complex system (say a full scale humanoid) is hard to think about in your head.
(4) What is the complexity of the underlying simulation algorithm. If it is O(N) then that is great. But it could be O(N^4) as would be the case for a straight Lagrange-Euler derivation... then your system just will not scale no matter how fast your machine.
(5) How accurate is it and do you care?
(6) Does it help you integrate sensors. For mobile robots you need to have a "robot-eyes view"
(7) If it does visualization, can it you do things like automatically follow the object as it is moving or do you have to chase it around?
Hope that helps!
It's not as impressive looking as Webots, but RobotBasic is free, easy to learn, and useful for prototyping simple robot movement algorithms. You can also program a BasicStamp from the IDE.
I've been programming against SimSpark. It's the open-source simulation engine behind the RoboCup 3D Simulated Soccer League.
It's extensible for different simulations. You can plug in your own sensors, actuators and models using C++, Ruby and/or RSG (Ruby Scene Graph) files.
ABB has a quite a solution called RobotStudio for simulating their huge industrial robots. I don't think it's free and I don't guess you'll get much fun out of it but it's quite impressive. Here's a page about it
I have been working with Carmen http://carmen.sourceforge.net/ and find it useful.
One of the disadvantages with Carmen is the documentation with all respect I think the webpage is a bit outdated and insufficient. So I like to hear from other people with experience in working with Carmen, or student reports/projects dealing with Carmen.
You can find a great list with simulation environments http://www.intorobotics.com/robotics-simulation-softwares-with-3d-modeling-and-programming-support/
MRDS is one of the best and it's free. Also LabView is good to be used in robotcs
National Instruments' LabView is a graphical programming environment for developing measurement, test, and control systems.
It could be used for 3D control simulation with SolidWorks.
MRDS is free and is one of the best simulation environment for robotics. Workspace also can be used, and please check this link if you want a complete list with robotics simulation software
Trik Studio has a nice and clear 2D model simulator and also visual and textual programming programming environments for them. They also soon will support 3D modeling tools based on Morse simulator. Also it is free and opensource and has multi-language interface.