Awattar Price changed to more precise value; if SoC=0 discharge =1 forced. Exp Avg for siple Price Forecast

* Discharge Mask Bug, Tests updated, simple Price Forecast with linear weighting
 * Price Forecast with linear weighting, last value = highest weighting Discharge enforce when soc = 0 -> mask bug
This commit is contained in:
Andreas
2024-12-25 19:12:38 +01:00
committed by Dominique Lasserre
parent 9881fe6da1
commit 86d2173a4d
4 changed files with 488 additions and 462 deletions

View File

@@ -62,6 +62,7 @@ def test_optimize(fn_in: str, fn_out: str, ngen: int, is_full_run: bool):
opt_class = optimization_problem(fixed_seed=42)
start_hour = 10
# Activate with pytest --full-run
if ngen > 10 and not is_full_run:
pytest.skip()