calculate_co2_emission_value

calculate_co2_emission_value(phases_co2_emissions, phases_distances)[source]

Calculates the CO2 emission of the cycle [CO2g/km].

Parameters:
  • phases_co2_emissions (numpy.array) – CO2 emission of cycle phases [CO2g/km].
  • phases_distances (numpy.array | float) – Cycle phases distances [km].
Returns:

CO2 emission value of the cycle [CO2g/km].

Return type:

float