Skip to content

Commit 2e4c73c

Browse files
committed
remove BOM
1 parent 7581896 commit 2e4c73c

3 files changed

Lines changed: 15 additions & 16 deletions

File tree

dataprocessing/eGo_data_processing.py

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -85,8 +85,8 @@ def data_processing():
8585
# 'rea/ego_dp_rea_m2.sql', # M2 wind farms
8686
# 'rea/ego_dp_rea_m3.sql', # M3 wind turbines to WPA
8787
# 'rea/ego_dp_rea_m4.sql', # M4 other and rest
88-
'rea/ego_dp_rea_m5.sql', # M5 LV to Loadarea
89-
'rea/ego_dp_rea_results.sql', # Results and statistics
88+
# 'rea/ego_dp_rea_m5.sql', # M5 LV to Loadarea
89+
# 'rea/ego_dp_rea_results.sql', # Results and statistics
9090

9191
## POWERFLOW
9292

@@ -95,19 +95,19 @@ def data_processing():
9595
# 'ego_dp_powerflow_electrical_neighbour.sql', # Create border crossing lines and buses in neighbouring countries
9696
# 'ego_dp_powerflow_fix_ehv_subnetworks.sql', # Fix topological errors in eHV grid
9797
# 'ego_dp_powerflow_grid_future_scenarios.sql', # Copy grid to future scenarios
98-
# 'ego_dp_powerflow_assignment_otgid.sql', # assign otg_id to pp lists
99-
# 'ego_dp_powerflow_assignment_unid.sql', # create a unified_id over all pp (res and conv)
100-
# 'ego_dp_powerflow_create_pp_mview.sql', # create mviews to display power plants per scenario
101-
# 'ego_dp_powerflow_assignment_generator.sql', # Assign generators to corresponding substation (SQ, NEP2035, eGo100)
102-
# 'ego_dp_powerflow_assignment_load.sql', # Assign loads to their corresponding substation (SQ, NEP2035, eGo100)
103-
# 'ego_dp_powerflow_assignment_storage.sql', # Assign storages to their corresponding substation (SQ, NEP 2035, eGo 100)
104-
# 'ego_dp_powerflow_timeseries_generator.sql', # Transfer renpassG!S results into the corresponding powerflow table
105-
# 'ego_dp_powerflow_griddistrict_demand.py', # Demand per MV Griddistrict
106-
# 'ego_dp_powerflow_timeseries_demand.sql', # Insert demand series into corresponding powerflow table (SQ, NEP2035, eGo100)
107-
# 'ego_dp_powerflow_lopf_data.sql', # Set marginal costs for generators and storages
108-
# 'ego_dp_data_check.sql', # Check powerflow data for plausibility
98+
'ego_dp_powerflow_assignment_otgid.sql', # assign otg_id to pp lists
99+
'ego_dp_powerflow_assignment_unid.sql', # create a unified_id over all pp (res and conv)
100+
'ego_dp_powerflow_create_pp_mview.sql', # create mviews to display power plants per scenario
101+
'ego_dp_powerflow_assignment_generator.sql', # Assign generators to corresponding substation (SQ, NEP2035, eGo100)
102+
'ego_dp_powerflow_assignment_load.sql', # Assign loads to their corresponding substation (SQ, NEP2035, eGo100)
103+
'ego_dp_powerflow_assignment_storage.sql', # Assign storages to their corresponding substation (SQ, NEP 2035, eGo 100)
104+
'ego_dp_powerflow_timeseries_generator.sql', # Transfer renpassG!S results into the corresponding powerflow table
105+
'ego_dp_powerflow_griddistrict_demand.py', # Demand per MV Griddistrict
106+
'ego_dp_powerflow_timeseries_demand.sql', # Insert demand series into corresponding powerflow table (SQ, NEP2035, eGo100)
107+
'ego_dp_powerflow_lopf_data.sql', # Set marginal costs for generators and storages
108+
'ego_dp_data_check.sql', # Check powerflow data for plausibility
109109
## POST-PROCESSING
110-
# 'ego_pp_nep2035_grid_variations.sql' # Create extension_tables and insert NEP-data
110+
'ego_pp_nep2035_grid_variations.sql' # Create extension_tables and insert NEP-data
111111

112112
## VERSIONING
113113
# 'ego_dp_versioning.sql', # Versioning

dataprocessing/sql_snippets/ego_dp_powerflow_electrical_neighbour.sql

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
21
/*
32
The electricity grid model extracted from osmTGmod is limited to the German territory. This script adds border crossing
43
lines and corresponding buses and transformers to all neighbouring countries which have a direct electrical connection

dataprocessing/sql_snippets/ego_dp_powerflow_fix_ehv_subnetworks.sql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
DROP SEQUENCE IF EXISTS model_draft.ego_grid_hv_fix_errors_bus_id CASCADE;
1+
DROP SEQUENCE IF EXISTS model_draft.ego_grid_hv_fix_errors_bus_id CASCADE;
22
CREATE SEQUENCE model_draft.ego_grid_hv_fix_errors_bus_id;
33
SELECT setval('model_draft.ego_grid_hv_fix_errors_bus_id', (max(bus_id)+1)) FROM model_draft.ego_grid_pf_hv_bus;
44

0 commit comments

Comments
 (0)