Apr-10-2020, 05:25 AM
I actually just found a way to solve this myself. It would be pretty hard without exploring the in's and out's of Simpy. For those interested in the future, just stick these two lines after the yield statement.
if req1 in requests and req2 in requests:
t2.release(req2)
if req1 in requests and req2 in requests:
t2.release(req2)