Simulating Real-Life Processes in Python

Поділитися
Вставка
  • Опубліковано 15 вер 2024
  • In this video we learn how to simulate real-world processes in Python with SimPy.
    ◾◾◾◾◾◾◾◾◾◾◾◾◾◾◾◾◾
    📚 Programming Books & Merch 📚
    🐍 The Python Bible Book: www.neuralnine...
    💻 The Algorithm Bible Book: www.neuralnine...
    👕 Programming Merch: www.neuralnine...
    🌐 Social Media & Contact 🌐
    📱 Website: www.neuralnine...
    📷 Instagram: / neuralnine
    🐦 Twitter: / neuralnine
    🤵 LinkedIn: / neuralnine
    📁 GitHub: github.com/Neu...
    🎙 Discord: / discord
    🎵 Outro Music From: www.bensound.com/

КОМЕНТАРІ • 33

  • @cmrncrick
    @cmrncrick Рік тому +12

    This is very cool! I used your code and renamed some variables to suit my needs. I have an area where we handle internal metal scrap that's generated from our process. I can use this code and see how much of a difference adding more handling equipment will make, how scrap increasing will change our handling abilities, etc. Thanks a lot for this!

  • @robertwallace5498
    @robertwallace5498 2 роки тому +10

    very interesting, definitely going to play around with this library

  • @carlomartinotti3649
    @carlomartinotti3649 10 місяців тому +14

    Pretty lacking explanation of any useful concept. This is literally copy pasting an example in an IDE.

  • @poordelir
    @poordelir 6 місяців тому +1

    Great video.
    However, line 21 is a big modelling mistake,
    It will return so many non-random values which is ok for education but its totally wrong for real scenarios.
    you need to pass random or at least pseudorandom values into the model.
    The programme will work, but the result are not reliable.

  • @FactifyShort
    @FactifyShort 23 дні тому

    i will never find a youtuber that can code an app step by step, all of them just get a code and start reading and writing it!!

  • @MrDarnellEarly
    @MrDarnellEarly 9 місяців тому

    Excellent example and explanation

  • @dohnot
    @dohnot 2 роки тому +1

    Cool topic, thanks for introducing.

  • @felixnyamongo
    @felixnyamongo 2 роки тому +1

    You have a new sub. Thanks bro

  • @AntonioBarsanio
    @AntonioBarsanio 8 місяців тому

    Amazing tutorial bro. Hey, what IDE are you using?

  • @adamshenk9970
    @adamshenk9970 5 місяців тому

    Fantastic thank you so much

  • @elmondo.
    @elmondo. 2 роки тому +1

    Thanks for sharing, very interesting

  • @tcgvsocg1458
    @tcgvsocg1458 2 роки тому +1

    this one is very good thx

  • @mahmoudahmedrefat9827
    @mahmoudahmedrefat9827 2 роки тому +1

    I have a problem that in the while true you did write yield env.timeout my vscode findes that you can't wirte yield outside the function how can i solve it

  • @anthonyedwards7796
    @anthonyedwards7796 Рік тому +1

    Is it possible to set the time the calls present within a 24 hour period?

  • @AttachmentStudios
    @AttachmentStudios 2 роки тому +1

    I've always wondered what is that music from intro? I never found the original source...

    • @FireFly969
      @FireFly969 2 роки тому +1

      Reaching Mr looper

    • @AttachmentStudios
      @AttachmentStudios 2 роки тому +1

      @@FireFly969 Sorry, i forgot to update, but i already found the original source - "Book the rental wit it - RAGE" its instrumentals, and came before - "Reaching - Mr Looper", and in fact I've learnt all this because i took the intro song, extended it published in youtube in channel(still exists) and then it finally got copyrights! although i'm not always excited for copyrights... but atleast now i know.
      Also for self promotion, i'm making a programming language and i'll start uploading behind the scenes videos from next week... (then weekly)

  • @jongcheulkim7284
    @jongcheulkim7284 Рік тому

    Thank you.

  • @Nutshell_Mathematica
    @Nutshell_Mathematica Рік тому

    Really cool

  • @abhinavchoudhary6849
    @abhinavchoudhary6849 2 роки тому +2

    I loved 😍 this topic

  • @Ricocase
    @Ricocase 2 роки тому +1

    Purpose of constructor and self please?
    Why add an environment?
    Thought it was just variables, f(x), classes 😆.

    • @n.8279
      @n.8279 2 роки тому +1

      Although i'm by no means good at programming, just by interpolating my knowledge of java into this, the constructor allows for the setting of variables on call, and the self makes variables outside the constructor equal to the ones defined in the constructor so it is then able to be referenced in the program

  • @gabrielcomprendio9485
    @gabrielcomprendio9485 2 роки тому +2

    i have prblem with the last cell that says
    Input In [29], in ()
    48 env.process(setup(env, NUM_EMPLOYEES, AVG_SUPPORT_TIME, CUSTOMER_INTERVAL))
    49 env.run(until=SIM_TIME)
    ---> 51 print("customers handled:" + str(customers_handled))
    NameError: name 'customers_handled' is not defined
    it didn't shows how many customers handled, I double check the codes and its same. can you help me to find the problem here? thank you!

    • @karibays
      @karibays 8 місяців тому

      try:
      print("customers handled:" + str(customers_handled))
      except:
      customers handled = 0
      print("customers handled:" + str(customers_handled))

  • @benshi1975
    @benshi1975 2 роки тому

    have you upload the code file? i want it! awesome video

  • @philtoa334
    @philtoa334 2 роки тому

    Thx_.

  • @muhammedsavad6009
    @muhammedsavad6009 2 роки тому

    👍

  • @FlemingRound
    @FlemingRound 10 місяців тому

    what font are you using?

  • @aravindh052
    @aravindh052 2 роки тому

    Python create phone call application bro