pybtls.traffic.headway_generator.HeadwayGenCongested#

class HeadwayGenCongested(congested_spacing, congested_speed, **kwargs)[source]#

Bases: object

The HeadwayGenCongested instance in Python stores the data for creating a CFlowGenCongested instance in C++.

All vehicles’ headways will be generated based on the congested speed and spacing.

Parameters:
  • congested_spacing (float) – The congested spacing of heavy vehicles in m, front’s rear to back’s head.

  • congested_speed (float) – The congested speed of heavy vehicles in km/h.

Keyword Arguments:

congested_gap_coef_var (float) – The coefficient of variation of the congested gap. Default is 0.05.

Methods

Attributes

tag