Entity Attributes

Entity data for run-time control

You can attach data to an entity using one or more attributes of the entity. Each attribute has a name and a numeric value. Read or change the values of attributes during the simulation. Use the attributes to route or match the entities, and to set the resource amount that the entities acquire.


Attribute Value Support

An entity can store characteristics of data in an attribute.

Working with Entity Attributes

Attach data to entities.

Manipulate Entity Attributes

Use the attributes table to change attribute values.

Set Resource Amount with Attributes

Use the Selected Resources table of the Resource Acquirer block to receive the resource amount definition from the block dialog box or an entity attribute.

Match Entities Based on Attributes

This example shows how to build a model to store and match entities representing bicycle components.