power-grid-model-io 1.2.116__py3-none-any.whl → 1.2.118__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of power-grid-model-io might be problematic. Click here for more details.
- power_grid_model_io/config/excel/vision_en.yaml +10 -1
- power_grid_model_io/config/excel/vision_en_9_7.yaml +10 -1
- power_grid_model_io/config/excel/vision_en_9_8.yaml +947 -0
- power_grid_model_io/config/excel/vision_nl.yaml +16 -7
- power_grid_model_io/functions/phase_to_phase.py +2 -1
- power_grid_model_io/utils/parsing.py +16 -14
- {power_grid_model_io-1.2.116.dist-info → power_grid_model_io-1.2.118.dist-info}/METADATA +1 -1
- {power_grid_model_io-1.2.116.dist-info → power_grid_model_io-1.2.118.dist-info}/RECORD +11 -10
- {power_grid_model_io-1.2.116.dist-info → power_grid_model_io-1.2.118.dist-info}/WHEEL +0 -0
- {power_grid_model_io-1.2.116.dist-info → power_grid_model_io-1.2.118.dist-info}/licenses/LICENSE +0 -0
- {power_grid_model_io-1.2.116.dist-info → power_grid_model_io-1.2.118.dist-info}/top_level.txt +0 -0
|
@@ -825,7 +825,7 @@ grid:
|
|
|
825
825
|
conn_str: Connection
|
|
826
826
|
neutral_grounding: N2
|
|
827
827
|
winding_3:
|
|
828
|
-
power_grid_model_io.functions.phase_to_phase.
|
|
828
|
+
power_grid_model_io.functions.phase_to_phase.get_winding_3:
|
|
829
829
|
conn_str: Connection
|
|
830
830
|
neutral_grounding: N3
|
|
831
831
|
clock_12:
|
|
@@ -936,9 +936,18 @@ substitutions:
|
|
|
936
936
|
Tap side:
|
|
937
937
|
1: 0
|
|
938
938
|
2: 1
|
|
939
|
+
Tap side a:
|
|
940
|
+
1: 0
|
|
941
|
+
2: 1
|
|
942
|
+
3: 2
|
|
943
|
+
Tap side c:
|
|
944
|
+
1: 0
|
|
945
|
+
2: 1
|
|
946
|
+
3: 2
|
|
939
947
|
Synchronous generators.Q:
|
|
940
948
|
absorb: -1
|
|
941
949
|
supply: 1
|
|
942
950
|
Measuring side:
|
|
943
951
|
1: 0
|
|
944
952
|
2: 1
|
|
953
|
+
3: 2
|
|
@@ -820,7 +820,7 @@ grid:
|
|
|
820
820
|
conn_str: Connection
|
|
821
821
|
neutral_grounding: N2
|
|
822
822
|
winding_3:
|
|
823
|
-
power_grid_model_io.functions.phase_to_phase.
|
|
823
|
+
power_grid_model_io.functions.phase_to_phase.get_winding_3:
|
|
824
824
|
conn_str: Connection
|
|
825
825
|
neutral_grounding: N3
|
|
826
826
|
clock_12:
|
|
@@ -931,12 +931,21 @@ substitutions:
|
|
|
931
931
|
Tap side:
|
|
932
932
|
1: 0
|
|
933
933
|
2: 1
|
|
934
|
+
Tap side a:
|
|
935
|
+
1: 0
|
|
936
|
+
2: 1
|
|
937
|
+
3: 2
|
|
938
|
+
Tap side c:
|
|
939
|
+
1: 0
|
|
940
|
+
2: 1
|
|
941
|
+
3: 2
|
|
934
942
|
Synchronous generators.Q:
|
|
935
943
|
absorb: -1
|
|
936
944
|
supply: 1
|
|
937
945
|
Measure side:
|
|
938
946
|
1: 0
|
|
939
947
|
2: 1
|
|
948
|
+
3: 2
|
|
940
949
|
At:
|
|
941
950
|
FALSE: 0
|
|
942
951
|
TRUE: 1
|
|
@@ -0,0 +1,947 @@
|
|
|
1
|
+
# SPDX-FileCopyrightText: Contributors to the Power Grid Model project <powergridmodel@lfenergy.org>
|
|
2
|
+
#
|
|
3
|
+
# SPDX-License-Identifier: MPL-2.0
|
|
4
|
+
---
|
|
5
|
+
id_reference:
|
|
6
|
+
nodes_table: Nodes
|
|
7
|
+
number: Number
|
|
8
|
+
node_number: Node.Number
|
|
9
|
+
sub_number: Subnumber
|
|
10
|
+
grid:
|
|
11
|
+
Nodes:
|
|
12
|
+
node:
|
|
13
|
+
id:
|
|
14
|
+
auto_id:
|
|
15
|
+
key: Number
|
|
16
|
+
u_rated: Unom
|
|
17
|
+
extra:
|
|
18
|
+
- ID
|
|
19
|
+
- Name
|
|
20
|
+
- GUID
|
|
21
|
+
Cables:
|
|
22
|
+
line:
|
|
23
|
+
id:
|
|
24
|
+
auto_id:
|
|
25
|
+
key: Number
|
|
26
|
+
from_node:
|
|
27
|
+
auto_id:
|
|
28
|
+
table: Nodes
|
|
29
|
+
key:
|
|
30
|
+
Number: From.Number
|
|
31
|
+
from_status: From.Switch state
|
|
32
|
+
to_node:
|
|
33
|
+
auto_id:
|
|
34
|
+
table: Nodes
|
|
35
|
+
key:
|
|
36
|
+
Number: To.Number
|
|
37
|
+
to_status: To.Switch state
|
|
38
|
+
r1: R
|
|
39
|
+
x1: X
|
|
40
|
+
c1: C
|
|
41
|
+
tan1: 0
|
|
42
|
+
r0:
|
|
43
|
+
power_grid_model_io.functions.both_zeros_to_nan:
|
|
44
|
+
value: R0
|
|
45
|
+
other_value: X0
|
|
46
|
+
x0:
|
|
47
|
+
power_grid_model_io.functions.both_zeros_to_nan:
|
|
48
|
+
value: X0
|
|
49
|
+
other_value: R0
|
|
50
|
+
c0: C0
|
|
51
|
+
tan0: 0
|
|
52
|
+
i_n: Inom'
|
|
53
|
+
extra:
|
|
54
|
+
- ID
|
|
55
|
+
- Name
|
|
56
|
+
Lines:
|
|
57
|
+
line:
|
|
58
|
+
id:
|
|
59
|
+
auto_id:
|
|
60
|
+
key: Number
|
|
61
|
+
from_node:
|
|
62
|
+
auto_id:
|
|
63
|
+
table: Nodes
|
|
64
|
+
key:
|
|
65
|
+
Number: From.Number
|
|
66
|
+
from_status: From.Switch state
|
|
67
|
+
to_node:
|
|
68
|
+
auto_id:
|
|
69
|
+
table: Nodes
|
|
70
|
+
key:
|
|
71
|
+
Number: To.Number
|
|
72
|
+
to_status: To.Switch state
|
|
73
|
+
r1: R
|
|
74
|
+
x1: X
|
|
75
|
+
c1: C
|
|
76
|
+
tan1: 0
|
|
77
|
+
r0:
|
|
78
|
+
power_grid_model_io.functions.both_zeros_to_nan:
|
|
79
|
+
value: R0
|
|
80
|
+
other_value: X0
|
|
81
|
+
x0:
|
|
82
|
+
power_grid_model_io.functions.both_zeros_to_nan:
|
|
83
|
+
value: X0
|
|
84
|
+
other_value: R0
|
|
85
|
+
c0: C0
|
|
86
|
+
tan0: 0
|
|
87
|
+
i_n: Inom'
|
|
88
|
+
extra:
|
|
89
|
+
- ID
|
|
90
|
+
- Name
|
|
91
|
+
Links:
|
|
92
|
+
link:
|
|
93
|
+
id:
|
|
94
|
+
auto_id:
|
|
95
|
+
key: Number
|
|
96
|
+
from_node:
|
|
97
|
+
auto_id:
|
|
98
|
+
table: Nodes
|
|
99
|
+
key:
|
|
100
|
+
Number: From.Number
|
|
101
|
+
from_status: From.Switch state
|
|
102
|
+
to_node:
|
|
103
|
+
auto_id:
|
|
104
|
+
table: Nodes
|
|
105
|
+
key:
|
|
106
|
+
Number: To.Number
|
|
107
|
+
to_status: To.Switch state
|
|
108
|
+
extra:
|
|
109
|
+
- ID
|
|
110
|
+
- Name
|
|
111
|
+
Reactance coils:
|
|
112
|
+
line:
|
|
113
|
+
id:
|
|
114
|
+
auto_id:
|
|
115
|
+
key: Number
|
|
116
|
+
from_node:
|
|
117
|
+
auto_id:
|
|
118
|
+
table: Nodes
|
|
119
|
+
key:
|
|
120
|
+
Number: From.Number
|
|
121
|
+
from_status: From.Switch state
|
|
122
|
+
to_node:
|
|
123
|
+
auto_id:
|
|
124
|
+
table: Nodes
|
|
125
|
+
key:
|
|
126
|
+
Number: To.Number
|
|
127
|
+
to_status: To.Switch state
|
|
128
|
+
r1: R
|
|
129
|
+
x1: X
|
|
130
|
+
c1: 0
|
|
131
|
+
tan1: 0
|
|
132
|
+
r0:
|
|
133
|
+
power_grid_model_io.functions.both_zeros_to_nan:
|
|
134
|
+
value: R0
|
|
135
|
+
other_value: X0
|
|
136
|
+
x0:
|
|
137
|
+
power_grid_model_io.functions.both_zeros_to_nan:
|
|
138
|
+
value: X0
|
|
139
|
+
other_value: R0
|
|
140
|
+
c0: 0
|
|
141
|
+
tan0: 0
|
|
142
|
+
i_n: Inom
|
|
143
|
+
extra:
|
|
144
|
+
- ID
|
|
145
|
+
- Name
|
|
146
|
+
Transformers:
|
|
147
|
+
transformer:
|
|
148
|
+
id:
|
|
149
|
+
auto_id:
|
|
150
|
+
key: Number
|
|
151
|
+
from_node:
|
|
152
|
+
auto_id:
|
|
153
|
+
table: Nodes
|
|
154
|
+
key:
|
|
155
|
+
Number: From.Number
|
|
156
|
+
from_status: From.Switch state
|
|
157
|
+
to_node:
|
|
158
|
+
auto_id:
|
|
159
|
+
table: Nodes
|
|
160
|
+
key:
|
|
161
|
+
Number: To.Number
|
|
162
|
+
to_status: To.Switch state
|
|
163
|
+
u1: Unom1
|
|
164
|
+
u2: Unom2
|
|
165
|
+
sn: Snom
|
|
166
|
+
uk:
|
|
167
|
+
max:
|
|
168
|
+
- divide:
|
|
169
|
+
- Pk
|
|
170
|
+
- Snom
|
|
171
|
+
- power_grid_model_io.functions.value_or_default:
|
|
172
|
+
value: uk
|
|
173
|
+
default: 0.001
|
|
174
|
+
- 0.001
|
|
175
|
+
pk: Pk
|
|
176
|
+
i0:
|
|
177
|
+
power_grid_model_io.functions.phase_to_phase.relative_no_load_current:
|
|
178
|
+
i_0: Io
|
|
179
|
+
p_0: Po
|
|
180
|
+
s_nom: Snom
|
|
181
|
+
u_nom: Unom2
|
|
182
|
+
p0: Po
|
|
183
|
+
winding_from:
|
|
184
|
+
power_grid_model_io.functions.phase_to_phase.get_winding_from:
|
|
185
|
+
conn_str: Connection
|
|
186
|
+
neutral_grounding: Grounding1
|
|
187
|
+
winding_to:
|
|
188
|
+
power_grid_model_io.functions.phase_to_phase.get_winding_to:
|
|
189
|
+
conn_str: Connection
|
|
190
|
+
neutral_grounding: Earthing2
|
|
191
|
+
clock:
|
|
192
|
+
power_grid_model_io.functions.phase_to_phase.get_clock:
|
|
193
|
+
conn_str: Connection
|
|
194
|
+
tap_side: Tap side
|
|
195
|
+
tap_pos: Tap
|
|
196
|
+
tap_min: Tap min
|
|
197
|
+
tap_max: Tap max
|
|
198
|
+
tap_nom: Tap nom
|
|
199
|
+
tap_size: Tap size
|
|
200
|
+
uk_min:
|
|
201
|
+
max:
|
|
202
|
+
- divide:
|
|
203
|
+
- Pk
|
|
204
|
+
- Snom
|
|
205
|
+
- power_grid_model_io.functions.value_or_default:
|
|
206
|
+
value: uk
|
|
207
|
+
default: 0.001
|
|
208
|
+
- 0.001
|
|
209
|
+
uk_max:
|
|
210
|
+
max:
|
|
211
|
+
- divide:
|
|
212
|
+
- Pk
|
|
213
|
+
- Snom
|
|
214
|
+
- power_grid_model_io.functions.value_or_default:
|
|
215
|
+
value: uk
|
|
216
|
+
default: 0.001
|
|
217
|
+
- 0.001
|
|
218
|
+
pk_min: Pk
|
|
219
|
+
pk_max: Pk
|
|
220
|
+
r_grounding_from: Re1
|
|
221
|
+
x_grounding_from: Xe1
|
|
222
|
+
r_grounding_to: Re2
|
|
223
|
+
x_grounding_to: Xe2
|
|
224
|
+
extra:
|
|
225
|
+
- ID
|
|
226
|
+
- Name
|
|
227
|
+
transformer_tap_regulator:
|
|
228
|
+
id:
|
|
229
|
+
auto_id:
|
|
230
|
+
name: transformer_tap_regulator
|
|
231
|
+
key: Number
|
|
232
|
+
regulated_object:
|
|
233
|
+
auto_id:
|
|
234
|
+
key:
|
|
235
|
+
Number: Number
|
|
236
|
+
status: State
|
|
237
|
+
control_side: Measure side
|
|
238
|
+
u_set: Uset
|
|
239
|
+
u_band: Uband
|
|
240
|
+
line_drop_compensation_r: Rc
|
|
241
|
+
line_drop_compensation_x: Xc
|
|
242
|
+
extra:
|
|
243
|
+
- ID
|
|
244
|
+
- Name
|
|
245
|
+
filters:
|
|
246
|
+
- power_grid_model_io.functions.filters.exclude_value:
|
|
247
|
+
col: Own control
|
|
248
|
+
value: FALSE
|
|
249
|
+
Special transformers:
|
|
250
|
+
transformer:
|
|
251
|
+
id:
|
|
252
|
+
auto_id:
|
|
253
|
+
key: Number
|
|
254
|
+
from_node:
|
|
255
|
+
auto_id:
|
|
256
|
+
table: Nodes
|
|
257
|
+
key:
|
|
258
|
+
Number: From.Number
|
|
259
|
+
from_status: From.Switch state
|
|
260
|
+
to_node:
|
|
261
|
+
auto_id:
|
|
262
|
+
table: Nodes
|
|
263
|
+
key:
|
|
264
|
+
Number: To.Number
|
|
265
|
+
to_status: To.Switch state
|
|
266
|
+
u1: Unom1
|
|
267
|
+
u2: Unom2
|
|
268
|
+
sn: Snom
|
|
269
|
+
uk:
|
|
270
|
+
max:
|
|
271
|
+
- divide:
|
|
272
|
+
- Pknom
|
|
273
|
+
- Snom
|
|
274
|
+
- power_grid_model_io.functions.value_or_default:
|
|
275
|
+
value: uknom
|
|
276
|
+
default: 0.001
|
|
277
|
+
- 0.001
|
|
278
|
+
pk: Pknom
|
|
279
|
+
i0:
|
|
280
|
+
power_grid_model_io.functions.phase_to_phase.relative_no_load_current:
|
|
281
|
+
i_0: Io
|
|
282
|
+
p_0: Po
|
|
283
|
+
s_nom: Snom
|
|
284
|
+
u_nom: Unom2
|
|
285
|
+
p0: Po
|
|
286
|
+
winding_from: 0
|
|
287
|
+
winding_to: 0
|
|
288
|
+
clock: 0
|
|
289
|
+
tap_side: Tap side
|
|
290
|
+
tap_pos: Tap
|
|
291
|
+
tap_min: Tap min
|
|
292
|
+
tap_max: Tap max
|
|
293
|
+
tap_nom: Tap nom
|
|
294
|
+
tap_size: Tap size
|
|
295
|
+
uk_min:
|
|
296
|
+
max:
|
|
297
|
+
- divide:
|
|
298
|
+
- Pkmin
|
|
299
|
+
- Snom
|
|
300
|
+
- power_grid_model_io.functions.value_or_default:
|
|
301
|
+
value: ukmin
|
|
302
|
+
default: 0.001
|
|
303
|
+
- 0.001
|
|
304
|
+
uk_max:
|
|
305
|
+
max:
|
|
306
|
+
- divide:
|
|
307
|
+
- Pkmax
|
|
308
|
+
- Snom
|
|
309
|
+
- power_grid_model_io.functions.value_or_default:
|
|
310
|
+
value: ukmax
|
|
311
|
+
default: 0.001
|
|
312
|
+
- 0.001
|
|
313
|
+
pk_min: Pkmin
|
|
314
|
+
pk_max: Pkmax
|
|
315
|
+
r_grounding_from: 0
|
|
316
|
+
x_grounding_from: 0
|
|
317
|
+
r_grounding_to: 0
|
|
318
|
+
x_grounding_to: 0
|
|
319
|
+
extra:
|
|
320
|
+
- ID
|
|
321
|
+
- Name
|
|
322
|
+
transformer_tap_regulator:
|
|
323
|
+
id:
|
|
324
|
+
auto_id:
|
|
325
|
+
name: transformer_tap_regulator
|
|
326
|
+
key: Number
|
|
327
|
+
regulated_object:
|
|
328
|
+
auto_id:
|
|
329
|
+
key:
|
|
330
|
+
Number: Number
|
|
331
|
+
status: At
|
|
332
|
+
control_side: Measure side
|
|
333
|
+
u_set: Uset
|
|
334
|
+
u_band: Uband
|
|
335
|
+
line_drop_compensation_r: Rc
|
|
336
|
+
line_drop_compensation_x: Xc
|
|
337
|
+
extra:
|
|
338
|
+
- ID
|
|
339
|
+
- Name
|
|
340
|
+
filters:
|
|
341
|
+
- power_grid_model_io.functions.filters.exclude_value:
|
|
342
|
+
col: Control
|
|
343
|
+
value: FALSE
|
|
344
|
+
Transformer loads:
|
|
345
|
+
transformer:
|
|
346
|
+
id:
|
|
347
|
+
auto_id:
|
|
348
|
+
name: transformer
|
|
349
|
+
key:
|
|
350
|
+
- Node.Number
|
|
351
|
+
- Subnumber
|
|
352
|
+
from_node:
|
|
353
|
+
auto_id:
|
|
354
|
+
table: Nodes
|
|
355
|
+
key:
|
|
356
|
+
Number: Node.Number
|
|
357
|
+
to_node:
|
|
358
|
+
auto_id:
|
|
359
|
+
name: internal_node
|
|
360
|
+
key:
|
|
361
|
+
- Node.Number
|
|
362
|
+
- Subnumber
|
|
363
|
+
from_status: Switch state
|
|
364
|
+
to_status: 1
|
|
365
|
+
u1: Unom1
|
|
366
|
+
u2: Unom2
|
|
367
|
+
sn: Snom
|
|
368
|
+
uk:
|
|
369
|
+
max:
|
|
370
|
+
- divide:
|
|
371
|
+
- Pk
|
|
372
|
+
- Snom
|
|
373
|
+
- power_grid_model_io.functions.value_or_default:
|
|
374
|
+
value: uk
|
|
375
|
+
default: 0.001
|
|
376
|
+
- 0.001
|
|
377
|
+
pk: Pk
|
|
378
|
+
p0: Po
|
|
379
|
+
i0:
|
|
380
|
+
power_grid_model_io.functions.phase_to_phase.relative_no_load_current:
|
|
381
|
+
i_0: 0
|
|
382
|
+
p_0: Po
|
|
383
|
+
s_nom: Snom
|
|
384
|
+
u_nom: Unom2
|
|
385
|
+
winding_from:
|
|
386
|
+
power_grid_model_io.functions.phase_to_phase.get_winding_from:
|
|
387
|
+
conn_str: Connection
|
|
388
|
+
winding_to:
|
|
389
|
+
power_grid_model_io.functions.phase_to_phase.get_winding_to:
|
|
390
|
+
conn_str: Connection
|
|
391
|
+
clock:
|
|
392
|
+
power_grid_model_io.functions.phase_to_phase.get_clock:
|
|
393
|
+
conn_str: Connection
|
|
394
|
+
tap_side: Tap side
|
|
395
|
+
tap_pos: Tap
|
|
396
|
+
tap_min: Tap min
|
|
397
|
+
tap_max: Tap max
|
|
398
|
+
tap_nom: Tap nom
|
|
399
|
+
tap_size: Tap size
|
|
400
|
+
uk_min:
|
|
401
|
+
max:
|
|
402
|
+
- divide:
|
|
403
|
+
- Pk
|
|
404
|
+
- Snom
|
|
405
|
+
- power_grid_model_io.functions.value_or_default:
|
|
406
|
+
value: uk
|
|
407
|
+
default: 0.001
|
|
408
|
+
- 0.001
|
|
409
|
+
uk_max:
|
|
410
|
+
max:
|
|
411
|
+
- divide:
|
|
412
|
+
- Pk
|
|
413
|
+
- Snom
|
|
414
|
+
- power_grid_model_io.functions.value_or_default:
|
|
415
|
+
value: uk
|
|
416
|
+
default: 0.001
|
|
417
|
+
- 0.001
|
|
418
|
+
pk_min: Pk
|
|
419
|
+
pk_max: Pk
|
|
420
|
+
r_grounding_from: 0
|
|
421
|
+
x_grounding_from: 0
|
|
422
|
+
r_grounding_to: 0
|
|
423
|
+
x_grounding_to: 0
|
|
424
|
+
extra:
|
|
425
|
+
- ID
|
|
426
|
+
- Name
|
|
427
|
+
node:
|
|
428
|
+
id:
|
|
429
|
+
auto_id:
|
|
430
|
+
name: internal_node
|
|
431
|
+
key:
|
|
432
|
+
- Node.Number
|
|
433
|
+
- Subnumber
|
|
434
|
+
u_rated: Unom2
|
|
435
|
+
extra:
|
|
436
|
+
- ID
|
|
437
|
+
- Name
|
|
438
|
+
sym_load:
|
|
439
|
+
id:
|
|
440
|
+
auto_id:
|
|
441
|
+
name: load
|
|
442
|
+
key:
|
|
443
|
+
- Node.Number
|
|
444
|
+
- Subnumber
|
|
445
|
+
node:
|
|
446
|
+
auto_id:
|
|
447
|
+
name: internal_node
|
|
448
|
+
key:
|
|
449
|
+
- Node.Number
|
|
450
|
+
- Subnumber
|
|
451
|
+
status: Switch state
|
|
452
|
+
type: Load.Behaviour
|
|
453
|
+
p_specified:
|
|
454
|
+
multiply:
|
|
455
|
+
- Load.P
|
|
456
|
+
- reference:
|
|
457
|
+
query_column: Node.Number
|
|
458
|
+
other_table: Nodes
|
|
459
|
+
key_column: Number
|
|
460
|
+
value_column: Simultaneity
|
|
461
|
+
q_specified:
|
|
462
|
+
multiply:
|
|
463
|
+
- Load.Q
|
|
464
|
+
- reference:
|
|
465
|
+
query_column: Node.Number
|
|
466
|
+
other_table: Nodes
|
|
467
|
+
key_column: Number
|
|
468
|
+
value_column: Simultaneity
|
|
469
|
+
extra:
|
|
470
|
+
- ID
|
|
471
|
+
- Name
|
|
472
|
+
sym_gen:
|
|
473
|
+
- id:
|
|
474
|
+
auto_id:
|
|
475
|
+
name: generation
|
|
476
|
+
key:
|
|
477
|
+
- Node.Number
|
|
478
|
+
- Subnumber
|
|
479
|
+
node:
|
|
480
|
+
auto_id:
|
|
481
|
+
name: internal_node
|
|
482
|
+
key:
|
|
483
|
+
- Node.Number
|
|
484
|
+
- Subnumber
|
|
485
|
+
status: Switch state
|
|
486
|
+
type: 0
|
|
487
|
+
p_specified: Generation.P
|
|
488
|
+
q_specified: Generation.Q
|
|
489
|
+
extra:
|
|
490
|
+
- ID
|
|
491
|
+
- Name
|
|
492
|
+
- id:
|
|
493
|
+
auto_id:
|
|
494
|
+
name: pv_generation
|
|
495
|
+
key:
|
|
496
|
+
- Node.Number
|
|
497
|
+
- Subnumber
|
|
498
|
+
node:
|
|
499
|
+
auto_id:
|
|
500
|
+
name: internal_node
|
|
501
|
+
key:
|
|
502
|
+
- Node.Number
|
|
503
|
+
- Subnumber
|
|
504
|
+
status: Switch state
|
|
505
|
+
type: 0
|
|
506
|
+
p_specified: PV.Pnom
|
|
507
|
+
q_specified:
|
|
508
|
+
power_grid_model_io.functions.phase_to_phase.reactive_power:
|
|
509
|
+
p: PV.Pnom
|
|
510
|
+
cos_phi: 1
|
|
511
|
+
extra:
|
|
512
|
+
- ID
|
|
513
|
+
- Name
|
|
514
|
+
Sources:
|
|
515
|
+
source:
|
|
516
|
+
id:
|
|
517
|
+
auto_id:
|
|
518
|
+
key:
|
|
519
|
+
- Node.Number
|
|
520
|
+
- Subnumber
|
|
521
|
+
node:
|
|
522
|
+
auto_id:
|
|
523
|
+
table: Nodes
|
|
524
|
+
key:
|
|
525
|
+
Number: Node.Number
|
|
526
|
+
status: Switch state
|
|
527
|
+
u_ref: Uref
|
|
528
|
+
sk: Sk"nom
|
|
529
|
+
rx_ratio: R/X
|
|
530
|
+
z01_ratio: Z0/Z1
|
|
531
|
+
extra:
|
|
532
|
+
- ID
|
|
533
|
+
- Name
|
|
534
|
+
Synchronous generators:
|
|
535
|
+
sym_gen:
|
|
536
|
+
id:
|
|
537
|
+
auto_id:
|
|
538
|
+
key:
|
|
539
|
+
- Node.Number
|
|
540
|
+
- Subnumber
|
|
541
|
+
node:
|
|
542
|
+
auto_id:
|
|
543
|
+
table: Nodes
|
|
544
|
+
key:
|
|
545
|
+
Number: Node.Number
|
|
546
|
+
status: Switch state
|
|
547
|
+
type: 0
|
|
548
|
+
p_specified: Pref
|
|
549
|
+
q_specified:
|
|
550
|
+
multiply:
|
|
551
|
+
- power_grid_model_io.functions.phase_to_phase.reactive_power:
|
|
552
|
+
p: Pref
|
|
553
|
+
cos_phi: cos phi
|
|
554
|
+
- Q
|
|
555
|
+
extra:
|
|
556
|
+
- ID
|
|
557
|
+
- Name
|
|
558
|
+
Wind turbines:
|
|
559
|
+
sym_gen:
|
|
560
|
+
id:
|
|
561
|
+
auto_id:
|
|
562
|
+
key:
|
|
563
|
+
- Node.Number
|
|
564
|
+
- Subnumber
|
|
565
|
+
node:
|
|
566
|
+
auto_id:
|
|
567
|
+
table: Nodes
|
|
568
|
+
key:
|
|
569
|
+
Number: Node.Number
|
|
570
|
+
status: Switch state
|
|
571
|
+
type: 0
|
|
572
|
+
p_specified:
|
|
573
|
+
power_grid_model_io.functions.value_or_default:
|
|
574
|
+
value: Pref
|
|
575
|
+
default:
|
|
576
|
+
power_grid_model_io.functions.phase_to_phase.power_wind_speed:
|
|
577
|
+
p_nom: Pnom
|
|
578
|
+
wind_speed: Wind speed
|
|
579
|
+
q_specified:
|
|
580
|
+
power_grid_model_io.functions.phase_to_phase.reactive_power:
|
|
581
|
+
p:
|
|
582
|
+
power_grid_model_io.functions.value_or_default:
|
|
583
|
+
value: Pref
|
|
584
|
+
default:
|
|
585
|
+
power_grid_model_io.functions.phase_to_phase.power_wind_speed:
|
|
586
|
+
p_nom: Pnom
|
|
587
|
+
wind_speed: Wind speed
|
|
588
|
+
cos_phi: cos phi
|
|
589
|
+
extra:
|
|
590
|
+
- ID
|
|
591
|
+
- Name
|
|
592
|
+
Loads:
|
|
593
|
+
sym_load:
|
|
594
|
+
id:
|
|
595
|
+
auto_id:
|
|
596
|
+
key:
|
|
597
|
+
- Node.Number
|
|
598
|
+
- Subnumber
|
|
599
|
+
node:
|
|
600
|
+
auto_id:
|
|
601
|
+
table: Nodes
|
|
602
|
+
key:
|
|
603
|
+
Number: Node.Number
|
|
604
|
+
status: Switch state
|
|
605
|
+
type: Behaviour
|
|
606
|
+
p_specified:
|
|
607
|
+
multiply:
|
|
608
|
+
- P
|
|
609
|
+
- reference:
|
|
610
|
+
query_column: Node.Number
|
|
611
|
+
other_table: Nodes
|
|
612
|
+
key_column: Number
|
|
613
|
+
value_column: Simultaneity
|
|
614
|
+
q_specified:
|
|
615
|
+
multiply:
|
|
616
|
+
- Q
|
|
617
|
+
- reference:
|
|
618
|
+
query_column: Node.Number
|
|
619
|
+
other_table: Nodes
|
|
620
|
+
key_column: Number
|
|
621
|
+
value_column: Simultaneity
|
|
622
|
+
extra:
|
|
623
|
+
- ID
|
|
624
|
+
- Name
|
|
625
|
+
Earthing transformers:
|
|
626
|
+
shunt:
|
|
627
|
+
id:
|
|
628
|
+
auto_id:
|
|
629
|
+
key: Number
|
|
630
|
+
node:
|
|
631
|
+
auto_id:
|
|
632
|
+
table: Nodes
|
|
633
|
+
key:
|
|
634
|
+
Number: Node.Number
|
|
635
|
+
status: Switch state
|
|
636
|
+
g1: 0
|
|
637
|
+
b1: 0
|
|
638
|
+
g0:
|
|
639
|
+
power_grid_model_io.functions.complex_inverse_real_part:
|
|
640
|
+
real: R0
|
|
641
|
+
imag: X0
|
|
642
|
+
b0:
|
|
643
|
+
power_grid_model_io.functions.complex_inverse_imaginary_part:
|
|
644
|
+
real: R0
|
|
645
|
+
imag: X0
|
|
646
|
+
extra:
|
|
647
|
+
- ID
|
|
648
|
+
- Name
|
|
649
|
+
Shunt capacitors:
|
|
650
|
+
shunt:
|
|
651
|
+
id:
|
|
652
|
+
auto_id:
|
|
653
|
+
key: Number
|
|
654
|
+
node:
|
|
655
|
+
auto_id:
|
|
656
|
+
table: Nodes
|
|
657
|
+
key:
|
|
658
|
+
Number: Node.Number
|
|
659
|
+
status: Switch state
|
|
660
|
+
g1: 0
|
|
661
|
+
b1:
|
|
662
|
+
power_grid_model_io.functions.phase_to_phase.reactive_power_to_susceptance:
|
|
663
|
+
q: Q
|
|
664
|
+
u_nom: Unom
|
|
665
|
+
g0: 0
|
|
666
|
+
b0: 0
|
|
667
|
+
extra:
|
|
668
|
+
- ID
|
|
669
|
+
- Name
|
|
670
|
+
Shunt reactors:
|
|
671
|
+
shunt:
|
|
672
|
+
id:
|
|
673
|
+
auto_id:
|
|
674
|
+
key: Number
|
|
675
|
+
node:
|
|
676
|
+
auto_id:
|
|
677
|
+
table: Nodes
|
|
678
|
+
key:
|
|
679
|
+
Number: Node.Number
|
|
680
|
+
status: Switch state
|
|
681
|
+
g1: 0
|
|
682
|
+
b1:
|
|
683
|
+
multiply:
|
|
684
|
+
- power_grid_model_io.functions.phase_to_phase.reactive_power_to_susceptance:
|
|
685
|
+
q: Q
|
|
686
|
+
u_nom: Unom
|
|
687
|
+
- -1
|
|
688
|
+
g0: 0
|
|
689
|
+
b0: 0
|
|
690
|
+
extra:
|
|
691
|
+
- ID
|
|
692
|
+
- Name
|
|
693
|
+
Pvs:
|
|
694
|
+
sym_gen:
|
|
695
|
+
id:
|
|
696
|
+
auto_id:
|
|
697
|
+
key:
|
|
698
|
+
- Node.Number
|
|
699
|
+
- Subnumber
|
|
700
|
+
node:
|
|
701
|
+
auto_id:
|
|
702
|
+
table: Nodes
|
|
703
|
+
key:
|
|
704
|
+
Number: Node.Number
|
|
705
|
+
status: Switch state
|
|
706
|
+
type: 0
|
|
707
|
+
p_specified:
|
|
708
|
+
power_grid_model_io.functions.phase_to_phase.pvs_power_adjustment:
|
|
709
|
+
p:
|
|
710
|
+
multiply:
|
|
711
|
+
- min:
|
|
712
|
+
- Pnom
|
|
713
|
+
- Inverter.Pnom | Inverter.Snom
|
|
714
|
+
- Scaling
|
|
715
|
+
efficiency_type: Inverter.efficiency type
|
|
716
|
+
q_specified:
|
|
717
|
+
multiply:
|
|
718
|
+
- power_grid_model_io.functions.phase_to_phase.reactive_power:
|
|
719
|
+
p:
|
|
720
|
+
min:
|
|
721
|
+
- Pnom
|
|
722
|
+
- Inverter.Pnom | Inverter.Snom
|
|
723
|
+
cos_phi: Inverter.cos phi
|
|
724
|
+
- Scaling
|
|
725
|
+
extra:
|
|
726
|
+
- ID
|
|
727
|
+
- Name
|
|
728
|
+
Three winding transformers:
|
|
729
|
+
three_winding_transformer:
|
|
730
|
+
id:
|
|
731
|
+
auto_id:
|
|
732
|
+
key: Number
|
|
733
|
+
node_1:
|
|
734
|
+
auto_id:
|
|
735
|
+
table: Nodes
|
|
736
|
+
key:
|
|
737
|
+
Number: Node1.Number
|
|
738
|
+
status_1: Switch state 1
|
|
739
|
+
node_2:
|
|
740
|
+
auto_id:
|
|
741
|
+
table: Nodes
|
|
742
|
+
key:
|
|
743
|
+
Number: Node2.Number
|
|
744
|
+
status_2: Switch state 2
|
|
745
|
+
node_3:
|
|
746
|
+
auto_id:
|
|
747
|
+
table: Nodes
|
|
748
|
+
key:
|
|
749
|
+
Number: Node3.Number
|
|
750
|
+
status_3: Switch state 3
|
|
751
|
+
u1: Unom1
|
|
752
|
+
u2: Unom2
|
|
753
|
+
u3: Unom3
|
|
754
|
+
sn_1: Snom1
|
|
755
|
+
sn_2: Snom2
|
|
756
|
+
sn_3: Snom3
|
|
757
|
+
uk_12:
|
|
758
|
+
max:
|
|
759
|
+
- divide:
|
|
760
|
+
- Pk12
|
|
761
|
+
- min:
|
|
762
|
+
- Snom1
|
|
763
|
+
- Snom2
|
|
764
|
+
- power_grid_model_io.functions.value_or_default:
|
|
765
|
+
value: uk12
|
|
766
|
+
default: 0.001
|
|
767
|
+
- 0.001
|
|
768
|
+
uk_13:
|
|
769
|
+
max:
|
|
770
|
+
- divide:
|
|
771
|
+
- Pk13
|
|
772
|
+
- min:
|
|
773
|
+
- Snom1
|
|
774
|
+
- Snom3
|
|
775
|
+
- power_grid_model_io.functions.value_or_default:
|
|
776
|
+
value: uk13
|
|
777
|
+
default: 0.001
|
|
778
|
+
- 0.001
|
|
779
|
+
uk_23:
|
|
780
|
+
max:
|
|
781
|
+
- divide:
|
|
782
|
+
- Pk23
|
|
783
|
+
- min:
|
|
784
|
+
- Snom2
|
|
785
|
+
- Snom3
|
|
786
|
+
- power_grid_model_io.functions.value_or_default:
|
|
787
|
+
value: uk23
|
|
788
|
+
default: 0.001
|
|
789
|
+
- 0.001
|
|
790
|
+
pk_12: Pk12
|
|
791
|
+
pk_13: Pk13
|
|
792
|
+
pk_23: Pk23
|
|
793
|
+
i0:
|
|
794
|
+
power_grid_model_io.functions.phase_to_phase.relative_no_load_current:
|
|
795
|
+
i_0: Io
|
|
796
|
+
p_0: Po
|
|
797
|
+
s_nom: Snom3
|
|
798
|
+
u_nom: Unom3
|
|
799
|
+
p0: Po
|
|
800
|
+
winding_1:
|
|
801
|
+
power_grid_model_io.functions.phase_to_phase.get_winding_1:
|
|
802
|
+
conn_str: Connection
|
|
803
|
+
neutral_grounding: Grounding1
|
|
804
|
+
winding_2:
|
|
805
|
+
power_grid_model_io.functions.phase_to_phase.get_winding_2:
|
|
806
|
+
conn_str: Connection
|
|
807
|
+
neutral_grounding: Earthing2
|
|
808
|
+
winding_3:
|
|
809
|
+
power_grid_model_io.functions.phase_to_phase.get_winding_3:
|
|
810
|
+
conn_str: Connection
|
|
811
|
+
neutral_grounding: Grounding3
|
|
812
|
+
clock_12:
|
|
813
|
+
power_grid_model_io.functions.phase_to_phase.get_clock_12:
|
|
814
|
+
conn_str: Connection
|
|
815
|
+
clock_13:
|
|
816
|
+
power_grid_model_io.functions.phase_to_phase.get_clock_13:
|
|
817
|
+
conn_str: Connection
|
|
818
|
+
tap_side: Tap side a
|
|
819
|
+
tap_pos: Tap a
|
|
820
|
+
tap_min: Tap min a
|
|
821
|
+
tap_max: Tap max a
|
|
822
|
+
tap_nom: Tap nom a
|
|
823
|
+
tap_size: Tap size a
|
|
824
|
+
r_grounding_1: Re1
|
|
825
|
+
x_grounding_1: Xe1
|
|
826
|
+
r_grounding_2: Re2
|
|
827
|
+
x_grounding_2: Xe2
|
|
828
|
+
r_grounding_3: Re3
|
|
829
|
+
x_grounding_3: Xe3
|
|
830
|
+
extra:
|
|
831
|
+
- ID
|
|
832
|
+
- Name
|
|
833
|
+
transformer_tap_regulator:
|
|
834
|
+
id:
|
|
835
|
+
auto_id:
|
|
836
|
+
name: transformer_tap_regulator
|
|
837
|
+
key: Number
|
|
838
|
+
regulated_object:
|
|
839
|
+
auto_id:
|
|
840
|
+
key:
|
|
841
|
+
Number: Number
|
|
842
|
+
status: 1
|
|
843
|
+
control_side: Measure side
|
|
844
|
+
u_set: Uset
|
|
845
|
+
u_band: Uband
|
|
846
|
+
line_drop_compensation_r: Rc
|
|
847
|
+
line_drop_compensation_x: Xc
|
|
848
|
+
extra:
|
|
849
|
+
- ID
|
|
850
|
+
- Name
|
|
851
|
+
filters:
|
|
852
|
+
- power_grid_model_io.functions.filters.exclude_value:
|
|
853
|
+
col: Control
|
|
854
|
+
value: 0
|
|
855
|
+
units:
|
|
856
|
+
A: null
|
|
857
|
+
F:
|
|
858
|
+
µF: 0.000_001
|
|
859
|
+
V:
|
|
860
|
+
kV: 1_000.0
|
|
861
|
+
VA:
|
|
862
|
+
kVA: 1_000.0
|
|
863
|
+
MVA: 1_000_000.0
|
|
864
|
+
VAR:
|
|
865
|
+
kvar: 1_000.0
|
|
866
|
+
Mvar: 1_000_000.0
|
|
867
|
+
W:
|
|
868
|
+
kW: 1_000.0
|
|
869
|
+
MW: 1_000_000.0
|
|
870
|
+
Wp:
|
|
871
|
+
kWp: 1_000.0
|
|
872
|
+
MWp: 1_000_000.0
|
|
873
|
+
m/s: null
|
|
874
|
+
ohm:
|
|
875
|
+
Ohm: 1.0
|
|
876
|
+
ohm/m:
|
|
877
|
+
ohm/km: 0.001
|
|
878
|
+
one:
|
|
879
|
+
pu: 1.0
|
|
880
|
+
"%": 0.01
|
|
881
|
+
"‰": 0.001
|
|
882
|
+
|
|
883
|
+
substitutions:
|
|
884
|
+
".*Switch state":
|
|
885
|
+
"off": 0
|
|
886
|
+
"in": 1
|
|
887
|
+
"on": 1
|
|
888
|
+
"Switch state .*":
|
|
889
|
+
"off": 0
|
|
890
|
+
"in": 1
|
|
891
|
+
"on": 1
|
|
892
|
+
Grounding1:
|
|
893
|
+
0: false
|
|
894
|
+
1: true
|
|
895
|
+
none: false
|
|
896
|
+
own: true
|
|
897
|
+
Earthing2:
|
|
898
|
+
0: false
|
|
899
|
+
1: true
|
|
900
|
+
none: false
|
|
901
|
+
own: true
|
|
902
|
+
Grounding3:
|
|
903
|
+
0: false
|
|
904
|
+
1: true
|
|
905
|
+
none: false
|
|
906
|
+
own: true
|
|
907
|
+
Load.Behaviour:
|
|
908
|
+
Constant admittance: 1
|
|
909
|
+
Constant impedance: 1
|
|
910
|
+
~Constant current: 2
|
|
911
|
+
Constant power: 0
|
|
912
|
+
Default: 0
|
|
913
|
+
Industry: 0
|
|
914
|
+
Business: 0
|
|
915
|
+
Residential: 0
|
|
916
|
+
Living: 0
|
|
917
|
+
Behaviour:
|
|
918
|
+
Constant admittance: 1
|
|
919
|
+
Constant impedance: 1
|
|
920
|
+
~Constant current: 2
|
|
921
|
+
Constant power: 0
|
|
922
|
+
Default: 0
|
|
923
|
+
Industry: 0
|
|
924
|
+
Business: 0
|
|
925
|
+
Residential: 0
|
|
926
|
+
Living: 0
|
|
927
|
+
Tap side:
|
|
928
|
+
1: 0
|
|
929
|
+
2: 1
|
|
930
|
+
Tap side a:
|
|
931
|
+
1: 0
|
|
932
|
+
2: 1
|
|
933
|
+
3: 2
|
|
934
|
+
Tap side c:
|
|
935
|
+
1: 0
|
|
936
|
+
2: 1
|
|
937
|
+
3: 2
|
|
938
|
+
Synchronous generators.Q:
|
|
939
|
+
absorb: -1
|
|
940
|
+
supply: 1
|
|
941
|
+
Measure side:
|
|
942
|
+
1: 0
|
|
943
|
+
2: 1
|
|
944
|
+
3: 2
|
|
945
|
+
At:
|
|
946
|
+
FALSE: 0
|
|
947
|
+
TRUE: 1
|
|
@@ -813,7 +813,7 @@ grid:
|
|
|
813
813
|
conn_str: Schakeling
|
|
814
814
|
neutral_grounding: N2
|
|
815
815
|
winding_3:
|
|
816
|
-
power_grid_model_io.functions.phase_to_phase.
|
|
816
|
+
power_grid_model_io.functions.phase_to_phase.get_winding_3:
|
|
817
817
|
conn_str: Schakeling
|
|
818
818
|
neutral_grounding: N3
|
|
819
819
|
clock_12:
|
|
@@ -823,11 +823,11 @@ grid:
|
|
|
823
823
|
power_grid_model_io.functions.phase_to_phase.get_clock_13:
|
|
824
824
|
conn_str: Schakeling
|
|
825
825
|
tap_side: Trapzijde u
|
|
826
|
-
tap_pos: Trapstand
|
|
827
|
-
tap_min: Trapmin
|
|
828
|
-
tap_max: Trapmax
|
|
829
|
-
tap_nom: Trapnom
|
|
830
|
-
tap_size: Trapgrootte
|
|
826
|
+
tap_pos: Trapstand u
|
|
827
|
+
tap_min: Trapmin u
|
|
828
|
+
tap_max: Trapmax u
|
|
829
|
+
tap_nom: Trapnom u
|
|
830
|
+
tap_size: Trapgrootte u
|
|
831
831
|
r_grounding_1: Ra1
|
|
832
832
|
x_grounding_1: Xa1
|
|
833
833
|
r_grounding_2: Ra2
|
|
@@ -920,9 +920,18 @@ substitutions:
|
|
|
920
920
|
Trapzijde:
|
|
921
921
|
1: 0
|
|
922
922
|
2: 1
|
|
923
|
+
Trapzijde u:
|
|
924
|
+
1: 0
|
|
925
|
+
2: 1
|
|
926
|
+
3: 2
|
|
927
|
+
Trapzijde i:
|
|
928
|
+
1: 0
|
|
929
|
+
2: 1
|
|
930
|
+
3: 2
|
|
923
931
|
Synchrone generatoren.Q:
|
|
924
932
|
terugleveren: -1
|
|
925
933
|
leveren: 1
|
|
926
934
|
Meetzijde:
|
|
927
935
|
1: 0
|
|
928
|
-
2: 1
|
|
936
|
+
2: 1
|
|
937
|
+
3: 2
|
|
@@ -90,7 +90,8 @@ def _get_clock(trafo_connection_parser, clock_ref: str):
|
|
|
90
90
|
"""
|
|
91
91
|
Extract the clock part of the conn_str
|
|
92
92
|
"""
|
|
93
|
-
|
|
93
|
+
|
|
94
|
+
return int(trafo_connection_parser(conn_str)[clock_ref]) % 12
|
|
94
95
|
|
|
95
96
|
return _get_clock_impl
|
|
96
97
|
|
|
@@ -8,7 +8,7 @@ General regular expressions
|
|
|
8
8
|
import re
|
|
9
9
|
from typing import Dict
|
|
10
10
|
|
|
11
|
-
_TRAFO_CONNECTION_RE = re.compile(r"^(Y|YN|D|Z|ZN)(y|yn|d|z|zn)(
|
|
11
|
+
_TRAFO_CONNECTION_RE = re.compile(r"^(Y|YN|D|Z|ZN)(y|yn|d|z|zn)(-?\d|1[0-2]|-1[0-2])?$")
|
|
12
12
|
|
|
13
13
|
|
|
14
14
|
def parse_trafo_connection(string: str) -> Dict[str, str]:
|
|
@@ -17,11 +17,11 @@ def parse_trafo_connection(string: str) -> Dict[str, str]:
|
|
|
17
17
|
Matches the following regular expression to the winding_from and winding_to codes.
|
|
18
18
|
Optionally checks the clock number:
|
|
19
19
|
|
|
20
|
-
^
|
|
21
|
-
(Y|YN|D|Z|ZN)
|
|
22
|
-
(y|yn|d|z|zn)
|
|
23
|
-
(
|
|
24
|
-
$
|
|
20
|
+
^ Start of the string
|
|
21
|
+
(Y|YN|D|Z|ZN) From winding type
|
|
22
|
+
(y|yn|d|z|zn) To winding type
|
|
23
|
+
(-?\d|1[0-2]|-1[0-2])? Optional clock number (-12-12)
|
|
24
|
+
$ End of the string
|
|
25
25
|
|
|
26
26
|
Args:
|
|
27
27
|
string (str): The input string.
|
|
@@ -39,7 +39,9 @@ def parse_trafo_connection(string: str) -> Dict[str, str]:
|
|
|
39
39
|
return {"winding_from": match.group(1), "winding_to": match.group(2), "clock": match.group(3)}
|
|
40
40
|
|
|
41
41
|
|
|
42
|
-
_TRAFO3_CONNECTION_RE = re.compile(
|
|
42
|
+
_TRAFO3_CONNECTION_RE = re.compile(
|
|
43
|
+
r"^(Y|YN|D|Z|ZN)(y|yn|d|z|zn)(-?\d|1[0-2]|-1[0-2])?(y|yn|d|z|zn)(-?\d|1[0-2]|-1[0-2])?$"
|
|
44
|
+
)
|
|
43
45
|
|
|
44
46
|
|
|
45
47
|
def parse_trafo3_connection(string: str) -> Dict[str, str]:
|
|
@@ -48,13 +50,13 @@ def parse_trafo3_connection(string: str) -> Dict[str, str]:
|
|
|
48
50
|
Matches the following regular expression to the winding_1, winding_2 and winding_3 codes.
|
|
49
51
|
Optionally checks the clock numbers:
|
|
50
52
|
|
|
51
|
-
^
|
|
52
|
-
(Y|YN|D|Z|ZN)
|
|
53
|
-
(y|yn|d|z|zn)
|
|
54
|
-
(
|
|
55
|
-
(y|yn|d|z|zn)
|
|
56
|
-
(
|
|
57
|
-
$
|
|
53
|
+
^ Start of the string
|
|
54
|
+
(Y|YN|D|Z|ZN) First winding type
|
|
55
|
+
(y|yn|d|z|zn) Second winding type
|
|
56
|
+
(-?\d|1[0-2]|-1[0-2]) Clock number (-12-12)
|
|
57
|
+
(y|yn|d|z|zn) Third winding type
|
|
58
|
+
(-?\d|1[0-2]|-1[0-2]) Clock number (-12-12)
|
|
59
|
+
$ End of the string
|
|
58
60
|
|
|
59
61
|
Args:
|
|
60
62
|
string (str): The input string.
|
|
@@ -4,9 +4,10 @@ power_grid_model_io/config/__init__.py,sha256=qwbj1j-Aa_yRB-E3j35pEVtF3mgH8CVIXA
|
|
|
4
4
|
power_grid_model_io/config/examples/__init__.py,sha256=qwbj1j-Aa_yRB-E3j35pEVtF3mgH8CVIXAnog5mOry0,138
|
|
5
5
|
power_grid_model_io/config/examples/multipliers.yaml,sha256=UjsxWmxqLrTLGE0GI--9fKDqTkn3jY8n5KSYlwzh2o4,227
|
|
6
6
|
power_grid_model_io/config/excel/__init__.py,sha256=qwbj1j-Aa_yRB-E3j35pEVtF3mgH8CVIXAnog5mOry0,138
|
|
7
|
-
power_grid_model_io/config/excel/vision_en.yaml,sha256=
|
|
8
|
-
power_grid_model_io/config/excel/vision_en_9_7.yaml,sha256=
|
|
9
|
-
power_grid_model_io/config/excel/
|
|
7
|
+
power_grid_model_io/config/excel/vision_en.yaml,sha256=z4AQXSlrC3_pj-ul1KlbZh6UjzaoIyZCUd0IgBd3mYQ,21227
|
|
8
|
+
power_grid_model_io/config/excel/vision_en_9_7.yaml,sha256=ts_qcrO3Gd8tQwPFzGWEbqs1-FrKb5yMOD_G_JbOP7I,21161
|
|
9
|
+
power_grid_model_io/config/excel/vision_en_9_8.yaml,sha256=yCa4v5VUK1xCZ0PrHG2ZflpIZN-D7dNsS7PKYW8K9Ac,20938
|
|
10
|
+
power_grid_model_io/config/excel/vision_nl.yaml,sha256=0IOh5Ug9QwP2dgNMsl90RARV_v-xxcA6rv8Ya0WCPuI,21426
|
|
10
11
|
power_grid_model_io/converters/__init__.py,sha256=kmbjFW6kVr30fmHb6mAoD7DQAqmbrsOuF1ewd8b0Q3M,408
|
|
11
12
|
power_grid_model_io/converters/base_converter.py,sha256=TICEXyG7PtimAUvhAmpSoZUqwa0shiDdwbWpiM2Ur7o,6048
|
|
12
13
|
power_grid_model_io/converters/pandapower_converter.py,sha256=c7wXV_T6zHZKa1ZlPtREDIzElDIsrNaiUy2HU-HnOpg,115797
|
|
@@ -25,7 +26,7 @@ power_grid_model_io/data_types/tabular_data.py,sha256=sV6S4kqCEuQiNZTOdKS7CiA2M8
|
|
|
25
26
|
power_grid_model_io/functions/__init__.py,sha256=pamhvKX5c_5fkVMRrUp6zhHWex2R63otRJk1Sfsw6y0,495
|
|
26
27
|
power_grid_model_io/functions/_functions.py,sha256=tqwwZ0G8AeDza0IiS6CSMwKB0lV1hDo2D8e9-ARHXQM,2843
|
|
27
28
|
power_grid_model_io/functions/filters.py,sha256=zJAGkUg8x-Ci6IJkbCwhVJuj9eKsPY-BxfjdyWMEl8A,1398
|
|
28
|
-
power_grid_model_io/functions/phase_to_phase.py,sha256=
|
|
29
|
+
power_grid_model_io/functions/phase_to_phase.py,sha256=Cufj3lcUESKa_AFHn27GsUMxjTFmF5mj0-sdFrE7V00,4495
|
|
29
30
|
power_grid_model_io/mappings/__init__.py,sha256=qwbj1j-Aa_yRB-E3j35pEVtF3mgH8CVIXAnog5mOry0,138
|
|
30
31
|
power_grid_model_io/mappings/field_mapping.py,sha256=YfrwKolNG06kIC1sbUYnYmxuOrbNbNo1dYtnF8rNItw,1659
|
|
31
32
|
power_grid_model_io/mappings/multiplier_mapping.py,sha256=mQ112SMbuIgCZ1haMOxMtfbn2kMsaMaYSfEGv73gSGQ,910
|
|
@@ -39,11 +40,11 @@ power_grid_model_io/utils/download.py,sha256=enEoj42ByC5j5rj_iZ1Y9we7t8Nmlwre0-9
|
|
|
39
40
|
power_grid_model_io/utils/excel_ambiguity_checker.py,sha256=MqqmGKTVn_TJ0rNO0KSHauXgJW2K4RmgR-v-NJASxvE,6918
|
|
40
41
|
power_grid_model_io/utils/json.py,sha256=dQDRd2Vb8pfqLU2hTuWYv2cpSIBBbFhd0LOBP21YxJI,3327
|
|
41
42
|
power_grid_model_io/utils/modules.py,sha256=a4IdozSL-sOZcmIQON_aQS7-cpnCyt-3p7zs40wRFkU,928
|
|
42
|
-
power_grid_model_io/utils/parsing.py,sha256=
|
|
43
|
+
power_grid_model_io/utils/parsing.py,sha256=cw6d3S89BvB8dncN0SeFHDhFG7ZlDNx9iGYWjZk5fVU,4684
|
|
43
44
|
power_grid_model_io/utils/uuid_excel_cvtr.py,sha256=xYAYevGDuBd-TcgqcEMJJsISg3yv3uO_9mcUd7oj1qQ,7600
|
|
44
45
|
power_grid_model_io/utils/zip.py,sha256=VXHX4xWPPZbhOlZUAbMDy3MgQFzK6_l7sRvGXihNUY4,3875
|
|
45
|
-
power_grid_model_io-1.2.
|
|
46
|
-
power_grid_model_io-1.2.
|
|
47
|
-
power_grid_model_io-1.2.
|
|
48
|
-
power_grid_model_io-1.2.
|
|
49
|
-
power_grid_model_io-1.2.
|
|
46
|
+
power_grid_model_io-1.2.118.dist-info/licenses/LICENSE,sha256=7Pm2fWFFHHUG5lDHed1vl5CjzxObIXQglnYsEdtjo_k,14907
|
|
47
|
+
power_grid_model_io-1.2.118.dist-info/METADATA,sha256=ahOakYbB8_xezliL_ISwqF-A71sfZTGlZWtleyPzwjw,8688
|
|
48
|
+
power_grid_model_io-1.2.118.dist-info/WHEEL,sha256=CmyFI0kx5cdEMTLiONQRbGQwjIoR1aIYB7eCAQ4KPJ0,91
|
|
49
|
+
power_grid_model_io-1.2.118.dist-info/top_level.txt,sha256=7sq9VveemMm2R0RgTBa4tH8y_xF4_1hxbufmX9OjCTo,20
|
|
50
|
+
power_grid_model_io-1.2.118.dist-info/RECORD,,
|
|
File without changes
|
{power_grid_model_io-1.2.116.dist-info → power_grid_model_io-1.2.118.dist-info}/licenses/LICENSE
RENAMED
|
File without changes
|
{power_grid_model_io-1.2.116.dist-info → power_grid_model_io-1.2.118.dist-info}/top_level.txt
RENAMED
|
File without changes
|