Re: CPF termination

2017-05-10 Thread Ahmad Sadiq Abubakar
Hi Shrirang, Thanks once again. Yes, I will be honoured to contribute my codes to matpower once it's ready. To implement my written event function for cpf termination, (e.g. cpf_Vlimit_event or cpf_Llimit_event) does each of these need a separate callback function? Alternatively, I thought of

Re: CPF termination

2017-05-10 Thread Abhyankar, Shrirang G.
Hi Ahmad, If you are referring to cpf_default_callback.m then NO, you do need to modify it. The callback function(s) are basically “post-step” that do not alter the cpf. They are meant to be used for tracking system states for logging, visualization, or other similar needs. Would you be

Re: Asymmetrical transmission line limits

2017-05-10 Thread Carlos E Murillo-Sanchez
You can get an approximation to this on the active power flow using the angular difference limits in specified in the branch table.  Columns ANGMAX and ANGMIN tell the opf solver to implement ANGMIN  <=  \theta_f - \theta_t  <=  ANGMAX Carlos.

Asymmetrical transmission line limits

2017-05-10 Thread Stalinski, Danisz
Hello, I was working on an OPF problem with MATPOWER where I was trying to set asymmetrical limits on the transmission lines between nodes. E.g. For a transmission line between two buses, A and B, I was hoping to set the transmission limit from A to B as some value x, and the transmission

Re: CPF termination

2017-05-10 Thread Ahmad Sadiq Abubakar
Hi Shrirang, Thank you for the insight. I try to use cpf_target_lam_event as template, do I also need to write a callback function for my Vlimts and Llimits event? or modify the default callback function for cpf termination? Kindly excuse my too basic questions, I am novice in coding. In