e2nIEE / pandapower
1
# -*- coding: utf-8 -*-
2

3
# Copyright (c) 2016-2021 by University of Kassel and Fraunhofer Institute for Energy Economics
4
# and Energy System Technology (IEE), Kassel. All rights reserved.
5

6

7 1
from pandapower.networks.kerber_networks import _create_branched_loads_network, _create_branch_network
8

9
# The Kerber extreme networks complement the typical Kerber networks.
10
# Categories:
11
# I. Kerber networks with extreme lines
12
# II. Kerber networks with extreme lines and high loaded transformer
13

14

15
# --- Extreme Landnetze
16

17
# I.  Kerber Landnetz mit extremen Netzstrahlen (Freileitung):
18 1
def kb_extrem_landnetz_freileitung(n_lines=26, l_lines_in_km=0.012, std_type="NFA2X 4x70",
19
                                   # trafotype="0.4 MVA 10/0.4 kV Yyn6 4 ASEA"
20
                                   trafotype="0.25 MVA 10/0.4 kV", p_load_mw=0.008,
21
                                   q_load_mvar=0, v_os=10.):
22 1
    pd_net = _create_branch_network(num_lines=[n_lines], len_lines=[l_lines_in_km],
23
                                    trafotype=trafotype, v_os=v_os,
24
                                    std_type=std_type, p_load_mw=p_load_mw, q_load_mvar=q_load_mvar)
25 1
    return pd_net
26

27

28
# I.  Kerber Landnetz mit extremen Netzstrahlen (Kabel):
29 1
def kb_extrem_landnetz_kabel(n_branch_1=26, l_lines_1_in_km=0.026, std_type="NAYY 4x150",
30
                             # trafotype="0.4 MVA 10/0.4 kV Yyn6 4 ASEA"
31
                             trafotype="0.25 MVA 10/0.4 kV", p_load_mw=.008,
32
                             q_load_mvar=0., length_branchout_line_1=0.018,
33
                             length_branchout_line_2=0.033, std_type_branchout_line="NAYY 4x50",
34
                             v_os=10.):
35 1
    num_lines = [n_branch_1]
36 1
    len_lines = [l_lines_1_in_km]
37 1
    pd_net = _create_branched_loads_network(trafotype=trafotype, v_os=v_os, num_lines=num_lines,
38
                                    len_lines=len_lines, std_type=std_type,
39
                                    p_load_mw=p_load_mw,
40
                                    q_load_mvar=q_load_mvar,
41
                                    length_branchout_line_1=length_branchout_line_1,
42
                                    length_branchout_line_2=length_branchout_line_2,
43
                                    std_type_branchout_line_1=std_type_branchout_line)
44 1
    return pd_net
45

46

47
# II.  Kerber Landnetz mit extremen Netzstrahlen (Freileitung) und hoch ausgelastetem Transformator:
48 1
def kb_extrem_landnetz_freileitung_trafo(n_branch_1=26, n_branch_2=1, l_lines_1_in_km=0.012,
49
                                         l_lines_2_in_km=0.036, std_type="NFA2X 4x70",
50
                                         trafotype="0.1 MVA 10/0.4 kV",
51
                                         p_load_mw=.008, q_load_mvar=0,
52
                                         v_os=10.):
53
    # num_lines = [26, 1] <- Solution with _add_lines_with_branched_loads, if branches = 0
54
    # len_lines = [0.012, 0.036]
55 1
    num_lines = [n_branch_1, n_branch_2]
56 1
    len_lines = [l_lines_1_in_km, l_lines_2_in_km]
57 1
    pd_net = _create_branch_network(num_lines=num_lines, len_lines=len_lines, trafotype=trafotype, v_os=v_os,
58
                             std_type=std_type, p_load_mw=p_load_mw,
59
                             q_load_mvar=q_load_mvar)
60

61 1
    return pd_net
62

63

