Search found 4 matches

by Manon
Tuesday 20 June, 2017 - 16:17
Forum: Modeling in Pedestrian Dynamics
Topic: Problem with triggering agent in a activity location
Replies: 5
Views: 16869

Re: Problem with triggering agent in a activity location

Hi Bram, That's works like a charm. :) Only problem is that this waiting area represents 'time spend putting stuff in lockers while waiting for the whole group'. When in this case my school class goes home they have to visit these lockers again, but in this case the whole group gathers near the exit...
by Manon
Tuesday 20 June, 2017 - 14:48
Forum: Modeling in Pedestrian Dynamics
Topic: Problem with triggering agent in a activity location
Replies: 5
Views: 16869

Re: Problem with triggering agent in a activity location

Another try gave me a few errors, which I don't know how to solve {**Save current AgentsIDs**} do( gData(ActivityLocation_GetNumberOfAgents(c)) := Agent_GetAgentID(i), {**gData(indexnr) := value to store in gData)**} {**Trigger the agents when a group is complete**} if( ActivityLocation_GetNumberOfA...
by Manon
Tuesday 20 June, 2017 - 14:29
Forum: Modeling in Pedestrian Dynamics
Topic: Problem with triggering agent in a activity location
Replies: 5
Views: 16869

Re: Problem with triggering agent in a activity location

Another solution I tried was rerouting all the agents to their new destination when the amount of 30 agents within the waiting location was reached. First I saved the agentIDs and then I tried calling them all in a repeat-loop, yet nothing happens and I don't know why. {**Save current AgentsIDs**} {...
by Manon
Tuesday 20 June, 2017 - 14:18
Forum: Modeling in Pedestrian Dynamics
Topic: Problem with triggering agent in a activity location
Replies: 5
Views: 16869

Problem with triggering agent in a activity location

Situation: In my model a group of agents enters a building, passes acces control and wait at a waiting location until triggered. In this waiting location I want to group to wait until everybody arrived and then move on to another waiting location. I have groups of 30 agents every 15 minutes. Problem...