# engineaveragefueleconomyj1939 - SPN 185

## High-Level Explanation

This signal contains the average fuel economy of the truck in kilometers per liter.&#x20;

## Enables

Tracking the fuel economy of a heavy truck.

## Enabled By

## Known Quirks

As this signal is in units of kilometers per liter, it might be more natural to convert it to miles per gallon. A gallon of diesel fuel is equivalent to about 3.78541 liters (and a kilometer is equal to 0.621371 miles) , so the raw signal can be converted to miles per gallon with:

{% code overflow="wrap" lineNumbers="true" %}

```python
gdf['engineaveragefueleconomyj1939_mpg'] = gdf['engineaveragefueleconomyj1939']*0.621371*3.78541
```

{% endcode %}

## Visualizations with Explanations

<figure><img src="https://3212476574-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Foh9c3w7RI0Bl5tVCxcyz%2Fuploads%2Fa5ussXm86I1GqeiIXfkG%2Fimage.png?alt=media&#x26;token=7979d705-f81a-41e0-9d33-4034d4007dd8" alt=""><figcaption><p>Time series plot of <code>engineaveragefueleconomyj1939</code> </p></figcaption></figure>