64
# II. Kerber Landnetz mit extremen Netzstrahlen (Kabel) und hoch ausgelastetem Transformator:
65 1
def kb_extrem_landnetz_kabel_trafo(n_branch_1=26, n_branch_2=1, l_lines_1_in_km=0.026,
66
                                   l_lines_2_in_km=0.078, std_type="NAYY 4x150",
67
                                   trafotype="0.1 MVA 10/0.4 kV", p_load_mw=.008,
68
                                   q_load_mvar=0., length_branchout_line_1=0.018,
69
                                   length_branchout_line_2=0.033,
70
                                   std_type_branchout_line="NAYY 4x50",
71
                                   v_os=10.):
72 1
    num_lines = [n_branch_1, n_branch_2]
73 1
    len_lines = [l_lines_1_in_km, l_lines_2_in_km]
74 1
    pd_net = _create_branched_loads_network(len_lines=len_lines, num_lines=num_lines,
75
                                   std_type=std_type, p_load_mw=p_load_mw, v_os=v_os,
76
                                   q_load_mvar=q_load_mvar, trafotype=trafotype,
77
                                   length_branchout_line_1=length_branchout_line_1,
78
                                   length_branchout_line_2=length_branchout_line_2,
79
                                   std_type_branchout_line_1=std_type_branchout_line)
80 1
    return pd_net
81

82

83
# --- Extreme Dorfnetze
84

85
# I. Kerber Dorfnetz mit extremen Netzstrahlen:
86 1
def kb_extrem_dorfnetz(std_type="NAYY 4x150", trafotype="0.4 MVA 10/0.4 kV",
87
                       p_load_mw=.006, q_load_mvar=0., length_branchout_line_1=0.015,
88
                       length_branchout_line_2=0.031, std_type_branchout_line="NAYY 4x50",
89
                       v_os=10.):
90 1
    num_lines = [28, 16, 9, 4, 1]
91 1
    len_lines = [0.021, 0.029, 0.040, 0.064, 0.102]
92 1
    pd_net = _create_branched_loads_network(len_lines=len_lines, num_lines=num_lines,
93
                                   std_type=std_type, p_load_mw=p_load_mw, v_os=v_os,
94
                                   q_load_mvar=q_load_mvar, trafotype=trafotype,
95
                                   length_branchout_line_1=length_branchout_line_1,
96
                                   length_branchout_line_2=length_branchout_line_2,
97
                                   std_type_branchout_line_1=std_type_branchout_line)
98 1
    return pd_net
99

100

101
# II. Kerber Dorfnetz mit extremen Netzstrahlen und hoch ausgelastetem Transformator:
102 1
def kb_extrem_dorfnetz_trafo(std_type="NAYY 4x150", trafotype="0.25 MVA 10/0.4 kV",
103
                             # trafotype="0.4 MVA 10/0.4 kV Yyn6 4 ASEA",
104
                             p_load_mw=0.006, q_load_mvar=0., length_branchout_line_1=0.015,
105
                             length_branchout_line_2=0.031, std_type_branchout_line="NAYY 4x50",
106
                             v_os=10.):
107 1
    num_lines = [28, 28, 16, 12, 12, 9, 7, 4, 1]
108 1
    len_lines = [0.021, 0.021, 0.029, 0.032, 0.032, 0.040, 0.043, 0.064, 0.102]
109 1
    pd_net = _create_branched_loads_network(len_lines=len_lines, num_lines=num_lines,
110
                                   std_type=std_type, p_load_mw=p_load_mw, v_os=v_os,
111
                                   q_load_mvar=q_load_mvar, trafotype=trafotype,
112
                                   length_branchout_line_1=length_branchout_line_1,
113
                                   length_branchout_line_2=length_branchout_line_2,
114
                                   std_type_branchout_line_1=std_type_branchout_line)
115 1
    return pd_net
116

117

118
# --- Extreme Vorstadtnetze
119

120
# I. Kerber Vorstadtnetz mit extremen Netzstrahlen (Typ 1):
121 1
def kb_extrem_vorstadtnetz_1(std_type="NAYY 4x150", p_load_mw=0.002, q_load_mvar=0.,
122
                             trafotype="0.63 MVA 10/0.4 kV", v_os=10.):
123

124 1
    num_lines = [69, 32, 19, 14, 10, 1]
