Creating an Entity Type
We recommend that you create your Entity Types in the LEGION Data Template (see Entities worksheet), but you can create them manually in LEGION Model Builder as described here.
To create an Entity Type:
- Click or select Data > Entity Types.
- Click the New button in the top left-hand corner.
- Enter a meaningful name for the Entity Type in the highlighted box and press Enter.
- On the Appearance tab select a colour for the Entity Type from the Colour drop-down list.
- For the Gender Ratio, leave at 50/50 or enter new percentages for 'Males' and 'Females' if required.
- For Entity Sizes, select
one of the following:
- System defined
- Size profiles – if you select this option, choose a Size Profile from the drop-down lists labelled Male and Female (you may need to create these profiles; see Creating an Entity Size Profile.
- Select the Luggage Size
option that matches your Entity Type:
- No luggage
- System random (automatic allocation of none, or small, medium, large ranges)
- Size Profile (select a profile from the drop-down list; you may need to create one or more profiles–see Creating a Luggage Size Profile).
- Click on the Profile tab of the ‘Edit Entity Type’ dialog box.
- Select an Entity Profile
from the drop-down list.
- The different Entity Profiles are:
- To apply a user-defined Speed Profile rather than a system profile, see Creating a User-defined Speed Profile, otherwise continue to the next step.
- Choose a Speed Profile from
the Speed Profile drop-down menu.
- Depending on the Entity Profile, the Speed Profile options are:
* Combines Peak and Off-peak data **Combines Daytime and Evening data
- Click Apply or OK to save the new Entity Type. It is added to the ‘Data’ tab of LEGION Model Builder Object Directory, under Entity Type.
A Note on Speed Profiles
An Entity’s preferred speed is rarely its actual speed within a simulation. The latter is a function of crowding, geometry, and context. It would be a mistake to try to ‘program’ an Entity to walk at a certain speed.
Tip: User-defined Speed Profiles can
be created using either the Data Template spreadsheet (see Entities worksheet)
or the Edit Data Profiles dialog (see
Creating a
User-defined Speed Profile).