I’m not sure I understand what you want to do. If you mean that you simply want to modify the fixed net real and reactive power injections at a given bus, you can do this simply by changing the values in the PD and QD columns in the bus matrix. If you mean that you want to model some new devices whose P and Q depend on other variables (e.g. bus voltage), then you will need to get into the code, and anything is possible depending how deep you want to get. Have a look at newtonpf.m to get started.
-- Ray Zimmerman Senior Research Associate B30 Warren Hall, Cornell University, Ithaca, NY 14853 phone: (607) 255-9645 On Nov 22, 2013, at 5:29 PM, hussein Adel <[email protected]> wrote: > I want to add components on the 14 bus system that exists in MATPOWER. The > problem is that inquires me to add P&Q at specific two buses. The addition of > those P&Q has to be done at the jacobian matrix and the mismatch equations > directly. It is so unclear for me how to add components at specific buses on > the jacobian matrix or the mismatch equations in matpower. > It seems to me like it is done as a whole and I cant make a change at a > specific bus alone in the matrix. > Any help is appreciated.
