1
# Copyright (c) 2020 by Fraunhofer Institute for Energy Economics
2
# and Energy System Technology (IEE), Kassel. All rights reserved.
3
# Use of this source code is governed by a BSD-style license that can be found in the LICENSE file.
4

5 1
from pandapipes.component_models.abstract_models.component_models import Component
6

7 1
try:
8 1
    import pplog as logging
9 1
except ImportError:
10 1
    import logging
11

12 1
logger = logging.getLogger(__name__)
13

14

15 1
class NodeComponent(Component):
16
    """
17

18
    """
19

20 1
    @classmethod
21
    def create_node_lookups(cls, net, ft_lookups, table_lookup, idx_lookups, current_start,
22
                            current_table, internal_nodes_lookup):
23
        """
24
        Function which creates node lookups.
25

26
        :param net: The pandapipes network
27
        :type net: pandapipesNet
28
        :param ft_lookups:
29
        :type ft_lookups:
30
        :param table_lookup:
31
        :type table_lookup:
32
        :param idx_lookups:
33
        :type idx_lookups:
34
        :param current_start:
35
        :type current_start:
36
        :param current_table:
37
        :type current_table:
38
        :param internal_nodes_lookup:
39
        :type internal_nodes_lookup:
40
        :return: No Output.
41
        """
42 0
        raise NotImplementedError
43

44 1
    @classmethod
45
    def create_pit_node_entries(cls, net, node_pit, node_name):
46
        """
47

48
        :param net: The pandapipes network
49
        :type net: pandapipesNet
50
        :param node_pit:
51
        :type node_pit:
52
        :param node_name:
53
        :type node_name:
54
        :return: No Output.
55
        """
56 0
        raise NotImplementedError

Read our documentation on viewing source code .

Loading