Skip to content

Conversation

@jd-lara
Copy link
Member

@jd-lara jd-lara commented Nov 5, 2025

@jd-lara jd-lara requested a review from m-bossart November 5, 2025 14:08
@codecov
Copy link

codecov bot commented Nov 5, 2025

Codecov Report

❌ Patch coverage is 0% with 19 lines in your changes missing coverage. Please review.
✅ Project coverage is 83.60%. Comparing base (05c9b1f) to head (d761dbe).
⚠️ Report is 2 commits behind head on main.

Files with missing lines Patch % Lines
src/models/supplemental_accessors.jl 0.00% 19 Missing ⚠️
Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##             main    #1574      +/-   ##
==========================================
- Coverage   83.76%   83.60%   -0.16%     
==========================================
  Files         200      200              
  Lines       10186    10205      +19     
==========================================
  Hits         8532     8532              
- Misses       1654     1673      +19     
Flag Coverage Δ
unittests 83.60% <0.00%> (-0.16%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

Files with missing lines Coverage Δ
src/models/supplemental_accessors.jl 21.00% <0.00%> (-4.93%) ⬇️
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

(for each of the 3 branches) accounting for turns ratios.
For each winding, the series admittance is calculated following the same pattern as the susceptance calculation:
Yi = 1/(turns_ratio_i * (Ri + jXi)).
The phase shift angles affect the admittance matrix construction but not the series impedance magnitudes directly.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

"The phase shift angles affect the admittance matrix construction but not the series admittance values directly."

For a phase-shifting transformer, the series admittance is calculated as the inverse of the
complex impedance modified by the tap ratio, following the same pattern as the susceptance calculation:
Y = 1/(tap * (R + jX)).
The phase angle α affects the admittance matrix construction but not the series impedance magnitude directly.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

"The phase angle α affects the admittance matrix construction but not the series admittance value directly."

@m-bossart
Copy link
Contributor

Two suggestions on the wording of the docstrings, otherwise looks good

@jd-lara
Copy link
Member Author

jd-lara commented Nov 11, 2025

@m-bossart I'll keep it open until we are sure of the equations

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants