fixed bug in monthly gas prices

This commit is contained in:
LukasFrankenQ 2023-06-28 17:42:17 +01:00
parent ab8ee639f9
commit a36b5c51c7

View File

@ -370,8 +370,8 @@ def attach_conventional_generators(
ppl["efficiency"] = ppl.efficiency.fillna(ppl.efficiency_r)
fuel_price = (fuel_price.assign(OCGT=m_fuel_price['gas'],
CCGT=m_fuel_price['gas'])
fuel_price = (fuel_price.assign(OCGT=fuel_price['gas'],
CCGT=fuel_price['gas'])
.drop("gas", axis=1))
fuel_price = fuel_price.reindex(ppl.carrier, axis=1)
fuel_price.fillna(costs.fuel, inplace=True)