Skip to content

Commit

Permalink
remove unnecessary attributes
Browse files Browse the repository at this point in the history
  • Loading branch information
TimoDiepers committed Jul 12, 2024
1 parent f9ae457 commit 783fd3b
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 20 deletions.
16 changes: 0 additions & 16 deletions bw_timex/dynamic_characterization.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,6 @@ class DynamicCharacterization:
def __init__(
self,
dynamic_inventory_df: pd.DataFrame,
activity_dict: dict,
biosphere_dict: dict,
activity_time_mapping_dict_reversed: dict,
biosphere_time_mapping_dict_reversed: dict,
demand_timing_dict: dict,
temporal_grouping: dict,
method: tuple,
Expand All @@ -38,14 +34,6 @@ def __init__(
----------
dynamic_inventory_df : pd.DataFrame
Dynamic inventory, formatted as a DataFrame, which contains the timing, id and amount of emissions and the emitting activity.
activity_dict : dict
Dictionary mapping activity ids to their matrix index
biosphere_dict : dict
Dictionary mapping biosphere flow ids to their matrix index
activity_time_mapping_dict_reversed : dict
Reversed `activity_time_mapping_dict`: {time_mapping_id: ((('database', 'code'), datetime_as_integer)}
biosphere_time_mapping_dict_reversed : dict
Reversed `biosphere_time_mapping_dict`: {time_mapping_id: ((('database', 'code'), datetime_as_integer)}
demand_timing_dict : dict
A dictionary mapping the demand(s) to its timing
temporal_grouping : str
Expand All @@ -61,10 +49,6 @@ def __init__(
"""
self.dynamic_inventory_df = dynamic_inventory_df
self.activity_dict = activity_dict
self.biosphere_dict = biosphere_dict
self.activity_time_mapping_dict_reversed = activity_time_mapping_dict_reversed
self.biosphere_time_mapping_dict_reversed = biosphere_time_mapping_dict_reversed
self.demand_timing_dict = demand_timing_dict
self.temporal_grouping = temporal_grouping
self.method = method
Expand Down
4 changes: 0 additions & 4 deletions bw_timex/timex_lca.py
Original file line number Diff line number Diff line change
Expand Up @@ -389,10 +389,6 @@ def dynamic_lcia(

self.dynamic_characterizer = DynamicCharacterization(
self.dynamic_inventory_df,
self.dicts.activity,
self.dicts.biosphere,
self.activity_time_mapping_dict_reversed,
self.biosphere_time_mapping_dict_reversed,
self.demand_timing_dict,
self.temporal_grouping,
self.method,
Expand Down

0 comments on commit 783fd3b

Please sign in to comment.