Skip to content

Commit

Permalink
Merge pull request #289 from openego/fix/transformer_parameters
Browse files Browse the repository at this point in the history
fixed index value chosen for extending transformers during reinforcement
  • Loading branch information
boltbeard committed Apr 15, 2019
2 parents 7141fcf + cf55a65 commit e2d6528
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ding0/flexopt/reinforce_measures.py
Original file line number Diff line number Diff line change
Expand Up @@ -402,7 +402,7 @@ def extend_trafo_power(extendable_trafos, trafo_params):
trafo_params.loc[
trafo_params['S_nom'] > trafo_s_max_a_before
].loc[
:, 'S_max'
:, 'S_nom'
].idxmin(), :
]
trafo.s_max_a = trafo_nearest_larger['S_nom']
Expand Down

0 comments on commit e2d6528

Please sign in to comment.