125 1
    len_lines = [0.006, 0.011, 0.017, 0.021, 0.025, 0.068]
126 1
    pd_net = _create_branched_loads_network(len_lines=len_lines, num_lines=num_lines,
127
                                   std_type=std_type, p_load_mw=p_load_mw, v_os=v_os,
128
                                   q_load_mvar=q_load_mvar, trafotype=trafotype,
129
                                   length_branchout_line_1=0.011,
130
                                   std_type_branchout_line_1="NAYY 4x50",
131
                                   std_type_branchout_line_2="NYY 4x35",
132
                                   prob_branchout_line_1=0.5)
133 1
    return pd_net
134

135

136
# I. Kerber Vorstadtnetz mit extremen Netzstrahlen (Typ 2):
137 1
def kb_extrem_vorstadtnetz_2(std_type="NAYY 4x185", p_load_mw=0.002, q_load_mvar=0.,
138
                             trafotype="0.63 MVA 10/0.4 kV", v_os=10.):
139 1
    num_lines = [61, 32, 20, 15, 11, 5, 1]
140 1
    len_lines = [0.01, 0.014, 0.02, 0.023, 0.026, 0.05, 0.085]
141 1
    pd_net = _create_branched_loads_network(len_lines=len_lines, num_lines=num_lines,
142
                                   std_type=std_type, p_load_mw=p_load_mw, v_os=v_os,
143
                                   q_load_mvar=q_load_mvar, trafotype=trafotype,
144
                                   length_branchout_line_1=0.011,
145
                                   std_type_branchout_line_1="NAYY 4x50",
146
                                   std_type_branchout_line_2="NYY 4x35",
147
                                   prob_branchout_line_1=0.5)
148 1
    return pd_net
149

150

151
# II. Kerber Vorstadtnetz mit extremen Netzstrahlen und hoch ausgeslatetem Transformator:
152 1
def kb_extrem_vorstadtnetz_trafo_1(std_type="NAYY 4x150", p_load_mw=0.002, q_load_mvar=0.,
153
                                   trafotype="0.25 MVA 10/0.4 kV", v_os=10.):
154 1
    num_lines = [69, 32, 32, 19, 14, 10, 10, 4, 1]
155 1
    len_lines = [0.006, 0.011, 0.011, 0.017, 0.021, 0.025, 0.025, 0.06, 0.68]
156 1
    pd_net = _create_branched_loads_network(len_lines=len_lines, num_lines=num_lines,
157
                                   std_type=std_type, p_load_mw=p_load_mw, v_os=v_os,
158
                                   q_load_mvar=q_load_mvar, trafotype=trafotype,
159
                                   length_branchout_line_1=0.011,
160
                                   std_type_branchout_line_1="NAYY 4x50",
161
                                   std_type_branchout_line_2="NYY 4x35",
162
                                   prob_branchout_line_1=0.5)
163 1
    return pd_net
164

165

166
# II. Kerber Vorstadtnetz mit extremen Netzstrahlen und hoch ausgeslatetem Transformator:
167 1
def kb_extrem_vorstadtnetz_trafo_2(std_type="NAYY 4x185", p_load_mw=0.002, q_load_mvar=0.,
168
                                   trafotype="0.25 MVA 10/0.4 kV", v_os=10.):
169 1
    num_lines = [61, 32, 32, 20, 15, 15, 11, 5, 1]
170 1
    len_lines = [0.01, 0.014, 0.014, 0.02, 0.023, 0.023, 0.026, 0.05, 0.085]
171 1
    pd_net = _create_branched_loads_network(len_lines=len_lines, num_lines=num_lines,
172
                                   std_type=std_type, p_load_mw=p_load_mw, v_os=v_os,
173
                                   q_load_mvar=q_load_mvar, trafotype=trafotype,
174
                                   length_branchout_line_1=0.011,
175
                                   std_type_branchout_line_1="NAYY 4x50",
176
                                   std_type_branchout_line_2="NYY 4x35",
177
                                   prob_branchout_line_1=0.5)
178 1
    return pd_net

Read our documentation on viewing source code .

Loading