Path: SC/Actuator
% Size a battery given an orbit and planet. Effectively sizes the battery to account for eclipses. -------------------------------------------------------------------------- Form: BatteryDesign; [mass, vol, powerAve] = BatteryDesign( type, el, planet, jD, powerMax ) -------------------------------------------------------------------------- ------ Inputs ------ type (1,:) Battery type 'lion' only el (1,6) Elements vector [a,i,W,w,e,M] or structure planet (1,:) Name of planet jD (1,1) Julian date (days) powerMax (1,1) Maximum power from the solar panels (W) ------- Outputs ------- mass (1,1) Mass vol (1,1) Volume powerAve (1,1) Average power --------------------------------------------------------------------------