Discrete Event Simulation using R (1): Modeling of an Outpatient Clinic

Поделиться
HTML-код
  • Опубликовано: 5 ноя 2024
  • Discrete Event Simulation using R: Modeling of an Outpatient Clinic
    Solving bottlenecks in a simple model of an outpatient clinic
    This video is a 2019 re-do of “Discrete Event Simulation (DES) using R“ released 2017 with R script upgraded and deprecated functions removed.
    R script used:
    app.box.com/s/...

Комментарии • 25

  • @nickhill6036
    @nickhill6036 Год назад +1

    the fact that I understood what you were trying to teach...without understanding any arabic is an indication of how well you organize your tutorials. good job!

  • @mmar2113
    @mmar2113 3 года назад +2

    Hello fellow comrade, my simulation team and I, are truly thankful with you because of these tutorials. Your explanations using the R language are very clear and we've managed to build our own simulation model using the mentioned language. Thank you so much, you made two CS mexican students truly happy. Wish you the best, mate.

    • @StatPharm
      @StatPharm  3 года назад

      Thanks a lot for your kind words

  • @jeffreyyoung1604
    @jeffreyyoung1604 4 года назад +2

    I like the code and how you explained it. 1 comment would be to have separate videos, one for each language. I found it difficult at times to follow along as you went back and forth between languages.

  • @abramswee
    @abramswee 3 года назад +1

    thank you for sharing.

    • @StatPharm
      @StatPharm  3 года назад

      Thanks for watching!

  • @DanielTysonM
    @DanielTysonM Год назад

    Is it possible to seize two different resources at the same time? For example, a nurse and a cardiogram machine?

  • @sarabdn2068
    @sarabdn2068 4 года назад +1

    I want to design the following environment: a truck arrives at the terminal and has to follow 6 steps. the third step is going to the area to pick up a product. The product could be A,B,C,D,E. So there are 6 resources but within one resource(third) there are 5 options with a different distribution.
    How can I do this in simmer?

    • @StatPharm
      @StatPharm  4 года назад

      Simmer will solve problems that can be solved with discrete event simulation, only in a much simpler manner. So, please have a look at the Package Author's website and documentation where he showed some examples. If your problem is analogous to any of them then it can be done in simmer. cran.r-project.org/web/packages/simmer/index.html

  • @linnartfelklm.sc.6467
    @linnartfelklm.sc.6467 3 года назад

    All this great work and I didn't even catch your name, sir?! Thanks for the videos on simmer.

    • @StatPharm
      @StatPharm  3 года назад

      Welcome! This is my linkedin profile www.linkedin.com/in/mohamedkamalpharm/

    • @StatPharm
      @StatPharm  3 года назад

      Thanks a lot for your feedback.

  • @technoholican
    @technoholican 3 года назад +1

    Now not only I know how to set up simmer tasks, I also know a little bit of Arabic. (I just thought it was funny how you slowly threw in more and more Arabic words in there until whole portions were just Arabic.)

    • @StatPharm
      @StatPharm  3 года назад +1

      Thanks a lot. Most recent videos are in English as per subscribers request. Videos that are intended for Egyptian audience are now labeled "Arabic"

  • @adnanhajabubaker4158
    @adnanhajabubaker4158 4 года назад

    شكرا كتير لحضرتك..
    ممكن تناقش اذا وقت وصول المرضى كان في وقت ذروة
    شكرا من القلب

    • @StatPharm
      @StatPharm  4 года назад +1

      اسف للتأخر في الرد برجاء كتابة تفاصيل مثلا اذا ما كان وصول المرضى يتبع توزيع معين؟

    • @adnanhajabubaker4158
      @adnanhajabubaker4158 4 года назад

      @@StatPharm
      تحياتي استاذنا الكريم
      على فرض قدوم المرضى لا يتبع توزيع معين او قدوم ثابت و انما القدوم يختلف باختلاف ساعات النهار .. بمعنى أن ساعات العمل الأولى يكون يتبع توزيع بواسوني بمعدل معين و لكن يختلف معدل هذا التوزيع نع ساعات الظهيرة (وقت الذروة)
      و نقطة أخرى ان تكرمت بشرحها .. كيف لي أن أحاكي قدوم المرضى في حال كان القدوم يختلف من يوم لاخر. هل أحاكي كل يوم بيومه أم يوجد طريقة نستطيع من خلالها محاكاة أيام الاسبوع على اختلاف التوزيع الاحتمالي للوصول.
      آسف ع الاطالة و شكرا مقدما يابن الأكارم

    • @StatPharm
      @StatPharm  4 года назад +1

      @@adnanhajabubaker4158 you will simply create a vector for inter-arrival time containing sequential distributions and concatenate it using c( ). Please contact me on linkedIn if you will need any help with the R script

    • @StatPharm
      @StatPharm  4 года назад +1

      www.linkedin.com/in/mohamedkamalpharm

  • @abhinavgaur13
    @abhinavgaur13 4 года назад

    Hi @Stat Pharm : I have a question. I started learning DES with SimPy but do you see any special advantages of using Simmer over SimPy ?

    • @StatPharm
      @StatPharm  4 года назад

      Excellent Question. If you feel comfort using any language that gets the job done, then use what makes you feel at ease. Both are great languages with long list of great tools.

    • @technoholican
      @technoholican 3 года назад

      Considering R is natively an array programming language, it theoretically performs much better than Python when dealing with very high iteration/step tasks (e.g. stochastic sims).

  • @shuvhamdigitalacademy3228
    @shuvhamdigitalacademy3228 3 года назад

    Error in MemMonitor__new() :
    function 'Rcpp_precious_remove' not provided by package 'Rcpp'
    I get an error sir.

    • @StatPharm
      @StatPharm  3 года назад

      Thanks dear for your valuable comment, please update R and reinstall updated packages and follow the step by step tutorials here r-simmer.org/articles/simmer-01-introduction.html these tutorials are updated 2021-08-11