There is an example of adding constraints by direct specification in the OPF test files, for example see t_opf_default.m starting at line 229 <https://github.com/MATPOWER/matpower/blob/7841457957251b3135bd3a534bbc171ae672957a/lib/t/t_opf_default.m#L229>.
Ray > On Jan 30, 2019, at 2:55 PM, Meraj Fouad <[email protected]> wrote: > > Hello Dear > > I also want to add some constraints related with renewable energy in the > master OPF problem. Help needed in this regards. > > Best regards > Fouad Hasan > > On Tue, Jan 29, 2019 at 4:20 AM Pranami Kuldip <[email protected] > <mailto:[email protected]>> wrote: > Dear Sir, > > I had gone through this MATPOWER 7.0b1. section 6.3.2 and chapter 7. > > Is there any example of adding constraints using direct specification? > because I cannot set with callback functions. > I want to add a non-linear constraint using Direct Specification. > If it is possible to help me with a small example then it is very helpful. > > thank you. > > On Fri, Jan 18, 2019 at 1:50 AM Ray Zimmerman <[email protected] > <mailto:[email protected]>> wrote: > No. Check out the “System Requirements” section of the User’s Manual > <http://www.pserc.cornell.edu/matpower/docs/MATPOWER-manual-7.0b1.pdf> or the > README <https://github.com/MATPOWER/matpower/>. > > MATLAB R2006b or later should be just fine, though very old versions are not > extensively tested. > > Ray > > >> On Jan 16, 2019, at 9:26 PM, Pranami Kuldip <[email protected] >> <mailto:[email protected]>> wrote: >> >> Is it necessary to install MATLAB 2018 for MATPOWER 7.0b1? >> >> On Fri, 11 Jan 2019, 7:51 am Ray Zimmerman, <[email protected] >> <mailto:[email protected]>> wrote: >> Have a look at the section on User-defined Constraints in section 6.3.2 and >> Chapter 7 of the User’s Manual for MATPOWER 7.0b1 >> <http://www.pserc.cornell.edu/matpower/docs/MATPOWER-manual-7.0b1.pdf>. >> >> Ray >> >> >>> On Jan 7, 2019, at 5:46 AM, Pranami Kuldip <[email protected] >>> <mailto:[email protected]>> wrote: >>> >>> Hello sir, >>> >>> currently, I am working on optimal power flow with additional voltage >>> stability constraint. >>> so for this, I have a function for calculating voltage stability index. >>> >>> Now, is it possible to add this extra variable to OPF as a constraint? >>> please guide me for how can I start my work with manpower. >>> >>> thank you. >> >
