This example shows how to use the Entity Find block to find and examine entities at their location. In this example, the block finds entities that are tagged with a resource from the Resource Pool block.
The top model represents the flow of entities that acquire a
By default, the Entity Find block finds the entities having
Every time the Trigger Entity Generator generates an entity, the Entity Find block is triggered to find entities.
Simulate the model and observe the Scope blocks labeled as Terminated Entities and Number of Found Entities. The number of terminated entities is
The number of found entities by the Entity Find block is also
10. This is because every generated entity acquires a
Resource1 tag and no entities are blocked in the model.
You can also modify and extract found entities. For more information, see Find and Extract Entities in SimEvents Models.