Dear All, I hope this note finds you well. I need to run optimal power flow (both DC and AC) while the input values for phase angles and voltage magnitudes are manipulated. In other words, how could I run OPF with desired values of phase angles and voltage magnitudes? I know that I should change the values on the way and in the middle of code but I wasn't able to find the right place in MATPOWER.
I would be so grateful if you could, please, help me in this regard. Thank you for your time and consideration. Kind regards, Arkan
