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 21 forks source link

change order of arguments filter function #300

Closed jd-lara closed 1 year ago

jd-lara commented 1 year ago

currently:

IS.get_components(T, sys.data, filter_func)

correct

IS.get_components(filter_func, T, sys.data)
daniel-thom commented 1 year ago

While it would be good to add this function, users don't call it directly, and so we don't technically need it. We have a correct function in PowerSystems at https://github.com/NREL-SIIP/PowerSystems.jl/blob/master/src/base.jl#L844