Dear Professor Zimmerman,

 

I want to add new variable and linear constraints to the OPF with reserves.
For this cause, I modified toogle_ reserves , but I have problems when the
program calculated to the new cost (compute_cost.m):

 

Inner matrix dimensions must agree.

 

Error in ==> opf_model.compute_cost at 105

f = full((w' * H * w) / 2 + Cw' * w);

 

The matrix H is define with others dimensions and this case no add the new
cost.

 

My new variables are the nodals angles, that are penalizing when not meet
inside specific range 

 

Please, you explain me the error.

 

Best Wishes

 

Santiago Chamba

 

Reply via email to