Skip to content

Commit b6697c6

Browse files
author
WolfBunke
authored
Merge branch 'release/v0.4.5' into fix/Mview
2 parents 3008ce5 + 1381c5d commit b6697c6

59 files changed

Lines changed: 696 additions & 695 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

dataprocessing/eGo_data_processing.py

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ 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
@@ -95,23 +95,23 @@ 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
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/python_scripts/ego_dp_loadarea_peakload.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ def add_sectoral_peak_load(load_areas, **kwargs):
128128
columns=columns)
129129

130130
write_ego_scenario_log(conn=conn,
131-
version='v0.4.4',
131+
version='v0.4.5',
132132
io='input',
133133
schema='model_draft',
134134
table=table,
@@ -276,7 +276,7 @@ def add_sectoral_peak_load(load_areas, **kwargs):
276276
metadata.submit_comment(conn, json_str, schema, target_table)
277277

278278
write_ego_scenario_log(conn=conn,
279-
version='v0.4.4',
279+
version='v0.4.5',
280280
io='output',
281281
schema='model_draft',
282282
table=target_table,

dataprocessing/python_scripts/ego_dp_powerflow_griddistrict_demand.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ def demand_per_mv_grid_district():
6565
annual_demand_df = annual_demand_df.loc[~pd.isnull(annual_demand_df.index)]
6666

6767
write_scenario_log(conn=conn,
68-
version='v0.4.4',
68+
version='v0.4.5',
6969
project='eGoDP',
7070
io='input',
7171
schema='model_draft',
@@ -80,7 +80,7 @@ def demand_per_mv_grid_district():
8080
index_col='polygon_id')
8181

8282
write_scenario_log(conn=conn,
83-
version='v0.4.4',
83+
version='v0.4.5',
8484
project='eGoDP',
8585
io='input',
8686
schema='model_draft',
@@ -188,7 +188,7 @@ def demand_per_mv_grid_district():
188188
metadata.submit_comment(conn, json_str, schema, target_table)
189189

190190
write_scenario_log(conn=conn,
191-
version='v0.4.4',
191+
version='v0.4.5',
192192
project='eGoDP',
193193
io='output',
194194
schema=schema,

dataprocessing/python_scripts/setup_ego_mv_powerflow.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ def create_powerflow_schema(engine, schema, tables):
6868
tools.grant_db_access(conn, schema, table, group)
6969

7070
write_ego_scenario_log(conn=conn,
71-
version='v0.4.4',
71+
version='v0.4.5',
7272
io='output',
7373
schema=schema,
7474
table=table,

0 commit comments

Comments
 (0)