Skip to content

Commit

Permalink
moved fuse_tank geom params to wsize
Browse files Browse the repository at this point in the history
  • Loading branch information
ngomezve authored and askprash committed Jun 21, 2024
1 parent f183abb commit 07b3ccc
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/IO/read_input.jl
Original file line number Diff line number Diff line change
Expand Up @@ -343,10 +343,6 @@ if pari[iifwing] == 0 #If fuel is stored in fuselage

fuse_tank.placement = readfuel_storage("tank_placement")
fuse_tank.fueltype = fueltype
fuse_tank.Rfuse = parg[igRfuse]
fuse_tank.dRfuse = parg[igdRfuse]
fuse_tank.wfb = parg[igwfb]
fuse_tank.nfweb = parg[ignfweb]
fuse_tank.clearance_fuse = Distance(readfuel_storage("fuselage_clearance"))

fuse_tank.size_insulation = readfuel_storage("size_insulation")
Expand Down
6 changes: 6 additions & 0 deletions src/sizing/wsize.jl
Original file line number Diff line number Diff line change
Expand Up @@ -337,6 +337,12 @@ function wsize(ac; itermax=35,
#Initialize HX storage array and reset previous HX engine values
HXs = []
resetHXs(pare)

#Store fuselage parameters in fuse_tank for ease of access
fuse_tank.Rfuse = parg[igRfuse]
fuse_tank.dRfuse = parg[igdRfuse]
fuse_tank.wfb = parg[igwfb]
fuse_tank.nfweb = parg[ignfweb]

# -------------------------------------------------------
## Initial guess section [Section 3.2 of TASOPT docs]
Expand Down

0 comments on commit 07b3ccc

Please sign in to comment.