Following problem: I have 10.000 RFID Chips in a ResourcePool. When they are used up I need 10 seconds to reload the machine with 10.000 RFID Chips again. Since I'm a beginner my question is: what code do I need to write where in the properties of the ResourcePool?
Asked
Active
Viewed 35 times
0
-
To clarify: are used RFID chips supposed to come back to the ResourcePool at some point or is it that once they're seized they're gone and will never be released? – Artem P. May 03 '21 at 09:55
-
Yes sorry for not clarifying enough, the RFID-Chips are lost after they are used. So we will need to refill the machinery with 10000 new RFID Chips. – Niklas Weichbold May 03 '21 at 12:27
-
In that case, ResourcePool isn't the best option as it is an object explicitly created to model resources that are shared by various agents during the simulation lifetime. Perhaps [Match](https://help.anylogic.com/topic/com.anylogic.help/html/processmodeling/match.html) or [Combine](https://help.anylogic.com/topic/com.anylogic.help/html/processmodeling/combine.html) would be a better fit instead. – Artem P. May 03 '21 at 14:39
1 Answers
0
As mentioned in the comment: perhaps ResourcePool isn't the best option as it is an object explicitly created to model resources that are shared by various agents during the simulation lifetime. Perhaps Match or Combine would be a better fit instead.

Artem P.
- 816
- 1
- 6
- 8