pybtls.traffic.vehicle_generator.VehicleGenNominal#

class VehicleGenNominal(nominal_vehicle, COV_list, **kwargs)[source]#

Bases: object

The VehicleGenNominal instance in Python stores the data for creating a CVehicleGenNominal instance in C++.

All heavy vehicles will be generated based on the intput nominal vehicle.

Parameters:
  • nominal_vehicle (Vehicle) – Nominal vehicle.

  • COV_list (list[float]) –

    List of COV for axle spacing and axle weight.

    COV_list = [COV_AS, COV_AW].

Keyword Arguments:
  • classifier_type (str) – Vehicle classifier type. “axle” or “pattern”. Default is “pattern”.

  • lane_eccentricity_std (float) – Standard deviation of lane eccentricity. Default is 0.0.

  • kernel_type (int) – Kernel type. 0 (Normal) or 1 (Triangle). Default is 1 (Triangle).

Methods

Attributes

tag