@sh.add_function(dsp, outputs=['fuel_carbon_content'], weight=3)
def default_fuel_carbon_content(fuel_type):
"""
Returns the default fuel carbon content [CO2g/g].
:param fuel_type:
Fuel type (diesel, gasoline, LPG, NG, ethanol, methanol, biodiesel,
propane).
:type fuel_type: str
:return:
Fuel carbon content [CO2g/g].
:rtype: float
"""
d = dfl.functions
if d.ENABLE_ALL_FUNCTIONS or d.default_fuel_carbon_content.ENABLE:
return d.default_fuel_carbon_content.CARBON_CONTENT[fuel_type]
return sh.NONE