MATPOWER / matpower

MATPOWER – steady state power flow simulation and optimization for MATLAB and Octave
https://matpower.org
Other
426 stars 151 forks source link

DCOPF didn't converge #151

Closed yanda1234 closed 1 year ago

yanda1234 commented 2 years ago

I built a power flow case based on a promod file data, but while running DCOPF onto it, I encountered error as below. What made me confused was I have already relaxed branches' constraints and the max capacity is enough to satisfy system load. What might be the reason for the problem? Kindly advise. Many thanks.

a=rundcopf('no_island_major_study_system.m');

MATPOWER Version 7.0, 20-Jun-2019 -- DC Optimal Power Flow Error: basis matrix is singular to working precision (cond = 8.84e+18) glp_simplex: unable to recover undefined or non-optimal solution

Did NOT converge (7.65 seconds) <<<<<

image image image image

rdzman commented 2 years ago

Have you checked to make sure there are no branches with zero or near-zero reactance?

Which solver are you using?

I don't recognize the error message or the function that is throwing the error (glp_simplex).

yanda1234 commented 1 year ago

You are right. The problem is in the branch impedance. Some data are weird. Thanks, Dr. Zimmerman.