The second part of a significant refactor of Sienna cost data structures (part 1 is here). The main focus here is to bring PowerSimulations.jl up to date with the elimination of VariableCost in favor of FunctionData. That entails these changes in InfrastructureSystems:
Make PiecewiseLinearPointData use NamedTuples so it's even harder to mix up x and y
Add the notion of "raw data" to support storing data from FunctionData in other containers, like the ones in PowerSimulations
On the latter point — does this functionality belong in PowerSimulations?
The second part of a significant refactor of Sienna cost data structures (part 1 is here). The main focus here is to bring PowerSimulations.jl up to date with the elimination of
VariableCost
in favor ofFunctionData
. That entails these changes in InfrastructureSystems:PiecewiseLinearPointData
useNamedTuples
so it's even harder to mix up x and yFunctionData
in other containers, like the ones in PowerSimulationsOn the latter point — does this functionality belong in PowerSimulations?
Tests pass: