openego / data_processing

(geo)data processing, database setup, data validation
GNU Affero General Public License v3.0
7 stars 5 forks source link

Line 6933 has buses which are not defined #288

Closed IlkaCu closed 6 years ago

IlkaCu commented 6 years ago

In the current data model the 380kV-line '6933' has a bus which is not listed in the bus table (bus_id = 25562) arpound 'Umspannwerk Plattling'. At the corresponding position a 380 kV bus is missing.

grafik

@ClaraBuettner: You already dealt with a problem in the area of this substation and documented it here. Might this bug be related to changes you implemented?

IlkaCu commented 6 years ago

It might be a bug somewhere here: https://github.com/openego/data_processing/blob/master/dataprocessing/sql_snippets/ego_dp_powerflow_fix_ehv_subnetworks.sql#L120-L166

ClaraBuettner commented 6 years ago

The line should have been deleted, it was replaced with two other lines which have been created. I'll take a look why that hasn't worked.

ClaraBuettner commented 6 years ago

There was no delete-statement for this line, which I added in #289 .