Skip to content

Commit

Permalink
Fix bug in facades
Browse files Browse the repository at this point in the history
  • Loading branch information
simnh committed Dec 18, 2018
1 parent 7e737c0 commit d6999e1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/oemof/tabular/facades.py
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ def __init__(self, *args, **kwargs):

self.efficiency = kwargs.get('efficiency', 1)

self.initial_storage_capacity = kwargs.get(initial_storage_capacity, 0.5)
self.initial_storage_capacity = kwargs.get('initial_storage_capacity', 0.5)

self.input_parameters = kwargs.get('input_parameters', {})

Expand Down Expand Up @@ -150,7 +150,7 @@ def build_solph_components(self):
fixed=False)})

self.outputs.update({
self.output: Flow(nominal_value=self.capacity,
self.bus: Flow(nominal_value=self.capacity,
investment=investment,
**self.output_parameters)})

Expand Down

0 comments on commit d6999e1

Please sign in to comment.