811 B
811 B
1 | # These are lines between buses, where on a map, there is only a |
---|---|
2 | # single line, while the entsoegridkit model contains multiple |
3 | # lines. We think they are artifacts from either the vt-geojson logics |
4 | # or the gridkit algorithms! They are removed from the model! |
5 | # def findall(lid): |
6 | # line = lines.loc[str(lid)] |
7 | # return (lines.bus0 == line.bus0) & (lines.bus1 == line.bus1) |
8 | # line_dups = pd.read_csv('line-dups.csv', dtype='str', skiprows=11)['line_id'] |
9 | # pd.set_option('max_rows', 200) |
10 | # pd.concat({x: lines.loc[findall(x)] for x in line_dups}).sort_index(level=0) |
11 | # is quite a helpful view for comparing their characteristics. |
12 | line_id |
13 | 10032 |
14 | 10433 |
15 | 10457 |
16 | 10504 |
17 | 10565 |
18 | 10884 |
19 | 10966 |
20 | 11045 |
21 | 11202 |
22 | 11301 |
23 | 11314 |
24 | 11315 |
25 | 11315 |
26 | 11397 |
27 | 11406 |
28 | 11490 |
29 | 11494 |
30 | 11514 |
31 | 11523 |
32 | 11524 |
33 | 11588 |
34 | 11606 |
35 | 11684 |
36 | 12326 |
37 | 1906 |
38 | 7399 |
39 | 9953 |
40 | 9972 |
41 | 9993 |