From 9eb5ac87e74ddc7cae968d8b1ccff2dd8d41c05a Mon Sep 17 00:00:00 2001 From: Riccardo Novo <75076219+riccardonovo@users.noreply.github.com> Date: Fri, 22 Jan 2021 10:20:21 +0100 Subject: [PATCH] Update osemosys.py There's a missing product by the DaysInDayType parameter in the StorageLevelDayTypeStart_rule. --- osemosys.py | 1 + 1 file changed, 1 insertion(+) diff --git a/osemosys.py b/osemosys.py index 644c357..9e76958 100644 --- a/osemosys.py +++ b/osemosys.py @@ -1227,6 +1227,7 @@ def StorageLevelDayTypeStart_rule(model, r, s, ls, ld, y): model.NetChargeWithinDay[r, s, ls, ld - 1, lh, y] for lh in model.DAILYTIMEBRACKET ) + * model.DaysInDayType[ls, ld - 1, y] == model.StorageLevelDayTypeStart[r, s, ls, ld, y] )