Sha256: 35cd157ae6d73939364d1cd56890728b5bae3bd0a726f87849868f74ad6e3af7

Contents?: true

Size: 503 Bytes

Versions: 2

Compression:

Stored size: 503 Bytes

Contents

class FlightFuelType < ActiveRecord::Base
  # this fallback is jet fuel
  falls_back_on :emission_factor =>           (21.09.pounds.to(:kilograms) / 1.gallons.to(:litres)),  # in pounds CO2/gallon fuel: http://www.eia.doe.gov/oiaf/1605/excel/Fuel%20Emission%20Factors.xls
                :radiative_forcing_index =>   2,                                                      # from Matt
                :density =>                   3.057                                                   # kg / gal
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
flight-0.0.5 lib/test_support/data_models/flight_fuel_type.rb
flight-0.0.4 lib/test_support/data_models/flight_fuel_type.rb