From 8097e9b34019444e28e370c98d6300d291366818 Mon Sep 17 00:00:00 2001 From: rodrigomha Date: Mon, 7 Oct 2024 12:52:14 -0700 Subject: [PATCH] update typo on step data --- docs/src/how_to/market_bid_cost.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/docs/src/how_to/market_bid_cost.md b/docs/src/how_to/market_bid_cost.md index aec3813ed8..33174af881 100644 --- a/docs/src/how_to/market_bid_cost.md +++ b/docs/src/how_to/market_bid_cost.md @@ -149,8 +149,10 @@ Similar to adding energy market bids, for adding bids for ancillary services, us ```@repl market_bid_cost service = VariableReserve{ReserveUp}("example_reserve", true, 0.6, 2.0) add_service!(sys, service, get_component(ThermalStandard, sys, "Brighton")) -data = - Dict(Dates.DateTime("2020-01-01") => [650.3, 750.0]) + +psd3 = PiecewiseStepData([0.0, 10.0], [650.3]) +psd4 = PiecewiseStepData([0.0, 10.0], [750.0]) +data = Dict(Dates.DateTime("2020-01-01") => [psd3, psd4]) time_series_data = Deterministic(; name = get_name(service), data = data,