dsavransky / EXOSIMS

Simulator for exoplanet direct imaging space missions
BSD 3-Clause "New" or "Revised" License
27 stars 40 forks source link

Seperating Fuel for stationkeeping and slewing #284

Closed jaysonfig closed 2 years ago

jaysonfig commented 3 years ago

Adds three optional arguments for observatory prototype: twotanks (bool), slewMass (float), skMass (float). Adds two outputs to DRM: slewMass, skMass. Twotanks must be true to track the separate tank masses. If twotanks is false, which is the default value, mass decrement from maneuvers only scMass (occulter wetmass) Fixes #147

jaysonfig commented 2 years ago

Made the requested changes and added testing for TimeKeeper mission_is_over to catch non-positive fuel mass. The redundancies in the SurveySimulation were removed after testing and seeing they weren't necessary.