Maximilian Sletbakk
- 合計アクティビティ 24
- 前回のアクティビティ
- メンバー登録日
- フォロー 0ユーザー
- フォロワー 0ユーザー
- 投票 10
- サブスクリプション 2
コメント
Maximilian Sletbakkによる最近のアクティビティ-
# Set representing the time steps, 48 hoursmodel.t = Set(initialize=np.arange(0, 48), ordered=True)# Set representing the time steps until all vehicles must be fully charged, 32 hoursmodel.c = Set(...
-
Thank you for your reply!So my variables are:The objective function is to minimize the sum of net_transformer_load (pictured below) multiplied by the spot price.There are also many more constraints...
-
Thank you very much, I implemented the changes you suggested, but it sadly still does not give any values for the batteryLevel model What do you mean by "the line is checked"? My thoughts were t...
-
I want it to make sure the line return model.batteryLevel[t] == model.batteryLevel[t-1]+model.batteryCharge[t-1]-model.batteryDischarge[t-1] is checked for every t in my model, with the exception t...
-
What do you mean exactly? These are just a part of my model, I have several constraints following this setup and they seem to work?
-
Never mind! It seems like the entire model is functioning now, if anyone else has this issue the solution seemed to be to use a different time model like I showed above. After that I just fixed a s...
-
Thank you, I understand. I suppose my final question would be: I have checked the lp. file, and my constraint def battery_test_rule(model,t): return model.batteryLevel[t] == model.batteryLe...
-
Okay, I am suspecting that the errror is due to the fact that the "battery" can both charge and discharge at the same time, so I will try to fix thatThank you very much for your time!
-
Thanks! That fixed the keyerror! However my model.battery_level values do not change, they stay at 1000 which is the upper bound def battery_level_rule(model,t): ...
-
What is the best way to express this in the constraint format?