From a6aae9dbba96d0dd7bddda993bb7e0b8379b49a9 Mon Sep 17 00:00:00 2001 From: rodrigomha Date: Tue, 5 Nov 2024 15:59:34 -0800 Subject: [PATCH] update function call for onvar cost --- src/devices_models/devices/thermal_generation.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/devices_models/devices/thermal_generation.jl b/src/devices_models/devices/thermal_generation.jl index ae11c88a9..506282e89 100644 --- a/src/devices_models/devices/thermal_generation.jl +++ b/src/devices_models/devices/thermal_generation.jl @@ -117,7 +117,7 @@ function onvar_cost(container::OptimizationContainer, cost::PSY.ThermalGeneratio return _onvar_cost(container, PSY.get_variable(cost), d, t) end -function _onvar_cost(cost_function::PSY.CostCurve{PSY.PiecewisePointCurve}, d::PSY.ThermalGen) +function _onvar_cost(::OptimizationContainer, cost_function::PSY.CostCurve{PSY.PiecewisePointCurve}, d::PSY.ThermalGen, ::Int) # OnVariableCost is included in the Point itself for PiecewisePointCurve return 0.0 end