public class IDMOld extends AbstractGTUFollowingModelMobil
Copyright (c) 2013-2015 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved.
BSD-style license. See OpenTrafficSim License.
TOODANGEROUS
Constructor and Description |
---|
IDMOld()
Construct a new IDM car following model with reasonable values (reasonable for passenger cars).
|
IDMOld(org.djunits.value.vdouble.scalar.Acceleration a,
org.djunits.value.vdouble.scalar.Acceleration b,
org.djunits.value.vdouble.scalar.Length.Rel s0,
org.djunits.value.vdouble.scalar.Time.Rel tSafe,
double delta)
Construct a new IDM car following model.
|
Modifier and Type | Method and Description |
---|---|
org.djunits.value.vdouble.scalar.Acceleration |
computeAcceleration(org.djunits.value.vdouble.scalar.Speed followerSpeed,
org.djunits.value.vdouble.scalar.Speed followerMaximumSpeed,
org.djunits.value.vdouble.scalar.Speed leaderSpeed,
org.djunits.value.vdouble.scalar.Length.Rel headway,
org.djunits.value.vdouble.scalar.Speed speedLimit)
Compute the acceleration that would be used to follow a leader.
|
org.djunits.value.vdouble.scalar.Acceleration |
computeAcceleration(org.djunits.value.vdouble.scalar.Speed followerSpeed,
org.djunits.value.vdouble.scalar.Speed followerMaximumSpeed,
org.djunits.value.vdouble.scalar.Speed leaderSpeed,
org.djunits.value.vdouble.scalar.Length.Rel headway,
org.djunits.value.vdouble.scalar.Speed speedLimit,
org.djunits.value.vdouble.scalar.Time.Rel stepSize)
Compute the acceleration that would be used to follow a leader.
|
String |
getLongName()
Return complete textual information about this instantiation of this GTU following model.
|
org.djunits.value.vdouble.scalar.Acceleration |
getMaximumSafeDeceleration()
Return the maximum safe deceleration for use in gap acceptance models.
|
String |
getName()
Return the name of this GTU following model.
|
org.djunits.value.vdouble.scalar.Time.Rel |
getStepSize()
Return the standard step size of this GTU following model.
|
computeAccelerationStep, computeAccelerationStep, computeAccelerationStep, computeAccelerationStep, computeAccelerationStepWithNoLeader, computeAccelerationStepWithNoLeader, computeDualAccelerationStep, computeDualAccelerationStep, minimumHeadway
public IDMOld()
public IDMOld(org.djunits.value.vdouble.scalar.Acceleration a, org.djunits.value.vdouble.scalar.Acceleration b, org.djunits.value.vdouble.scalar.Length.Rel s0, org.djunits.value.vdouble.scalar.Time.Rel tSafe, double delta)
a
- Acceleration; the maximum acceleration of a stationary vehicle (normal value is 1 m/s/s)b
- Acceleration; the maximum deemed-safe deceleration (this is a positive value). Normal value is 1.5 m/s/s.s0
- Length.Rel; the minimum stationary headway (normal value is 2 m)tSafe
- Time.Rel; the minimum time-headway (normal value is 1s)delta
- double; the speed limit adherence (1.0; mean free speed equals the speed limit; 1.1: mean free speed equals
110% of the speed limit; etc.)public final org.djunits.value.vdouble.scalar.Acceleration computeAcceleration(org.djunits.value.vdouble.scalar.Speed followerSpeed, org.djunits.value.vdouble.scalar.Speed followerMaximumSpeed, org.djunits.value.vdouble.scalar.Speed leaderSpeed, org.djunits.value.vdouble.scalar.Length.Rel headway, org.djunits.value.vdouble.scalar.Speed speedLimit)
followerSpeed
- Speed; the speed of the follower at the current timefollowerMaximumSpeed
- Speed; the maximum speed that the follower is capable of driving atleaderSpeed
- Speed; the speed of the follower at the current timeheadway
- Length.Rel; the net headway (distance between the front of the follower to the rear of the leader)
at the current time, or the maximum distance we can cover at the current time, e.g. as the result of a lane
dropspeedLimit
- Speed; the local speed limitpublic final org.djunits.value.vdouble.scalar.Acceleration computeAcceleration(org.djunits.value.vdouble.scalar.Speed followerSpeed, org.djunits.value.vdouble.scalar.Speed followerMaximumSpeed, org.djunits.value.vdouble.scalar.Speed leaderSpeed, org.djunits.value.vdouble.scalar.Length.Rel headway, org.djunits.value.vdouble.scalar.Speed speedLimit, org.djunits.value.vdouble.scalar.Time.Rel stepSize)
followerSpeed
- Speed; the speed of the follower at the current timefollowerMaximumSpeed
- Speed; the maximum speed that the follower is capable of driving atleaderSpeed
- Speed; the speed of the follower at the current timeheadway
- Length.Rel; the net headway (distance between the front of the follower to the rear of the leader)
at the current time, or the maximum distance we can cover at the current time, e.g. as the result of a lane
dropspeedLimit
- Speed; the local speed limitstepSize
- given step size, which can be longer or shorter than the provided step size in the algorithms.public final org.djunits.value.vdouble.scalar.Time.Rel getStepSize()
public final org.djunits.value.vdouble.scalar.Acceleration getMaximumSafeDeceleration()
public final String getName()
public final String getLongName()
Copyright © 2014–2016 Delft University of Technology. All rights reserved.