You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Due to the need of project, I used GAMS to write DCOPF formulation by myself, which includes FOM, VOM, fuel cost, branch flow based on b* angle_diff (branch flows are constrained by their capacities) and power balance equations at each bus. For some unknown reasons, I never get a same result as matpower, which I believe is the correct solution. In addition, I notice the bus angle solved in GAMS version DCOPF can have some super large value for those uncapacitated branches, whose capacities are set by 9999MW. I am curious if you have any thoughts which might be the cause. Many thanks in advance!
Best,
Yanda
The text was updated successfully, but these errors were encountered:
Is it possible that your units are not consistent? MATPOWER converts all angles to radians and all power flows to p.u. with the b parameters also in p.u. That would be my first guess.
Thank you so much for your prompt response. I followed your advice last night and discovered an error in the SBase value, which I have now corrected. However, even after fixing it, I noticed that the bus angles from the DCOPF solution in my GAMS code still differ from the corresponding values solved in MATPOWER. This discrepancy has left me quite puzzled.
May I ask a quick question? In MATPOWER's DCOPF, are all branch flows guaranteed to be strictly within their capacity limits?
I noticed one branch in MATPOWER's DCOPF results has a flow exceeding its capacity. And the number of such branches is even higher in the DCOPF results solved using GAMS.
For a successful solution all branch flows are guaranteed to be strictly within their capacity limits. It is important, however, to check the value of results.success. If it is 0, then it was unsuccessful and the rest of the results are meaningless.
Hi Dr. Zimmerman,
Due to the need of project, I used GAMS to write DCOPF formulation by myself, which includes FOM, VOM, fuel cost, branch flow based on b* angle_diff (branch flows are constrained by their capacities) and power balance equations at each bus. For some unknown reasons, I never get a same result as matpower, which I believe is the correct solution. In addition, I notice the bus angle solved in GAMS version DCOPF can have some super large value for those uncapacitated branches, whose capacities are set by 9999MW. I am curious if you have any thoughts which might be the cause. Many thanks in advance!
Best,
Yanda
The text was updated successfully, but these errors were encountered: