0.002)\n\n# a strong known architecture per destination (sled, skyhook, depot, aerocapture)\nplans = {'LEO':[0.7,4.0], 'GEO':[0.7,4.0,2.5], 'Moon':[0.7,4.0,6.0], 'Mars':[0.7,4.0,6.0,2.5,1.5]}\nfor name, T in DEST.items():\n r = compose(T, plans[name])\n tag = 'single vehicle OK' if r['solo_feasible'] else 'ONLY reachable composed'\n print(f\"{name:5} budget {T:4.1f} offload {r['offload']:4.1f} ({r['share']*100:3.0f}%)\"\n f\" onboard {r['onboard']:4.1f} payload {r['payload']*100:4.1f}% [{tag}]\")\n","label":"Compose to reach a destination"}],"intro":"Implement the composition and reach each destination with a stack of offload segments.","key":"space-logistics/composing-the-budget","kind":"python","title":"Composing the budget"}">
PYTHON · NUMPY · IN-BROWSER
Composing the budget
Implement the composition and reach each destination with a stack of offload segments.
You read
the arrays and values already in scope
You change
the code you write in each cell
Fixed
the dataset and the checks that grade you