diff --git a/models/operation/model_opt.py b/models/operation/model_opt.py index 86e11fd..e2578b2 100644 --- a/models/operation/model_opt.py +++ b/models/operation/model_opt.py @@ -643,7 +643,7 @@ def config_prices(self, instance): if self.scenario.boiler.type not in ['Air_HP', 'Ground_HP', "Electric"]: instance.FuelPrice[t] = self.scenario.energy_price.__dict__[self.scenario.boiler.type][t - 1] else: - instance.FuelPrice[t] = self.scenario.energy_price.gases[t - 1] + instance.FuelPrice[t] = 0 def config_grid(self, instance): for t in range(1, 8761):