Simulation of an production system

조회 수: 1 (최근 30일)
Christian Strobell
Christian Strobell 2021년 4월 30일
답변: Abdolkarim Mohammadi 2021년 4월 30일
Hi,
I have a problem with the implementation of a project and would like to hear if and how it can be sensibly implemented.
I would like to simulate a production system in Simulink. The procedure is as follows: A sorting algorithm is to put the orders in a sensible processing order and the order is then processed in the Simulink model. The orders are to be planned at most 2 weeks in advance, so I would like to stop the simulation after 2 weeks and run through the sorting algorithm again. After sorting, the simulation should continue at the same working point with the new orders. For me, at the same working point means that there are still orders being processed in the production system. I hope I have been able to explain my problem well, as my research has not really yielded much. Is this possible and if so, how?
My idea was to solve it via the save Operating Point, but I can't find any exact information there about how I can access the individual data, about the traceability of the orders in production and how I can use the Operating Point sensibly.
Many greetings and thanks in advance
Christian

채택된 답변

Abdolkarim Mohammadi
Abdolkarim Mohammadi 2021년 4월 30일
If I have understood you well, you need to re-run the sorting algorithm in certain time intervals. If that is the case, you need a MATLAB Discrete-Event System block (MDES). You should view the execution of the sorting algorithm as an event. A time-based entity generator with fixed intergeneration periods can serve well here. After this block, you need a MDES with two storages (one for incoming tasks and one for the event of the execution of the sorting algorithm). In the entry event action of the second storage, you can impelement your sorting algorithm and re-sort the entities.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Discrete-Event Simulation에 대해 자세히 알아보기

제품


릴리스

R2020b

Community Treasure Hunt

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

Start Hunting!

Translated by