Closed GabrielKS closed 2 months ago
@jd-lara the existing get_variable_cost
function in cost_function_timeseries.jl
for MarketBidCost
calls get_time_series_array
, whereas it makes more sense to me to just return the time series itself, since that's what the user must pass to the setter. I have copied this interface for the fuel cost interface, but if you agree we can change both getters to return the time series.
@jd-lara the existing
get_variable_cost
function incost_function_timeseries.jl
forMarketBidCost
callsget_time_series_array
, whereas it makes more sense to me to just return the time series itself, since that's what the user must pass to the setter. I have copied this interface for the fuel cost interface, but if you agree we can change both getters to return the time series.
What do you mean the time series itself
?
What do you mean
the time series itself
?
A (subtype of) TimeSeriesData
rather than a TimeArray
.
After our DM discussion, I think the best course of action is to keep this as it is (asymmetric but convenient interface) for now and then when I update the market bid cost time series interface I can make a more informed decision. If it ends up making sense to make that one symmetric, I'll change this one to match.
What do you mean
the time series itself
?A (subtype of)
TimeSeriesData
rather than aTimeArray
.After our DM discussion, I think the best course of action is to keep this as it is (asymmetric but convenient interface) for now and then when I update the market bid cost time series interface I can make a more informed decision. If it ends up making sense to make that one symmetric, I'll change this one to match.
Lets add this to the list of pending items
This PR implements an interface to get at the fuel cost fields within the new cost structs. I took inspiration from the existing variable cost time series interface for
MarketBidCost
. Depends on https://github.com/NREL-Sienna/PowerSystems.jl/pull/1100, that should be merged first.