Skip to content

Commit

Permalink
update prime_mover
Browse files Browse the repository at this point in the history
  • Loading branch information
jd-lara committed Sep 15, 2023
1 parent 08671bc commit d04fc05
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/fuel_results.jl
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit d04fc05

Please sign in to comment.