for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
# -*- coding: utf-8 -*-
"""
solph version of oemof.network.Sink
SPDX-FileCopyrightText: Uwe Krien <[email protected]>
SPDX-FileCopyrightText: Simon Hilpert
SPDX-FileCopyrightText: Cord Kaldemeyer
SPDX-FileCopyrightText: Stephan Günther
SPDX-FileCopyrightText: Birgit Schachler
SPDX-License-Identifier: MIT
from oemof.network import network as on
from oemof.solph._helpers import check_node_object_for_missing_attribute
class Sink(on.Sink):
"""An object with one input flow."""
def __init__(self, *args, **kwargs):
super().__init__(*args, **kwargs)
check_node_object_for_missing_attribute(self, "inputs")
def constraint_group(self):
pass