Remade bank10.py in new SimPy

59 views
Skip to first unread message

Aaron Stone

unread,
Nov 2, 2020, 4:03:43 PM11/2/20
to python-simpy
For a detailed explanation:



I'll try next to program some routing algorithms other than JSQ, hopefully with a penultimate example being a Redundancy-d model (which would be interesting in terms of managing processes).

Let me know what you think!


rt.van....@gmail.com

unread,
Nov 4, 2020, 7:38:20 AM11/4/20
to python-simpy
Thank you for this article.
I have noticed that there is a mistake in the calculation of the NoInSystem. This should read:
def NoInSystem(R):
    return len(R.put_queue) + len(R.users)
, which is also how it was done in the SimPy Classic example.



Aaron Stone

unread,
Nov 4, 2020, 3:02:07 PM11/4/20
to python-simpy
Good eye, I'll fix that up ASAP!
Reply all
Reply to author
Forward
0 new messages