diff --git a/test/test_data/results_data.jl b/test/test_data/results_data.jl index 9621675..24820f7 100644 --- a/test/test_data/results_data.jl +++ b/test/test_data/results_data.jl @@ -9,13 +9,13 @@ function add_re!(sys) PrimeMovers.WT, (min = 0.0, max = 0.0), 1.0, - TwoPartCost(0.220, 0.0), + RenewableGenerationCost(CostCurve(LinearCurve(22.0))), 100.0, ) add_component!(sys, re) copy_time_series!(re, get_component(PowerLoad, sys, "bus2")) - fx = RenewableFix( + fx = RenewableNonDispatch( "RoofTopSolar", true, get_component(Bus, sys, "bus5"), @@ -84,7 +84,7 @@ function run_test_sim(result_dir::String) c_sys5_hy_uc = PSB.build_system(PSB.PSISystems, "5_bus_hydro_uc_sys") @info "Building ED system from" c_sys5_hy_ed = PSB.build_system(PSB.PSISystems, "5_bus_hydro_ed_sys") - transform_single_time_series!(c_sys5_hy_ed, 1, Hour(1)) + transform_single_time_series!(c_sys5_hy_ed, Hour(1), Hour(1)) @info "Adding extra RE" add_re!(c_sys5_hy_uc)