Skip to content

Commit

Permalink
GHG flow commodityGHG bidirectional to allow negative emission factors
Browse files Browse the repository at this point in the history
  • Loading branch information
SabineHaas committed Aug 12, 2024
1 parent dd1f923 commit a11c2e5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/oemof/tabular/facades/commodity_ghg.py
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ def init_emission_buses(self, kwargs):
"""Adds emissions buses as output flows and drops them from kwargs"""
for key, bus in list(kwargs.items()):
if key.startswith("emission_bus"):
self.outputs.update({bus: Flow()})
self.outputs.update({bus: Flow(bidirectional=True)})
kwargs.pop(key)

def init_emission_factors(self, buses, kwargs):
Expand Down

0 comments on commit a11c2e5

Please sign in to comment.