1.  neg_dSd_dVm is a diagonal matrix having partial derivatives (negative) of 
the load injection (Sd) w.r.t. voltage magnitude (Vm). The load is described by 
a ZIP load, Sd = alpha_p(q) + alpha_i .* Vm + alpha_z .* Vm.^2 where alpha_p, 
alpha_i, and alpha_z are the load fractions for the constant power, constant 
current, and constant impedance, respectively. By default, the load is assumed 
as a constant power load (hence neg_dSd_dVm is zero). You can change the load 
fractions via the options exp.sys_wide_zip_load.pw and exp.sys_wide_zip_load.qw 
(see mpoption) for real and reactive power, respectively.


From: <[email protected]> on behalf of Liang Chen 
<[email protected]>
Reply-To: MATPOWER discussion forum <[email protected]>
Date: Sunday, July 5, 2020 at 1:28 AM
To: "[email protected]" <[email protected]>
Subject: Two questions

Hello,

I have the following two questions and I'd appreciate some clarifications:
1.      What is the `neg_dSd_dVm` variable in newtonpf.m (at the top of the 
while loop, constructing the J part) do? With `runpf(case30)` it's a zero 
matrix, and I'm not sure physically what it is supposed to mean.
2.      I'm in the process of porting some of the power flow code to another 
language (with a fair amount of change, but the main blocks e.g., in newtonpf.m 
were largely the same other than the syntax differences). I was hoping to put 
it on Github for people to use, and certainly for myself to use in my research 
later on. What would I need to include in my LICENSE file to acknowledge the 
contribution of Matpower, other than a copy of Matpower's LICENSE file from 
Github? Would I have to stick with the 3-clause BSD license?
Thank you very much,

Liangjie

Reply via email to