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-2024 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved.
BSD-style license. See OpenTrafficSim License.

Author:
Alexander Verbraeck, Peter Knoppers, Wouter Schakel
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected double
    headwayFactor(org.djunits.value.vdouble.scalar.Speed desiredSpeed, org.djunits.value.vdouble.scalar.Length desiredHeadway, org.djunits.value.vdouble.scalar.Speed generationSpeed, org.djunits.value.vdouble.scalar.Length generationHeadway, org.djunits.value.vdouble.scalar.Length leaderLength)
    Returns a situation dependent headway factor to deal with spillback.

    Methods inherited from class org.opentrafficsim.road.gtu.generator.CfRoomChecker

    canPlace

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • CfBaRoomChecker

      public CfBaRoomChecker()
  • Method Details

    • headwayFactor

      protected double headwayFactor(org.djunits.value.vdouble.scalar.Speed desiredSpeed, org.djunits.value.vdouble.scalar.Length desiredHeadway, org.djunits.value.vdouble.scalar.Speed generationSpeed, org.djunits.value.vdouble.scalar.Length generationHeadway, org.djunits.value.vdouble.scalar.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