calculate_trip_ends#

caf.van.lgv_model.calculate_trip_ends(input_paths, output_folder, lgv_growth, year)[source]#

Calculates the LGV trip ends for all segments.

Parameters:
  • input_paths (LGVInputPaths) – Paths to all the input files.

  • output_folder (Path) – Path to folder to save trip ends to.

  • lgv_growth (float) – Model year LGV growth factor.

  • year (int) – Model year.

Returns:

Trip end dataframes for each segment.

Return type:

LGVTripEnds

See also

service_segment.ServiceTripEnds

Calculates service trip ends.

delivery_segment.DeliveryTripEnds

Calculates delivery trip ends.

LGVTripEnds

Stores all trip end DataFrames.