NREL-Sienna / InfrastructureSystems.jl

Utility package for Sienna's simulation infrastructure
https://nrel-sienna.github.io/InfrastructureSystems.jl/
BSD 3-Clause "New" or "Revised" License
39 stars 20 forks source link

Add support for masked components #220

Closed daniel-thom closed 3 years ago

daniel-thom commented 3 years ago

This PR enables full support of HybridSystems in PowerSystems. PowerSystems code will "mask" all subcomponents in a HybridSystem. Those subcomponents will still be managed by the system but will not be exposed in functions like get_components.

codecov[bot] commented 3 years ago

Codecov Report

Merging #220 (f93da1a) into master (0677228) will decrease coverage by 0.01%. The diff coverage is 81.57%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #220      +/-   ##
==========================================
- Coverage   74.89%   74.87%   -0.02%     
==========================================
  Files          42       42              
  Lines        3019     3041      +22     
==========================================
+ Hits         2261     2277      +16     
- Misses        758      764       +6     
Flag Coverage Δ
unittests 74.87% <81.57%> (-0.02%) :arrow_down:

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

Impacted Files Coverage Δ
src/hdf5_time_series_storage.jl 93.97% <66.66%> (-0.31%) :arrow_down:
src/system_data.jl 86.20% <77.77%> (-1.59%) :arrow_down:
src/components.jl 89.65% <100.00%> (+2.15%) :arrow_up:
src/utils/utils.jl 60.33% <0.00%> (-0.43%) :arrow_down:
src/utils/lazy_dict_from_iterator.jl 96.15% <0.00%> (-0.15%) :arrow_down: