Sanity checks for motorized individual travel

validate_electric_vehicles_numbers(dataset_name, ev_data, ev_target)[source]

Validate cumulative numbers of electric vehicles’ distribution.

Tests * Check if all cells are not NaN * Check if total number matches produced results (tolerance: 0.01 %)

  • dataset_name (str) – Name of data, used for error printing
  • ev_data (pd.DataFrame) – EV data
  • ev_target (int) – Desired number of EVs