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]<mailto:[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/>
