Skip to content

Commit

Permalink
Merge pull request #994 from NREL-Sienna/dt/issue-984
Browse files Browse the repository at this point in the history
Dt/issue 984
  • Loading branch information
jd-lara authored Aug 8, 2023
2 parents c635de1 + 31e3722 commit 7cfe058
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/devices_models/devices/thermal_generation.jl
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ get_variable_upper_bound(::ReactivePowerVariable, d::PSY.ThermalGen, ::AbstractT
############## OnVariable, ThermalGen ####################
get_variable_binary(::OnVariable, ::Type{<:PSY.ThermalGen}, ::AbstractThermalFormulation) = true
get_variable_warm_start_value(::OnVariable, d::PSY.ThermalGen, ::AbstractThermalFormulation) = PSY.get_status(d) ? 1.0 : 0.0
get_variable_lower_bound(::ActivePowerVariable, d::PSY.ThermalGen, ::AbstractThermalUnitCommitment) = PSY.get_must_run(d) ? 1.0 : 0.0
get_variable_lower_bound(::OnVariable, d::PSY.ThermalGen, ::AbstractThermalUnitCommitment) = PSY.get_must_run(d) ? 1.0 : 0.0

############## StopVariable, ThermalGen ####################
get_variable_binary(::StopVariable, ::Type{<:PSY.ThermalGen}, ::AbstractThermalFormulation) = true
Expand Down

0 comments on commit 7cfe058

Please sign in to comment.