You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I noticed an error with the example on adding a market bid- the example defines a variable cost without an explicit CostCurve structure (PieceWiseStepData).
The docs for set_variable_cost! specify that data::Union{Nothing, TimeSeriesData, CostCurve{PiecewiseIncrementalCurve}} . The example in the docs does not use a CostCurve and throws an error.
However when I was testing different CostCurves, I found only PiecewiseStepData would function properly. I updated the docs with what worked for me.
I noticed an error with the example on adding a market bid- the example defines a variable cost without an explicit CostCurve structure (
PieceWiseStepData
).The docs for
set_variable_cost!
specify thatdata::Union{Nothing, TimeSeriesData, CostCurve{PiecewiseIncrementalCurve}}
. The example in the docs does not use a CostCurve and throws an error.However when I was testing different CostCurves, I found only
PiecewiseStepData
would function properly. I updated the docs with what worked for me.These are the three CostCurves I tested:
Error for PiecewiseIncrementalCurve case:
The text was updated successfully, but these errors were encountered: