From 9581476e358797642c6c438ac17439df6d80e605 Mon Sep 17 00:00:00 2001 From: "Rathod, Bhavesh" Date: Tue, 8 Aug 2023 20:23:12 -0400 Subject: [PATCH 1/2] Update steam_turbine.jl fix `defaults` population bug --- src/core/steam_turbine.jl | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/core/steam_turbine.jl b/src/core/steam_turbine.jl index e8c488c37..7359afe1c 100644 --- a/src/core/steam_turbine.jl +++ b/src/core/steam_turbine.jl @@ -104,8 +104,10 @@ function SteamTurbine(d::Dict; avg_boiler_fuel_load_mmbtu_per_hour::Union{Float6 ) # set all missing default values in custom_chp_inputs - defaults = get_steam_turbine_defaults_size_class(;avg_boiler_fuel_load_mmbtu_per_hour=avg_boiler_fuel_load_mmbtu_per_hour, + stm_defaults_response = get_steam_turbine_defaults_size_class(;avg_boiler_fuel_load_mmbtu_per_hour=avg_boiler_fuel_load_mmbtu_per_hour, size_class=st.size_class) + + defaults = stm_defaults_response["default_inputs"] for (k, v) in custom_st_inputs if isnan(v) if !(k == :inlet_steam_temperature_degF && !isnan(st.inlet_steam_superheat_degF)) From c61e8ac8f12c771516373c13353b3eeabf7d759a Mon Sep 17 00:00:00 2001 From: "Rathod, Bhavesh" Date: Wed, 9 Aug 2023 22:52:58 -0400 Subject: [PATCH 2/2] Update CHANGELOG.md --- CHANGELOG.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index f8323ed0e..85ff08dd9 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -23,7 +23,7 @@ Classify the change according to the following categories: ### Deprecated ### Removed -## Develop 2023-08-08 +## Develop 2023-08-09 ### Changed - Updated `get_existing_chiller_cop` function to accept scalar values instead of vectors to allow for faster API transactions. ## v0.32.4 @@ -38,6 +38,7 @@ Classify the change according to the following categories: - Issue with using a leap year with a URDB rate - the URDB rate was creating energy_rate of length 8784 instead of intended 8760 - Don't double add adjustments to urdb rates with non-standard units - Corrected `Generator` **installed_cost_per_kw** from 500 to 650 if **only_runs_during_grid_outage** is _true_ or 800 if _false_ +- Corrected `SteamTurbine` defaults population from `get_steam_turbine_defaults_size_class()` ## v0.32.3 ### Fixed