From 47f23e4bbf42f9b7360ad8208250ed92d2b95d9f Mon Sep 17 00:00:00 2001 From: Daniel Thom Date: Wed, 27 Mar 2024 17:03:46 -0600 Subject: [PATCH] Replace VariableCost with LinearFunctionData --- test/test_device_thermal_generation_constructors.jl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/test_device_thermal_generation_constructors.jl b/test/test_device_thermal_generation_constructors.jl index 75b1b1d3ea..d91a32ba73 100644 --- a/test/test_device_thermal_generation_constructors.jl +++ b/test/test_device_thermal_generation_constructors.jl @@ -826,7 +826,7 @@ end min_limit = PSY.get_active_power_limits(comp).min @test isapprox( PSI.no_load_cost( - VariableCost(5.0), + PSY.LinearFunctionData(5.0), OnVariable(), comp, ThermalBasicUnitCommitment(), @@ -835,7 +835,7 @@ end ) @test isapprox( PSI.no_load_cost( - VariableCost((3.0, 5.0)), + PSY.LinearFunctionData((3.0, 5.0)), OnVariable(), comp, ThermalBasicUnitCommitment(),