I'm currenty trying to dynamically select a resourcePool with my seize Block. My Agent Workplace (WP) has a short process including a seize-delay-release sequence. In the topagent, WP is used in different Areas defined by excel-input. Because of the dynamic generation of the amount and location of the WP agents it is necessary that the seize block find the resource from the resourcePool of the current Area.
However I don't know how to adress the Block. I can create the name as String so
I tried with findFirst but don't know if the Blocks are in a population/Collection.
In AnylogicHelp i couldn't find something about this.
I know there is a Type ResourcePool...but that didn't helped me either.
I don't know if it is impossible, super simple or just not the right way, but I didn't found smth. helpful.
Thank you in advance :)