Skip to content

Commit

Permalink
update typo on step data
Browse files Browse the repository at this point in the history
  • Loading branch information
rodrigomha committed Oct 7, 2024
1 parent 36a48c9 commit 8097e9b
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions docs/src/how_to/market_bid_cost.md
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 8097e9b

Please sign in to comment.