Skip to content

Commit

Permalink
chore: format to black
Browse files Browse the repository at this point in the history
  • Loading branch information
danielolsen committed Oct 15, 2020
1 parent 5c1bad5 commit 86de56d
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion powersimdata/design/investment/investment_costs.py
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,9 @@ def select_mw(x, cost_df):
mult_lookup_MW = region_kV_mults.loc[
(region_kV_mults.MW - MW).abs().idxmin(), "MW"
]
mult = region_kV_mults.loc[region_kV_mults.MW == mult_lookup_MW].squeeze().mult
mult = (
region_kV_mults.loc[region_kV_mults.MW == mult_lookup_MW].squeeze().mult
)
transformers.loc[t, "mult"] = mult

transformers["Cost"] = (
Expand Down

0 comments on commit 86de56d

Please sign in to comment.