Closed AustinDizzy closed 9 months ago
So it looks like the average of burning one gallon of AVGAS/jet fuel is 8,939.50 gCO2 emitted
, per the US Energy Information Administration: https://www.eia.gov/environment/emissions/co2_vol_mass.php.
And thanks to https://jetadvisors.com/ we now have a mapping for each of these aircrafts' fuel efficiency.
So now we should be able to calculate approximate carbon emissions for each trip ...
Done & deployed.
flight_hours (h) * plane_efficiency (gal/h) * EPA_emission_avg (gCO2/gal) = total grams CO2
Σ(carbon_i / numpax_i) for i in passenger.trips
Since we know the aircraft type and the approximate distance in nautical miles, we can do some calculations to determine things such as how much CO2 was emitted and its emission intensity.
Would need to find a reliable source for all the plane types used.
select DISTINCT(aircraft) from trips;