From cfef00b3903764b3bad4795a9bc4386a2d2c34ec Mon Sep 17 00:00:00 2001 From: Jose Daniel Lara Date: Thu, 4 Jan 2024 22:59:53 -0700 Subject: [PATCH] Update src/devices_models/devices/thermal_generation.jl Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> --- src/devices_models/devices/thermal_generation.jl | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/devices_models/devices/thermal_generation.jl b/src/devices_models/devices/thermal_generation.jl index c147b7e7ba..95e3733aac 100644 --- a/src/devices_models/devices/thermal_generation.jl +++ b/src/devices_models/devices/thermal_generation.jl @@ -347,7 +347,9 @@ function get_startup_shutdown_limits( ) startup_shutdown = PSY.get_power_trajectory(device) if isnothing(startup_shutdown) - @warn("Generator $(summary(device)) has a Nothing startup_shutdown property. Using active power limits.") + @warn( + "Generator $(summary(device)) has a Nothing startup_shutdown property. Using active power limits." + ) return ( startup = PSY.get_active_power_limits(device).max, shutdown = PSY.get_active_power_limits(device).max,