Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in
  • V vadere
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 130
    • Issues 130
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
    • Requirements
  • Merge requests 3
    • Merge requests 3
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
    • Test Cases
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Code review
    • Insights
    • Issue
    • Repository
  • Wiki
    • Wiki
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • vadere
  • vadere
  • Issues
  • #330
Closed
Open
Issue created Aug 23, 2021 by Christina Maria Mayr@christina-maria-mayrMaintainer

[Bug] Agents in pedestrianEventsQueue missing

In the discrete update scheme UpdateSchemeEventDriven, there are agents missing in pedestrianEventsQueue. I observe the effect in a crownet scenario, where I guide agents using ChangeTarget stimuli. I wondered, why some agents were not rerouted properly. I found that in some rare cases (9 times within 500s simulation time, approximately 150 agents in the simulation), agents are not contained in pedestrianEventsQueue.

public void update(final double timeStepInSec, final double currentTimeInSec) {
		clearStrides(topography);
		if(!pedestrianEventsQueue.isEmpty()) {
			// event driven update ignores time credits!
			while (**pedestrianEventsQueue**.peek().getTimeOfNextStep() < currentTimeInSec) {
				PedestrianOSM ped = pedestrianEventsQueue.poll();
				update(ped, timeStepInSec, currentTimeInSec);
				//System.out.println(ped.getId());
				pedestrianEventsQueue.add(ped);
			}
		}
	}

Some background information:

  • I am using the CentroidGroupModel
  • The effect occurs 0/1 time step after the spawning process.

Where to begin/How to fix the issue:

  • Please contact me -> I will provide the crownet scenario
  • Check whether this effect is caused by the group spawning process...
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking

LRZ Homepage | Datenschutz | Dokumentation und Betriebsbedingungen | Impressum