MATPOWER / MATPOWER/matpower

[question] AC sensitivity analysis

Open
#246 6 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
MATLAB
Stars
592
Forks
184
PR merge metrics
No merged PRs in 30d

Description

@rdzman In this comment you shared the makePTDFac.m function. First of all, thanks for that, it really is what I'm looking for! But I have some questions about it:

  1. Why isn't the function makePTDFac part of the official distribution? I came across this issue by pure luck as I was looking for ways to analyze sensitivity. Do you have any reservations about the function?
  2. Im a bit confused about the resulting two (block)matrices. Is the following interpretation of the first one correct?
    (Ignoring slack just for simplicity)
H^f 
= B^f (B^{bus})^{\ -1}
= B^f J^{\ -1}
=
\left[ 
\begin{array}{c|c} 
  \frac{\delta P_{ij}}{\delta P_{i}} & \frac{\delta P_{ij}}{\delta Q_{i}} \\ 
  \hline 
  \frac{\delta Q_{ij}}{\delta P_{i}} & \frac{\delta Q_{ij}}{\delta Q_{i}}
\end{array} 
\right] 
  1. Do you have any detailed explanation of the calculation? The math behind it is not entirely clear to me.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the linked issue comment and the shared makePTDFac.m function, then review how AC sensitivity analysis is represented in the MATPOWER distribution. Resolve whether the function belongs in the official distribution and provide a detailed explanation of the two block matrices and their calculation.

Written by the indexing model from the issue text.

Assessment

Tech stack
matlab
Domain
documentation
Issue type
Documentation
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.