Pool entity resources
SimEvents / Entity Management
SimEvents
The Resource Pool block defines resources that entities can use during model simulation. Use the Resource Acquirer and Resource Releaser blocks to work with these resources.
Initialize the block with the specified amount of available resources. Then:
Use one or more Resource Acquirer blocks to reserve those resources.
Use a Resource Releaser block to return resources back to this block for future use.
You can determine the visibility of available resources in a model hierarchy. You can
choose Global
or Scoped
resources
in the pool.
Global
— Resources can be referenced from anywhere
in a model hierarchy.
Scoped
— Resources are locally visible and can be
referenced only from the subsystem that contains the Resource
Pool block and all the subsystems inside.