MIT-LAE / TASOPT.jl

Medium fidelity aircraft-propulsion system design and optimization.
https://mit-lae.github.io/TASOPT.jl/
MIT License
26 stars 12 forks source link

`stickfig` uses a hardcoded 200 passenger number #7

Closed aditeyashukla closed 7 months ago

aditeyashukla commented 8 months ago

In outputs.jl


    pax = 200
    seat_pitch = 30.0 * in_to_m
    seat_width = 19.0 * in_to_m
    aisle_halfwidth = 10.0 * in_to_m # per CFR § 25.815 

    seats_per_row = 2*Int(parg[igRfuse] ÷ (seat_width + aisle_halfwidth/3))
    rows = Int(ceil(pax / seats_per_row))

    yseats = zeros(Int(seats_per_row/2))
    yseats[1] = seat_width/2.0
    yseats[2] = yseats[1] + seat_width
    yseats[3] = yseats[2] + 2*aisle_halfwidth + seat_width```
aditeyashukla commented 8 months ago

I don't have permission to assign myself but pushing a fix soon