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
35 stars 20 forks source link

Optimize performance of adding many time series at once #381

Closed daniel-thom closed 1 week ago

daniel-thom commented 2 weeks ago
codecov[bot] commented 2 weeks ago

Codecov Report

Attention: Patch coverage is 95.15419% with 22 lines in your changes missing coverage. Please review.

Project coverage is 77.73%. Comparing base (7f38ea4) to head (fcfe2c1).

Additional details and impacted files [![Impacted file tree graph](https://app.codecov.io/gh/NREL-Sienna/InfrastructureSystems.jl/pull/381/graphs/tree.svg?width=650&height=150&src=pr&token=I73yjxYxgn&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=NREL-Sienna)](https://app.codecov.io/gh/NREL-Sienna/InfrastructureSystems.jl/pull/381?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=NREL-Sienna) ```diff @@ Coverage Diff @@ ## main #381 +/- ## ========================================== + Coverage 77.42% 77.73% +0.30% ========================================== Files 66 68 +2 Lines 5099 5295 +196 ========================================== + Hits 3948 4116 +168 - Misses 1151 1179 +28 ``` | [Flag](https://app.codecov.io/gh/NREL-Sienna/InfrastructureSystems.jl/pull/381/flags?src=pr&el=flags&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=NREL-Sienna) | Coverage Δ | | |---|---|---| | [unittests](https://app.codecov.io/gh/NREL-Sienna/InfrastructureSystems.jl/pull/381/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=NREL-Sienna) | `77.73% <95.15%> (+0.30%)` | :arrow_up: | Flags with carried forward coverage won't be shown. [Click here](https://docs.codecov.io/docs/carryforward-flags?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=NREL-Sienna#carryforward-flags-in-the-pull-request-comment) to find out more. | [Files](https://app.codecov.io/gh/NREL-Sienna/InfrastructureSystems.jl/pull/381?dropdown=coverage&src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=NREL-Sienna) | Coverage Δ | | |---|---|---| | [src/InfrastructureSystems.jl](https://app.codecov.io/gh/NREL-Sienna/InfrastructureSystems.jl/pull/381?src=pr&el=tree&filepath=src%2FInfrastructureSystems.jl&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=NREL-Sienna#diff-c3JjL0luZnJhc3RydWN0dXJlU3lzdGVtcy5qbA==) | `90.00% <ø> (ø)` | | | [src/abstract\_time\_series.jl](https://app.codecov.io/gh/NREL-Sienna/InfrastructureSystems.jl/pull/381?src=pr&el=tree&filepath=src%2Fabstract_time_series.jl&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=NREL-Sienna#diff-c3JjL2Fic3RyYWN0X3RpbWVfc2VyaWVzLmps) | `93.75% <100.00%> (+4.86%)` | :arrow_up: | | [src/deterministic.jl](https://app.codecov.io/gh/NREL-Sienna/InfrastructureSystems.jl/pull/381?src=pr&el=tree&filepath=src%2Fdeterministic.jl&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=NREL-Sienna#diff-c3JjL2RldGVybWluaXN0aWMuamw=) | `69.01% <100.00%> (+1.36%)` | :arrow_up: | | [src/deterministic\_single\_time\_series.jl](https://app.codecov.io/gh/NREL-Sienna/InfrastructureSystems.jl/pull/381?src=pr&el=tree&filepath=src%2Fdeterministic_single_time_series.jl&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=NREL-Sienna#diff-c3JjL2RldGVybWluaXN0aWNfc2luZ2xlX3RpbWVfc2VyaWVzLmps) | `79.03% <100.00%> (+0.34%)` | :arrow_up: | | [src/probabilistic.jl](https://app.codecov.io/gh/NREL-Sienna/InfrastructureSystems.jl/pull/381?src=pr&el=tree&filepath=src%2Fprobabilistic.jl&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=NREL-Sienna#diff-c3JjL3Byb2JhYmlsaXN0aWMuamw=) | `82.25% <100.00%> (+0.90%)` | :arrow_up: | | [src/scenarios.jl](https://app.codecov.io/gh/NREL-Sienna/InfrastructureSystems.jl/pull/381?src=pr&el=tree&filepath=src%2Fscenarios.jl&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=NREL-Sienna#diff-c3JjL3NjZW5hcmlvcy5qbA==) | `85.71% <100.00%> (+0.80%)` | :arrow_up: | | [src/single\_time\_series.jl](https://app.codecov.io/gh/NREL-Sienna/InfrastructureSystems.jl/pull/381?src=pr&el=tree&filepath=src%2Fsingle_time_series.jl&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=NREL-Sienna#diff-c3JjL3NpbmdsZV90aW1lX3Nlcmllcy5qbA==) | `70.64% <100.00%> (+2.64%)` | :arrow_up: | | [src/supplemental\_attribute\_associations.jl](https://app.codecov.io/gh/NREL-Sienna/InfrastructureSystems.jl/pull/381?src=pr&el=tree&filepath=src%2Fsupplemental_attribute_associations.jl&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=NREL-Sienna#diff-c3JjL3N1cHBsZW1lbnRhbF9hdHRyaWJ1dGVfYXNzb2NpYXRpb25zLmps) | `93.24% <100.00%> (+0.43%)` | :arrow_up: | | [src/time\_series\_cache.jl](https://app.codecov.io/gh/NREL-Sienna/InfrastructureSystems.jl/pull/381?src=pr&el=tree&filepath=src%2Ftime_series_cache.jl&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=NREL-Sienna#diff-c3JjL3RpbWVfc2VyaWVzX2NhY2hlLmps) | `90.96% <100.00%> (ø)` | | | [src/time\_series\_interface.jl](https://app.codecov.io/gh/NREL-Sienna/InfrastructureSystems.jl/pull/381?src=pr&el=tree&filepath=src%2Ftime_series_interface.jl&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=NREL-Sienna#diff-c3JjL3RpbWVfc2VyaWVzX2ludGVyZmFjZS5qbA==) | `95.58% <100.00%> (+0.08%)` | :arrow_up: | | ... and [10 more](https://app.codecov.io/gh/NREL-Sienna/InfrastructureSystems.jl/pull/381?src=pr&el=tree-more&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=NREL-Sienna) | | ... and [1 file with indirect coverage changes](https://app.codecov.io/gh/NREL-Sienna/InfrastructureSystems.jl/pull/381/indirect-changes?src=pr&el=tree-more&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=NREL-Sienna)