OPTIMIZING ENERGY STORAGE FOR MARINE VESSELS