Skip to content

Commit

Permalink
Merge branch 'dev' into features/add_flows
Browse files Browse the repository at this point in the history
  • Loading branch information
p-snft committed Sep 29, 2023
2 parents fdfac06 + 2c298a7 commit 3e25c73
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 6 deletions.
6 changes: 0 additions & 6 deletions src/oemof/network/network/entity.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,12 +41,6 @@ class Entity:
node belongs to. If this parameter is not supplied, the string
representation of this node will instead be generated based on this
nodes `class` and `id`.
inputs: list or dict, optional
Either a list of this nodes' input nodes or a dictionary mapping input
nodes to corresponding inflows (i.e. input values).
outputs: list or dict, optional
Either a list of this nodes' output nodes or a dictionary mapping
output nodes to corresponding outflows (i.e. output values).
Attributes
----------
Expand Down
13 changes: 13 additions & 0 deletions src/oemof/network/network/nodes.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,19 @@ def _convert_to_dict(arg):


class Node(Entity):
r"""A Node of an energy system graph.
Parameters
----------
label : (See documentation of class `Entity`)
inputs: list or dict, optional
Either a list of this nodes' input nodes or a dictionary mapping input
nodes to corresponding inflows (i.e. input values).
outputs: list or dict, optional
Either a list of this nodes' output nodes or a dictionary mapping
output nodes to corresponding outflows (i.e. output values).
"""

def __init__(self, *args, **kwargs):
super().__init__(*args, **kwargs)

Expand Down

0 comments on commit 3e25c73

Please sign in to comment.