Transport.ftt_tr_emission_corrections module

Transport.ftt_tr_emission_corrections module#

Created on Fri Jun 20 15:20:24 2025

@author: Femke

Transport.ftt_tr_emission_corrections.biofuel_corr(data, titles, region_has_fleet, regions=None)#

Apply biofuel-related emission corrections and adjust fuel shares accordingly.

Parameters: - data: Dictionary of input arrays including ‘TJET’ and ‘RBFM’. - titles: Dictionary containing ‘RTI’, ‘VTTI’, ‘JTI’. - region_has_fleet: Boolean array indicating regions with vehicles. - regions: Optional list/array of region indices. Defaults to all regions.

Returns: - biofuel_corr: 2D array of emission corrections [region x vehicle type]. - fuel_converter: 3D array of adjusted fuel shares [region x vehicle x fuel].

Transport.ftt_tr_emission_corrections.co2_corr(data, titles, regions=None)#

Compute regional CO2 correction factors based on vehicle age and survival.

Parameters: - data: Dictionary of input arrays with keys ‘TESH’, ‘TESF’, ‘TETH’, ‘RFLT’. - titles: Dictionary containing ‘RTI’ (region indices). - regions: Optional list/array of region indices to process. Defaults to all regions.

Returns: - CO2_corr: 1D array of CO2 correction factors for specified regions. - region_has_fleet: Boolean array indicating regions with cars on the road.

Transport.ftt_tr_emission_corrections.compute_emissions_and_fuel_use(data, titles, CO2_corr, biofuel_corr, fuel_converter, c3ti, regions=None)#

Compute total emissions and fuel use for each region and vehicle type.

Parameters: - data: Dictionary with ‘TEWG’, ‘BTTC’, ‘TJEF’, ‘TEWE’. - titles: Dictionary containing ‘RTI’, ‘VTTI’. - CO2_corr: 1D array of CO2 correction factors. - biofuel_corr: 2D array of emission corrections [region x vehicle type]. - fuel_converter: 3D array of adjusted fuel shares [region x vehicle x fuel]. - c3ti: Dictionary of column indices for BTTC variables. - regions: Optional list/array of region indices. Defaults to all regions.