Skip to content

Commit

Permalink
fix function
Browse files Browse the repository at this point in the history
  • Loading branch information
jd-lara committed Jan 5, 2024
1 parent 8e960bd commit 37d05db
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/devices_models/devices/thermal_generation.jl
Original file line number Diff line number Diff line change
Expand Up @@ -343,7 +343,7 @@ Startup and shutdown active power limits for Compact Unit Commitment
function get_startup_shutdown_limits(
device::PSY.ThermalMultiStart,
::Type{ActivePowerVariableLimitsConstraint},
::Type{<:ThermalMultiStartUnitCommitment},
::Type{ThermalMultiStartUnitCommitment},
)
startup_shutdown = PSY.get_power_trajectory(device)
if isnothing(startup_shutdown)
Expand All @@ -363,7 +363,7 @@ function get_min_max_limits(
device,
::Type{ActivePowerVariableLimitsConstraint},
::Type{<:AbstractCompactUnitCommitment},
) # -> Union{Nothing, NamedTuple{(:startup, :shutdown), Tuple{Float64, Float64}}}
) # -> Union{Nothing, NamedTuple{(:min, :max), Tuple{Float64, Float64}}}
return (
min = 0,
max = PSY.get_active_power_limits(device).max -
Expand Down

0 comments on commit 37d05db

Please sign in to comment.