which block to be used for simple looping in simevents

2 次查看(过去 30 天)
Hello everybody, in mining truck shovel operation,in this operation there are two main tasks in open pit mines:
1)Dumper going to escavator for loading ore material.
2)Dumper going to crusher for unloading ore material.
Intially we will have number of trucks and thier capacity.Now i am trying to built a simulation model using simevents for this process.Process is explained in simple words as follows the truck(dumpers) takes some load(ore material) from escavator to crusher(unloads) and come back to escavator to load and again unloads it at crusher,and this process continues till shift time ends so how do we loop the entity generator(number of trucks,truck capacity are enity attributes)) with enity server(escavator and crusher) , for this simple looping which type of block shall be used to solve the problem(simevents).The below daigrams may help you to understand the flow of process:

回答(1 个)

Hornett
Hornett 2024-5-24
To simulate a mining truck-shovel operation using SimEvents in MATLAB, you'll model trucks cycling between an excavator (for loading) and a crusher (for unloading). Here's a brief overview of how to set up this simulation:Components:
  1. Entity Generator: Creates truck entities periodically. You can define attributes like the number of trucks and their capacity.
  2. Excavator (Server): Models the loading process. Trucks receive ore material here. Include a queue if trucks might wait.
  3. Crusher (Server): Models the unloading process. After unloading, trucks need to return to the excavator. Include a queue for waiting trucks, if necessary.
  4. Loop Mechanism: To cycle trucks between the excavator and crusher. After unloading, trucks are routed back to the excavator.
Steps:
  1. Generate Trucks: Use the Entity Generator to create trucks with specified attributes.
  2. Load at Excavator: Trucks go to the Excavator Server where they're loaded. A Queue manages waiting trucks.
  3. Unload at Crusher: Trucks move to the Crusher Server to unload. Use a Queue for any waiting.
  4. Return to Excavator: After unloading, trucks are routed back to the excavator to repeat the cycle. This can be done using the "Signal-Based Entity Routing" block to direct trucks back to the start of the process.
Implementation Notes:
  • Routing Trucks: Use routing blocks like "Signal-Based Entity Routing" or "Entity Switch" to manage the flow of trucks between the excavator, crusher, and back.
  • Shift Duration: Incorporate a mechanism, such as an "Event-Based Timer," to simulate the shift duration and control the simulation's start and end.
This setup allows you to simulate the essential operations of a mining truck-shovel system, focusing on the cyclical movement of trucks between loading and unloading points.

类别

Help CenterFile Exchange 中查找有关 Discrete-Event Simulation 的更多信息

产品


版本

R2021b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by