From d04fc0512c4c50395f6eb1f1fba1523cf6bbef5b Mon Sep 17 00:00:00 2001 From: Jose Daniel Lara Date: Fri, 15 Sep 2023 17:50:38 -0600 Subject: [PATCH] update prime_mover --- src/fuel_results.jl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/fuel_results.jl b/src/fuel_results.jl index e6437e1..34b70d7 100644 --- a/src/fuel_results.jl +++ b/src/fuel_results.jl @@ -100,8 +100,8 @@ function make_fuel_dictionary( else fuel = hasmethod(PSY.get_fuel, Tuple{typeof(gen)}) ? PSY.get_fuel(gen) : nothing pm = - hasmethod(PSY.get_prime_mover, Tuple{typeof(gen)}) ? - PSY.get_prime_mover(gen) : nothing + hasmethod(PSY.get_prime_mover_type, Tuple{typeof(gen)}) ? + PSY.get_prime_mover_type(gen) : nothing ext = get(PSY.get_ext(gen), "ext_category", nothing) category = get_generator_category(typeof(gen), fuel, pm, ext, mapping) end