jupedsim.models
#
Module Contents#
- class CollisionFreeSpeedModel[source]#
Collision Free Speed Model
A general description of the Collision Free Speed Model can be found in the originating publication https://arxiv.org/abs/1512.05597
A more detailed description can be found at https://pedestriandynamics.org/models/collision_free_speed_model/
All attributes are initialized with reasonably good defaults.
- class CollisionFreeSpeedModelV2[source]#
Collision Free Speed Model V2
This is a variation of the Collision Free Speed Model where geometry and neighbor repulsion are individual agent parameters instead of global parameters.
A general description of the Collision Free Speed Model can be found in the originating publication https://arxiv.org/abs/1512.05597
A more detailed description can be found at https://pedestriandynamics.org/models/collision_free_speed_model/
- class GeneralizedCentrifugalForceModel[source]#
Parameters for Generalized Centrifugal Force Model
Warning
Unfortunately we broke the model before the 1.0 release and did not notice it in time. For the time being please do not use this model.
We track the defect here: PedestrianDynamics/jupedsim#1337
All attributes are initialized with reasonably good defaults.
- max_neighbor_interpolation_distance[source]#
distance of interpolation of repulsive force for ped-ped interaction (r_eps in FIG. 7)
- max_geometry_interpolation_distance[source]#
distance of interpolation of repulsive force for ped-wall interaction (r_eps in FIG. 7)
- max_neighbor_repulsion_force[source]#
maximum of the repulsion force for ped-ped interaction by contact of ellipses (f_m in FIG. 7)
- class GeneralizedCentrifugalForceModelAgentParameters[source]#
Parameters required to create an Agent in the Generalized Centrifugal Force Model.
See the scientific publication for more details about this model https://arxiv.org/abs/1008.4297
Note
Instances of this type are copied when creating the agent, you can safely create one instance of this type and modify it between calls to add_agent
E.g.:
positions = [...] # List of initial agent positions params = GeneralizedCentrifugalForceModelAgentParameters(speed=0.9) # all agents are slower for p in positions: params.position = p sim.add_agent(params)
- class CollisionFreeSpeedModelAgentParameters[source]#
Agent parameters for Collision Free Speed Model.
See the scientific publication for more details about this model https://arxiv.org/abs/1512.05597
Note
Instances of this type are copied when creating the agent, you can safely create one instance of this type and modify it between calls to add_agent
E.g.:
positions = [...] # List of initial agent positions params = CollisionFreeSpeedModelAgentParameters(v0=0.9) # all agents are slower for p in positions: params.position = p sim.add_agent(params)
- class CollisionFreeSpeedModelV2AgentParameters[source]#
Agent parameters for Collision Free Speed Model V2.
See the scientific publication for more details about this model https://arxiv.org/abs/1512.05597
Note
Instances of this type are copied when creating the agent, you can safely create one instance of this type and modify it between calls to add_agent
E.g.:
positions = [...] # List of initial agent positions params = CollisionFreeSpeedModelV2AgentParameters(v0=0.9) # all agents are slower for p in positions: params.position = p sim.add_agent(params)
- class GeneralizedCentrifugalForceModelState(backing)[source]#
-
- property a_v: float[source]#
Stretch of the ellipsis semi-axis along the movement vector.
- Return type:
- property a_min: float[source]#
Minimum length of the ellipsis semi-axis along the movement vector.
- Return type:
- class CollisionFreeSpeedModelV2State(backing)[source]#
-
- property strength_neighbor_repulsion: float[source]#
Strength of the repulsion from neighbors of this agent.
- Return type:
- property range_neighbor_repulsion: float[source]#
Range of the repulsion from neighbors of this agent.
- Return type: