I am not sure if replying this mail is the right way to put my reply on the archive, but I am sorry if it is wrong. What I meant by editing the jacobian matrix is:I want to add a device whose P and Q depend on the voltage magnitude and angle. This is why I want to insert it in the jacobian and mismatch equations. But this is to be done at only one bus. This is what I do not know how to do even though I tried many times with newtonpf.m , runpf.m , and dSbus_dV.m I hope it is clear, and I hope you can answer me.Regards.
From: [email protected] Subject: Re: Editing the Jacobian Matrix Date: Mon, 25 Nov 2013 16:34:49 -0500 To: [email protected] 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 ZimmermanSenior Research AssociateB30 Warren Hall, Cornell University, Ithaca, NY 14853phone: (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.
