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

Viewed 61
1 Answers

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...

Related