I'm attaching a structured script I wrote some time ago for carrying out
N-1 contingency analysis. You may use it as a guide, but I'm sure you will
need to make changes in order to adapt it to your specific needs (in
particular, the metrics I compute were very specific of the analysis I was
doing).  I only included branches, but it's easy to include other elements.

As Ray said, you've got to be careful with islanding (also beware of
possible changes in the swing bus, because of that).

-- 
Jose L. Marin
Grupo AIA



2016-07-05 18:36 GMT+02:00 Haroon Malik <haroonmalik2...@hotmail.com>:

> Thank you very much for your response.
>
>
>
>
>
>
> -------- Original message --------
> From: Ray Zimmerman <r...@cornell.edu>
> Date: 05/07/2016 5:10 p.m. (GMT+00:00)
> To: MATPOWER Discussion List <matpower-l@cornell.edu>
> Subject: Re: Performing N-1 contingency analysis
>
> MATPOWER does not automatically handle contingency analysis, so you will
> have to handle it yourself by removing generators and branches from the
> network one at a time by setting GEN_STATUS and BR_STATUS to zero. Keep
> in mind that you can create islands or isolated buses by taking branches
> out of service. The case_info()
> <http://www.pserc.cornell.edu/matpower/docs/ref/matpower6.0b1/case_info.html>
>  and find_islands()
> <http://www.pserc.cornell.edu/matpower/docs/ref/matpower6.0b1/find_islands.html>
>  can
> helpful with detecting such cases.
>
>    Ray
>
> On Jul 3, 2016, at 7:57 AM, Haroon Malik <haroonmalik2...@hotmail.com>
> wrote:
>
>  Hello Dr. Zimmerman,
>
> I would want to perform a N-1 contingency analysis on the 118 bus system.
> What is the steps or procedure of applying such analysis using MATPOWER.
>
>
> Many thanks for your time,
>
>
> Mohammad Haroon Malik
>
>
>

Attachment: rank_contingencies.m
Description: application/vnd.wolfram.mathematica.package

Reply via email to