From 44887e9edd2951d9f5f9f407d58132974e4e019a Mon Sep 17 00:00:00 2001 From: CarlosEpia Date: Wed, 8 May 2024 14:47:10 +0200 Subject: [PATCH] delete not required lines --- etrago/appl_ehv.py | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/etrago/appl_ehv.py b/etrago/appl_ehv.py index 6c109ed0..0017a979 100644 --- a/etrago/appl_ehv.py +++ b/etrago/appl_ehv.py @@ -658,7 +658,6 @@ def run_etrago(args, json_path): # ehv network clustering etrago.ehv_clustering() - etrago.export_to_csv("before_ehv_spatial") print(' ') print('start spatial clustering') @@ -672,9 +671,7 @@ def run_etrago(args, json_path): print('stop spatial clustering') print(datetime.datetime.now()) print(' ') - - etrago.export_to_csv("after_spatial") - + from etrago.tools.utilities import modular_weight print(' ') print('Modularity') @@ -707,10 +704,10 @@ def run_etrago(args, json_path): etrago.lopf() # conduct lopf with full complex timeseries for dispatch disaggregation - etrago.dispatch_disaggregation() - etrago.network.lines.loc[etrago.network.lines.r == 0.0, "r"] = 10 + #etrago.dispatch_disaggregation() + #etrago.network.lines.loc[etrago.network.lines.r == 0.0, "r"] = 10 # start power flow based on lopf results - etrago.pf_post_lopf() + #etrago.pf_post_lopf() # spatial disaggregation # needs to be adjusted for new sectors