Fix short-circuit source impedance scaling - #1547
Conversation
|
Thanks @shin4141 We shall review the implementation and the modified tests soon. |
|
Hello @shin4141, We reviewed the implementation and noticed only minor changes to be made. Do you wish to continue and finalize your contribution? We are happy to help if needed. |
Signed-off-by: Shin <128954611+shin4141@users.noreply.github.com>
|
Thanks for following up. Yes, I would like to continue and finalize the contribution. I have addressed the three review comments:
I also updated the existing short-circuit unit-test expectations to use Z(c) = c * Z. I independently checked all 14 affected/adjacent SC expected files with the unmodified The code-identical integrated tree passed the focused regression (6/6 assertions), math The independent reference covered 632 scenarios and 74,138 expected numeric values. |
|
Hello, After your September 10 invitation to finalize this contribution, I addressed all three review comments and completed the additional verification described above. I noticed that the Could you clarify what is blocking the PR and whether any further action is needed from me, or whether it is waiting on an internal review or CI step? I understand that completing requested changes does not guarantee a merge. However, after being asked to resume the work and investing time in the revisions and validation, a brief explanation of the hold would help me understand the next step and plan my time. Thank you. |
There was a problem hiding this comment.
Hi @shin4141 , the do-not-merge is sort of an inter-maintainer communication label. In this specific case, The label was added to communicate pending review despite of passing CI.
We definitely intend to merge this. The bugfix is a valuable contribution. Apologies if there was any miscommunication.
I am done with that review now.
51ea77c
Fixes #1352
Changes proposed in this PR include
skbased on the connected node's rated voltage and carry an SC-only per-source admittance factor of1/cfrom short-circuit input preparation.c=0.95,c=1.0, andc=1.1, and update the 13 directly affected short-circuit golden files. Their JSON structure and non-numeric content are unchanged; the semantic changes are numeric SC results only.Local verification: focused property 6/6 assertions; all single/batch short-circuit validation 16,239/16,239 assertions; power-flow/state-estimation single/batch counterchecks 12,385/12,385 assertions; full configured CTest 198/198 tests; clang-format and
git diff --checkpass.Not run locally: Python pytest/coverage, Linux/Windows compiler matrices, sanitizers, full clang-tidy, or upstream CI.
Could you please pay extra attention to the points below when reviewing the PR
c=0.95) is handled per source, while existing internal solver inputs can retain a neutral scaling of 1.0.Checks
Assisted-by: OpenAI Codex (repository analysis, implementation, test design, and local verification).