Thank you so much Dr. Ray. I really appreciate your help. On Tue, 14 Dec 2021 at 22:22, Ray Daniel Zimmerman <[email protected]> wrote:
> Yes, I should have mentioned MPNG <https://github.com/MATPOWER/mpng> as > an option for your problem. > > If none of the solvers are able to converge, you may very well have a > problem with feasibility of your problem. If so, you might try relaxing > some constraints until you achieve convergence, they gradually tightening > up the constraints again until you can discover what is causing the > infeasibility. > > Ray > > > On Dec 13, 2021, at 4:22 PM, Ahmad Bariq Al Fahri <[email protected]> > wrote: > > Thank you Sir for the response. I tried to add new variables as well as > linear and nonlinear constraints. Modifications were made by increasing the > matrix dimension and putting the additional equality and inequality as well > as its derivatives (g, h, dg, dh, d2G, d2H). But, I did not get the > convergence result as it showed an error. I will try the Matpower Natural > Gas (MPNG) suggested by Wilson to solve this problem. > > I supposed that this problem can be solved using the IPOPT solver since > MPNG also faces the same convergency problem when running on MIPS or > FMINCON. Thank you > > *Ahmad Bariq Al Fahri* > Department of Electrical Engineering > Sepuluh Nopember Institute of Technology > > On Mon, 13 Dec 2021 at 22:37, Ray Daniel Zimmerman <[email protected]> > wrote: > >> In order to help, we’ll need more information. Such as, what is the form >> of the additions you are making to the MATPOWER formulation? New variables? >> Linear and/or nonlinear constraints? New costs? And how are you trying to >> do the modifications? >> >> But first, let me strongly suggest using the latest MATPOWER (7.1) as >> opposed to 5.0 which was released 7 years ago. Version 7.1 does include >> user customization mechanisms for adding nonlinear constraints to the >> problem. >> >> Ray >> >> On Dec 11, 2021, at 1:08 AM, Ahmad Bariq Al Fahri <[email protected]> >> wrote: >> >> Dear respected developer, >> >> I am Ahmad, currently doing research on Optimal Power and Gas Flow >> (OPGF). I tried to merge the electrical power system with the gas system to >> obtain the optimal power and gas flow. But, I face some problems when I >> concatenated the equality and inequality matrix (g, h, dg, dh, d2G, d2H). I >> have already added the optimization variable and built the aforesaid matrix >> as well as its derivatives. But, when I run the program it shows >> "Numerically Failed" and "Did not converge in 10 iterations.". Could you >> help me to explain what other steps that I need to do if I want to modify >> Matpower? >> >> Thank you in advance. >> >> *Simulation conducted in Matpower 5.0 >> *OPF calculation performed using MIPS >> >> >> Regard >> *Ahmad Bariq Al Fahri* >> Department of Electrical Engineering >> Sepuluh Nopember Institute of Technology >> LinkedIn <https://www.linkedin.com/in/alfahri/> >> >> >> >
