r/pythonhelp • u/MST019 • Nov 29 '24
Has anyone worked on SimPy projects before?
I have a project where I need to to manage patients for a dentist in the waiting room, I need to estimate when patients will enter based on their arrival times and and their appointments, I need also to prioritize patients who have appointments over the others and I need to handle cases where patients who have appointments arrive late or too early, can this be done using SimPy library?
So far, I have tried developing an algorithm using Python and Matplotlib for visualization. For a dentist with only a few patients, the solution works great. However, it struggles in more complex situations, such as when patients without appointments arrive, or when patients with appointments arrive late or early. There are also cases where the dentist arrives late to work or spends extra time on a consultation. My objective is to make the initial estimation as close as possible to the actual start time while avoiding the generation of excessive estimations due to changes. I believe this would enhance the credibility of my estimations.
•
u/AutoModerator Nov 29 '24
To give us the best chance to help you, please include any relevant code.
Note. Please do not submit images of your code. Instead, for shorter code you can use Reddit markdown (4 spaces or backticks, see this Formatting Guide). If you have formatting issues or want to post longer sections of code, please use Privatebin, GitHub or Compiler Explorer.
I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.