The AgentType input file is used to create one or more agent type specifications. Each type must have a unique user -defined name. Agent types can adopt a user-defined exit behaviour defined in the ExitBehaviour input file. A typical AgentType file with one AgentType is shown below:
<ENZ_AgentType> <AgentTypeDefinition> <Name>my_agent_type_name</Name> <Speed>value</Speed> <PreEvacuation>value</PreEvacuation> <ExitBehaviour>my_exit_behaviour_name</ExitBehaviour> </AgentTypeDefinition> </ENZ_AgentType>
There is no limit on the number of AgentType definitions. A definition element is given a user-defined <Name> and each must be unique.
The <Speed> element is used to set the maximum uncongested movement speed in m/s. The speed time can be fixed or use a distribution. A speed must be specified, must be positive and cannot be greater than 3 m/s or else EvacuatioNZ will raise an error. If it is not specified then agents will move at 0.30 m/s.
The pre-evacuation time can be specified using the <PreEvacuation> element. The pre-evacuation time can be fixed or use a distribution. If it is not specified then agents will start moving after 1800 s.