revert unit adjustment for EUR/MW only
This commit is contained in:
parent
2b6fb0ee66
commit
0b4abb4c30
@ -144,9 +144,7 @@ def load_costs(Nyears=1., tech_costs=None, config=None, elec_config=None):
|
|||||||
costs = pd.read_csv(tech_costs, index_col=[0,1]).sort_index()
|
costs = pd.read_csv(tech_costs, index_col=[0,1]).sort_index()
|
||||||
|
|
||||||
# correct units to MW
|
# correct units to MW
|
||||||
to_mw_i = costs.query('unit == "EUR/kW"').index
|
costs.loc[costs.unit.str.contains("/kW"),"value"] *= 1e3
|
||||||
costs.value.update(costs.value[to_mw_i] * 1e3)
|
|
||||||
costs.unit.update(pd.Series("EUR/MW", to_mw_i))
|
|
||||||
|
|
||||||
fill_values = {"CO2 intensity" : 0,
|
fill_values = {"CO2 intensity" : 0,
|
||||||
"FOM" : 0,
|
"FOM" : 0,
|
||||||
|
Loading…
Reference in New Issue
Block a user