4 views (last 30 days)

Hi,

I am building a model of automated warehouse. This model has vehicles as resource which will serve the orders. When one order is completed the resource is released and is available for the next order. Now, i am brining back all the vehicles to one location but in real time, the vehicle will be at different locations when the order is completed. For Eg: Once order is recieved the vehicle goes to the particular order tote, brings the order tote to the operator and takes back the order tote to the original location. These locations can be different for different orders.

So when the next order is generated, i want to know the position of the previous bot so that i can calculate the distance/time required for it to reach the next order location.

Is this something that i can do with simulink. Sorry if it is a noob question.

Regards,

Tashrif Yusuf

Abdolkarim Mohammadi-Balani
on 27 May 2020

Edited: Abdolkarim Mohammadi-Balani
on 27 May 2020

I was unable to run your model, but according to your post, I think you need to calculate the distance of the orders to the operator. If this is the case, you need to define the location of the order in the warehouse when the order is generated. I have attatched a simple model where each order has three attributes: (a) order's location in the warehouse, (b) the distance between the operator and the robot, and (c) the order serving time which is proportional to the distance. You can calculate all of these upon entity generation or upon entity entry into the Entity Server.

In the attached model, I assumed that the operator is located at coordinates [0,0,0] and the location of the generated order in the warehouse is a random triplet [x,y,z] in the range of [1,1,1] to [5,5,5]. I calculated the distance using vecnorm function, which calculates the Euclidean norm. I also assumed that it takes 2 seconds for the robot to travel 1 in the warehouse. You can customize these assumptions to match your problem. The model also outputs the attributes, which is accessible via the variable out.SimOut in the base workspace.

Abdolkarim Mohammadi-Balani
on 2 Jun 2020

Opportunities for recent engineering grads.

Apply Today
## 0 Comments

Sign in to comment.