Have you tried simply using a different solver? It could also be a problem with
the starting point, so you might try setting the opf.init_from_mpc option to 1
and possibly even solve the power flow problem first and use it’s solution as
the starting point. E.g.
mpopt = mpoption('opf.init_from_m
Dear all,
I wanted to compare the results of the OPF with the two types of model for the
generator costs (polynomial and piecewise linear cost).
So first, I launched an OPF with polynomial cost which converged, then I
launched one with linear cost and it does not converge.
I know that my for