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 Center および File ExchangeDiscrete-Event Simulation についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by