1) I’m not sure I understand your example … the power flow equations already
take care of matching load and generation, so a user constraint doing the same
thing would be redundant. In any case, the A matrix columns must correspond the
optimization variable x, which is defined in the manual
<http://www.pserc.cornell.edu/matpower/docs/MATPOWER-manual-5.1.pdf> in (6.5)
or (6.14), for AC and DC OPF problems, respectively.
2) There are multiple ways to model renewables … as zero-cost generation, as
fixed injections (negative load), etc.
Hope this helps,
Ray
> On Aug 7, 2015, at 2:52 PM, Jun Hao <[email protected]> wrote:
>
> Dear Professor:
>
> I am a Matpower beginner. I have read some of the emails in Email Archive.
> And I've learned a lot from those email. But I still have some questions to
> ask.
> 1) There is not a lot description about matrix A in 6.3.2 user-defined
> constraints. Could you please give me a further description about building
> matrix A. Assume there is a 16 buses system with 6 generations and I want to
> add one constraint to ensure that power generation equals to the loads.
> 2) By far, dispatchable loads is the only way to simulate renewable energy?
>
> Thank you very much.
>
> Best,
> Jun Hao