In my simulation I have a step in which multiple resources are seized simultaneously using cloned trajectories. For example, clone 1 seizes resource A and clone 2 seizes resource B. In the code, the seize for A is written before B, but in wall-clock time, both A and B are seized simultaneously. The clones finish simultaneously since they have the same timeout.
The next step requires that A and B both be released after the clones are synchronized, because A and B are interleaved with a downstream resource C. However, after the clones synchronize, it seems that only resource B stays seized by the arrival and resource A loses its "seized" status despite still "serving". Is this a bug?
I believe I can get around this issue by manually selecting and releasing both resources after the synchronization (or at least by forcing resource A to capacity 0 and back to 1, thereby presumably resetting out the "serving" bit). The manual selection I can do by referencing an attribute I set prior to the clones that indicates which resources should be selected within the clones. However, I was wondering about a more natural/seamless way of doing this within simmer.
Thank you!