Margi Shah
- Total activity 179
- Last activity
- Member since
- Following 1 user
- Followed by 0 users
- Votes 0
- Subscriptions 11
Activity overview
Latest activity by Margi Shah-
Margi Shah commented,
Thanks Jaromił Najman
-
Margi Shah commented,
Hi Jaromił Najman ,Many thanks for this.I did tried to print this but it seems it is not getting printed. And yes, adding this constraint makes the model infeasible.
-
Margi Shah commented,
Hi Jaromił Najman ,So SpinningResource[res,t] should take some value. I've a code that works: (I am only mentioning the section with SpinningResource)It is as follows: #input data spinning_reserve_...
-
Margi Shah commented,
Hi Jaromił Najman ,I hope you are doing well! I've met a problem in my model and I'm not sure what is the problem.The constraint related to SpinningResource in the model are below:#Constraint 1: re...
-
Margi Shah commented,
Hi Jaromił Najman Najman,When I am trying to replace '<=' sign in the below constraint to '<', it shows me this error, why gurobi don't accept '<' sign? res = res_cat2idx['SP'][0]Spinningusage = {}...
-
Margi Shah commented,
Hi Jaromił Najman,Thank you for the response.I ran the optimisation model and when I saw the Battery power, I can see that it is continous variable rather than a discrete variable. Why so ?BatteryP...
-
Margi Shah commented,
Hi Jaromił Najman,Yes correct, I want to access BatteryPower[t].It can take any discrete value from [-3,-2,-1,0,1,2,3].How do I write it as variable?
-
Margi Shah commented,
Hi Jaromił Najman,This is how I define BatteryPower:What do you mean by 'is it only one variable?' # introduce variable BatteryPower for every timestep t BatteryPower = steel.addVars(time1, lb= -3,...
-
Margi Shah commented,
Hi Jaromił Najman,Also I am not sure why I am getting this error: initial_SoC = 0.5 Regards,Margi
-
Margi Shah commented,
Hi Jaromił Najman,Alright, That means I will need to define batterypower like below: # introduce variable BatteryPower for every timestep tBatteryPower = steel.addVars(time1, lb= -3, ub = 3, name="...