From b2b63bc523f416c2cf33ee9b2a5ada2760616e64 Mon Sep 17 00:00:00 2001 From: fboundy Date: Thu, 11 Apr 2024 10:22:55 +0100 Subject: [PATCH] Fix plunge cost --- apps/pv_opt/pvpy.py | 1 - 1 file changed, 1 deletion(-) diff --git a/apps/pv_opt/pvpy.py b/apps/pv_opt/pvpy.py index 9385fec..cb72784 100644 --- a/apps/pv_opt/pvpy.py +++ b/apps/pv_opt/pvpy.py @@ -626,7 +626,6 @@ def optimised_force(self, initial_soc, static_flows, contract: Contract, **kwarg base_cost = round(contract.net_cost(df).sum(), 1) if log: self.log(f"Base cost: {base_cost}") - base_cost = plunge_cost slots = []