From 690d3063ec24fce26a447f99f74ab4c3d016a715 Mon Sep 17 00:00:00 2001 From: Jose Daniel Lara Date: Fri, 13 Dec 2024 17:26:21 -0700 Subject: [PATCH] fix simulation data --- test/test_data/results_data.jl | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/test/test_data/results_data.jl b/test/test_data/results_data.jl index 1b5e4fc..b0cd2c9 100644 --- a/test/test_data/results_data.jl +++ b/test/test_data/results_data.jl @@ -33,6 +33,8 @@ function add_re!(sys) smc = StorageCost(; charge_variable_cost = CostCurve(LinearCurve(0.1)), discharge_variable_cost = CostCurve(LinearCurve(0.2)), + energy_shortage_cost = 10.0, + energy_surplus_cost = 10.0, ) set_operation_cost!(g, smc) end @@ -53,7 +55,7 @@ function add_re!(sys) efficiency = (in = 0.9, out = 0.9), #(CSolar)-efficiency::NamedTuple{(:in, :out), Tuple{Float64, Float64}}: Average efficiency [0, 1] in (charging/filling) and out (discharging/consuming) of the storage system, validation range: (0, 1) reactive_power = 0.0, reactive_power_limits = (min = -1.0, max = 1.0), #::Union{Nothing, MinMax}: Minimum and maximum reactive power limits. Set to Nothing if not applicable - base_power = 10.0, #::Float64: Base power of the unit (MVA) for per unitization, validation range: (0, nothing) + base_power = 15.0, #::Float64: Base power of the unit (MVA) for per unitization, validation range: (0, nothing) operation_cost = StorageCost(; charge_variable_cost = CostCurve(LinearCurve(0.1)), discharge_variable_cost = CostCurve(LinearCurve(0.2)), @@ -138,6 +140,7 @@ function run_test_sim(result_dir::String) optimizer = HiGHS_optimizer, name = "UC", system_to_file = false, + calculate_conflict = true ), DecisionModel( template_hydro_st_ed, @@ -145,6 +148,7 @@ function run_test_sim(result_dir::String) optimizer = HiGHS_optimizer, name = "ED", system_to_file = false, + calculate_conflict = true ), ], )