From a36b5c51c7430843c4311477c02608ea3db1f454 Mon Sep 17 00:00:00 2001 From: LukasFrankenQ Date: Wed, 28 Jun 2023 17:42:17 +0100 Subject: [PATCH] fixed bug in monthly gas prices --- scripts/add_electricity.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/add_electricity.py b/scripts/add_electricity.py index c12d2b33..a4921ac4 100755 --- a/scripts/add_electricity.py +++ b/scripts/add_electricity.py @@ -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)