Search code examples
propertiesanylogicagentinject

In anylogic, how to add custom parameters for a single agent in the inject() function in pedSource


enter image description here

In anylogic, how to add custom parameters for a single agent in the inject() function in pedSource


Solution

  • You can specify the agent details in the "exit" code box using the ped keyword: enter image description here

    Alternatively, switch the "add pedestrians to" option to "custom population" and adjust the ped values there.

    Or you call some code in the Ped agent type on startup code box...