You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Streamline all different functions of calculations into a more clear hierarchy of calculation functions. Introduce calculate_co2_trip as basic function that serves as an abstract level on transportation mode calculations.
Include main calculation functions on root level and maintain enhanced functions (commuting, trips) in separate directory/submodules
Provide a way to add a custom emission factor for trips (optimal to do this via the configs object). I think we should handle this in a way to NOT look up an emission factor if the options object contains a custom_emission_factor entry.
The text was updated successfully, but these errors were encountered:
Rethink and refactor calculation architecture:
calculate_co2_trip
as basic function that serves as an abstract level on transportation mode calculations.configs
object). I think we should handle this in a way to NOT look up an emission factor if theoptions
object contains acustom_emission_factor
entry.The text was updated successfully, but these errors were encountered: