diff --git a/src/oemof/network/network/entity.py b/src/oemof/network/network/entity.py index a2a6b15..781ed42 100644 --- a/src/oemof/network/network/entity.py +++ b/src/oemof/network/network/entity.py @@ -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 ---------- diff --git a/src/oemof/network/network/nodes.py b/src/oemof/network/network/nodes.py index 262ff24..c639487 100644 --- a/src/oemof/network/network/nodes.py +++ b/src/oemof/network/network/nodes.py @@ -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)