Class CFBARoomChecker
- java.lang.Object
-
- org.opentrafficsim.road.gtu.generator.CFRoomChecker
-
- org.opentrafficsim.road.gtu.generator.CFBARoomChecker
-
- All Implemented Interfaces:
LaneBasedGTUGenerator.RoomChecker
public class CFBARoomChecker extends CFRoomChecker
Extends car-following placement with a first-order bounded acceleration (BA) principle. This principle comes down to reduction of efficiency by increasing headways, as the generated GTU speed is lower than the desired speed. The increased headways allow for acceleration to occur, allowing faster flow recovery over time.Copyright (c) 2013-2020 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved.
BSD-style license. See OpenTrafficSim License.- Version:
- $Revision$, $LastChangedDate$, by $Author$, initial version 13 jan. 2018
- Author:
- Alexander Verbraeck, Peter Knoppers, Wouter Schakel
-
-
Constructor Summary
Constructors Constructor Description CFBARoomChecker()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected double
headwayFactor(Speed desiredSpeed, Length desiredHeadway, Speed generationSpeed, Length generationHeadway, Length leaderLength)
Returns a situation dependent headway factor to deal with spillback.-
Methods inherited from class org.opentrafficsim.road.gtu.generator.CFRoomChecker
canPlace
-
-
-
-
Method Detail
-
headwayFactor
protected double headwayFactor(Speed desiredSpeed, Length desiredHeadway, Speed generationSpeed, Length generationHeadway, Length leaderLength)
Returns a situation dependent headway factor to deal with spillback.- Overrides:
headwayFactor
in classCFRoomChecker
- Parameters:
desiredSpeed
- Speed; desired speeddesiredHeadway
- Length; desired headway at desired speedgenerationSpeed
- Speed; generation speedgenerationHeadway
- Length; desired headway at generation speedleaderLength
- Length; length of the leader- Returns:
- situation dependent headway factor to deal with spillback
-
-