Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[DRAFT] [PSY5] Add 3W Transformer Struct #1247

Merged
merged 9 commits into from
Jan 14, 2025
Merged

Conversation

rodrigomha
Copy link
Contributor

Initial idea for 3W transformer based on PSSE.

We are not giving support to any tap voltage control (i.e. COD1 = COD2 = COD3 = 0), and we are assuming that all the data must come in system per unit. These requires the flags CW = CZ = CM = 1.

@rodrigomha rodrigomha self-assigned this Jan 10, 2025
Copy link

codecov bot commented Jan 10, 2025

Codecov Report

Attention: Patch coverage is 95.49550% with 5 lines in your changes missing coverage. Please review.

Please upload report for BASE (3WTransformer@774695e). Learn more about missing BASE report.

Files with missing lines Patch % Lines
src/parsers/power_system_table_data.jl 75.00% 3 Missing ⚠️
src/models/generated/Transformer3W.jl 97.59% 2 Missing ⚠️
Additional details and impacted files

Impacted file tree graph

@@               Coverage Diff                @@
##             3WTransformer    #1247   +/-   ##
================================================
  Coverage                 ?   84.43%           
================================================
  Files                    ?      182           
  Lines                    ?     8491           
  Branches                 ?        0           
================================================
  Hits                     ?     7169           
  Misses                   ?     1322           
  Partials                 ?        0           
Flag Coverage Δ
unittests 84.43% <95.49%> (?)

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

Files with missing lines Coverage Δ
src/PowerSystems.jl 0.00% <ø> (ø)
src/base.jl 88.96% <100.00%> (ø)
src/models/generated/Transformer3W.jl 97.59% <97.59%> (ø)
src/parsers/power_system_table_data.jl 81.89% <75.00%> (ø)

r_tertiary::Float64
x_tertiary::Float64
rating::Union{Nothing, Float64}
r_12::Float64
Copy link
Member

Choose a reason for hiding this comment

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

are these for the Y equivalent?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yes, the r_primary and those are the ones that are the equivalent, the r12 and those, are the direct params from PSSE

Copy link
Member

@jd-lara jd-lara left a comment

Choose a reason for hiding this comment

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

We need to add the code that parses the PM data into the transformer object in this PR

@jd-lara jd-lara requested a review from GabrielKS January 13, 2025 17:02
@jd-lara
Copy link
Member

jd-lara commented Jan 13, 2025

@GabrielKS can you confirm this has everything we need to export the 3W transformer as well please

@rodrigomha rodrigomha changed the base branch from main to 3WTransformer January 14, 2025 23:05
@rodrigomha rodrigomha merged commit a904648 into 3WTransformer Jan 14, 2025
8 checks passed
@jd-lara jd-lara deleted the rh/3w_xfmr branch January 17, 2025 23:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants