Class 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 Detail

      • CFBARoomChecker

        public CFBARoomChecker()
    • 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 class CFRoomChecker
        Parameters:
        desiredSpeed - Speed; desired speed
        desiredHeadway - Length; desired headway at desired speed
        generationSpeed - Speed; generation speed
        generationHeadway - Length; desired headway at generation speed
        leaderLength - Length; length of the leader
        Returns:
        situation dependent headway factor to deal with spillback