Skip to content

Commit

Permalink
Remove setter EnergySystem.nodes
Browse files Browse the repository at this point in the history
The setter is problably unused, and I do not see a test for it.
As I do not see a use case, I propose to delete it.
  • Loading branch information
p-snft committed Dec 14, 2023
1 parent 41229ed commit 55fce7d
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/oemof/network/energy_system.py
Original file line number Diff line number Diff line change
Expand Up @@ -183,10 +183,6 @@ def node(self):
def nodes(self):
return self._nodes.values()

@nodes.setter
def nodes(self, value):
self._nodes = value

def flows(self):
return {
(source, target): source.outputs[target]
Expand Down

0 comments on commit 55fce7d

Please sign in to comment.