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

Add 2t line physical model #1205

Open
wants to merge 10 commits into
base: main
Choose a base branch
from
Open

Add 2t line physical model #1205

wants to merge 10 commits into from

Conversation

rodrigomha
Copy link
Contributor

@rodrigomha rodrigomha commented Oct 21, 2024

No description provided.

@rodrigomha rodrigomha requested a review from jd-lara October 21, 2024 23:48
@rodrigomha rodrigomha self-assigned this Oct 21, 2024
Copy link

codecov bot commented Oct 22, 2024

Codecov Report

Attention: Patch coverage is 94.87179% with 2 lines in your changes missing coverage. Please review.

Project coverage is 84.34%. Comparing base (2d4b336) to head (9409259).
Report is 2 commits behind head on main.

Files with missing lines Patch % Lines
src/models/generated/TwoTerminalVSCLine.jl 94.87% 2 Missing ⚠️
Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##             main    #1205      +/-   ##
==========================================
+ Coverage   84.29%   84.34%   +0.04%     
==========================================
  Files         181      182       +1     
  Lines        8391     8430      +39     
==========================================
+ Hits         7073     7110      +37     
- Misses       1318     1320       +2     
Flag Coverage Δ
unittests 84.34% <94.87%> (+0.04%) ⬆️

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/models/generated/TwoTerminalVSCLine.jl 94.87% <94.87%> (ø)

@rodrigomha rodrigomha marked this pull request as ready for review November 4, 2024 23:53
@rodrigomha
Copy link
Contributor Author

@jd-lara this is ready for review

@rodrigomha rodrigomha changed the title [WIP] Add 2t line physical model Add 2t line physical model Nov 4, 2024
#! format: off

"""
mutable struct TwoTerminalHVDCDetailedLine <: ACBranch
Copy link
Member

Choose a reason for hiding this comment

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

Why not re-use the VSC existing structure?

@@ -35,6 +35,7 @@ export MonitoredLine
export DCBranch
export TwoTerminalHVDCLine
export TwoTerminalVSCDCLine
Copy link
Member

Choose a reason for hiding this comment

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

Add a comment that this will be dropped in PSY 5.0 please.

@rodrigomha
Copy link
Contributor Author

This is ready for review @jd-lara
We need to merge this to get testing passing in our PSI branch of 2T physical models.

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.

2 participants