The first part of a significant refactor of Sienna cost data structures. See https://github.com/NREL-Sienna/PowerSystems.jl/pull/1056 for more details. This PR consists of a new type FunctionData, a new set of concrete subtype structs to represent various functions, and the necessary refactoring to use them rather than IS.PWL and such in other InfrastructureSystems data structures. I also performed some minor code deduplication.
IS, PSY, and PSB tests pass when using the appropriate branches of each plus PowerSystemsTestData:
The first part of a significant refactor of Sienna cost data structures. See https://github.com/NREL-Sienna/PowerSystems.jl/pull/1056 for more details. This PR consists of a new type
FunctionData
, a new set of concrete subtype structs to represent various functions, and the necessary refactoring to use them rather thanIS.PWL
and such in other InfrastructureSystems data structures. I also performed some minor code deduplication.IS, PSY, and PSB tests pass when using the appropriate branches of each plus PowerSystemsTestData: