Skip to content

Commit

Permalink
add method choice to LTO function
Browse files Browse the repository at this point in the history
  • Loading branch information
askprash committed May 3, 2024
1 parent bc4f8d7 commit 994e50b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/mission/LTO.jl
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
Prints out LTO EI(NOₓ) values
"""
function LTO(name, ac; fileout = stdout)
function LTO(name, ac; fileout = stdout, method = "cubic")

#LTO values
LTOpoints = [1.0, 0.85, 0.3, 0.07]
Expand Down Expand Up @@ -46,7 +46,7 @@ function LTO(name, ac; fileout = stdout)
mdotf = ac.pared[ieff, iptest] * ac.pared[iemcore]
P3_kPa = ac.pared[iept3, iptest]/1000.0
T3_K = ac.pared[ieTt3, iptest]
EI = EINOx(ac, iptest; method="cubic")
EI = EINOx(ac, iptest; method=method)
EIs[i] = EI
mfs[i] = mdotf

Expand Down

0 comments on commit 994e50b

Please sign in to comment.