So, the issue is that the case is infeasible. From looking at the code, I don’t see how mdo.results.success can be true in that case. You may want to check that again.
I suggest you try relaxing various constraints until you find the one causing the problem. And if you haven’t already, make sure you can solve a simple DC OPF successfully on the cases for each individual period. Hope this helps, Ray On Jun 17, 2021, at 2:07 PM, MALIHA SHAH <[email protected]<mailto:[email protected]>> wrote: These are : -4 12 11 respectively. The exitflag apears to be -4, when i gone through debugging. Here is the code, you can check above values. ________________________________ From: [email protected]<mailto:[email protected]> <[email protected]<mailto:[email protected]>> on behalf of Ray Daniel Zimmerman <[email protected]<mailto:[email protected]>> Sent: Thursday, 17 June 2021 7:42 PM To: MATPOWER-L <[email protected]<mailto:[email protected]>> Subject: Re: mdo Summary error What are the values of the following? mdo.QP.exitflag mdo.idx.nt mdo.idx.ntramp I’m just looking into the most() code to look for a reason this field may not be assigned. Feel free to do your own similar debugging to find the problem. The only way I can see that it’s possible for a multi period problem is if mdo.QP.exitflag is less than or equal to 0. - Ray On Jun 17, 2021, at 7:39 AM, MALIHA SHAH <[email protected]<mailto:[email protected]>> wrote: yeah I have checked it by the command you mentioned but still the error is occurring. In the command window after the calling solver, it displays : Gurobi Version 9.1.2 -- automatic MILP solver ============================================================================ - MOST: MILP solver 'GUROBI' failed with exit flag = -4 - Post-processing results. Reference to non-existent field 'Rrp'. Error in most_summary (line 62) Rup = [zeros(ng, 1) mdo.results.Rrp]; Error in Ex_1_case__30_windthree (line 40) most_summary(mdo); - MOST: Done. ________________________________ From: [email protected]<mailto:[email protected]> <[email protected]<mailto:[email protected]>> on behalf of Ray Daniel Zimmerman <[email protected]<mailto:[email protected]>> Sent: Thursday, 17 June 2021 1:15 AM To: MATPOWER-L <[email protected]<mailto:[email protected]>> Subject: Re: mdo Summary error Have you confirmed that the case solved correctly by checking mdo.results.success? That seems the most likely cause for non-existence of the mdo.results.Rrp field. Ray On Jun 16, 2021, at 9:39 AM, MALIHA SHAH <[email protected]<mailto:[email protected]>> wrote: ________________________________ From: MALIHA SHAH Sent: Wednesday, 16 June 2021 7:33 PM To: [email protected]<mailto:[email protected]> <[email protected]<mailto:[email protected]>>; [email protected]<mailto:[email protected]> <[email protected]<mailto:[email protected]>> Subject: mdo Summary error Respected Ray, when I run the file(of wind generators into 30 bus ) I get probably the deterministic results of the case(refer to the pictures attached). I think when most_summary command is unable, then it gives such results but when I enable ms=most_summary, I get error as following: Reference to non-existent field 'Rrp'. Error in most_summary (line 62) Rup = [zeros(ng, 1) mdo.results.Rrp]; Error in most_ex7_suc_edit (line 101) ms = most_summary(mdo); ) How can I remove this error? Thanking you in advance. Maliha <3wind into 30 case.JPG><cont..results.JPG><results.JPG><Ex_1_case__30_windthree.m> <Ex_1_case__30_windthree.m>
