Skip to content

Commit f09f801

Browse files
committed
adjust name of scenario_log function
1 parent d2bfd52 commit f09f801

2 files changed

Lines changed: 10 additions & 7 deletions

File tree

dataprocessing/eGo_data_processing.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -102,9 +102,9 @@ def data_processing():
102102
# 'ego_dp_powerflow_assignment_load.sql', # Assign loads to their corresponding substation (SQ, NEP2035, eGo100)
103103
# 'ego_dp_powerflow_assignment_storage.sql', # Assign storages to their corresponding substation (SQ, NEP 2035, eGo 100)
104104
# '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
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
108108

109109
## POST-PROCESSING
110110
'ego_pp_nep2035_grid_variations.sql' # Create extension_tables and insert NEP-data

dataprocessing/python_scripts/ego_dp_powerflow_griddistrict_demand.py

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
from datetime import time as settime
2222
from math import sqrt
2323
from dataprocessing.tools import io, metadata
24-
from dataprocessing.python_scripts.functions.ego_scenario_log import write_ego_scenario_log
24+
from dataprocessing.python_scripts.functions.ego_scenario_log import write_scenario_log
2525

2626

2727
def demand_per_mv_grid_district():
@@ -64,8 +64,9 @@ def demand_per_mv_grid_district():
6464
query_demand.statement, session.bind, index_col='otg_id').fillna(0)
6565
annual_demand_df = annual_demand_df.loc[~pd.isnull(annual_demand_df.index)]
6666

67-
write_ego_scenario_log(conn=conn,
67+
write_scenario_log(conn=conn,
6868
version='v0.4.0',
69+
project='eGoDP',
6970
io='input',
7071
schema='model_draft',
7172
table=orm_loads.__tablename__,
@@ -78,8 +79,9 @@ def demand_per_mv_grid_district():
7879
schema,
7980
index_col='polygon_id')
8081

81-
write_ego_scenario_log(conn=conn,
82+
write_scenario_log(conn=conn,
8283
version='v0.4.0',
84+
project='eGoDP',
8385
io='input',
8486
schema='model_draft',
8587
table='ego_demand_hv_largescaleconsumer',
@@ -185,8 +187,9 @@ def demand_per_mv_grid_district():
185187

186188
metadata.submit_comment(conn, json_str, schema, target_table)
187189

188-
write_ego_scenario_log(conn=conn,
190+
write_scenario_log(conn=conn,
189191
version='v0.4.0',
192+
project='eGoDP',
190193
io='output',
191194
schema=schema,
192195
table=target_table,

0 commit comments

Comments
 (0)