Skip to content

Commit

Permalink
Settings for sensitivities
Browse files Browse the repository at this point in the history
  • Loading branch information
ulfmueller committed May 15, 2024
1 parent 0c53b31 commit 4f7f76c
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
5 changes: 5 additions & 0 deletions etrago/appl_ehv.py
Original file line number Diff line number Diff line change
Expand Up @@ -659,6 +659,11 @@ def run_etrago(args, json_path):
# ehv network clustering
etrago.ehv_clustering()

print(' ')
print('spatial resolution after ehv clustering:')
print(len(etrago.network.buses))
print(' ')

print(' ')
print('start spatial clustering')
print(datetime.datetime.now())
Expand Down
4 changes: 2 additions & 2 deletions etrago/appl_ehv_sens.py
Original file line number Diff line number Diff line change
Expand Up @@ -500,7 +500,7 @@ def run_etrago(args, json_path):
new_line = new_line.T
etrago.network.import_components_from_dataframe(new_line, "Line" )

etrago.network.storage_units.capital_cost = (200/100) * etrago.network.storage_units.capital_cost
etrago.network.storage_units.capital_cost = etrago.network.storage_units.capital_cost * 2

etrago.network.storage_units.lifetime = np.inf
etrago.network.transformers.lifetime = 40 # only temporal fix
Expand Down Expand Up @@ -734,7 +734,7 @@ def run_etrago(args, json_path):

spatial_resolution = [300]

spatial_method = ['kmedoids-dijkstra', 'kmeans']
spatial_method = ['kmeans']

for i in range (0, len(spatial_method)):

Expand Down

0 comments on commit 4f7f76c

Please sign in to comment.