Skip to content

Commit 1cef21a

Browse files
committed
minor debugging
1 parent 6a26437 commit 1cef21a

2 files changed

Lines changed: 5 additions & 5 deletions

File tree

dataprocessing/eGo_data_processing.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -47,12 +47,12 @@ def data_processing():
4747
# 'ego_dp_substation_hvmv.sql', # Abstract HVMV Substations of the high voltage level from OSM
4848
# 'ego_dp_substation_ehv.sql', # Abstract EHV Substations of the extra high voltage level from OSM
4949
# 'ego_dp_substation_otg.sql', # Assign osmTGmod-id to HVMV and EHV substations
50-
# 'ego_dp_substation_hvmv_voronoi.sql', # HVMV Voronoi cells based on HVMV substations
50+
# 'ego_dp_substation_hvmv_voronoi.sql', # HVMV Voronoi cells based on HVMV substations
5151
# 'ego_dp_substation_ehv_voronoi.sql', # EHV Voronoi cells based on EHV substations
5252

5353
## GRIDDISTRICT
5454
# 'ego_dp_mv_griddistrict.sql', # MV GridDistricts from municipalities and Voronoi cells
55-
# 'ego_dp_substation_id_to_generator.sql', # Assign Substation ID (subst_id) to Generator (Conventional and Renewable)
55+
'ego_dp_substation_id_to_generator.sql', # Assign Substation ID (subst_id) to Generator (Conventional and Renewable)
5656

5757
## LOADAREA
5858
# 'ego_dp_loadarea_landuse.sql', # OSM landuse sectors
@@ -110,8 +110,8 @@ def data_processing():
110110
# 'ego_pp_nep2035_grid_variations.sql' # Create extension_tables and insert NEP-data
111111

112112
## VERSIONING
113-
'ego_dp_versioning.sql', # Versioning
114-
'ego_dp_versioning_mviews.sql' , # Versioning of mviews
113+
# 'ego_dp_versioning.sql', # Versioning
114+
# 'ego_dp_versioning_mviews.sql' , # Versioning of mviews
115115

116116

117117

dataprocessing/sql_snippets/ego_dp_substation_id_to_generator.sql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ UPDATE model_draft.ego_dp_supply_conv_powerplant a
2323
SET subst_id = b.subst_id
2424
FROM model_draft.ego_grid_mv_griddistrict b
2525
WHERE a.geom && ST_TRANSFORM(b.geom,4326)
26-
AND ST_Contains(ST_TRANSFORM(b.geom,4326), a.geom,)
26+
AND ST_Contains(ST_TRANSFORM(b.geom,4326), a.geom)
2727
AND voltage_level >= 3;
2828

2929
-- Identify corresponding bus with the help of ehv-Voronoi

0 commit comments

Comments
 (0)