vehicle/running/emissions/components/fuelandelectric/co2gpm

Calculate journey, fuel and electric ppm, total mileages

Source:
Since:
  • 0.1.21
Source:
Parameters:
Name Type Description
skv_config struct
Returns:
Type
number

Methods

(inner) electricCO2gPerMile(skv_config) → {struct}

Source:

calculate grams for Electric portion

Parameters:
Name Type Description
skv_config struct

tariff_co2_gpkwh, battery_range_miles, battery_total_capacity_kwh

Returns:
Type
struct

(inner) getCO2gPerMile(skv_config) → {struct}

Source:

get co2 grams on electric and ice

Parameters:
Name Type Description
skv_config struct
Returns:
Type
struct

(inner) iceCO2gPerMile(skv_config) → {struct}

Source:

calculate grams for ICE portion

Parameters:
Name Type Description
skv_config struct

ice_pp_litre, mpg, vat_percentage

Returns:
Type
struct

Co2 grams per mile for PHEVs

Source:
Since:
  • 0.1.21
Source:
Parameters:
Name Type Description
skv_config struct
Returns:
Type
number

Methods

(inner) electricCO2gPerMile(skv_config) → {struct}

Source:

calculate grams for Electric portion

Parameters:
Name Type Description
skv_config struct

tariff_co2_gpkwh, battery_range_miles, battery_total_capacity_kwh

Returns:
Type
struct

(inner) getCO2gPerMile(skv_config) → {struct}

Source:

get co2 grams on electric and ice

Parameters:
Name Type Description
skv_config struct
Returns:
Type
struct

(inner) iceCO2gPerMile(skv_config) → {struct}

Source:

calculate grams for ICE portion

Parameters:
Name Type Description
skv_config struct

ice_pp_litre, mpg, vat_percentage

Returns:
Type
struct