Thank you Dr.Zimmerman. I appreciate that.

Regards

Abd

On Tue, Dec 14, 2021 at 10:14 AM Ray Daniel Zimmerman <r...@cornell.edu>
wrote:

> The example I gave applies the soft limits to everything and is the
> simplest. I find that helpful in case it is another limit that is causing
> infeasibility. Typically, you won’t see a constraint overload unless it is
> required for feasibility.
>
> However, if you do want to relax only the line flow limits you can do it
> with …
>
> mpopt = mpoption('opf.softlims.default', 0);
> mpc = loadcase(<mycase>);
> mpc = toggle_softlims(mpc, 'on’);
> mpc.softlims.RATE_A = struct();
> r = runopf(mpc, mpopt);
>
>     Ray
>
>
> On Dec 13, 2021, at 2:50 PM, Abdelrahman Aldik <aal...@ryerson.ca> wrote:
>
> Thank you for your answer Dr.Zimmerman. Does this function have the
> ability to apply the soft limits only on the apparent power flow limit
> constraints? Or does it apply all soft limits on all constraints?
>
> Regards
>
> On Mon, Dec 13, 2021 at 10:43 AM Ray Daniel Zimmerman <r...@cornell.edu>
> wrote:
>
>> I would probably use MATPOWER’s OPF soft limit capability to see which
>> constraints are violated.
>>
>> mpopt = mpoption();
>> mpc = loadcase(<mycase>);
>> mpc = toggle_softlims(mpc, 'on');
>> r = runopf(mpc, mpopt);
>>
>> See Section 7.6.4 in the MATPOWER User’s Manual
>> <https://matpower.org/docs/MATPOWER-manual-7.1.pdf> for more details.
>>
>>    Ray
>>
>>
>> On Dec 12, 2021, at 12:47 PM, Abdelrahman Aldik <aal...@ryerson.ca>
>> wrote:
>>
>> Dear All
>>
>> If a system's feasibility was checked using the "runopf" function of
>> Matpower and was found to be unfeasible. How can I utilize Matpower in
>> order to analyze the feasibility of the system? (In other words, can I use
>> Matpower to know which constraints were violated?). I'm trying to create a
>> feasibility analysis for a transmission expansion problem of a system so I
>> would appreciate your feedback in this regard.
>>
>> Regards
>>
>> --
>>
>>
>>
>>
>> *Abdelrahman Aldik PhD Candidate Department of Electrical and Computer
>> Engineering and Centre of Urban Energy Ryerson University CUI-030, 44
>> Gerrard Street East, Toronto, ON, Canada*
>> *Email: aal...@ryerson.ca <aal...@ryerson.ca>*
>>
>>
>>
>
> --
>
>
>
>
> *Abdelrahman Aldik PhD Candidate Department of Electrical and Computer
> Engineering and Centre of Urban Energy Ryerson University CUI-030, 44
> Gerrard Street East, Toronto, ON, Canada*
> *Email: aal...@ryerson.ca <aal...@ryerson.ca>*
>
>
>

-- 




*Abdelrahman AldikPhD Candidate Department of Electrical and Computer
Engineering and Centre of Urban Energy Ryerson University CUI-030, 44
Gerrard Street East, Toronto, ON, Canada*
*Email: aal...@ryerson.ca <aal...@ryerson.ca>*

Reply via email to