Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • JPScore JPScore
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 92
    • Issues 92
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 3
    • Merge requests 3
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Container Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • JuPedSimJuPedSim
  • JPScoreJPScore
  • Issues
  • #298
Closed
Open
Issue created Nov 19, 2018 by anna braun@tscherniewski1Maintainer

Sources

We have sources which "inject" new agents in a subroom with a frequency (agents/second) or one agent at a defined time.
What we want to have are sources which generate agents within a box or on a line and which have some more properties than the existing:

time_min = first time that agents appear
time_max = last time that agents appear ("injection" will end after this time or before if agents_max is reached first)

N_create = Number of agents that should appear at one frequency time step

freq_time = frequency time step (e.g. freq_time="10": x agents will be created every ten seconds)

conti = false -> the agents will be created simultaneously for one frequency time step, true -> the agents will be created continuously (1 agent/second)

x_min, x_max, y_min, y_max = coordinates for the box/line where the agents should be "injected".

Example:
source 1 (old) = 10 agents will appear in room_0/subroom_1 with the frequency 2 agents/second.
source 2 (old) = 1 agent with id=50 will appear in room_0/subroom_1 after 10 seconds.
source 3 (new) = after 20 seconds 10 agents will appear simultaneously in a box (2m x 3m) every 15 seconds until 300 agents are created or time has reached 200 seconds.

<agents_distribution>
    <group group_id="1" agent_parameter_id="1" room_id="0" subroom_id="1" number="10" goal_id="-1" router_id="1" />
    <group group_id="3" agent_parameter_id="1" number="0" goal_id="-1" router_id="1" source_id="3"/>
</agents_distribution>
<agents_sources>
    <source id="1" caption="old-source" frequency="2" agents_max="10" group_id="1" greedy="false"/>
    <source id="2" caption="old-source" time="10" agent_id="50" group_id="1" greedy="true"/>
    <source id="3" caption="new-source" time_min="20" time_max="200" freq_time="15" N_create="10" agents_max="300"
      group_id="3" conti="false" x_min="1" x_max="3" y_min="2" y_max="5" />
</agents_sources>
Edited Nov 19, 2018 by anna braun
Assignee
Assign to
Time tracking