I am trying to model a system where after a process is defined, there are two sets of resource requests. Following an initial intake of the original process, a set of new resource requests are immediately requested. This is straightforward and is easily completed with the with resource.request() as req: yield req type of instruction.
Where I am completely stuck is on the second set of requests, which need to be scheduled on a regular basis, for example at each of the following 10 time units after the instantiation of the process.
So for example, if the original process starts at t = 0.5, there would be a bunch of stuff that gets queued up right away but then other stuff that gets queued at t = 1.5, 2.5, 3.5, etc. Does anyone have any suggestions for how to implement this second set of requests?