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 is_component_in_aggregation_topology #1146

Merged
merged 1 commit into from
Jul 9, 2024

Conversation

GabrielKS
Copy link
Collaborator

For PowerAnalytics/ComponentSelector-related reasons, it is useful to be able to test whether a given Component is within a given AggregationTopology without having a reference to the relevant System. This exposes that functionality. I also made the existing get_component_in_aggregation_topology test more thorough.

@GabrielKS GabrielKS requested a review from daniel-thom July 7, 2024 20:59
@GabrielKS GabrielKS self-assigned this Jul 7, 2024
Copy link

codecov bot commented Jul 7, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 84.61%. Comparing base (c40ec43) to head (a8708c2).
Report is 2 commits behind head on main.

Additional details and impacted files

Impacted file tree graph

@@           Coverage Diff           @@
##             main    #1146   +/-   ##
=======================================
  Coverage   84.60%   84.61%           
=======================================
  Files         177      177           
  Lines        8108     8111    +3     
=======================================
+ Hits         6860     6863    +3     
  Misses       1248     1248           
Flag Coverage Δ
unittests 84.61% <100.00%> (+<0.01%) ⬆️

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

Files Coverage Δ
src/PowerSystems.jl 100.00% <ø> (ø)
src/base.jl 89.32% <100.00%> (+0.03%) ⬆️

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.

@rodrigomha this would be useful later for the NTP EI repository

@jd-lara jd-lara merged commit 184fc9a into main Jul 9, 2024
11 checks passed
@jd-lara jd-lara deleted the gks/refactor_aggregation_topology branch July 9, 2024 17:33
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