Skip to content

Commit

Permalink
Replace VariableCost with LinearFunctionData
Browse files Browse the repository at this point in the history
  • Loading branch information
daniel-thom committed Mar 27, 2024
1 parent 117b085 commit 47f23e4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/test_device_thermal_generation_constructors.jl
Original file line number Diff line number Diff line change
Expand Up @@ -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(),
Expand All @@ -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(),
Expand Down

0 comments on commit 47f23e4

Please sign in to comment.