Help with Simulink system?

조회 수: 2 (최근 30일)
Kjartan S
Kjartan S 2013년 5월 2일
Hi everyone,
I have been using matlab for some time now but I just recently discovered Simulink and I could use it for my work. If I just create a small example here could some one please guide me through the basic steps of Simulink ? That is how to put in arrivals, queing, servers and adding servers etc. I only found a bunch of electrical system simulations online.
Lets say we have a 24/7 gun range with four booths to shoot from, we have been having some waiting times recently and because we are a good company we want to make sure that we never have waiting time and our customers arrive every time of the day with the following measurement:
Time 1 2 3 4 5 6 Quantity 4 5 12 22 8 5
How is this done in Simulink ? basic system and we want to see what effect it has if we increase the servers, we want to have no one waiting.
Thanks, all the best.

채택된 답변

Kaustubha Govind
Kaustubha Govind 2013년 5월 3일
Based on your problem description, it seems like SimEvents is the right product for you to use. Look under the "Videos and Examples" pane to learn more about how you might be able to apply this to your problem.
  댓글 수: 2
Kjartan S
Kjartan S 2013년 5월 4일
Thank you so much, exactly what I was looking for. Although having watched all of the videos I am having one small problem with the entities arrivals <http://www.mathworks.se/matlabcentral/answers/74632-simevents-invalid-entity-intergeneration-time-causes-block> All help is so appreciated :) Thanks
Kaustubha Govind
Kaustubha Govind 2013년 5월 6일
Kjartan: Sorry, I don't really have experience with SimEvents, just familiar enough to know that it is the right solution for your problem. I'd suggest that you wait for a day or two to see if someone with experience will answer your question (you posted over the weekend, when a lot of people are inactive). Otherwise, please contact MathWorks Tech Support.

댓글을 달려면 로그인하십시오.

추가 답변 (1개)

Babak
Babak 2013년 5월 2일
In Simulink, equations are integrated in time. Your system doesn't seem to have governing (continuous or discrete) equations, instead you have relation in the form of if.. else.. (I'm not sure, you may want to elaborate more on this). If you agree with me, I think you need to use "stateflow" instead of Simulink.
  댓글 수: 2
Kjartan S
Kjartan S 2013년 5월 2일
I am very sorry I forgot to include the average service time on each booth is 15 minutes. But I will take a look at stateflow,
Kjartan S
Kjartan S 2013년 5월 2일
Thank you for your answer

댓글을 달려면 로그인하십시오.

카테고리

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

Community Treasure Hunt

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

Start Hunting!

Translated by