Skip to content

Commit

Permalink
Update optimization.py
Browse files Browse the repository at this point in the history
  • Loading branch information
davidusb-geek authored May 14, 2024
1 parent 501112c commit 0fbf9a6
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/emhass/optimization.py
Original file line number Diff line number Diff line change
Expand Up @@ -325,7 +325,6 @@ def perform_optimization(self, data_opt: pd.DataFrame, P_PV: np.array, P_load: n
for i in set_I})
# Treat the number of starts for a deferrable load
if self.optim_conf['set_def_constant'][k]:

constraints.update({"constraint_pdef{}_start1_{}".format(k, i) :
plp.LpConstraint(
e=P_deferrable[k][i] - P_def_bin2[k][i]*M,
Expand Down

0 comments on commit 0fbf9a6

Please sign in to comment.